add playground link
This commit is contained in:
Liang Ding 2015-02-15 16:04:18 +08:00
parent 4b254f4e91
commit ce489a73e7
3 changed files with 110 additions and 103 deletions

View File

@ -342,6 +342,11 @@
{{.i18n.keyboard_shortcuts}} {{.i18n.keyboard_shortcuts}}
</li> </li>
<li class="hr"></li> <li class="hr"></li>
<li onclick="window.open('/playground')">
<span class="space"></span>
Playground
</li>
<li class="hr"></li>
<li onclick="window.open('http://b3log.org/services')"> <li onclick="window.open('http://b3log.org/services')">
<span class="font-ico ico-price"></span> <span class="font-ico ico-price"></span>
<span>{{.i18n.pricing}}</span> <span>{{.i18n.pricing}}</span>

View File

@ -19,6 +19,7 @@
<img title="Wide, a Web-based IDE for Teams using Golang." src="{{.conf.StaticServer}}/static/images/wide-logo.png" <img title="Wide, a Web-based IDE for Teams using Golang." src="{{.conf.StaticServer}}/static/images/wide-logo.png"
class="logo"/></a> class="logo"/></a>
<ul class="fn-right"> <ul class="fn-right">
<li><a rel="bookmark" href="/playground" target="_blank">Play</a></li>
<li><a rel="bookmark" href="https://github.com/b3log/wide" target="_blank">GitHub</a></li> <li><a rel="bookmark" href="https://github.com/b3log/wide" target="_blank">GitHub</a></li>
<li><a rel="help" href="https://www.gitbook.io/book/88250/wide-user-guide" target="_blank">{{.i18n.help}}</a></li> <li><a rel="help" href="https://www.gitbook.io/book/88250/wide-user-guide" target="_blank">{{.i18n.help}}</a></li>
<li><a rel="bookmark" href="https://github.com/b3log/wide/issues/new" target="_blank">{{.i18n.report_issues}}</a></li> <li><a rel="bookmark" href="https://github.com/b3log/wide/issues/new" target="_blank">{{.i18n.report_issues}}</a></li>

View File

@ -19,6 +19,7 @@
<img title="Wide, a Web-based IDE for Teams using Golang." src="{{.conf.StaticServer}}/static/images/wide-logo.png" <img title="Wide, a Web-based IDE for Teams using Golang." src="{{.conf.StaticServer}}/static/images/wide-logo.png"
class="logo"/></a> class="logo"/></a>
<ul class="fn-right"> <ul class="fn-right">
<li><a rel="bookmark" href="/playground" target="_blank">Play</a></li>
<li><a rel="bookmark" href="https://github.com/b3log/wide" target="_blank">GitHub</a></li> <li><a rel="bookmark" href="https://github.com/b3log/wide" target="_blank">GitHub</a></li>
<li><a rel="help" href="https://www.gitbook.io/book/88250/wide-user-guide" target="_blank">{{.i18n.help}}</a></li> <li><a rel="help" href="https://www.gitbook.io/book/88250/wide-user-guide" target="_blank">{{.i18n.help}}</a></li>
<li><a rel="bookmark" href="https://github.com/b3log/wide/issues/new" target="_blank">{{.i18n.report_issues}}</a></li> <li><a rel="bookmark" href="https://github.com/b3log/wide/issues/new" target="_blank">{{.i18n.report_issues}}</a></li>
@ -55,7 +56,7 @@
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/jquery-2.1.1.min.js"></script> <script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/jquery-2.1.1.min.js"></script>
<script> <script>
(function () { (function () {
var contentH = $(window).height() - $(".footer").height() - $(".header").height() - 18; var contentH = $(window).height() - $(".footer").height() - $(".header").height() - 18;
$(".content").height(contentH) $(".content").height(contentH)
.css("padding-top", (contentH - $(".content .fn-left").height()) / 2 + "px"); .css("padding-top", (contentH - $(".content .fn-left").height()) / 2 + "px");
@ -163,7 +164,7 @@
$("#signUpBtn").click(function () { $("#signUpBtn").click(function () {
signUp(); signUp();
}); });
})(); })();
</script> </script>
</body> </body>
</html> </html>