| author | ymh <ymh.work@gmail.com> |
| Wed, 08 Jan 2020 17:49:53 +0100 | |
| changeset 205 | 147583c43f0d |
| parent 105 | be1ff4e0593f |
| permissions | -rw-r--r-- |
|
40
4b3bebe4355d
add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents:
36
diff
changeset
|
1 |
<div class="user-details"> |
| 96 | 2 |
<div ng-hide="slide.editMode"> |
|
105
be1ff4e0593f
remove unused fields in slide editor and show the entire image
rougeronj
parents:
96
diff
changeset
|
3 |
<label>Votre Titre</label> |
| 96 | 4 |
<h4 ng-dblClick="doubleClick()">{{slide.title}}</h4> |
|
105
be1ff4e0593f
remove unused fields in slide editor and show the entire image
rougeronj
parents:
96
diff
changeset
|
5 |
<label>Vos commentaires</label> |
| 96 | 6 |
<p ng-dblClick="doubleClick()" class="description">{{slide.description}}</p> |
|
105
be1ff4e0593f
remove unused fields in slide editor and show the entire image
rougeronj
parents:
96
diff
changeset
|
7 |
<label>Tags</label> |
| 96 | 8 |
<p ng-dblClick="doubleClick()"><em>{{slide.tags.join(', ')}}</em></p> |
9 |
<div class="text-right"><button id="btn-search-annotations" class="btn" ng-click="slide.editMode=true"><span class="glyphicon glyphicon-pencil"></span></button></div> |
|
10 |
</div> |
|
|
40
4b3bebe4355d
add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents:
36
diff
changeset
|
11 |
|
| 96 | 12 |
<div ng-show="slide.editMode"> |
13 |
<input type="text" class="form-control" ng-model='slide.title' placeholder="Titre"></input> |
|
14 |
<textarea class="form-control editor-textarea" ng-model='slide.description' placeholder="Description"></textarea> |
|
15 |
<input type="text" class="form-control" ng-model='slide.tags' placeholder="Tags"></input> |
|
16 |
<div class="text-right"><button id="btn-search-annotations" class="btn" ng-click="slidesave()"><span class="glyphicon glyphicon-ok"></span></button></div> |
|
17 |
</div> |
|
| 0 | 18 |
</div> |