routes
authorcavaliet
Thu, 09 Oct 2014 15:59:48 +0200
changeset 8 e72d0e847d5d
parent 7 813fec862542
child 9 ae8a74bd6add
routes
annot-server/webapp.py
client/app/annotationclient.html
--- a/annot-server/webapp.py	Thu Oct 09 15:25:56 2014 +0200
+++ b/annot-server/webapp.py	Thu Oct 09 15:59:48 2014 +0200
@@ -13,9 +13,15 @@
 
 @app.route('/')
 def page_home():
-   return render_template('index.html')
+    return render_template('index.html')
+    #return render_template('annotationclient.html', logging=True)
 
 
 @app.route('/annot')
 def page_annot():
-   return render_template('annot.html')
+    return render_template('annot.html')
+
+
+@app.route('/annotationclient')
+def page_annotationclient():
+    return render_template('annotationclient.html', logging=True)
--- a/client/app/annotationclient.html	Thu Oct 09 15:25:56 2014 +0200
+++ b/client/app/annotationclient.html	Thu Oct 09 15:59:48 2014 +0200
@@ -38,7 +38,7 @@
               <div class="table">
                 <div class="table-cell">
                   <p class="large-cat">ENVOYER</p>
-                  <p class="normal-cat">la catégorie saisie - {{ myvar }} -</p>
+                  <p class="normal-cat">la catégorie saisie</p>
                 </div>
               </div>
           </div>