-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
66 lines (65 loc) · 2.5 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Ethererum Swarm P2P Decentralized Storage</title>
<link href="swarmapp.css" rel="stylesheet" type="text/css">
<link href="bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="bower_components/bootstrap/dist/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css">
</head>
<body ng-app='swarmapp'>
<header>
<div class="apptitle">Swarmbox 0.1.1</div>
</header>
<content>
<menu>
<div class="main-menu-item" ui-sref-active="selected" ui-sref="files" ui-sref-opts="{reload: false}">
<span>Files</span>
</div>
<div class="main-menu-item" ui-sref-active="selected" ui-sref="transfers">
<span>Transfers</span>
</div>
<!--
<div class="main-menu-item">
<span>Configuration</span>
</div>
-->
</menu>
<div ui-view=""></div>
</content>
<div class="dialog" id="errorDialog">
<script type="text/ng-template" id="errorDialog.html">
<div class="modal-header">
<h3>{{$ctrl.title}}</h3>
</div>
<div class="modal-body" id="dialogBody">
<div class="errorText">{{$ctrl.error}}
</div>
<button class="btn btn-big btn-primary yes" type="submit" ng-click="$ctrl.cancel()">Ok</button>
</div>
</script>
</div>
<div class="dialog" id="askDialog">
<script type="text/ng-template" id="askDialog.html">
<div class="modal-header">
<h3>{{$ctrl.title}}</h3>
</div>
<div class="modal-body" id="dialogBody">
<div class="errorText">{{$ctrl.question}}
</div>
<button class="btn btn-big btn-primary yesno yes" type="submit" ng-click="$ctrl.ok()">Confirm</button>
<button class="btn btn-big yesno no" type="submit" ng-click="$ctrl.cancel()">Cancel</button>
</div>
</script>
</div>
<footer>
</footer>
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-ui-router/release/angular-ui-router.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="renderer.js"></script>
<script src="ngapp.js"></script>
</body>
</html>