Commit 1bbd6872 authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

upgrade to v3.0 et message de désactivation pour editDico

parent 2395066f
......@@ -54,7 +54,7 @@ def main(request):
def updateTime():
upd = str(subprocess.check_output(["git", "log", "-1", "--format=%cd", "--date=short"]))
#ver = str(subprocess.check_output(["git", "rev-list", "--all", "--count"]))
return 'Version 2.0 (mis à jour le '+upd[2:-3]+')'
return 'Version 3.0 (mis à jour le '+upd[2:-3]+')'
def main0(request):
data = Data()
......
......@@ -59,8 +59,8 @@
<input name="entreeMot" type="text" value="{{ result.mot }}"/>
<input class="api-kb" name="entreeTrans" type="text" value="{{ result.trans }}"/>
<button type="submit" formaction="/app/dico/edit/MODIF/" class="btn btn-light" title="Enregistrer les modifications">Éditer</button>
<button type="submit" formaction="/app/dico/edit/DELETE/" class="btn btn-danger" title="Supprimer l'entrée du dictionnaire"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
<button type="submit" onclick="window.alert('Fonction désactivée pour le moment')" {#formaction="/app/dico/edit/MODIF/"#} class="btn btn-light" title="Enregistrer les modifications">Éditer</button>
<button type="submit" onclick="window.alert('Fonction désactivée pour le moment')" {#formaction="/app/dico/edit/DELETE/"#} class="btn btn-danger" title="Supprimer l'entrée du dictionnaire"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
</form>
</div>
{% endfor %}
......@@ -73,7 +73,7 @@
<input type="hidden" name="condition-trans" value="{{ data.transcond }}"/>
<input name="entreeMot" type="text" value=""/>
<input id="kb" class="api-kb" name="entreeTrans" type="text" value=""/>
<button type="submit" formaction="/app/dico/edit/ADD/" class="btn btn-success" title="Ajouter cette entrée"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
<button type="submit" onclick="window.alert('Fonction désactivée pour le moment')" {#formaction="/app/dico/edit/ADD/"#} class="btn btn-success" title="Ajouter cette entrée"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
</form>
<button id="btnAddEntry" type="submit" class="btn btn-light" title="Ajouter une entrée"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment