diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 8fae660e..8f1944be 100755
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -62,6 +62,9 @@
"tabLanding": {
"message": "Welcome"
},
+ "tabHelp": {
+ "message": "Documentation & Support"
+ },
"tabSetup": {
"message": "Setup"
@@ -210,6 +213,12 @@
"defaultWelcomeText": {
"message": "Welcome to Cleanflight - Configurator , a utility designed to simplify updating, configuring and tuning of your flight controller. The application supports all hardware that can run cleanflight (sparky, cc3d, acro naze, naze, afromini, flip32, flip32+, cjmcu, chebuzz f3, stm32f3discovery, naze32pro, etc) The firmware source code can be downloaded from here The newest binary firmware image is available here Latest CP210x Drivers can be downloaded from here "
},
+ "defaultContributingHead": {
+ "message": "Contributing"
+ },
+ "defaultContributingText": {
+ "message": "If you would like to help make Cleanflight even better you can help in many ways, including:
"
+ },
"defaultChangelogHead": {
"message": "Configurator - Changelog"
},
diff --git a/changelog.html b/changelog.html
index d6169581..6a845e5a 100644
--- a/changelog.html
+++ b/changelog.html
@@ -1,3 +1,7 @@
+2015.02.27 - 0.62.1 - cleanflight
+
+ - Minor bug fixes.
+
2015.02.26 - 0.62.0 - cleanflight
- Add flight indicators to setup screen tab.
diff --git a/js/gui.js b/js/gui.js
index 89fab7d7..8e52424c 100644
--- a/js/gui.js
+++ b/js/gui.js
@@ -15,7 +15,8 @@ var GUI_control = function () {
this.timeout_array = [];
this.defaultAllowedTabsWhenDisconnected = [
'landing',
- 'firmware_flasher'
+ 'firmware_flasher',
+ 'help'
];
this.defaultAllowedTabsWhenConnected = [
'adjustments',
diff --git a/js/msp.js b/js/msp.js
index 152611c8..459222e3 100644
--- a/js/msp.js
+++ b/js/msp.js
@@ -655,7 +655,7 @@ var MSP = {
for (var i = 0; i < 8; i ++) {
var channelIndex = data.getUint8(i);
if (channelIndex < 255) {
- SERVO_CONFIG[i].indexOfChannelToForward;
+ SERVO_CONFIG[i].indexOfChannelToForward = channelIndex;
} else {
SERVO_CONFIG[i].indexOfChannelToForward = undefined;
}
diff --git a/main.css b/main.css
index e070d7bc..ba274571 100755
--- a/main.css
+++ b/main.css
@@ -44,7 +44,7 @@ input[type="number"]::-webkit-inner-spin-button {
bottom: 40px;
left: 0;
right: 0;
- z-index: 1;
+ z-index: -1;
overflow: hidden;
background-image: url("images/light-wide-1.svg");
background-repeat: no-repeat;
diff --git a/main.html b/main.html
index e7afaf49..fb41a0eb 100755
--- a/main.html
+++ b/main.html
@@ -11,6 +11,7 @@
+
@@ -57,6 +58,7 @@
+
@@ -133,6 +135,7 @@
diff --git a/main.js b/main.js
index fa3d54b6..b2f1d4da 100755
--- a/main.js
+++ b/main.js
@@ -109,6 +109,9 @@ $(document).ready(function () {
case 'firmware_flasher':
TABS.firmware_flasher.initialize(content_ready);
break;
+ case 'help':
+ TABS.help.initialize(content_ready);
+ break;
case 'auxiliary':
TABS.auxiliary.initialize(content_ready);
diff --git a/manifest.json b/manifest.json
index 710a0124..91d27926 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"minimum_chrome_version": "38",
- "version": "0.62.0",
+ "version": "0.62.1",
"author": "Hydra",
"name": "Cleanflight - Configurator",
"short_name": "cleanflight",
diff --git a/tabs/cli.css b/tabs/cli.css
index 91082184..e1294cc2 100644
--- a/tabs/cli.css
+++ b/tabs/cli.css
@@ -5,10 +5,15 @@
padding: 5px;
border: 1px dotted silver;
}
-.tab-cli .window {
+.tab-cli .backdrop {
+ border: 1px solid silver;
+ background-color: black;
+
margin-top: 10px;
height: calc(100% - 80px); /* - (p, textarea) */
-
+}
+.tab-cli .window {
+ height:100%;
padding: 5px;
overflow-y: scroll;
@@ -17,9 +22,7 @@
font-family: monospace;
color: white;
- border: 1px solid silver;
- background-color: black;
-
+ box-sizing: border-box;
-webkit-user-select: text;
}
.tab-cli textarea {
@@ -37,4 +40,7 @@
border: 1px solid silver;
resize: none;
+}
+.tab-cli #content-watermark {
+ z-index:0;
}
\ No newline at end of file
diff --git a/tabs/cli.html b/tabs/cli.html
index f83d8620..7b8de74e 100644
--- a/tabs/cli.html
+++ b/tabs/cli.html
@@ -1,10 +1,12 @@
-
-
\ No newline at end of file
diff --git a/tabs/help.css b/tabs/help.css
new file mode 100644
index 00000000..a530bef9
--- /dev/null
+++ b/tabs/help.css
@@ -0,0 +1,64 @@
+.tab-help .left {
+ width: 60%;
+}
+.tab-help .right {
+ float: left;
+
+ margin-left: 10px;
+ width: calc(40% - 10px);
+}
+
+.tab-landing .section {
+ margin-bottom: 10px;
+}
+
+.left .section:last-child,
+.right .section:last-child {
+ margin-bottom: 0px;
+}
+
+.section .title {
+ line-height: 20px;
+
+ text-align: center;
+ font-weight: bold;
+ color: white;
+
+ border-bottom: 1px solid silver;
+ background-color: #3f4241;
+}
+
+.documentation {
+ height: 447px;
+
+ border: 1px solid silver;
+}
+.documentation p {
+ padding: 5px;
+}
+.documentation p a {
+ font-weight: bold;
+}
+.documentation p a:hover {
+ text-decoration: underline;
+}
+.support {
+ height: 447px;
+
+ border: 1px solid silver;
+}
+.support p {
+ padding: 5px;
+}
+.support p a {
+ font-weight: bold;
+}
+.support p a:hover {
+ text-decoration: underline;
+}
+.support .wrapper {
+ height: 426px;
+
+ overflow-y: scroll;
+ overflow-x: hidden;
+}
diff --git a/tabs/help.html b/tabs/help.html
new file mode 100644
index 00000000..b5270ff0
--- /dev/null
+++ b/tabs/help.html
@@ -0,0 +1,17 @@
+
\ No newline at end of file
diff --git a/tabs/help.js b/tabs/help.js
new file mode 100644
index 00000000..53236897
--- /dev/null
+++ b/tabs/help.js
@@ -0,0 +1,21 @@
+'use strict';
+
+TABS.help = {};
+TABS.help.initialize = function (callback) {
+ var self = this;
+
+ if (GUI.active_tab != 'help') {
+ GUI.active_tab = 'help';
+ googleAnalytics.sendAppView('help');
+ }
+
+ $('#content').load("./tabs/help.html", function () {
+ localize();
+
+ if (callback) callback();
+ });
+};
+
+TABS.help.cleanup = function (callback) {
+ if (callback) callback();
+};
\ No newline at end of file
diff --git a/tabs/landing.css b/tabs/landing.css
index 90143548..ce705507 100644
--- a/tabs/landing.css
+++ b/tabs/landing.css
@@ -7,11 +7,19 @@
margin-left: 10px;
width: calc(40% - 10px);
}
+
+.tab-landing .section {
+ margin-bottom: 10px;
+}
+
+.left .section:last-child,
+.right .section:last-child {
+ margin-bottom: 0px;
+}
+
.tab-landing .optional_permissions {
display: none;
- margin-bottom: 10px;
-
border: 1px solid silver;
}
.tab-landing .optional_permissions .title {
@@ -46,19 +54,32 @@
.tab-landing .optional_permissions a:hover {
background-color: #dedcdc;
}
-.welcome {
- height: 171px;
- padding: 5px;
- margin-bottom: 10px;
+.welcome {
+ height: 207px;
+}
+
+.contributing,
+.welcome {
+ padding: 5px;
border: 1px solid silver;
}
+
+.contributing a,
.welcome a {
font-weight: bold;
}
+.contributing a:hover,
.welcome a:hover {
text-decoration: underline;
}
+
+.contributing li {
+ list-style-type: disc;
+ list-style-position: initial;
+ margin-left: 20px;
+}
+
.changelog {
border: 1px solid silver;
}
@@ -88,13 +109,13 @@
.changelog .wrapper p {
margin-bottom: 5px;
}
+
.donate {
height: 105px;
- margin-bottom: 10px;
-
border: 1px solid silver;
}
-.donate .title {
+
+.section .title {
line-height: 20px;
text-align: center;
@@ -117,19 +138,9 @@
}
.tab-landing .sponsors {
- height: 105px;
+ height: 254px;
border: 1px solid silver;
}
-.tab-landing .sponsors .title {
- line-height: 20px;
-
- text-align: center;
- font-weight: bold;
- color: white;
-
- border-bottom: 1px solid silver;
- background-color: #3f4241;
-}
.tab-landing .sponsors p {
padding: 5px;
}
@@ -139,57 +150,3 @@
.tab-landing .sponsors p a:hover {
text-decoration: underline;
}
-.documentation {
- height: 135px;
-
- border: 1px solid silver;
-}
-.documentation .title {
- line-height: 20px;
-
- text-align: center;
- font-weight: bold;
- color: white;
-
- border-bottom: 1px solid silver;
- background-color: #3f4241;
-}
-.documentation p {
- padding: 5px;
-}
-.documentation p a {
- font-weight: bold;
-}
-.documentation p a:hover {
- text-decoration: underline;
-}
-.support {
- height: 135px;
-
- border: 1px solid silver;
-}
-.support .title {
- line-height: 20px;
-
- text-align: center;
- font-weight: bold;
- color: white;
-
- border-bottom: 1px solid silver;
- background-color: #3f4241;
-}
-.support p {
- padding: 5px;
-}
-.support p a {
- font-weight: bold;
-}
-.support p a:hover {
- text-decoration: underline;
-}
-.support .wrapper {
- height: 114px;
-
- overflow-y: scroll;
- overflow-x: hidden;
-}
diff --git a/tabs/landing.html b/tabs/landing.html
index 37821ff8..1421c296 100644
--- a/tabs/landing.html
+++ b/tabs/landing.html
@@ -1,24 +1,18 @@
-
-
-
-
-
-
\ No newline at end of file