forked from duoshuo/airpub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.html
116 lines (114 loc) · 5.48 KB
/
dev.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html ng-app="airpub" ng-controller="global">
<head ng-controller="meta">
<base href="/" />
<meta charset="UTF-8">
<title ng-bind="title"></title>
<meta name="fragment" content="!" />
<meta name="description" content="{{description}}">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- dependencies stylesheets and scripts -->
<!-- for development: -->
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="bower_components/nprogress/nprogress.css">
<link rel="stylesheet" href="bower_components/highlightjs/styles/github.css">
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap.min.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<script src="bower_components/angular-ui-router/release/angular-ui-router.min.js"></script>
<script src="bower_components/nprogress/nprogress.js"></script>
<script src="bower_components/angular-base64/angular-base64.min.js"></script>
<script src="bower_components/angular-md5/angular-md5.min.js"></script>
<script src="bower_components/duoshuo/dist/duoshuo.min.js"></script>
<script src="bower_components/upyun/dist/upyun.min.js"></script>
<script src="bower_components/node-uuid/uuid.js"></script>
<script src="bower_components/marked/lib/marked.js"></script>
<script src="bower_components/highlightjs/highlight.pack.js"></script>
<!-- default theme: chill -->
<link rel="shortcut icon" type="image/x-icon" href="bower_components/chill/favicon.ico" />
<link rel="stylesheet" href="bower_components/chill/css/chill.min.css" />
</head>
<body ng-controller="base" ng-class="state.current.controller">
<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="create" class="avatar" ng-show="user" tooltip-placement="left" tooltip="{{user.name}}" 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='glyphicon glyphicon-off'></span>
</a>
</div>
</nav>
<div class="container">
<div class="logo">
<h1>
<a ui-sref="index" 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>
<!-- airpub config file -->
<script src="configs.js"></script>
<!-- duoshuo embed js -->
<script src="http://static.duoshuo.com/embed.unstable.js"></script>
<!-- airpub angular app -->
<!-- for development: -->
<!-- core editor -->
<script src="src/lib/editor.js"></script>
<!-- airpub angular.js app -->
<script src="src/airpub.js"></script>
<!-- airpub directives -->
<script src="src/directives/editor.js"></script>
<!-- airpub filters -->
<script src="src/filters/marked.js"></script>
<!-- airpub built-in addons -->
<script src="src/addons/meta.js"></script>
<!-- airpub controllers -->
<script src="src/controllers/global.js"></script>
<script src="src/controllers/meta.js"></script>
<script src="src/controllers/base.js"></script>
<script src="src/controllers/archive.js"></script>
<script src="src/controllers/single.js"></script>
<script src="src/controllers/admin.js"></script>
</body>
</html>