div class modal-header button type button class close data-dismiss mod

 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
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="cancel()">&times;</button>
<h4 class="modal-title" id="addLink">Image details</h4>
</div>
<form handle-errors name="form">
<div class="modal-body">
<form-errors></form-errors>
<fieldset class="grey-fieldset padding">
<input type="hidden" ng-model="model.id"/>
<div class="form-group">
<div class="row">
<div class="col-sm-9">
<div class="col-sm-5">
<label for="input-m-1">Image<span class="mandatory-field">*</span></label>
<div>
<button class="custom-btn" ng-file-select ng-file-change="upload($files)" ng-model="model.image" name="image">Choose file</button>
</div>
</div>
<div class="col-sm-4" >
<img ng-src="{{ model.thumbnail_url}}" />
<p>{{ model.name }}</p>
<progressbar value="model.progress">{{ model.progress }}</progressbar>
</div>
</div>
</div>
</div><!-- form-group -->
</fieldset>
</div>
<div class="modal-footer">
<button class="custom-btn" submit ng-click='save()'>Save</button>
<button class="custom-btn btn-transpent" ng-click='cancel()'>Cancel</button>
</div>
</form>