simplePad2/templates/pad.html.twig

28 lines
1.1 KiB
Twig
Raw Normal View History

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) }}
{{ 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>