better styling for documentation tab

10.3.x-maintenance
skaman82 2015-11-21 17:25:49 +01:00
parent e65d67884a
commit f8f02c7de6
3 changed files with 75 additions and 4 deletions

View File

@ -249,13 +249,40 @@
"message": "Documentation / Manual"
},
"defaultDocumentation": {
"message": "Cleanflight documentation is available in Markdown and PDF formats.<br /><br />The PDF manual appropriate to the firmware can be downloaded from the github releases page, <a href=\"https://github.com/cleanflight/cleanflight/releases\" target=\"_blank\">here</a>.<br />The Markdown latest online documentation is available <a href=\"https://github.com/cleanflight/cleanflight/tree/master/docs\" target=\"_blank\">here</a> - you can switch to the appropriate version of the documentation by selecting the tag."
"message": "Cleanflight documentation is available in Markdown and PDF formats.<br /><br />"
},
"defaultDocumentation1": {
"message": "The PDF manual appropriate to the firmware can be downloaded from the github releases page, <a href=\"https://github.com/cleanflight/cleanflight/releases\" target=\"_blank\">here</a>."
},
"defaultDocumentation2": {
"message": "The Markdown latest online documentation is available <a href=\"https://github.com/cleanflight/cleanflight/tree/master/docs\" target=\"_blank\">here</a> - you can switch to the appropriate version of the documentation by selecting the tag."
},
"defaultSupportHead": {
"message": "Support"
},
"defaultSupport": {
"message": "For support please search the forums first or contact your vendor.<br /><br />RC Groups thread is <a href=\"http://www.rcgroups.com/forums/showthread.php?t=2249574&page=1\" target=\"_blank\">here</a>. MultiWii forums thread is <a href=\"http://www.multiwii.com/forum/viewtopic.php?f=23&t=5149\" target=\"_blank\">here</a>.<br /><br />Developers and users hang out in IRC channel on freenode<br /><a href=\"irc://irc.freenode.net/#cleanflight\" target=\"_blank\">irc://irc.freenode.net/#cleanflight</a> or <a href=\"http://webchat.freenode.net/?channels=cleanflight\" target=\"_blank\">Join via web client</a>."
"defaultSupportSubline1": {
"message": "Support Scources"
},
"defaultSupportSubline2": {
"message": "Developer"
},
"defaultSupport": {
"message": "For support please search the forums first or contact your vendor.<br /><br />"
},
"defaultSupport1": {
"message": "<a href=\"http://www.rcgroups.com/forums/showthread.php?t=2249574&page=1\" target=\"_blank\">RC Groups thread</a>"
},
"defaultSupport2": {
"message": "<a href=\"http://www.multiwii.com/forum/viewtopic.php?f=23&t=5149\" target=\"_blank\">MultiWii forums thread</a>"
},
"defaultSupport3": {
"message": "<a href=\"https://github.com/cleanflight\" target=\"_blank\">GitHub</a>"
},
"defaultSupport4": {
"message": "<a href=\"irc://irc.freenode.net/#cleanflight\" target=\"_blank\">IRC channel on freenode</a>"
},
"defaultSupport5": {
"message": "<a href=\"http://webchat.freenode.net/?channels=cleanflight\" target=\"_blank\">Join via WebClient</a>"
},
"initialSetupBackupAndRestoreApiVersion": {
"message": "<span style=\"color: red\">Backup and restore functionality disabled.</span> You have firmware with API version <span style=\"color: red\">$1</span>, backup and restore requires <span style=\"color: #57a929\">$2</span>. Please backup your settings via the CLI, see Cleanflight documentation for procedure."

View File

@ -6,4 +6,31 @@
.tab-help .gui_box {
min-height: 500px;
margin-bottom: 0px;
}
.tab-help ul {
margin-bottom:15px;
}
.tab-help li {
border-top: 1px dotted silver;
padding-top: 5px;
padding-bottom: 5px;
background-image: url(../images/arrow.svg);
background-repeat: no-repeat;
background-position: 0px 8px;
background-size: 12px;
}
.tab-help li span {
margin-left: 17px;
display:block;
}
.tab-help li span a {
color: #59aa29;
}
.tab-help .subline {
margin-bottom: 5px;
}

View File

@ -7,6 +7,10 @@
</div>
<div class="spacer">
<p i18n="defaultDocumentation"></p>
<ul>
<li><span i18n="defaultDocumentation1"></span></li>
<li><span i18n="defaultDocumentation2"></span></li>
</ul>
</div>
</div>
</div>
@ -16,7 +20,20 @@
<div class="spacer_box_title" i18n="defaultSupportHead"></div>
</div>
<div class="spacer">
<p i18n="defaultSupport"></p>
<p i18n="defaultSupport"></p>
<div class="subline"><strong i18n="defaultSupportSubline1"></strong></div>
<ul>
<li><span i18n="defaultSupport1"></span></li>
<li><span i18n="defaultSupport2"></span></li>
</ul>
<div class="subline"><strong i18n="defaultSupportSubline2"></strong></div>
<ul>
<li><span i18n="defaultSupport3"></span></li>
<li><span i18n="defaultSupport4"></span></li>
<li><span i18n="defaultSupport5"></span></li>
</ul>
</div>
</div>
</div>