-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadminMap.html
50 lines (40 loc) · 2.19 KB
/
adminMap.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
<div >
<div class="row">
<!--area for form-->
<div class="col-xs-3 ">
<form>
<div class="form-group">
<label>LATITUDE</label>
<input type="text" placeholder="enter latitude" class="form-control" ng-model="amc.place.lat">
</div>
<div class="form-group">
<label>LONGITUDE</label>
<input type="text" placeholder="enter LONGITUDE" class="form-control" ng-model="amc.place.lng">
</div>
<div class="form-group">
<label>NAME OF PLACE</label>
<input type="text" placeholder="enter place name" class="form-control" ng-model="amc.place.name">
</div>
<div class="form-group">
<label>DESCRIPTION</label>
<textarea type="text" placeholder="enter details" class="form-control" ng-model="amc.place.desc"></textarea>
</div>
<div class="form-group">
<label>CATEGORY</label>
<select class="form-control" ng-model="amc.place.category">
<option value="" default >select categories..</option>
<option value="temples" >temples</option>
<option value="tourism" >tourism</option>
<option value="cinema" >cinema</option>
<option value="university and colleges" >university and colleges</option>
<option value="hotel" >hotel</option>
</select>
</div>
<button ng-click="amc.submit(amc.place)" type="button" ng-disabled="!amc.place.name || !amc.place.desc || !amc.place.lat || !amc.place.lng" class="btn btn-lg btn-primary btn-block">SUBMIT</button>
<button ng-click="amc.logout()" class="btn btn-danger btn-lg btn-block">LOGOUT</button>
</form>
</div>
<!--map area for maps-->
<div class="col-xs-9 " id="mapForAdmin" > </div>
</div>
</div>