about tab and other tiny improvements

10.3.x-maintenance
cTn 2013-04-13 15:29:52 +02:00
parent 5183cde5f2
commit 369a3cb020
8 changed files with 42 additions and 9 deletions

View File

@ -753,6 +753,22 @@ a:hover {
border: 1px solid silver; 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 related styles */
.flotr-legend { .flotr-legend {

BIN
images/btn_donate_SM.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -43,13 +43,14 @@ $(document).ready(function() {
$('#content').load("./tabs/sensors.html", tab_initialize_sensors); $('#content').load("./tabs/sensors.html", tab_initialize_sensors);
} else if ($(this).parent().hasClass('tab_cli')) { } else if ($(this).parent().hasClass('tab_cli')) {
$('#content').load("./tabs/cli.html", tab_initialize_cli); $('#content').load("./tabs/cli.html", tab_initialize_cli);
} else if ($(this).parent().hasClass('tab_about')) {
$('#content').load("./tabs/about.html");
} }
} }
}); });
// temporary // temporary
//$('#content').load("./tabs/cli.html", tab_initialize_cli); //$('#content').load("./tabs/about.html");
}); });
function disable_timers() { function disable_timers() {

View File

@ -87,6 +87,7 @@
<li class="tab_motor_outputs"><a href="#">Motor/Servo Outputs</a></li> <li class="tab_motor_outputs"><a href="#">Motor/Servo Outputs</a></li>
<li class="tab_sensors"><a href="#">Raw Sensor Data</a></li> <li class="tab_sensors"><a href="#">Raw Sensor Data</a></li>
<li class="tab_cli"><a href="#">CLI</a></li> <li class="tab_cli"><a href="#">CLI</a></li>
<li class="tab_about"><a href="#">About</a></li>
</ul> </ul>
<div class="clear-both"></div> <div class="clear-both"></div>
</div> </div>

18
tabs/about.html Normal file
View File

@ -0,0 +1,18 @@
<div class="tab-about">
<p>
<strong>baseflight / multiwii configurator</strong> was designed to "step up the game" where the <strong>configuration</strong> required for each UAV
was becoming rather <span style="color: red;">complex</span> 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 (<strong>beginners</strong>) to join the platform much <span style="color: green;">easier</span>.<br />
</p>
<p style="text-align: center;">
If you <strong>like</strong> this software and think it should be developer further, please consider a small <strong>donation</strong><br />
As i am <span style="color: red">unemployed</span>, i could really use the money.<br />
<br />
Thank you<br />
<br />
<a href="http://goo.gl/xQMKN" target="_blank" title="Donate"><img src="./images/btn_donate_SM.gif" alt="Paypal" /></a>
</p>
<p class="created">
created for baseflight &amp; multiwii by <strong>cTn</strong> &copy;
</p>
</div>

View File

@ -15,7 +15,7 @@
<div class="section"> <div class="section">
<a class="resetSettings" href="#">Reset Settings</a> <a class="resetSettings" href="#">Reset Settings</a>
<p> <p>
Some text goes here Reset <span style="color: red">all</span> settings to <strong>default</strong>
</p> </p>
</div> </div>
<div id="interactive_block"> <div id="interactive_block">

View File

@ -45,6 +45,7 @@
</div> </div>
<div class="clear-both"></div> <div class="clear-both"></div>
<p> <p>
Some info goes here Bars on the <strong>left</strong> are representing raw PWM signal for <strong>ESCs</strong>.<br />
Bars on the <strong>right</strong> are representing raw PWM signal for <strong>Servos</strong>.<br />
</p> </p>
</div> </div>

View File

@ -104,14 +104,10 @@ function tab_initialize_sensors() {
} }
baro_options = { baro_options = {
title: "Barometer (m)", title: "Barometer (meters above sea level)",
shadowSize: 0, shadowSize: 0,
yaxis : { yaxis : {
tickDecimals: 1, tickDecimals: 1,
/*
max : 1.5,
min : -1.5
*/
}, },
xaxis : { xaxis : {
//noTicks = 0 //noTicks = 0