Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskaman82 <albert@wd-design.de>2015-11-05 18:37:15 +0300
committerskaman82 <albert@wd-design.de>2015-11-05 18:37:15 +0300
commit1816979cc4ef21c8d62a146bf25e18942af3f499 (patch)
treecf8c6459ef8f36b8b7c3904842a9048c9d448d4f /main.js
parent8e79a250ed61e7369ea539eb9151f16ed0a05ef4 (diff)
More Work done:
• Tooltip integration • Sensor Tab: rework • Help & Documentation Tab: basic styling • Logging Tab: basic styling • PID Tab: some fixes • Added the word „configurator (+ version)“ under the logo • Removed not yet used „help icons“
Diffstat (limited to 'main.js')
-rw-r--r--main.js20
1 files changed, 17 insertions, 3 deletions
diff --git a/main.js b/main.js
index 659ab26f..cd9b635a 100644
--- a/main.js
+++ b/main.js
@@ -18,6 +18,7 @@ $(document).ready(function () {
'Configurator: <strong>' + chrome.runtime.getManifest().version + '</strong>');
$('#status-bar .version').text(chrome.runtime.getManifest().version);
+ $('#logo .version').text(chrome.runtime.getManifest().version);
// notification messages for various operating systems
switch (GUI.operating_system) {
@@ -211,7 +212,7 @@ $(document).ready(function () {
googleAnalyticsConfig.setTrackingPermitted(check);
});
- // CSS TEST
+ // CSS switch TEST
var css = $("#default");
$("div#options-window #remove").click(function(){
css.remove();
@@ -220,9 +221,11 @@ $("div#options-window #remove").click(function(){
$("div#options-window #restore").click(function(){
$("head").append(css);
});
- // CSS TEST END
+ // CSS switch TEST END
+
+
function close_and_cleanup(e) {
if (e.type == 'click' && !$.contains($('div#options-window')[0], e.target) || e.type == 'keyup' && e.keyCode == 27) {
$(document).unbind('click keyup', close_and_cleanup);
@@ -400,4 +403,15 @@ $("#showlog").on('click', function() {
});
-
+// loading tooltip
+$(document).ready(function() {
+$('.cf_tip').jBox('Tooltip', {
+ delayOpen: 100,
+ delayClose: 100,
+ position: {
+ x: 'right',
+ y: 'center'
+ },
+ outside: 'x'
+});
+});