mirror of
https://github.com/unraid/webgui.git
synced 2026-05-11 23:01:41 -05:00
Multi-language support
This commit is contained in:
@@ -31,6 +31,8 @@ foreach (glob("$plugins/dynamix.*.xml",GLOB_NOSORT) as $xml_file) $installed[] =
|
||||
<style>
|
||||
select.wide{min-width:<?=$themes2?'314':'300'?>px}
|
||||
div.notice{margin-top:70px;margin-bottom:30px}
|
||||
div#selectlang{margin-top:20px}
|
||||
label.button{font-family:clear-sans;font-size:1.1rem;font-weight:bold;letter-spacing:1.8px;text-transform:uppercase;min-width:86px;margin:0;padding:8px;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:none;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828 0,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828 0,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828 0,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f 0,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%}
|
||||
</style>
|
||||
|
||||
<script src="<?autov('/webGui/javascript/jquery.switchbutton.js')?>"></script>
|
||||
@@ -120,7 +122,7 @@ _(Select language)_:
|
||||
|
||||
<div id="selectlang" markdown="1">
|
||||
_(Select language file)_:
|
||||
: <input type="file" accept=".zip" onchange="getZIPfile(event,this.form)">
|
||||
: <span><label for="files" class="button">_(Browse)_</label><input id="files" type="file" style="display:none" accept=".zip" onchange="getZIPfile(event,this.form)"></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user