about
This commit is contained in:
parent
abf626e7b2
commit
6b7aaa6a77
|
@ -19,10 +19,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#dialogAbout {
|
#dialogAbout {
|
||||||
margin: 35px 100px 0 100px;
|
margin: 35px 20px;
|
||||||
line-height: 28px;
|
line-height: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#dialogAbout .item {
|
||||||
|
margin: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
#dialogAbout a {
|
#dialogAbout a {
|
||||||
color: #4183c4;
|
color: #4183c4;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -49,12 +53,6 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#dialogAbout .thx {
|
|
||||||
border-left: 1px solid #919191;
|
|
||||||
padding-left: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#dialogAbout .thx,
|
|
||||||
#dialogAbout .thx ul {
|
#dialogAbout .thx ul {
|
||||||
margin-left: 50px;
|
margin-left: 50px;
|
||||||
}
|
}
|
||||||
|
@ -69,5 +67,6 @@
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
height: 85px;
|
height: 85px;
|
||||||
overflow: auto;
|
overflow-x: hidden;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
|
@ -161,7 +161,8 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
$(window).resize(function () {
|
$(window).resize(function () {
|
||||||
$(".dialog-background").height($("body").height());
|
var height = $("body").height() > $(window).height() ? $("body").height() : $(window).height();
|
||||||
|
$(".dialog-background").height(height);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (typeof settings.afterInit === "function") {
|
if (typeof settings.afterInit === "function") {
|
||||||
|
|
|
@ -58,8 +58,6 @@ var menu = {
|
||||||
$("#dialogAbout").load(config.context + '/about', function () {
|
$("#dialogAbout").load(config.context + '/about', function () {
|
||||||
$("#dialogAbout").dialog({
|
$("#dialogAbout").dialog({
|
||||||
"modal": true,
|
"modal": true,
|
||||||
"height": 460,
|
|
||||||
"width": 800,
|
|
||||||
"title": config.label.about,
|
"title": config.label.about,
|
||||||
"hideFooter": true,
|
"hideFooter": true,
|
||||||
"afterOpen": function () {
|
"afterOpen": function () {
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
<div class="fn-clear">
|
<div class="item">
|
||||||
|
<div class="fn-clear">
|
||||||
<img class="logo" src="{{.conf.StaticServer}}/static/images/wide-logo.png" alt="wide logi"/>
|
<img class="logo" src="{{.conf.StaticServer}}/static/images/wide-logo.png" alt="wide logi"/>
|
||||||
<div class="fn-left">
|
<div class="fn-left">
|
||||||
<h2>Hello, 世界</h2>
|
<h2>Hello, 世界</h2>
|
||||||
<h3>Coding with Go on the Wide way.</h3>
|
<h3>Coding with Go on the Wide way.</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<label>{{.i18n.current_ver}}{{.i18n.colon}}</label>
|
<label>{{.i18n.current_ver}}{{.i18n.colon}}</label>
|
||||||
<span class="version">{{.ver}}</span>,
|
<span class="version">{{.ver}}</span>,
|
||||||
<span class="upgrade">{{.i18n.check_version}}....</span>
|
<span class="upgrade">{{.i18n.check_version}}....</span>
|
||||||
<div class="space"></div>
|
</div>
|
||||||
|
|
||||||
<div class="fn-clear">
|
<div class="space"></div>
|
||||||
<div class="fn-left">
|
|
||||||
|
<div class="item">
|
||||||
<label>{{.i18n.project_address}}{{.i18n.colon}}</label>
|
<label>{{.i18n.project_address}}{{.i18n.colon}}</label>
|
||||||
<a href="https://github.com/b3log/wide" target="_blank">github.com/b3log/wide</a><br/>
|
<a href="https://github.com/b3log/wide" target="_blank">github.com/b3log/wide</a><br/>
|
||||||
|
|
||||||
|
@ -24,27 +25,25 @@
|
||||||
|
|
||||||
<label>{{.i18n.donate}}{{.i18n.colon}}</label>
|
<label>{{.i18n.donate}}{{.i18n.colon}}</label>
|
||||||
<a href="http://b3log.org/donate.html" target="_blank">b3log.org/donate.html</a>
|
<a href="http://b3log.org/donate.html" target="_blank">b3log.org/donate.html</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="fn-left thx">
|
|
||||||
|
<div class="thx item">
|
||||||
<label>{{.i18n.credits}}{{.i18n.colon}}</label>
|
<label>{{.i18n.credits}}{{.i18n.colon}}</label>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="http://golang.org" target="_blank">golang</a>
|
<a href="http://golang.org" target="_blank">golang</a>
|
||||||
<a href="https://github.com/marijnh/CodeMirror" target="_blank">CodeMirror</a>
|
<a href="https://github.com/marijnh/CodeMirror" target="_blank">CodeMirror</a>
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/zTree/zTree_v3" target="_blank">zTree</a>
|
<a href="https://github.com/zTree/zTree_v3" target="_blank">zTree</a>
|
||||||
<a href="https://github.com/visualfc/liteide" target="_blank">LiteIDE</a>
|
<a href="https://github.com/visualfc/liteide" target="_blank">LiteIDE</a>
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/nsf/gocode" target="_blank">gocode</a>
|
<a href="https://github.com/nsf/gocode" target="_blank">gocode</a>
|
||||||
<a href="https://github.com/gorilla" target="_blank">Gorilla</a>
|
<a href="https://github.com/gorilla" target="_blank">Gorilla</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="space"></div>
|
<div class="space"></div>
|
||||||
<div>
|
|
||||||
|
<div class="item">
|
||||||
<label>{{.i18n.license}}{{.i18n.colon}}</label>
|
<label>{{.i18n.license}}{{.i18n.colon}}</label>
|
||||||
<pre class="license">
|
<pre class="license">
|
||||||
Apache License
|
Apache License
|
||||||
|
@ -249,5 +248,4 @@
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue