-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (52 loc) · 1.78 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>豆瓣一刻</title>
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="./public/less/main.css">
</head>
<body ng-app="yike">
<div class="viewport">
<!-- 侧边导航 -->
<div ng-class="{navs:true,collapse:collapsed}">
<dl ng-controller="NavCon">
<dt class="login">
<div class="avatar">
<img src="./public/images/avatar.png" alt="">
</div>
<span>登录</span>
</dt>
<dd ng-class="{active:key==index}" ng-repeat="(key,nav) in navs">
<a ng-click="toggle()" href="{{nav.link}}" class="{{nav.class}}">
<span>{{nav.text}}</span>
</a>
</dd>
</dl>
<div class="extra">
<a href="javascript:;" class="icon-image">夜晚</a>
<a href="javascript:;" class="icon-download">离线</a>
</div>
</div>
<div class="container">
<!-- 头部 -->
<div ng-class="{header:true,collapse:collapsed}">
<a href="javascript:;" class="menu icon-menu" ng-click="toggle()"></a>
<h2>{{title}}</h2>
<a href="javascript:;" class="search icon-search"></a>
</div>
<!-- 主体 -->
<div ng-class="{body:true,collapse:collapsed}">
<div><img src="public/images/loading.gif" alt="" class="loading" ng-if="loaded"></div>
<div ng-view></div>
</div>
</div>
</div>
<!-- <script src="./public/libs/toggle.js"></script> -->
<script type="text/javascript" src="bower_components/angular/angular.min.js"></script>
<script type="text/javascript" src="bower_components/angular-route/angular-route.min.js"></script>
<script type="text/javascript" src="scripts/app.js"></script>
<script type="text/javascript" src="scripts/controllers.js"></script>
</body>
</html>