Fix admin edit user CSS
This commit is contained in:
parent
d1a0852d37
commit
68186f50f5
2 changed files with 49 additions and 44 deletions
|
@ -143,53 +143,58 @@
|
|||
<img src="{$userquery->getUserThumb($u,'small')}" class="btn btn-app btn-primary btn-xs" />
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="myTable" width="600px">
|
||||
<table class="myTable">
|
||||
<tr>
|
||||
<td class="first"><label class="">User Id</label></td>
|
||||
<td class="last"><p>
|
||||
<input disabled="disabled" name="uid" type="text" id="uid" value="{$u.userid}" size="45" />
|
||||
<input name="userid" type="hidden" id="userid" value="{$u.userid}" />
|
||||
</p></td>
|
||||
<td class="last">
|
||||
<p>
|
||||
<input disabled="disabled" name="uid" type="text" id="uid" value="{$u.userid}" max-size="45" />
|
||||
<input name="userid" type="hidden" id="userid" value="{$u.userid}" />
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="first"><label class="">User Name</label></td>
|
||||
<td class="last"><p>
|
||||
<input name="username" type="text" id="username" value="{$u.username}" size="45" />
|
||||
<input name="dusername" type="hidden" id="dusername" value="{$u.username}" />
|
||||
<input name="admin_manager" type="hidden" value="yes" />
|
||||
</p></td>
|
||||
<td class="last">
|
||||
<p>
|
||||
<input name="username" type="text" id="username" value="{$u.username}" max-size="45" />
|
||||
<input name="dusername" type="hidden" id="dusername" value="{$u.username}" />
|
||||
<input name="admin_manager" type="hidden" value="yes" />
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first"><label class="">Email</label></td>
|
||||
<td class="last"><p><input name="email" type="text" id="email" value="{$u.email}" size="45"/>
|
||||
<input name="demail" type="hidden" id="demail" value="{$u.email}" /></p></td>
|
||||
<td class="last">
|
||||
<p>
|
||||
<input name="email" type="text" id="email" value="{$u.email}" max-size="45"/>
|
||||
<input name="demail" type="hidden" id="demail" value="{$u.email}" />
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="first"> <label for="laevel">User level</label></td>
|
||||
<td class="last">
|
||||
|
||||
|
||||
<p><select class="form-control" name="level" id="level" >
|
||||
{assign var=levels value=$userquery->get_levels()}
|
||||
{foreach from=$levels item=level}
|
||||
<option value="{$level.user_level_id}" {if $u.level==$level.user_level_id} selected="selected"{/if}>{$level.user_level_name}</option>
|
||||
{/foreach}
|
||||
</select></p>
|
||||
|
||||
<p>
|
||||
<select class="form-control" name="level" id="level" >
|
||||
{assign var=levels value=$userquery->get_levels()}
|
||||
{foreach from=$levels item=level}
|
||||
<option value="{$level.user_level_id}" {if $u.level==$level.user_level_id} selected="selected"{/if}>{$level.user_level_name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first"> <label for="category">User Category</label></td>
|
||||
<td class="last">
|
||||
<p><select class="form-control" name="category" id="category" >
|
||||
|
||||
{foreach from=$thecats item=cat}
|
||||
<option value="{$cat.category_id}" {if $cat.category_id == $u.category}selected="selected"{/if}>{$cat.category_name}</option>
|
||||
{/foreach}
|
||||
</select></p>
|
||||
<p>
|
||||
<select class="form-control" name="category" id="category" >
|
||||
{foreach from=$thecats item=cat}
|
||||
<option value="{$cat.category_id}" {if $cat.category_id == $u.category}selected="selected"{/if}>{$cat.category_name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -197,25 +202,22 @@
|
|||
<td class="first"><label for="country">Country</label></td>
|
||||
<td class="last">
|
||||
<p>
|
||||
|
||||
<select class="form-control" name="country" id="country">
|
||||
{assign var='countries' value=$Cbucket->get_countries(iso2)}
|
||||
{foreach from=$countries item=country key=code}
|
||||
<option value="{$code}" {if $u.country==$code} selected="selected"{/if}>{$country}</option>
|
||||
{/foreach}
|
||||
</select> </p>
|
||||
|
||||
<select class="form-control" name="country" id="country">
|
||||
{assign var='countries' value=$Cbucket->get_countries(iso2)}
|
||||
{foreach from=$countries item=country key=code}
|
||||
<option value="{$code}" {if $u.country==$code} selected="selected"{/if}>{$country}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first"><label for="gender">Gender</label></td>
|
||||
<td class="last">
|
||||
|
||||
<p>
|
||||
<label><input type="radio" name="sex" value="male" id="sex_0" {if $u.sex == male} checked="checked"{/if} />Male</label>
|
||||
<label><input type="radio" name="sex" value="female" id="sex_1" {if $u.sex == female} checked="checked"{/if}/> Female</label>
|
||||
<label><input type="radio" name="sex" value="male" id="sex_0" {if $u.sex == male} checked="checked"{/if} />Male</label>
|
||||
<label><input type="radio" name="sex" value="female" id="sex_1" {if $u.sex == female} checked="checked"{/if}/> Female</label>
|
||||
</p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
|
@ -514,8 +514,7 @@ ul.mainTabs{
|
|||
display: block;
|
||||
padding: 6px;
|
||||
text-align: right;
|
||||
|
||||
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.myTable .last {
|
||||
|
@ -644,4 +643,8 @@ ul.mainTabs{
|
|||
.addTodoText {
|
||||
width: 80%;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.userInfoSettings input{
|
||||
width: 100%;
|
||||
}
|
Loading…
Add table
Reference in a new issue