[CLEANUP] Responsive tables added when needed

This commit is contained in:
Sebastian Grewe 2014-03-10 09:51:25 +01:00
parent 6b1bceabdf
commit baf07e0abc
8 changed files with 115 additions and 123 deletions

View File

@ -5,7 +5,7 @@
<div class="panel-heading"> <div class="panel-heading">
<i class="fa fa-envelope fa-fw"></i> Top Inviters <i class="fa fa-envelope fa-fw"></i> Top Inviters
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body no-padding table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<thead> <thead>
<tr> <tr>

View File

@ -4,9 +4,8 @@
<div class="panel-heading"> <div class="panel-heading">
<i class="fa fa-bell-o fa-fw"></i> Monitoring <i class="fa fa-bell-o fa-fw"></i> Monitoring
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body no-padding table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<thead> <thead>
<th>Cronjob</th> <th>Cronjob</th>
<th>Disabled</th> <th>Disabled</th>
@ -18,7 +17,7 @@
<th>Message</th> <th>Message</th>
</thead> </thead>
<tbody> <tbody>
{foreach $CRONSTATUS as $cron => $data} {foreach $CRONSTATUS as $cron => $data}
<tr> <tr>
<td>{$cron}</td> <td>{$cron}</td>
{foreach $data as $name => $event} {foreach $data as $name => $event}
@ -59,7 +58,7 @@
</td> </td>
{/foreach} {/foreach}
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
</div> </div>

View File

@ -5,29 +5,20 @@
<i class="fa fa-desktop fa-fw"></i> {$GLOBAL.workers} Current Active Pool Workers <i class="fa fa-desktop fa-fw"></i> {$GLOBAL.workers} Current Active Pool Workers
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body no-padding">
<div class="table-responsive"> <div class="panel-body">
<table class="table table-striped table-bordered table-hover">
<form action="{$smarty.server.SCRIPT_NAME}"> <form action="{$smarty.server.SCRIPT_NAME}">
<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}" />
<tbody> <ul class="pager">
<tr> <li class="previous">
<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}"> &larr;</a>
{if $smarty.request.start|default:"0" > 0} </li>
<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}"><i class="icon-left-open"></i></a> <li class="next">
{else} <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}"> &rarr;</a>
<i class="icon-left-open"></i> </li>
{/if} </ul>
</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}"><i class="icon-right-open"></i></a>
</td>
</tr>
</tbody>
</form> </form>
</table>
</div> </div>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<thead> <thead>

View File

@ -3,7 +3,7 @@
<div class="panel-heading"> <div class="panel-heading">
<i class="fa fa-tachometer fa-fw"></i> Contributor Hashrates <i class="fa fa-tachometer fa-fw"></i> Contributor Hashrates
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body no-padding table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<thead> <thead>
<tr> <tr>

View File

@ -3,7 +3,7 @@
<div class="panel-heading"> <div class="panel-heading">
<i class="fa fa-tachometer fa-fw"></i> Contributor Shares <i class="fa fa-tachometer fa-fw"></i> Contributor Shares
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body no-padding table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<thead> <thead>
<tr> <tr>

View File

@ -4,6 +4,7 @@
<div class="panel-heading"> <div class="panel-heading">
<i class="fa fa-bar-chart fa-fw"></i> Block Statistics <i class="fa fa-bar-chart fa-fw"></i> Block Statistics
</div> </div>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<tbody> <tbody>
<tr> <tr>
@ -43,6 +44,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
<div class="panel-footer"> <div class="panel-footer">
<div class="submit_link"> <div class="submit_link">
<form action="{$smarty.server.SCRIPT_NAME}" method="POST" id='search'> <form action="{$smarty.server.SCRIPT_NAME}" method="POST" id='search'>

View File

@ -2,7 +2,7 @@
<div class="col-lg-12"> <div class="col-lg-12">
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"><i class="fa fa-clock-o fa-fw"></i> UptimeRobot Status</div> <div class="panel-heading"><i class="fa fa-clock-o fa-fw"></i> UptimeRobot Status</div>
<div class="panel-body no-padding"> <div class="panel-body no-padding table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<thead> <thead>
<tr> <tr>