summaryrefslogtreecommitdiffstats
path: root/templates/backup/_page.html
diff options
context:
space:
mode:
authorSimon Rettberg2015-09-30 11:51:59 +0200
committerSimon Rettberg2015-09-30 11:51:59 +0200
commitd265bcd8988ae9e83b84b375a58e074e5ffa5656 (patch)
tree78293475298bb002db86a7637c239975dd034db4 /templates/backup/_page.html
parent[diskstat] Fix i18n placeholder name; update translations (diff)
downloadslx-admin-d265bcd8988ae9e83b84b375a58e074e5ffa5656.tar.gz
slx-admin-d265bcd8988ae9e83b84b375a58e074e5ffa5656.tar.xz
slx-admin-d265bcd8988ae9e83b84b375a58e074e5ffa5656.zip
Make file input look more consistent across browsers
Diffstat (limited to 'templates/backup/_page.html')
-rw-r--r--templates/backup/_page.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/backup/_page.html b/templates/backup/_page.html
index 0c4429e2..47b5a174 100644
--- a/templates/backup/_page.html
+++ b/templates/backup/_page.html
@@ -19,9 +19,13 @@
<div class="panel-heading">{{lang_restore}}</div>
<div class="panel-body">
<p>{{lang_restoreDescription}}</p>
- <div class="input-group">
- <span class="input-group-addon">{{lang_file}}</span>
- <input class="form-control" type="file" name="backupfile">
+ <div class="input-group upload-ex">
+ <input type="text" class="form-control" readonly placeholder="{{lang_selectFile}}">
+ <span class="input-group-btn">
+ <span class="btn btn-default btn-file">
+ {{lang_browseForFile}}&hellip; <input type="file" name="backupfile">
+ </span>
+ </span>
</div>
<div>
<label><input type="checkbox" name="restore_openslx" checked="checked"> {{lang_restoreSystemConfig}}</label>