client/app/slides/data_editor.html
author rougeronj
Wed, 08 Apr 2015 00:36:37 +0200
changeset 77 ee963d1c409b
parent 70 e7e9f2ff6f10
child 96 3542155549e4
permissions -rw-r--r--
Add new serializer for the data send by Orpheo. We receive XML so we parse it to json. Then we parse some html to get the proper data of each attribute. Add xmlToJson parser module to requirements.txt
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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">
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
     2
	<div ng-hide="slide.editMode">
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
     3
		<h4 ng-dblClick="doubleClick()">{{slide.title}}</h4>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
     4
		<p ng-dblClick="doubleClick()" class="description">{{slide.description}}</p>
43
14dbcea2b543 fix misspelled attribute
rougeronj
parents: 40
diff changeset
     5
		<p ng-dblClick="doubleClick()">{{slide.comment}}</p>
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
     6
		<p ng-dblClick="doubleClick()"><em>{{slide.tags.join(', ')}}</em></p>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
     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>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
     8
	</div>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
     9
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
    10
	<div ng-show="slide.editMode">
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
    11
		<input type="text" class="form-control" ng-model='slide.title' placeholder="Titre"></input>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
    12
		<textarea class="form-control editor-textarea" ng-model='slide.description' placeholder="Description"></textarea>
43
14dbcea2b543 fix misspelled attribute
rougeronj
parents: 40
diff changeset
    13
		<input type="text" class="form-control" ng-model='slide.comment' placeholder="Commentaire"></input>
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
    14
		<input type="text" class="form-control" ng-model='slide.tags' placeholder="Tags"></input>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
    15
		<div class="text-right"><button id="btn-search-annotations" class="btn" ng-click="slidesave()"><span class="glyphicon glyphicon-ok"></span></button></div>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 36
diff changeset
    16
	</div>
0
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
</div>