summaryrefslogtreecommitdiffstats
path: root/lanre_py/templates/ask_for_text.html
diff options
context:
space:
mode:
Diffstat (limited to 'lanre_py/templates/ask_for_text.html')
-rw-r--r--lanre_py/templates/ask_for_text.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/lanre_py/templates/ask_for_text.html b/lanre_py/templates/ask_for_text.html
new file mode 100644
index 0000000..44cb0fa
--- /dev/null
+++ b/lanre_py/templates/ask_for_text.html
@@ -0,0 +1,38 @@
+{% extends "layout.html" %}
+{% block body %}
+<div class="row-fluid">
+ <ul class="nav nav-pills" id="language-options">
+ <li id="lifren" class="active">
+ <a href="#language-options">French English</a>
+ </li>
+ <li id="liiten">
+ <a href="#language-options">Italian English</a>
+ </li>
+ <li id="lienit">
+ <a href="#language-options">English Italian</a>
+ </li>
+ </ul>
+</div>
+ <div class="row-fluid">
+ <div class="span10">
+ <p>Put your text below:</p>
+ <textarea id="input-text" cols="20" rows="30"></textarea>
+ </br>
+ <div >
+ <p id="translated-text"></p>
+ </div>
+ <button class="btn btn-info btn-large" id="submit-text">Translate it for me!</button>
+ <button class="btn-info btn" id="change-text" >I want to translate something else...</button>
+ <button class="btn-info btn" id="change-language-translate">Translate it again, in different language!</button>
+ </div>
+
+
+
+ <div class="span2">
+ <p id="communicates" class="alert alert-info"></p>
+ <div id="current-translation" class="alert alert-success"></div>
+ </div>
+ </div>
+
+{% endblock %}
+