mirror of
https://github.com/unraid/webgui.git
synced 2026-01-17 15:10:02 -06:00
Minor css corrections
This commit is contained in:
@@ -109,7 +109,7 @@ $bgcolor = strstr('white,azure',$display['theme']) ? '#f2f2f2' : '#1c1c1c';
|
||||
<link type="text/css" rel="stylesheet" href="<?autov('/webGui/styles/jquery.switchbutton.css')?>">
|
||||
<style>
|
||||
.errortext{color:#EF3D47;display:none}
|
||||
.fileTree{background:<?=$bgcolor?>;width:305px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
|
||||
.fileTree{background:<?=$bgcolor?>;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
|
||||
.basic{display:block}
|
||||
.advanced{display:none}
|
||||
select.mask{min-width:0;margin:0 10px 0 4px}
|
||||
|
||||
@@ -99,7 +99,7 @@ if (empty($vms)) {
|
||||
<link type="text/css" rel="stylesheet" href="<?autov('/webGui/styles/jquery.switchbutton.css')?>">
|
||||
<style type="text/css">
|
||||
body{-webkit-overflow-scrolling:touch;}
|
||||
.fileTree{width:305px;max-height:150px;overflow-y:scroll;position:absolute;z-index:100;display:none;}
|
||||
.fileTree{width:300px;max-height:150px;overflow-y:scroll;position:absolute;z-index:100;display:none;}
|
||||
div.four{font-size:1.1rem;width:300px}
|
||||
div.four label{float:left;display:table-cell;width:25%}
|
||||
div.four label:nth-child(4n+4){float:none;clear:both}
|
||||
|
||||
@@ -64,7 +64,7 @@ $bgcolor = strstr('white,azure',$display['theme']) ? '#f2f2f2' : '#1c1
|
||||
<style>
|
||||
body{-webkit-overflow-scrolling:touch}
|
||||
.errortext{color:#EF3D47;display:none}
|
||||
.fileTree{background:<?=$bgcolor?>;width:305px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
|
||||
.fileTree{background:<?=$bgcolor?>;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
|
||||
.basic{display:block}
|
||||
.advanced{display:none}
|
||||
#winvirtio{display:none}
|
||||
|
||||
@@ -85,7 +85,7 @@ if (!empty($_GET['uuid'])) {
|
||||
|
||||
<style>
|
||||
body{-webkit-overflow-scrolling:touch}
|
||||
.fileTree{background:<?=$bgcolor?>;width:305px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
|
||||
.fileTree{background:<?=$bgcolor?>;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
|
||||
#vmform table{margin-top:0}
|
||||
#vmform div#title + table{margin-top:0}
|
||||
#vmform table tr{vertical-align:top;line-height:40px}
|
||||
|
||||
@@ -22,7 +22,7 @@ $template = "$docroot/webGui/EthX.page";
|
||||
$ini = '/var/local/emhttp/network.ini';
|
||||
$validIP4 = '((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)';
|
||||
$validIP6 = '((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*::((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*|((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4})){7}';
|
||||
$width = [166,305];
|
||||
$width = [166,300];
|
||||
|
||||
// get available ethernet ports (excluding eth0)
|
||||
exec("ls --indicator-style=none /sys/class/net|grep -P '^eth[1-9][0-9]*$'",$ports);
|
||||
|
||||
@@ -17,7 +17,7 @@ Tag="hand-paper-o"
|
||||
<?
|
||||
$newarray = $var['mdState']=='NEW_ARRAY';
|
||||
$disabled = $var['fsState']=="Started";
|
||||
$width = [166,305];
|
||||
$width = [166,300];
|
||||
if ($newarray) {
|
||||
@unlink('/boot/config/smart-one.cfg');
|
||||
@unlink('/boot/config/smart-all.cfg');
|
||||
|
||||
@@ -15,7 +15,7 @@ Tag="hand-paper-o"
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
$width = [166,305];
|
||||
$width = [166,300];
|
||||
|
||||
function data_disks($disk) {
|
||||
return ($disk['type']=='Data' && $disk['status']=='DISK_OK');
|
||||
|
||||
@@ -20,7 +20,7 @@ var enabledAgents = new Object();
|
||||
var disabledAgents = new Object();
|
||||
var openPage = true;
|
||||
|
||||
<?$width = [166,305]?>
|
||||
<?$width = [166,300]?>
|
||||
<?if ($tabbed):?>
|
||||
$('#tab3').bind({click:function(){initDropdown();}});
|
||||
$(function(){if ($('#tab3').is(':checked')) initDropdown();});
|
||||
|
||||
@@ -18,7 +18,7 @@ Tag="calendar"
|
||||
if ($disks['parity']['status']=='DISK_NP_DSBL' && $disks['parity2']['status']=='DISK_NP_DSBL') {
|
||||
echo "<p class='notice'>No Parity disk present!</p>";
|
||||
}
|
||||
$width = [166,305];
|
||||
$width = [166,300];
|
||||
$mode = ['Disabled','Daily','Weekly','Monthly','Yearly','Custom'];
|
||||
$days = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
|
||||
$months = ['January','February','March','April','May','June','July','August','September','October','November','December'];
|
||||
|
||||
@@ -16,7 +16,7 @@ Cond="(($var['shareAFPEnabled']!='no') && (isset($name)?array_key_exists($name,$
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
$width = [123,305];
|
||||
$width = [123,300];
|
||||
?>
|
||||
> This section is used to configure the security settings for the share when accessed using AFP and
|
||||
> appears only when AFP is enabled on the Network Services page.
|
||||
|
||||
@@ -16,7 +16,7 @@ Cond="(($var['shareNFSEnabled']!='no') && (isset($name)?array_key_exists($name,$
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
$width = [123,305];
|
||||
$width = [123,300];
|
||||
?>
|
||||
> *Read settings from* is used to preset the NFS security settings of the current selected share with the settings of an existing share.
|
||||
>
|
||||
|
||||
@@ -16,7 +16,7 @@ Cond="(($var['shareSMBEnabled']!='no') && (isset($name)?array_key_exists($name,$
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
$width = [123,305];
|
||||
$width = [123,300];
|
||||
?>
|
||||
> *Read settings from* is used to preset the SMB security settings of the current selected share with the settings of an existing share.
|
||||
>
|
||||
|
||||
@@ -15,7 +15,7 @@ Tag="share-alt-square"
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
$width = [123,305];
|
||||
$width = [123,300];
|
||||
|
||||
if ($name == "") {
|
||||
/* default values when adding new share */
|
||||
|
||||
@@ -19,7 +19,7 @@ Tag="share-alt-square"
|
||||
<?
|
||||
$disabled = $var['fsState']!='Stopped' ? 'disabled' : '';
|
||||
$disks = array_filter($disks,'my_disks');
|
||||
$width = [166,305];
|
||||
$width = [166,300];
|
||||
?>
|
||||
<script>
|
||||
$(function() {
|
||||
|
||||
Reference in New Issue
Block a user