[UPDATE] userinfo styled

This commit is contained in:
iAmShorty 2014-02-28 11:54:51 +01:00
parent 5bc1ad761d
commit 7ebb6bf30d
2 changed files with 130 additions and 111 deletions

View File

@ -1,4 +1,4 @@
<form action="{$smarty.server.SCRIPT_NAME}" method="post"> <form action="{$smarty.server.SCRIPT_NAME}" method="post" role="form">
<input type="hidden" name="page" value="{$smarty.request.page|escape|escape}"> <input type="hidden" name="page" value="{$smarty.request.page|escape|escape}">
<input type="hidden" name="action" value="{$smarty.request.action|escape|escape}"> <input type="hidden" name="action" value="{$smarty.request.action|escape|escape}">
<div class="row"> <div class="row">

89
public/templates/bootstrap/admin/user/default.tpl Executable file → Normal file
View File

@ -22,15 +22,20 @@
} }
</script> </script>
<article class="module width_full"> <div class="row">
<header><h3>User Search</h3></header> <div class="col-lg-12">
<div class="module_content"> <div class="panel panel-info">
<form action="{$smarty.server.SCRIPT_NAME}"> <div class="panel-heading">
User Search
</div>
<form action="{$smarty.server.SCRIPT_NAME}" role="form">
<input type="hidden" name="page" value="{$smarty.request.page|escape}" /> <input type="hidden" name="page" value="{$smarty.request.page|escape}" />
<input type="hidden" name="action" value="{$smarty.request.action|escape}" /> <input type="hidden" name="action" value="{$smarty.request.action|escape}" />
<input type="hidden" name="do" value="query" /> <input type="hidden" name="do" value="query" />
<table cellspacing="0" class="tablesorter"> <div class="panel-body">
<tbody> <div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<thead>
<tr> <tr>
<td> <td>
{if $smarty.request.start|default:"0" > 0} {if $smarty.request.start|default:"0" > 0}
@ -42,45 +47,55 @@
<td> <td>
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&start={$smarty.request.start|escape|default:"0" + $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}">Next 30 <i class="icon-right-open"></i></a> <a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&start={$smarty.request.start|escape|default:"0" + $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}">Next 30 <i class="icon-right-open"></i></a>
</td> </td>
</tbody> </tr>
</thead>
</table> </table>
<fieldset> </div>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<tbody>
<div class="form-group">
<label>Account</label> <label>Account</label>
<input size="20" type="text" name="filter[account]" value="{$smarty.request.filter.account|default:""}" /> <input size="20" class="form-control" type="text" name="filter[account]" value="{$smarty.request.filter.account|default:""}" />
</fieldset> </div>
<fieldset> <div class="form-group">
<label>E-Mail</label> <label>E-Mail</label>
<input size="20" type="text" name="filter[email]" value="{$smarty.request.filter.email|default:""}" /> <input size="20" class="form-control" type="text" name="filter[email]" value="{$smarty.request.filter.email|default:""}" />
</fieldset> </div>
<fieldset> <div class="form-group">
<label>Is Admin</label> <label>Is Admin</label>
{html_options name="filter[is_admin]" options=$ADMIN selected=$smarty.request.filter.is_admin|default:""} {html_options class="form-control" name="filter[is_admin]" options=$ADMIN selected=$smarty.request.filter.is_admin|default:""}
</fieldset> </div>
<fieldset> <div class="form-group">
<label>Is Locked</label> <label>Is Locked</label>
{html_options name="filter[is_locked]" options=$LOCKED selected=$smarty.request.filter.is_locked|default:""} {html_options class="form-control" name="filter[is_locked]" options=$LOCKED selected=$smarty.request.filter.is_locked|default:""}
</fieldset> </div>
<fieldset> <div class="form-group">
<label>No Fees</label> <label>No Fees</label>
{html_options name="filter[no_fees]" options=$NOFEE selected=$smarty.request.filter.no_fees|default:""} {html_options class="form-control" name="filter[no_fees]" options=$NOFEE selected=$smarty.request.filter.no_fees|default:""}
</fieldset> </div>
<ul> <ul>
<li>Note: Text search fields support '%' as wildcard.</li> <li>Note: Text search fields support '%' as wildcard.</li>
</ul> </ul>
</tbody>
</table>
<input type="submit" value="Search" class="btn btn-outline btn-success btn-lg btn-block">
</div> </div>
<footer>
<div class="submit_link">
<input type="submit" value="Search" class="alt_btn">
</div>
</footer>
</form> </form>
</article> </div>
</div>
</div>
<article class="module width_full">
<header> <div class="row">
<h3>User Information</h3> <div class="col-lg-12">
</header> <div class="panel panel-info">
<table cellspacing="0" width="100%" class="tablesorter"> <div class="panel-heading">
User Information
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th>ID</th> <th>ID</th>
@ -138,10 +153,14 @@
</tr> </tr>
{sectionelse} {sectionelse}
<tr> <tr>
<td colspan="10"></td> <td colspan="13"></td>
</tr> </tr>
{/section} {/section}
{/nocache} {/nocache}
</tbody> </tbody>
</table> </table>
</article> </div>
</div>
</div>
</div>
</div>