-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.html
58 lines (58 loc) · 2.36 KB
/
layout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<section collapse="hiddenSigninSection" class="signin-section clearfix" ng-cloak>
<div class="container">
<div class="signin-buttons clearfix">
<a ng-href="http://duoshuo.com/login/weibo?redirect_uri={{location.$$absUrl}}" class="weibo">
<i class="fa fa-weibo"></i>
<span>微博登录</span>
</a>
<a ng-href="http://duoshuo.com/login/qq?redirect_uri={{location.$$absUrl}}" class="qq">
<i class="fa fa-qq"></i>
<span>QQ 登录</span>
</a>
<a ng-href="http://duoshuo.com/login/baidu?redirect_uri={{location.$$absUrl}}" class="baidu">
<i class="fa fa-paw"></i>
<span>百度登录</span>
</a>
<a ng-href="http://duoshuo.com/login/renren?redirect_uri={{location.$$absUrl}}" class="renren">
<i class="fa fa-renren"></i>
<span>人人登录</span>
</a>
<a ng-href="http://duoshuo.com/login/douban?redirect_uri={{location.$$absUrl}}" class="douban">豆瓣登录</a>
<a ng-href="http://duoshuo.com/login?redirect_uri={{location.$$absUrl}}">更多...</a>
</div>
</div>
</section>
<header ng-class="state.current.controller">
<nav>
<div class="options pull-right">
<a ui-sref="layout.create" class="avatar" ng-show="user" ng-cloak>
<img ng-src="{{user.avatar_url}}" alt="{{user.name}}" class="img-circle"/>
</a>
<a id="signin-btn" ng-show="isVisitor" ng-click="toggleSigninSection();" tooltip-placement="left" tooltip="登录" href="javascript:void(0);" ng-cloak>
<span class='fa fa-power-off'></span>
</a>
</div>
</nav>
<div class="container">
<div class="logo">
<h1>
<a ui-sref="layout.home" ng-bind="configs.name"></a>
<span class="description" ng-bind="configs.description"></span>
</h1>
</div>
</div>
</header>
<section id="content" class="content">
<div ui-view>
<div class="loading container">loading...</div>
</div>
</section>
<footer>
<div class="container">
© <span class="copyright-year" ng-bind="copyrightYear"></span> <a ng-href="{{configs.url}}"><span class="copyright-name" ng-bind="configs.name"></span></a>. Powered by <a href="http://github.com/duoshuo/airpub">Airpub</a>
</div>
</footer>
<!-- ui modules -->
<div class="alert-module">
<alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)" ng-bind="alert.msg"></alert>
</div>