| author | rougeronj |
| Wed, 27 May 2015 18:58:39 +0200 | |
| changeset 96 | 3542155549e4 |
| parent 70 | e7e9f2ff6f10 |
| child 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"> |
3 |
<h4 ng-dblClick="doubleClick()">{{slide.title}}</h4> |
|
4 |
<p ng-dblClick="doubleClick()" class="description">{{slide.description}}</p> |
|
5 |
<p ng-dblClick="doubleClick()">{{slide.comment}}</p> |
|
6 |
<p ng-dblClick="doubleClick()"><em>{{slide.tags.join(', ')}}</em></p> |
|
7 |
<div class="text-right"><button id="btn-search-annotations" class="btn" ng-click="slide.editMode=true"><span class="glyphicon glyphicon-pencil"></span></button></div> |
|
8 |
</div> |
|
|
40
4b3bebe4355d
add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents:
36
diff
changeset
|
9 |
|
| 96 | 10 |
<div ng-show="slide.editMode"> |
11 |
<input type="text" class="form-control" ng-model='slide.title' placeholder="Titre"></input> |
|
12 |
<textarea class="form-control editor-textarea" ng-model='slide.description' placeholder="Description"></textarea> |
|
13 |
<input type="text" class="form-control" ng-model='slide.comment' placeholder="Commentaire"></input> |
|
14 |
<input type="text" class="form-control" ng-model='slide.tags' placeholder="Tags"></input> |
|
15 |
<div class="text-right"><button id="btn-search-annotations" class="btn" ng-click="slidesave()"><span class="glyphicon glyphicon-ok"></span></button></div> |
|
16 |
</div> |
|
| 0 | 17 |
</div> |