summaryrefslogtreecommitdiffstats
path: root/templates/sysconfig/custom-fileselect.html
diff options
context:
space:
mode:
authorSimon Rettberg2014-05-15 18:28:24 +0200
committerSimon Rettberg2014-05-15 18:28:24 +0200
commit63c0cf521f8097b0dadaf1228176dc38c7d897f6 (patch)
tree83f5da6dc130ac7db575b0eee41ed6c7a2f994fb /templates/sysconfig/custom-fileselect.html
parentFix handle leak in downloading, better error reporting on failed downloads, a... (diff)
downloadslx-admin-63c0cf521f8097b0dadaf1228176dc38c7d897f6.tar.gz
slx-admin-63c0cf521f8097b0dadaf1228176dc38c7d897f6.tar.xz
slx-admin-63c0cf521f8097b0dadaf1228176dc38c7d897f6.zip
Working on config.tgz composition through config modules
Diffstat (limited to 'templates/sysconfig/custom-fileselect.html')
-rw-r--r--templates/sysconfig/custom-fileselect.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/sysconfig/custom-fileselect.html b/templates/sysconfig/custom-fileselect.html
new file mode 100644
index 00000000..c61edc7f
--- /dev/null
+++ b/templates/sysconfig/custom-fileselect.html
@@ -0,0 +1,26 @@
+<form role="form" method="post" action="?do=sysconfig&amp;action=addmodule&amp;step={{step}}">
+ <input type="hidden" name="modid" value="{{modid}}">
+ <div class="input-group">
+ <span class="input-group-addon">Modulname</span>
+ <input type="text" name="title" class="form-control" placeholder="Mein Konfigurationsmodul" autofocus="autofocus">
+ </div>
+ <hr>
+ <p>Hier haben Sie die Möglichkeit, den Inhalt des Archivs noch einmal zu überprüfen, und
+ die Liste der zu übernehmenden Dateien bei Bedarf noch einschränken.</p>
+ <table class="table table-bordered table-condensed">
+ {{#files}}
+ <tr>
+ {{#isdir}}
+ <td class="fileEntry isdir" colspan="2">{{name}}</td>
+ {{/isdir}}
+ {{^isdir}}
+ <td class="fileEntry">{{name}}</td>
+ <td>{{size}}</td>
+ {{/isdir}}
+ </tr>
+ {{/files}}
+ </table>
+ <div class="pull-right">
+ <button type="submit" class="btn btn-primary">Weiter &raquo;</button>
+ </div>
+</form>