client/app/books/add_modal.html
author rougeronj
Wed, 08 Apr 2015 00:36:37 +0200
changeset 77 ee963d1c409b
parent 68 b209b49c99fb
child 97 0afdaa004ee1
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:
53
dac1df90b49e fucntion and button to add a book
rougeronj
parents:
diff changeset
     1
<div class="modal-header ng-scope">
dac1df90b49e fucntion and button to add a book
rougeronj
parents:
diff changeset
     2
	<h3 class="modal-title">Ajouter un nouveau Book</h3>
dac1df90b49e fucntion and button to add a book
rougeronj
parents:
diff changeset
     3
</div>
dac1df90b49e fucntion and button to add a book
rougeronj
parents:
diff changeset
     4
68
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
     5
<form ng-submit="add()" novalidate>
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
     6
	<div class="modal-body ng-scope">
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
     7
		<input type="text" class="form-control" ng-model='title' placeholder="Titre"></input>
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
     8
	</div>
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
     9
	
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    10
	<div class="modal-footer ng-scope">
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    11
		<button type="button" ng-click="cancel()" class="btn btn-warning">Cancel</button>
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    12
		<button type="submit" class="btn btn-primary">Create</button>
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    13
	</div>	
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    14
</form>