Move Documentation and Support links to separate tab. Add a
contributing section. Unify help/landing section CSS/html a little. Expand the sponsors panel area in preparation for an updated section.pull/3/head
parent
432d9f0720
commit
c3f1c13d54
@ -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;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
<div class="tab-help">
|
||||
<div class="left">
|
||||
<div class="section documentation">
|
||||
<div class="title" i18n="defaultDocumentationHead"></div>
|
||||
<p i18n="defaultDocumentation"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="section support">
|
||||
<div class="title" i18n="defaultSupportHead"></div>
|
||||
<div class="wrapper">
|
||||
<p i18n="defaultSupport"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
@ -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();
|
||||
};
|
Loading…
Reference in New Issue