[UPDATE] reports styled

This commit is contained in:
iAmShorty 2014-02-28 11:38:33 +01:00
parent d18ada421c
commit 5bc1ad761d
3 changed files with 141 additions and 135 deletions

View File

@ -1,54 +1,59 @@
<form action="{$smarty.server.SCRIPT_NAME}" method="post"> <form action="{$smarty.server.SCRIPT_NAME}" method="post">
<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}">
<article class="module width_full"> <div class="row">
<header><h3>Earnings Information</h3></header> <div class="col-lg-12">
<table class="tablesorter"> <div class="panel panel-info">
<tbody> <div class="panel-heading">
Earnings Information
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<thead>
<td> <td>
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&height={if is_array($REPORTDATA) && count($REPORTDATA) > ($BLOCKLIMIT - 1)}{$REPORTDATA[$BLOCKLIMIT - 1].height}{/if}&prev=1&limit={$BLOCKLIMIT}&id={$USERID}&filter={$FILTER}"<i class="icon-left-open"></i></a> <a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&height={if is_array($REPORTDATA) && count($REPORTDATA) > ($BLOCKLIMIT - 1)}{$REPORTDATA[$BLOCKLIMIT - 1].height}{/if}&prev=1&limit={$BLOCKLIMIT}&id={$USERID}&filter={$FILTER}"<i class="icon-left-open"></i></a>
</td> </td>
<td> <td>
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&height={if is_array($REPORTDATA) && count($REPORTDATA) > 0}{$REPORTDATA[0].height}{/if}&next=1&limit={$BLOCKLIMIT}&id={$USERID}&filter={$FILTER}"><i class="icon-right-open"></i></a> <a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&height={if is_array($REPORTDATA) && count($REPORTDATA) > 0}{$REPORTDATA[0].height}{/if}&next=1&limit={$BLOCKLIMIT}&id={$USERID}&filter={$FILTER}"><i class="icon-right-open"></i></a>
</td> </td>
</tr> </thead>
</tbody>
</table> </table>
<table class="tablesorter"> </div>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<tbody> <tbody>
<tr> <tr>
<td> <td>
<fieldset style="width:200px; padding-right:8px;"> <div class="form-group">
<label>Select User</label> <label>Select User</label>
{html_options name="id" options=$USERLIST selected=$USERID|default:"0"} {html_options class="form-control" name="id" options=$USERLIST selected=$USERID|default:"0"}
</fieldset> </div>
</td> </td>
<td> <td>
<fieldset style="width:200px; padding-right:8px;"> <div class="form-group">
<label>Block Limit</label> <label>Block Limit</label>
<input size="10" type="text" name="limit" value="{$BLOCKLIMIT|default:"20"}" /> <input size="10" class="form-control" type="text" name="limit" value="{$BLOCKLIMIT|default:"20"}" />
</fieldset> </div>
</td> </td>
<td> <td>
<fieldset style="width:200px; padding-right:8px;"> <div class="form-group">
<label>Starting block height</label> <label>Starting block height</label>
<input type="text" class="pin" name="search" value="{$HEIGHT|default:"%"}"> <input type="text" class="form-control" name="search" value="{$HEIGHT|default:"%"}">
</fieldset> </div>
</td> </td>
<td><b>SHOW EMPTY ROUNDS</b><br><br> <td>
<span style="margin: 0px 28px;" class="toggle"> <div class="form-group">
<label for="filter"> <label>SHOW EMPTY ROUNDS</label>
<input type="checkbox" class="ios-switch" name="filter" value="1" id="filter" {if $FILTER}checked{/if} /> <input type="checkbox" class="form-control" name="filter" value="1" id="filter" {if $FILTER}checked{/if} />
<div class="switch"></div> </div>
</label>
</span>
</td> </td>
</tbody> </tbody>
</table> </table>
<footer> <input type="submit" value="Submit" class="btn btn-outline btn-success btn-lg btn-block">
<div class="submit_link">
<input type="submit" value="Submit" class="alt_btn">
</div> </div>
</footer> </div>
</article> </div>
</div>
</div>
</form> </form>

View File

@ -1,6 +1,12 @@
<article class="module width_full"> <div class="row">
<header><h3>Earnings Report Last {$BLOCKLIMIT} Blocks For User: {$USERNAME}</h3></header> <div class="col-lg-12">
<table class="tablesorter" cellspacing="0"> <div class="panel panel-info">
<div class="panel-heading">
Earnings Report Last {$BLOCKLIMIT} Blocks For User: {$USERNAME}
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th >Block</th> <th >Block</th>
@ -89,6 +95,8 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<footer> </div>
</footer> </div>
</article> </div>
</div>
</div>

View File

@ -42,10 +42,7 @@
</label> </label>
</div> </div>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<!-- Button trigger modal -->
<!-- Modal -->
<div class="modal fade" id="TAC" tabindex="-1" role="dialog" aria-labelledby="TACLabel" aria-hidden="true"> <div class="modal fade" id="TAC" tabindex="-1" role="dialog" aria-labelledby="TACLabel" aria-hidden="true">
<div class="modal-dialog modal-lg"> <div class="modal-dialog modal-lg">
<div class="modal-content"> <div class="modal-content">
@ -60,11 +57,7 @@
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div> </div>
</div> </div>
<!-- /.modal-content -->
</div> </div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
</div> </div>
</div> </div>
<center>{nocache}{$RECAPTCHA|default:"" nofilter}{/nocache}</center> <center>{nocache}{$RECAPTCHA|default:"" nofilter}{/nocache}</center>