Templates
This commit is contained in:
52
templates/editors/reference-editor.html.twig
Normal file
52
templates/editors/reference-editor.html.twig
Normal file
@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Reference Editor</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<select id='references' onchange='retrieveReference(this)'>
|
||||
<option value=''>-- Select Reference --</option>
|
||||
<optgroup id='creeds' label='Creeds'>
|
||||
{% for c in creeds %}
|
||||
<option type='creed'>{{ c }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
<optgroup id='belgic' label='Belgic Confession'>
|
||||
{% for c in belgic %}
|
||||
<option type='bc'>{{ c }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
<optgroup id='heidelberg' label='Heidelberg Catechism'>
|
||||
{% for c in heidelberg %}
|
||||
<option type='hc'>{{ c }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
<optgroup id='dort' label='Canons of Dort'>
|
||||
{% for c in dort %}
|
||||
<option type='cd'>{{ c }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
<optgroup id='wcf' label='Westminster Confession of Faith'>
|
||||
{% for c in wcf %}
|
||||
<option type='wcf'>{{ c }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
<optgroup id='wsc' label='Westminster Short Catechism'>
|
||||
{% for c in wsc %}
|
||||
<option type='wsc'>{{ c }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
<optgroup id='wlc' label='Westminster Larger Catechism'>
|
||||
{% for c in wlc %}
|
||||
<option type='wlc'>{{ c }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
</select>
|
||||
<button id='save' name='save' onclick='saveReference()'>Save</button>
|
||||
<a href='/index.php/home'>Back</a><br />
|
||||
|
||||
<textarea id='reference' name='reference' rows=45 cols=100></textarea>
|
||||
<script src='/js/script.js'></script>
|
||||
</body>
|
||||
</html>
|
20
templates/editors/series-editor.html.twig
Normal file
20
templates/editors/series-editor.html.twig
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Series Editor</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<select id='series' onchange='retrieveSeries()'>
|
||||
<option value='0'>-- Series --</option>
|
||||
{% for s in series %}
|
||||
<option value='{{ s.id }}'>{{ s.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type='text' name='series_name' id='series_name' />
|
||||
<input type='button' name='save' value='Save' onclick='saveSeries()' />
|
||||
<a href='/index.php/'>Back</a>
|
||||
|
||||
<script src='/js/script.js'></script>
|
||||
</body>
|
||||
</html>
|
20
templates/editors/speaker-editor.html.twig
Normal file
20
templates/editors/speaker-editor.html.twig
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Speaker Editor</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<select name='speaker_id' id='speaker_id' onchange='retrieveSpeaker()'>
|
||||
<option value='0'>-- Speaker --</option>
|
||||
{% for s in speakers %}
|
||||
<option value='{{ s.id }}'>{{ s.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type='text' name='speaker_name' id='speaker_name' />
|
||||
<input type='button' name='save' value='Save' onclick='saveSpeaker()' />
|
||||
<a href='/index.php/'>Back</a>
|
||||
|
||||
<script src='/js/script.js'></script>
|
||||
</body>
|
||||
</html>
|
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