summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod/templates/templates.html
diff options
context:
space:
mode:
authorChristian Hofmaier2017-09-14 15:57:36 +0200
committerChristian Hofmaier2017-09-14 15:57:36 +0200
commitd7efef285bfef24739cc56cf7fad2bedf5fcd9dd (patch)
tree1334603c7466a97ebbd70b97fa863899888bd482 /modules-available/dozmod/templates/templates.html
parent[locations] fixed inconsistencies + small design changes (diff)
downloadslx-admin-d7efef285bfef24739cc56cf7fad2bedf5fcd9dd.tar.gz
slx-admin-d7efef285bfef24739cc56cf7fad2bedf5fcd9dd.tar.xz
slx-admin-d7efef285bfef24739cc56cf7fad2bedf5fcd9dd.zip
[dozmod] fixed inconsistencies + some issues in [internetaccess] and [news]
Diffstat (limited to 'modules-available/dozmod/templates/templates.html')
-rw-r--r--modules-available/dozmod/templates/templates.html151
1 files changed, 79 insertions, 72 deletions
diff --git a/modules-available/dozmod/templates/templates.html b/modules-available/dozmod/templates/templates.html
index 8a3caf26..56fc6677 100644
--- a/modules-available/dozmod/templates/templates.html
+++ b/modules-available/dozmod/templates/templates.html
@@ -1,91 +1,98 @@
-<h1>{{lang_mailTemplates}}</h1>
+<h1>{{lang_bwlehrpoolsuite}}</h1>
-<p><i>{{lang_templatePageDescription}}</i></p>
+<div class="panel panel-default">
+ <div class="panel-heading">
+ {{lang_mailTemplates}}
+ </div>
+ <div class="panel-body">
-<form id="templateForm" role="form" method="POST" action="?do=dozmod&amp;section=templates">
- <input type="hidden" name="token" value="{{token}}">
- <input type="hidden" name="action" value="save">
+ <p><i>{{lang_templatePageDescription}}</i></p>
+ <form id="templateForm" role="form" method="POST" action="?do=dozmod&amp;section=templates">
+ <input type="hidden" name="token" value="{{token}}">
+ <input type="hidden" name="action" value="save">
- <div class="panel-group" id="accordion">
- {{#templates}}
+ <div class="panel-group" id="accordion">
- <div id="frame_{{name}}" class="panel panel-default">
- <div class="panel-heading">
- <div class="panel-title">
- {{#conflict}}
- <span class="glyphicon glyphicon-exclamation-sign pull-left text-danger"></span>
- {{/conflict}}
- {{#modified}}
- <span class="glyphicon glyphicon-pencil pull-left"></span>
- {{/modified}}
- <h4>
- <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#panel_{{name}}">
- {{name}}
- </a>
- </h4>
- <small>{{description}}</small>
+ {{#templates}}
- </div>
- </div>
- <div id="panel_{{name}}" class="panel-collapse collapse">
- <div class="panel-body">
- <div id="msgbox_{{name}}">
- </div>
+ <div id="frame_{{name}}" class="panel panel-default">
+ <div class="panel-heading">
+ <div class="panel-title">
+ {{#conflict}}
+ <span class="glyphicon glyphicon-exclamation-sign pull-left text-danger"></span>
+ {{/conflict}}
+ {{#modified}}
+ <span class="glyphicon glyphicon-pencil pull-left"></span>
+ {{/modified}}
+ <h4>
+ <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#panel_{{name}}">
+ {{name}}
+ </a>
+ </h4>
+ <small>{{description}}</small>
- <label for="ta_{{name}}">{{lang_template}}</label>
- <div class="form-group">
- <textarea data-mandatory="{{list_mandatoryVariables}}" name="templates[{{name}}][template]"
- data-setting="{{name}}" id="ta_{{name}}"
- class="form-control templateEditor" style="min-height:200px">{{template}}</textarea>
+ </div>
</div>
-
- <h4>{{lang_placeholders}}</h4>
- <select name="templates[{{name}}][mandatory_variables]" multiple="multiple" class="hidden">
- {{{html_mandatoryVariables}}}
- </select>
- <select name="templates[{{name}}][optional_variables]" multiple="multiple" class="hidden">
- {{{html_optionalVariables}}}
- </select>
- <ul>
- {{{html_availableVariables}}}
- </ul>
- {{#original_template}}
- <textarea class="hidden" id="orig_{{name}}">{{original_template}}</textarea>
- <div class="pull-right">
- <a href="#" class="btn btn-default" onclick="$('#ta_{{name}}').val($('#orig_{{name}}').val());return false">
- <span class="glyphicon glyphicon-refresh"></span>
- {{lang_replaceWithOriginal}}
- </a>
+ <div id="panel_{{name}}" class="panel-collapse collapse">
+ <div class="panel-body">
+ <div id="msgbox_{{name}}">
+ </div>
+
+ <label for="ta_{{name}}">{{lang_template}}</label>
+ <div class="form-group">
+ <textarea data-mandatory="{{list_mandatoryVariables}}" name="templates[{{name}}][template]"
+ data-setting="{{name}}" id="ta_{{name}}"
+ class="form-control templateEditor" style="min-height:200px">{{template}}</textarea>
+ </div>
+
+ <h4>{{lang_placeholders}}</h4>
+ <select name="templates[{{name}}][mandatory_variables]" multiple="multiple" class="hidden">
+ {{{html_mandatoryVariables}}}
+ </select>
+ <select name="templates[{{name}}][optional_variables]" multiple="multiple" class="hidden">
+ {{{html_optionalVariables}}}
+ </select>
+ <ul>
+ {{{html_availableVariables}}}
+ </ul>
+ {{#original_template}}
+ <textarea class="hidden" id="orig_{{name}}">{{original_template}}</textarea>
+ <div class="pull-right">
+ <a href="#" class="btn btn-default" onclick="$('#ta_{{name}}').val($('#orig_{{name}}').val());return false">
+ <span class="glyphicon glyphicon-refresh"></span>
+ {{lang_replaceWithOriginal}}
+ </a>
+ </div>
+ {{/original_template}}
+ <div class="small">
+ {{lang_modified}}: {{#modified}}<b>{{lang_yes}}</b>{{/modified}}{{^modified}}{{lang_no}}{{/modified}},
+ {{lang_hasNewer}}: {{#conflict}}<b>{{lang_yes}}</b>{{/conflict}}{{^conflict}}{{lang_no}}{{/conflict}},
+ {{lang_thisVersion}}: {{edit_version}},
+ {{lang_latestVersion}}: {{version}}
+ </div>
</div>
- {{/original_template}}
- <div class="small">
- {{lang_modified}}: {{#modified}}<b>{{lang_yes}}</b>{{/modified}}{{^modified}}{{lang_no}}{{/modified}},
- {{lang_hasNewer}}: {{#conflict}}<b>{{lang_yes}}</b>{{/conflict}}{{^conflict}}{{lang_no}}{{/conflict}},
- {{lang_thisVersion}}: {{edit_version}},
- {{lang_latestVersion}}: {{version}}
</div>
</div>
- </div>
- </div>
- {{/templates}}
- </div>
+ {{/templates}}
+ </div>
- <div class="pull-left">
- <button type="submit" onclick="return validateForm()" class="btn btn-primary">{{lang_save}}</button>
- </div>
-</form>
-<form method="POST" action="?do=dozmod&amp;section=templates">
- <input type="hidden" name="token" value="{{token}}">
- <input type="hidden" name="action" value="reset">
- <div>
- <button type="submit" onclick="return confirm('{{lang_reallyResetTemplates}}')" class="btn btn-danger">{{lang_loadDefaults}}</button>
+ <button type="submit" onclick="return validateForm()" class="btn btn-primary pull-right">{{lang_save}}</button>
+ </form>
+ <form method="POST" action="?do=dozmod&amp;section=templates">
+ <input type="hidden" name="token" value="{{token}}">
+ <input type="hidden" name="action" value="reset">
+ <div>
+ <button type="submit" onclick="return confirm('{{lang_reallyResetTemplates}}')" class="btn btn-danger">{{lang_loadDefaults}}</button>
+ </div>
+ </form>
+ <div class="clearfix"></div>
</div>
-</form>
-<div class="clearfix"></div>
+</div>
+
<script type="application/javascript"><!--