Update options styling

This commit is contained in:
Kyle Johnson 2016-03-12 22:44:11 -05:00
parent 2378c9a359
commit 8acfe1b0d8
2 changed files with 6 additions and 12 deletions

View File

@ -190,12 +190,6 @@ ul.tabList li.active a {
vertical-align: middle;
}
#content table.major th, #content table.major td {
border: 1px solid #7f7fb2;
padding: 3px;
text-align: left;
}
#content table.major th {
vertical-align: bottom;
}

View File

@ -61,14 +61,14 @@ xhtmlHeaders( __FILE__, translate('Options') );
<h2><?php echo translate('Options') ?></h2>
</div>
<div id="content">
<ul class="tabList">
<ul class="nav nav-tabs">
<?php
foreach ( $tabs as $name=>$value )
{
if ( $tab == $name )
{
?>
<li class="active"><?php echo $value ?></li>
<li class="active"><a href="?view=<?php echo $view ?>&amp;tab=<?php echo $name ?>"><?php echo $value ?></a></li>
<?php
}
else
@ -105,7 +105,7 @@ if($tab == 'skins') {
<form name="optionsForm" method="get" action="<?php echo $_SERVER['PHP_SELF'] ?>">
<input type="hidden" name="view" value="<?php echo $view ?>"/>
<input type="hidden" name="tab" value="<?php echo $tab ?>"/>
<table class="contentTable major optionTable" cellspacing="0">
<table class="table table-striped" cellspacing="0">
<thead><tr><th><?php echo translate('Name') ?></th><th><?php echo translate('Description') ?></th> <th><?php echo translate('Value') ?></th></tr></thead>
<tbody>
<tr>
@ -149,7 +149,7 @@ elseif ( $tab == "users" )
<input type="hidden" name="view" value="<?php echo $view ?>"/>
<input type="hidden" name="tab" value="<?php echo $tab ?>"/>
<input type="hidden" name="action" value="delete"/>
<table id="contentTable" class="major userTable" cellspacing="0">
<table id="contentTable" class="table table-striped" cellspacing="0">
<thead>
<tr>
<th class="colUsername"><?php echo translate('Username') ?></th>
@ -217,7 +217,7 @@ elseif ( $tab == "users" )
<input type="hidden" name="tab" value="<?php echo $tab ?>"/>
<input type="hidden" name="action" value="delete"/>
<input type="hidden" name="object" value="server"/>
<table id="contentTable" class="major serversTable" cellspacing="0">
<table id="contentTable" class="table table-striped" cellspacing="0">
<thead>
<tr>
<th class="colName"><?php echo translate('name') ?></th>
@ -253,7 +253,7 @@ elseif ( $tab == "users" )
<input type="hidden" name="view" value="<?php echo $view ?>"/>
<input type="hidden" name="tab" value="<?php echo $tab ?>"/>
<input type="hidden" name="action" value="options"/>
<table id="contentTable" class="major optionTable" cellspacing="0">
<table id="contentTable" class="table table-striped" cellspacing="0">
<thead>
<tr>
<th><?php echo translate('Name') ?></th>