2019-12-11 15:14:56 +01:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
2019-12-16 19:20:43 +01:00
|
|
|
<title>{{ page_title|e('html') }}</title>
|
2019-12-11 15:14:56 +01:00
|
|
|
{% block stylesheets %}
|
|
|
|
<link href="{{ asset('/css/style.css') }}" type="text/css" rel="stylesheet" />
|
|
|
|
{% endblock %}
|
2019-12-18 21:55:46 +01:00
|
|
|
<script src="{{ asset('js/main.js') }}"></script>
|
|
|
|
<script src="{{ asset('js/sjcl.js') }}"></script>
|
2019-12-11 15:14:56 +01:00
|
|
|
</head>
|
2019-12-18 21:55:46 +01:00
|
|
|
<body onload="ready()">
|
2019-12-16 19:20:43 +01:00
|
|
|
<h1>{{head_title|e('html')}} </h1>
|
2019-12-18 21:55:46 +01:00
|
|
|
|
|
|
|
<nav>
|
|
|
|
<img alt="menu" title="plus d'options" src="img/menus.svg" id="showOptions" class="link"/>
|
|
|
|
<em id="moreoptions" class="hidden-by-default">
|
|
|
|
Chiffrer le pad:
|
|
|
|
<input type="text" id="key" placeholder="Clef de chiffrement"/>
|
|
|
|
<input type="button" id="buttonCrypt" value="chiffrer"/>
|
|
|
|
<input type="button" id="buttonUncrypt" value="déchiffrer"/>
|
|
|
|
</em>
|
|
|
|
</nav>
|
2019-12-11 15:14:56 +01:00
|
|
|
{{ form_start(form) }}
|
2019-12-22 20:40:15 +01:00
|
|
|
{{ form_widget(form.crypt_iv, {}) }}
|
|
|
|
{{ form_widget(form.crypt_v, {}) }}
|
|
|
|
{{ form_widget(form.crypt_iter, {}) }}
|
|
|
|
{{ form_widget(form.crypt_ks, {}) }}
|
|
|
|
{{ form_widget(form.crypt_ts, {}) }}
|
|
|
|
{{ form_widget(form.crypt_mode, {}) }}
|
|
|
|
{{ form_widget(form.crypt_adata, {}) }}
|
|
|
|
{{ form_widget(form.crypt_cipher, {"value": "none"}) }}
|
|
|
|
{{ form_widget(form.crypt_salt, {}) }}
|
2019-12-11 15:14:56 +01:00
|
|
|
{{ form_widget(form.content, {}) }}
|
|
|
|
{{ form_end(form) }}
|
2019-12-18 21:55:46 +01:00
|
|
|
|
2019-12-11 15:14:56 +01:00
|
|
|
</body>
|
|
|
|
</html>
|