forked from rjj940221/codfest_gpg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
complaint.html
45 lines (42 loc) · 1.8 KB
/
complaint.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
<!DOCTYPE html>
<div layout="column">
<md-toolbar class="site-content-toolbar md-whiteframe-glow-z2">
<div class="md-toolbar-tools">
<div layout="row" layout-align="center center">
<a href="#/comm_safety"><h1 class="md-toolbar-item">Comm. Safety</h1></a>
<md-icon md-svg-icon="svg/ic_chevron_right_white_24px.svg" style="color: inherit" aria-hidden="true"></md-icon>
<a href="#/complaint"><h1 class="md-toolbar-item">Complaint</h1></a>
</div>
<span flex></span>
<md-button class="md-icon-button md-toolbar-item" aria-label="Account" ng-click="toggleAccount()">
<md-icon md-svg-src="svg/ic_account_circle_white_24px.svg"></md-icon>
</md-button>
</div>
</md-toolbar>
<md-content flex layout-padding>
<h2>File a complaint</h2>
<form name="new_complaint" layout="column">
<md-input-container>
<label>Complaint Description</label>
<textarea ng-model="description" name="discription" required ng-maxlength="500"/>
</md-input-container>
<md-input-container style="margin-top: 0">
<label>Police Stations</label>
<md-select ng-model="userStation" required>
<md-option><em>None</em></md-option>
<md-option ng-repeat="station in stations" ng-value="station.ID">
{{station.Name}}
</md-option>
</md-select>
</md-input-container>
<md-input-container style="margin: 0">
<label>Police Officer Involved</label>
<textarea type="text" ng-model="police_officer" flex></textarea>
</md-input-container>
<md-button class="md-raised md-primary login" ng-click="submit()" ng-disabled="new_complaint.$invalid">
<span style="margin-right: 1em">Submit</span>
<md-icon md-svg-src="svg/ic_send_white_24px.svg"></md-icon>
</md-button>
</form>
</md-content>
</div>