-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
46 lines (46 loc) · 2.1 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
<html ng-app="myApp">
<head>
<title>SoDA Portal</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>
<script src="logic.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body ng-controller="Controller">
<div class="row">
<div class="col-lg-4"></div>
<div class="col-lg-4 column">
<div class="row divider"></div>
<div class="row divider">
<center>
<div ng-show="loginShow">
<h4><b>SoDA Portal</b></h4>
<br>
<div class="form-group">
<input type="text" class="form-control" id="usr" placeholder="Username" ng-model="user">
</div>
<div class="form-group">
<input type="password" class="form-control" id="pwd" placeholder="Password">
</div>
<br>
<button class="btn btn-primary" ng-click="loginShow = !loginShow">Log In</button>
</div>
<div ng-show="!loginShow">
<br>
<h4>Hello {{user}}!</h4>
</div>
<div ng-show="!loginShow" ng-repeat="bu in buttons">
<button class="btn btn-default list">{{bu}}</button>
</div>
<br>
<div ng-show="!loginShow">
<button class="btn btn-primary" ng-click="loginShow = !loginShow">Back<button>
</div>
</center>
</div>
<div class="row divider"></div>
</div>
<div class="col-lg-4"></div>
</div>
</body>
</html>