diff options
Diffstat (limited to 'modules-available/webinterface/templates/heading.html')
-rw-r--r-- | modules-available/webinterface/templates/heading.html | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/modules-available/webinterface/templates/heading.html b/modules-available/webinterface/templates/heading.html index d68360f1..59a8cf6b 100644 --- a/modules-available/webinterface/templates/heading.html +++ b/modules-available/webinterface/templates/heading.html @@ -1 +1,19 @@ -<h1>{{lang_moduleHeading}}</h1>
\ No newline at end of file +<div class="page-header"> + <h1>{{lang_moduleHeading}}</h1> +</div> +<script><!-- +document.addEventListener('DOMContentLoaded', function () { + var $boxCustom = $('#wcustom'); + $('.row-select').click(function (e) { + if (e.target.tagName === 'INPUT') + return; + $(e.target).closest('.row-select').find('input').click(); + }); + $('#cert-options').find('input').change(function(e) { + $boxCustom.toggle(e.target.id === 'mcustom'); + }); + if ($('#mcustom').is(':checked')) { + $boxCustom.show(); + } +}); +//--></script>
\ No newline at end of file |