summaryrefslogtreecommitdiffstats
path: root/lanre_py/templates/ask_for_text.html
blob: e4b26892d6a56a5565b31254a1569d6f97493642 (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
39
40
41
42
43
44
45
46
47
48
49
50
{% 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="lienfr">
      <a href="#language-options">English French</a>
    </li>
   <li id="liiten">
      <a href="#language-options">Italian English</a>
    </li>
    <li id="lienit">
      <a href="#language-options">English Italian</a>
    </li>
    <li id="liende">
      <a href="#language-options">English German</a>
    </li>
    <li id="lideen">
      <a href="#language-options">German English</a>
    </li>

  </ul>
</div>
  <div class="row-fluid">
    <div class="span10">
      <h3 id="instructions">Put your text below:</h3>
      <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">
      <h4>Tips and info:</h4>
      <p id="communicates" class="alert alert-info"></p>
      <h3 id="translation-label">Translation:</h3>
      <div id="current-translation" class="alert alert-success"></div>
    </div>
  </div>

{% endblock %}