From 369a3cb020a22843e78b354cedd231e0946cbe7b Mon Sep 17 00:00:00 2001 From: cTn Date: Sat, 13 Apr 2013 15:29:52 +0200 Subject: [PATCH] about tab and other tiny improvements --- css/style.css | 16 ++++++++++++++++ images/btn_donate_SM.gif | Bin 0 -> 1491 bytes js/main.js | 5 +++-- main.html | 1 + tabs/about.html | 18 ++++++++++++++++++ tabs/initial_setup.html | 2 +- tabs/motor_outputs.html | 3 ++- tabs/sensors.js | 6 +----- 8 files changed, 42 insertions(+), 9 deletions(-) create mode 100644 images/btn_donate_SM.gif create mode 100644 tabs/about.html diff --git a/css/style.css b/css/style.css index 5ad9c6c58b..ceca3efffb 100644 --- a/css/style.css +++ b/css/style.css @@ -753,6 +753,22 @@ a:hover { border: 1px solid silver; } +.tab-about { +} + .tab-about p { + padding: 5px; + margin-bottom: 10px; + + border: 1px dotted silver; + } + .tab-about .created { + position: absolute; + + width: 905px; + bottom: 0px; + + text-align: center; + } /* Flotr related styles */ .flotr-legend { diff --git a/images/btn_donate_SM.gif b/images/btn_donate_SM.gif new file mode 100644 index 0000000000000000000000000000000000000000..d6df5107edf3bb2f9d111dcd4e014b4d0dd2adb1 GIT binary patch literal 1491 zcmeH`>sOL@0DxZ*r!^}SE81*f8kVWU%PGoMuh>*9^O7|?reWFjPmi-)~}Y3Sq|Cj+P2^uz+#mobI;VW{^s+*8%6S z%_v776zh7fQj)Xru?H!cCn%Y0RGZ8=#cwR6+4@_+`!|%`$17_~!HpO=mow22!$asD zswVI&{{h~!vaUj38H+v@16>Z#B&4yIETP=4`_`6>TT#V4QM5U*U!PM z4Sk^lP7@e!1Mg6OcE6 zQoIA0eKm$6Z$jvPlj^!rfD2k2qg}hRxs3QF79;AC4_1-l3%f-Fvi{N&VXgbk>KoQ8 zltY&Dticg_YGK5S-^{lZLyd6J!bO)%QR{Ln-K`^vG zH_CD0)DP5vLq%STOE&c<$@1d)M#)BIk`VS)EE99HP^I>D-sf9oW7o88mO-lWqts(Y)8Yo~0gM27%+A3@&bEWY>?VpSVWDY^eNG$bEUZ}&Z!4)v}$Wk{Y;HL)X! z!6tIMQ@u1`(uuLs9u|0+He`o)o4y!^y`It@!W#P*@X>C^YU^YCwdQu$9cRz1>#loX z{r7h&vi_hGt~%Q1bnoBH&gmhqFco?40>=VBaj??e=d;o2HsTWljvENA>E?UH@02eG x0!}+$4hGc3y-b&i1I^~O@|_-w)@huttdv2Y=pb^#_E+)L=gR2#5KkNw`!DP$V^9D9 literal 0 HcmV?d00001 diff --git a/js/main.js b/js/main.js index 00c9755c61..c37e51579b 100644 --- a/js/main.js +++ b/js/main.js @@ -43,13 +43,14 @@ $(document).ready(function() { $('#content').load("./tabs/sensors.html", tab_initialize_sensors); } else if ($(this).parent().hasClass('tab_cli')) { $('#content').load("./tabs/cli.html", tab_initialize_cli); + } else if ($(this).parent().hasClass('tab_about')) { + $('#content').load("./tabs/about.html"); } - } }); // temporary - //$('#content').load("./tabs/cli.html", tab_initialize_cli); + //$('#content').load("./tabs/about.html"); }); function disable_timers() { diff --git a/main.html b/main.html index ace38ec4ec..53b17d2a66 100644 --- a/main.html +++ b/main.html @@ -87,6 +87,7 @@
  • Motor/Servo Outputs
  • Raw Sensor Data
  • CLI
  • +
  • About
  • diff --git a/tabs/about.html b/tabs/about.html new file mode 100644 index 0000000000..74179bfea2 --- /dev/null +++ b/tabs/about.html @@ -0,0 +1,18 @@ +
    +

    + baseflight / multiwii configurator was designed to "step up the game" where the configuration required for each UAV + was becoming rather complex and difficult to do in certain environments as linux and mac os is getting a bigger userbase, + i think a proper cross-platform GUI was needed to allow new users (beginners) to join the platform much easier.
    +

    +

    + If you like this software and think it should be developer further, please consider a small donation
    + As i am unemployed, i could really use the money.
    +
    + Thank you
    +
    + Paypal +

    +

    + created for baseflight & multiwii by cTn © +

    +
    \ No newline at end of file diff --git a/tabs/initial_setup.html b/tabs/initial_setup.html index f53c2643e3..073614563a 100644 --- a/tabs/initial_setup.html +++ b/tabs/initial_setup.html @@ -15,7 +15,7 @@
    Reset Settings

    - Some text goes here + Reset all settings to default

    diff --git a/tabs/motor_outputs.html b/tabs/motor_outputs.html index 6a460254fa..716115f853 100644 --- a/tabs/motor_outputs.html +++ b/tabs/motor_outputs.html @@ -45,6 +45,7 @@

    - Some info goes here + Bars on the left are representing raw PWM signal for ESCs.
    + Bars on the right are representing raw PWM signal for Servos.

    \ No newline at end of file diff --git a/tabs/sensors.js b/tabs/sensors.js index 3ed83294ff..3a4e2345dc 100644 --- a/tabs/sensors.js +++ b/tabs/sensors.js @@ -104,14 +104,10 @@ function tab_initialize_sensors() { } baro_options = { - title: "Barometer (m)", + title: "Barometer (meters above sea level)", shadowSize: 0, yaxis : { tickDecimals: 1, - /* - max : 1.5, - min : -1.5 - */ }, xaxis : { //noTicks = 0