-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwelcome.html
57 lines (43 loc) · 1.96 KB
/
welcome.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
<!DOCTYPE html>
<html ng-app="ZeroSlack">
<head>
<title>ZeroSlack accounts</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/welcome.js"></script>
<link rel="stylesheet" type="text/css" href="web/css/app.css">
</head>
<body class="container">
<div ng-controller="AuthController">
<div id="no_account" ng-hide="accounts.length > 0">
<h2>Hello there ZeroSlack user!</h2>
<p>Before we can get started you will need to link your slack account.</p>
<div class="alert alert-warning" role="alert">OAuth 2.0 is a protocol that lets this application access your
Slack account without needing your password.
</div>
<form ng-submit="submit()">
<input ng-disabled="isDisabled" type="submit" id="submit_first" value="Let's do this."/>
</form>
</div>
<div id="all_accounts" ng-show="accounts.length > 0">
<h2>Your linked accounts</h2>
<p>Click on the account you want to connect, or [X] to delete.</p>
<div class="list-group">
<span class="list-group-item" ng-repeat="account in accounts track by account.name">{{account.name}} <a ng-click="delete(account)" href="#">[X]</a></span>
</div>
<form ng-submit="submit()">
<input ng-disabled="isDisabled" type="submit" id="submit_other" value="Link another account"/>
</form>
<br/><button ng-click="connect()">Go online</button>
</div>
</div>
</body>
<script>
</script>
</html>