-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (79 loc) · 3.12 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE HTML>
<html ng-app="Angello">
<head>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
<script type="text/javascript" src="app.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="app.css">
<title>Angello Lite</title>
</head>
<body>
<div ng-controller="MainCtrl as main">
<div class="col-md-4">
<h2>Stories</h2>
<story class="callout"
ng-repeat="story in main.stories"
ng-click="main.setCurrentStory(story)">
</story>
<br/>
<a class="btn btn-primary" ng-click="main.createStory()">
<span class="glyphicon glyphicon-plus"></span>
</a>
</div>
<div class="col-md-6 content">
<h2>Story</h2>
<form class="form-horizontal">
<div class="form-group">
<label class="control-label" for="inputTitle">Title</label>
<div class="controls">
<input type="text" class="form-control" id="inputTitle" placeholder="Title" ng-model="main.currentStory.title" />
</div>
</div>
<div class="form-group">
<label class="control-label" for="inputStatus">Status</label>
<div class="controls">
<select id="inputStatus" class="form-control" ng-model="main.currentStatus"
ng-options="l.name for l in main.statuses"
ng-change="main.setCurrentStatus(main.currentStatus)"></select>
</div>
</div>
<div class="form-group">
<label class="control-label" for="inputType">Type</label>
<div class="controls">
<select id="inputType" class="form-control" ng-model="main.currentType"
ng-options="t.name for t in main.types"
ng-change="main.setCurrentType(main.currentType)"></select>
</div>
</div>
<div class="form-group">
<label class="control-label" for="inputDescription">Description</label>
<div class="controls">
<textarea id="inputDescription" class="form-control" placeholder="Description" rows="3"
ng-model="main.currentStory.description"></textarea>
</div>
</div>
<div class="form-group">
<label class="control-label" for="inputAcceptance">Acceptance Criteria</label>
<div class="controls">
<textarea id="inputAcceptance" class="form-control" placeholder="Acceptance Criteria" rows="3"
ng-model="main.currentStory.criteria"></textarea>
</div>
</div>
<div class="form-group">
<label class="control-label" for="inputReporter">Reporter</label>
<div class="controls">
<input type="text" class="form-control" id="inputReporter" placeholder="Reporter" ng-model="main.currentStory.reporter" />
</div>
</div>
<div class="form-group">
<label for="inputAssignee">Assignee</label>
<div class="controls">
<input type="text" class="form-control" id="inputAssignee" placeholder="Assignee" ng-model="main.currentStory.assignee" />
</div>
</div>
</form>
</div>
</div>
</body>
</html>