mirror of
https://github.com/unraid/webgui.git
synced 2026-03-06 00:18:57 -06:00
Settings presentation alignment
This commit is contained in:
@@ -5,9 +5,9 @@ Icon="icon-ups"
|
||||
Tag="battery-3"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2018, Lime Technology
|
||||
/* Copyright 2005-2020, Lime Technology
|
||||
* Copyright 2015, Dan Landon.
|
||||
* Copyright 2012-2018, Bergware International.
|
||||
* Copyright 2012-2020, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
@@ -107,7 +107,7 @@ UPS type:
|
||||
> + **ModBus** - serial device for use with newest SmartUPS models supporting the MODBUS protocol
|
||||
|
||||
Device:
|
||||
: <input type="text" name="DEVICE" maxlength="200" value="<?=htmlspecialchars($cfg['DEVICE']);?>">
|
||||
: <input type="text" name="DEVICE" maxlength="200" class="narrow" value="<?=htmlspecialchars($cfg['DEVICE']);?>">
|
||||
|
||||
> Enter the *device* which correspondes to your situation, only applicable when *UPS type* is not set to USB.
|
||||
>
|
||||
|
||||
@@ -4,8 +4,8 @@ Icon="icon-clock"
|
||||
Tag="clock-o"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2018, Lime Technology
|
||||
* Copyright 2012-2018, Bergware International.
|
||||
/* Copyright 2005-2020, Lime Technology
|
||||
* Copyright 2012-2020, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
@@ -32,7 +32,7 @@ Time zone:
|
||||
> Select your applicable time zone from the drop-down list.
|
||||
|
||||
Use NTP:
|
||||
: <select name="USE_NTP" size="1" class="narrow" onchange="checkDateTimeSettings(this.form)">
|
||||
: <select name="USE_NTP" size="1" onchange="checkDateTimeSettings(this.form)">
|
||||
<?=mk_option($var['USE_NTP'], "yes", "Yes")?>
|
||||
<?=mk_option($var['USE_NTP'], "no", "No")?>
|
||||
</select>
|
||||
@@ -43,27 +43,27 @@ Use NTP:
|
||||
> Note: if using `pool.ntp.org` time servers, please also refer to [their documentation](http://www.pool.ntp.org/en/use.html).
|
||||
|
||||
NTP server 1:
|
||||
: <input type="text" name="NTP_SERVER1" maxlength="80" value="<?=htmlspecialchars($var['NTP_SERVER1'])?>">
|
||||
: <input type="text" name="NTP_SERVER1" maxlength="40" class="narrow" value="<?=htmlspecialchars($var['NTP_SERVER1'])?>">
|
||||
|
||||
> This is the primary NTP server to use. Enter a FQDN or an IP address.
|
||||
|
||||
NTP server 2:
|
||||
: <input type="text" name="NTP_SERVER2" maxlength="80" value="<?=htmlspecialchars($var['NTP_SERVER2'])?>">
|
||||
: <input type="text" name="NTP_SERVER2" maxlength="40" class="narrow" value="<?=htmlspecialchars($var['NTP_SERVER2'])?>">
|
||||
|
||||
> This is the alternate NTP server to use if NTP Server 1 is down.
|
||||
|
||||
NTP server 3:
|
||||
: <input type="text" name="NTP_SERVER3" maxlength="80" value="<?=htmlspecialchars($var['NTP_SERVER3'])?>">
|
||||
: <input type="text" name="NTP_SERVER3" maxlength="40" class="narrow" value="<?=htmlspecialchars($var['NTP_SERVER3'])?>">
|
||||
|
||||
> This is the alternate NTP Server to use if NTP Servers 1 and 2 are both down.
|
||||
|
||||
NTP server 4:
|
||||
: <input type="text" name="NTP_SERVER4" maxlength="80" value="<?=htmlspecialchars($var['NTP_SERVER4'])?>">
|
||||
: <input type="text" name="NTP_SERVER4" maxlength="40" class="narrow" value="<?=htmlspecialchars($var['NTP_SERVER4'])?>">
|
||||
|
||||
> This is the alternate NTP Server to use if NTP Servers 1, 2, and 3 are all down.
|
||||
|
||||
New date and time:
|
||||
: <input type="text" name="newDateTime" maxlength="40" value="<?=my_time(time(), "%F %T")?>">
|
||||
: <input type="text" name="newDateTime" maxlength="20" class="narrow" value="<?=my_time(time(), "%F %T")?>">
|
||||
|
||||
> Enter the current time-of-day. Use format YYYY-MM-DD HH:MM:SS. Greyed out when using NTP.
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ Title="SMB Settings"
|
||||
Tag="windows"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2018, Lime Technology
|
||||
* Copyright 2012-2018, Bergware International.
|
||||
/* Copyright 2005-2020, Lime Technology
|
||||
* Copyright 2012-2020, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
@@ -51,7 +51,7 @@ Enhanced macOS interoperability:
|
||||
> Please also refer to the [VFS_FRUIT MAN PAGE](https://www.mankier.com/8/vfs_fruit).
|
||||
|
||||
Enable NetBIOS:
|
||||
: <select name="USE_NETBIOS" size="1" class="narrow" <?if ($var['fsState']=="Started"):?>disabled<?endif;?>>
|
||||
: <select name="USE_NETBIOS" size="1" <?if ($var['fsState']=="Started"):?>disabled<?endif;?>>
|
||||
<?=mk_option($var['USE_NETBIOS'], "no", "No")?>
|
||||
<?=mk_option($var['USE_NETBIOS'], "yes", "Yes")?>
|
||||
</select>
|
||||
@@ -60,7 +60,7 @@ Enable NetBIOS:
|
||||
> clients must use SMBv2 or higher.
|
||||
|
||||
Enable WSD:
|
||||
: <select name="USE_WSD" size="1" class="narrow" onchange="checkWSDSettings()" <?if ($var['fsState']=="Started"):?>disabled<?endif;?>>
|
||||
: <select name="USE_WSD" size="1" onchange="checkWSDSettings()" <?if ($var['fsState']=="Started"):?>disabled<?endif;?>>
|
||||
<?=mk_option($var['USE_WSD'], "no", "No")?>
|
||||
<?=mk_option($var['USE_WSD'], "yes", "Yes")?>
|
||||
</select>
|
||||
@@ -69,7 +69,7 @@ Enable WSD:
|
||||
> old LAN setup based on SMBv1.
|
||||
|
||||
WSD options [experimental]:
|
||||
: <input type="text" name="WSD_OPT" maxlength="80" value="<?=htmlspecialchars($var['WSD_OPT'])?>" <?if ($var['fsState']=="Started"):?>disabled<?endif;?>>
|
||||
: <input type="text" name="WSD_OPT" maxlength="80" class="narrow" value="<?=htmlspecialchars($var['WSD_OPT'])?>" <?if ($var['fsState']=="Started"):?>disabled<?endif;?>>
|
||||
|
||||
> This is a command line otions string passed to the WSD daemon upon startup. Leave this field blank unless
|
||||
> instructed by support to put something here.
|
||||
|
||||
@@ -4,8 +4,8 @@ Icon="icon-eula"
|
||||
Tag="file-text-o"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2018, Lime Technology
|
||||
* Copyright 2012-2018, Bergware International.
|
||||
/* Copyright 2005-2020, Lime Technology
|
||||
* Copyright 2012-2020, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
@@ -40,7 +40,7 @@ $(function(){
|
||||
<input type="hidden" name="#command" value="/webGui/scripts/rsyslog_config">
|
||||
|
||||
Local syslog server:
|
||||
: <span class="span"><select name="local_server" class="narrow" onchange="localFolder(this.value,'slow')">
|
||||
: <span class="span"><select name="local_server" onchange="localFolder(this.value,'slow')">
|
||||
<?=mk_option($syslog['local_server'], "", "Disabled")?>
|
||||
<?=mk_option($syslog['local_server'], "1", "Enabled")?>
|
||||
</select></span>
|
||||
@@ -58,7 +58,7 @@ Local syslog server:
|
||||
|
||||
<div markdown="1" id="local_folder" style="display:none">
|
||||
Local syslog folder:
|
||||
: <select name="server_folder" class="narrow">
|
||||
: <select name="server_folder">
|
||||
<?=mk_option(0,'','<custom>','disabled')?>
|
||||
<?foreach ($shares as $share){echo mk_option($syslog['server_folder'], '/mnt/user/'.$share['name'], $share['name']);}?>
|
||||
</select>
|
||||
@@ -67,7 +67,7 @@ Local syslog folder:
|
||||
> It is recommended that you use a share located on the cache drive to prevent array disk spinups.
|
||||
|
||||
Local syslog rotation:
|
||||
: <select name="log_rotation" class="narrow" onchange="logOptions(this.value,'slow')">
|
||||
: <select name="log_rotation" onchange="logOptions(this.value,'slow')">
|
||||
<?=mk_option($syslog['log_rotation'], "", "Disabled")?>
|
||||
<?=mk_option($syslog['log_rotation'], "1", "Enabled")?>
|
||||
</select>
|
||||
@@ -78,7 +78,7 @@ Local syslog rotation:
|
||||
|
||||
<div markdown="1" id="log_options" style="display:none">
|
||||
Local syslog maximum file size:
|
||||
: <select name="log_size" class="narrow">
|
||||
: <select name="log_size">
|
||||
<?=mk_option($syslog['log_size'], '1M', '1 MB')?>
|
||||
<?=mk_option($syslog['log_size'], '2M', '2 MB')?>
|
||||
<?=mk_option($syslog['log_size'], '5M', '5 MB')?>
|
||||
@@ -93,7 +93,7 @@ Local syslog maximum file size:
|
||||
> Specifies the maximum LOG size. When exceeded LOG rotation will occur.
|
||||
|
||||
Local syslog number of files:
|
||||
: <select name="log_files" class="narrow">
|
||||
: <select name="log_files">
|
||||
<?=mk_option($syslog['log_files'], '1', '1')?>
|
||||
<?=mk_option($syslog['log_files'], '2', '2')?>
|
||||
<?=mk_option($syslog['log_files'], '3', '3')?>
|
||||
@@ -117,7 +117,7 @@ Remote syslog server:
|
||||
> This will send a copy of the syslog messages to the designated server.
|
||||
|
||||
Mirror syslog to flash:
|
||||
: <select name="syslog_flash" class="narrow" size="1">
|
||||
: <select name="syslog_flash" size="1">
|
||||
<?=mk_option($syslog['syslog_flash'], "", "No")?>
|
||||
<?=mk_option($syslog['syslog_flash'], "1", "Yes")?>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user