diff options
author | Simon Rettberg | 2015-09-30 11:51:59 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-09-30 11:51:59 +0200 |
commit | d265bcd8988ae9e83b84b375a58e074e5ffa5656 (patch) | |
tree | 78293475298bb002db86a7637c239975dd034db4 /templates/sysconfig/custom-upload.html | |
parent | [diskstat] Fix i18n placeholder name; update translations (diff) | |
download | slx-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/sysconfig/custom-upload.html')
-rw-r--r-- | templates/sysconfig/custom-upload.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/sysconfig/custom-upload.html b/templates/sysconfig/custom-upload.html index 02f813f6..c453a97d 100644 --- a/templates/sysconfig/custom-upload.html +++ b/templates/sysconfig/custom-upload.html @@ -5,10 +5,14 @@ <form role="form" enctype="multipart/form-data" method="post" action="?do=SysConfig&action=addmodule&step={{step}}"> <input type="hidden" name="token" value="{{token}}"> <input type="hidden" name="edit" value="{{edit}}"> - <div class="input-group"> - <span class="input-group-addon">{{lang_file}}</span> - <input class="form-control" type="file" name="modulefile"> - </div> + <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}}… <input type="file" name="modulefile"> + </span> + </span> + </div> <p class="help-block">{{lang_supportedFiles}}: .tar.gz, .tar.bz2, .zip</p> <button type="submit" class="btn btn-primary">{{lang_upload}}</button> </form> |