Templates
This commit is contained in:
25
templates/editors/template-editor.html.twig
Normal file
25
templates/editors/template-editor.html.twig
Normal file
@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Template Editor</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form>
|
||||
<select id='template_id' name='template_id' onchange="retrieveTemplate('template_id','template_value')">
|
||||
<option value='0'>-- Templates --</option>
|
||||
{% for t in app.user.templates %}
|
||||
<option value='{{ t.id }}'>{{ t.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type='text' name='name' id='template_name' />
|
||||
<input type='button' name='submit' value='Save' onclick='saveTemplate()' />
|
||||
<a href='/index.php/home'>Back</a>
|
||||
<br />
|
||||
|
||||
<textarea id='template_value' name='template' wrap='hard' cols=100 rows=45></textarea>
|
||||
</form>
|
||||
|
||||
<script src='/js/script.js'></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user