summaryrefslogtreecommitdiffstats
path: root/lanre_py/templates/ask_for_text.html
blob: 44cb0fa736f029650976a651a8e060e562f6e003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 %}