-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnicklist.html
35 lines (30 loc) · 1.27 KB
/
nicklist.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
<!DOCTYPE html>
<html ng-app="ZeroSlack">
<head>
<title>Contacts</title>
<link rel="stylesheet" type="text/css" href="web/css/bootstrap.min.css">
<script type="text/javascript">
window.$ = window.jQuery = require('./web/js/ext/jquery-1.12.3.min.js');
</script>
<script type="text/javascript" src="web/js/ext/angular.min.js"></script>
<script type="text/javascript" src="web/js/ext/bootstrap.min.js"></script>
<script type="text/javascript" src="web/js/ext/lockr.min.js"></script>
<script type="text/javascript" src="web/js/config.js"></script>
<script type="text/javascript" src="web/js/nicklist.js"></script>
<link rel="stylesheet" type="text/css" href="web/css/app.css">
</head>
<body class="container">
<div ng-controller="NickListController">
<div ng-repeat="connection in connections">
<span class="badge">{{connection.getMyName()}} @ {{connection.getAccountName()}}</span><br/>
<div ng-repeat="channel in connection.channels">
<span class="label label-primary" id="{{channel.id}}">#{{channel.name}}</span>
</div>
<div ng-repeat="im in connection.ims">
<span class="label label-success" id="{{im.id}}">{{im.user}}</span>
</div>
<br/>
</div>
</div>
</body>
</html>