commit 3a6dee3769b429a787ba4c01161e5c223c068809
parent 020dbb602802093ab2cfdcc72bf97ecb04252ccd
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri, 23 Nov 2012 15:37:37 +0100
indicate what it does
Diffstat:
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/static/main.css b/static/main.css
@@ -146,3 +146,8 @@ li.incorrect {
 .template {
   font-family: DejaVu Sans Mono, Liberation Mono, monospace;
 }
+
+#desc {
+  margin-bottom: 0em;
+}
+
diff --git a/views/index.html b/views/index.html
@@ -2,13 +2,20 @@
 
 {% block body %}
 <form method="POST" action="check" id="bigform">
+  {% if lang == 'fr' %}
+  <p id="desc">plint est un outil pour vérifier la métrique et les rimes de poèmes en
+  langue française. Entrez votre poème ici :</p>
+  {% else %}
+  <p id="desc">plint is a tool to check the metric and rhymes of French verse.
+  Input your poem here:</p>
+  {% endif %}
   <label for="poem">
   </label><br />
   <textarea id="poem" name="poem"
   {% if lang == 'fr' %}
-    placeholder="Entrez votre poème ici."
+    placeholder="Votre poème ici."
   {% else %}
-    placeholder="Input your poem here."
+    placeholder="Your poem here."
   {% endif %}
     ></textarea>
   <br/>
@@ -58,9 +65,9 @@
   <dd>
   <textarea name="custom_template" id="custom_template"
   {% if lang == 'fr' %}
-  placeholder="modèle personnalisé"
+  placeholder="Entrez votre modèle personnalisé ici."
   {% else %}
-  placeholder="custom template"
+  placeholder="Input a custom template here."
   {% endif %}
   ></textarea>
 </dd>