add styles to some tables

This commit is contained in:
Focuslinkstech 2024-09-09 20:45:13 +01:00 committed by GitHub
parent 400672454c
commit 13aabeea8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 197 additions and 185 deletions

View File

@ -104,12 +104,14 @@
</div> </div>
</form> </form>
<div class="table-responsive"> <div class="table-responsive">
<div style="margin-left: 5px; margin-right: 5px;">
<table class="table table-bordered table-striped table-condensed"> <table class="table table-bordered table-striped table-condensed">
<thead> <thead>
<tr> <tr>
<th></th> <th></th>
<th colspan="5" class="text-center">{Lang::T('Internet Package')}</th> <th colspan="5" class="text-center">{Lang::T('Internet Package')}</th>
<th colspan="2" class="text-center" style="background-color: rgb(246, 244, 244);">{Lang::T('Limit')}</th> <th colspan="2" class="text-center" style="background-color: rgb(246, 244, 244);">
{Lang::T('Limit')}</th>
<th colspan="2"></th> <th colspan="2"></th>
<th colspan="2" class="text-center" style="background-color: rgb(243, 241, 172);"> <th colspan="2" class="text-center" style="background-color: rgb(243, 241, 172);">
{Lang::T('Expired')}</th> {Lang::T('Expired')}</th>
@ -163,14 +165,15 @@
<a href="{$_url}services/edit/{$ds['id']}" <a href="{$_url}services/edit/{$ds['id']}"
class="btn btn-info btn-xs">{Lang::T('Edit')}</a> class="btn btn-info btn-xs">{Lang::T('Edit')}</a>
<a href="{$_url}services/delete/{$ds['id']}" id="{$ds['id']}" <a href="{$_url}services/delete/{$ds['id']}" id="{$ds['id']}"
onclick="return confirm('{Lang::T('Delete')}?')" class="btn btn-danger btn-xs"><i onclick="return confirm('{Lang::T('Delete')}?')"
class="glyphicon glyphicon-trash"></i></a> class="btn btn-danger btn-xs"><i class="glyphicon glyphicon-trash"></i></a>
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
<div class="panel-footer"> <div class="panel-footer">
{include file="pagination.tpl"} {include file="pagination.tpl"}
<div class="bs-callout bs-callout-info" id="callout-navbar-role"> <div class="bs-callout bs-callout-info" id="callout-navbar-role">

View File

@ -70,6 +70,7 @@
</div> </div>
</form> </form>
<div class="table-responsive"> <div class="table-responsive">
<div style="margin-left: 5px; margin-right: 5px;">&nbsp;
<table id="datatable" class="table table-bordered table-striped table-condensed"> <table id="datatable" class="table table-bordered table-striped table-condensed">
<thead> <thead>
<tr> <tr>
@ -108,8 +109,8 @@
style="color: black;">{Lang::T('Edit')}</a> style="color: black;">{Lang::T('Edit')}</a>
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])} {if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
<a href="{$_url}plan/delete/{$ds['id']}" id="{$ds['id']}" <a href="{$_url}plan/delete/{$ds['id']}" id="{$ds['id']}"
onclick="return confirm('{Lang::T('Delete')}?')" class="btn btn-danger btn-xs"><i onclick="return confirm('{Lang::T('Delete')}?')"
class="glyphicon glyphicon-trash"></i></a> class="btn btn-danger btn-xs"><i class="glyphicon glyphicon-trash"></i></a>
{/if} {/if}
{if $ds['status']=='off' && $_c['extend_expired']} {if $ds['status']=='off' && $_c['extend_expired']}
<a href="javascript:extend('{$ds['id']}')" <a href="javascript:extend('{$ds['id']}')"
@ -121,6 +122,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
{include file="pagination.tpl"} {include file="pagination.tpl"}
</div> </div>
</div> </div>

View File

@ -104,6 +104,7 @@
</div> </div>
</form> </form>
<div class="table-responsive"> <div class="table-responsive">
<div style="margin-left: 5px; margin-right: 5px;">
<table class="table table-bordered table-striped table-condensed"> <table class="table table-bordered table-striped table-condensed">
<thead> <thead>
<tr> <tr>
@ -133,7 +134,8 @@
{foreach $d as $ds} {foreach $d as $ds}
<tr {if $ds['enabled'] !=1}class="danger" title="disabled" {/if}> <tr {if $ds['enabled'] !=1}class="danger" title="disabled" {/if}>
<td>{$ds['name_plan']}</td> <td>{$ds['name_plan']}</td>
<td>{$ds['plan_type']} {if $ds['prepaid'] != 'yes'}<b>{Lang::T('Postpaid')}</b>{else}{Lang::T('Prepaid')}{/if}</td> <td>{$ds['plan_type']} {if $ds['prepaid'] !=
'yes'}<b>{Lang::T('Postpaid')}</b>{else}{Lang::T('Prepaid')}{/if}</td>
<td>{$ds['name_bw']}</td> <td>{$ds['name_bw']}</td>
<td>{Lang::moneyFormat($ds['price'])}</td> <td>{Lang::moneyFormat($ds['price'])}</td>
<td>{$ds['validity']} {$ds['validity_unit']}</td> <td>{$ds['validity']} {$ds['validity_unit']}</td>
@ -165,6 +167,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
<div class="panel-footer"> <div class="panel-footer">
{include file="pagination.tpl"} {include file="pagination.tpl"}
<div class="bs-callout bs-callout-info" id="callout-navbar-role"> <div class="bs-callout bs-callout-info" id="callout-navbar-role">

View File

@ -19,8 +19,9 @@
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])} {if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
<div class="btn-group pull-right"> <div class="btn-group pull-right">
<a class="btn btn-danger btn-xs" title="Remove used Voucher" href="{$_url}plan/remove-voucher" <a class="btn btn-danger btn-xs" title="Remove used Voucher" href="{$_url}plan/remove-voucher"
onclick="return confirm('Delete all used voucher code more than 3 months?')"><span class="glyphicon glyphicon-trash" onclick="return confirm('Delete all used voucher code more than 3 months?')"><span
aria-hidden="true"></span> {Lang::T('Delete')} &gt; {Lang::T('3 Months')}</a> class="glyphicon glyphicon-trash" aria-hidden="true"></span> {Lang::T('Delete')} &gt; {Lang::T('3
Months')}</a>
</div> </div>
{/if} {/if}
&nbsp; &nbsp;
@ -76,8 +77,8 @@
class="fa fa-search"></span></button> class="fa fa-search"></span></button>
</div> </div>
<div class="btn-group" role="group"> <div class="btn-group" role="group">
<a class="btn btn-warning btn-block" title="Clear Search Query" href="{$_url}plan/voucher/"><span <a class="btn btn-warning btn-block" title="Clear Search Query"
class="glyphicon glyphicon-remove-circle"></span></a> href="{$_url}plan/voucher/"><span class="glyphicon glyphicon-remove-circle"></span></a>
</div> </div>
</div> </div>
</div> </div>
@ -85,6 +86,7 @@
</form> </form>
</div> </div>
<div class="table-responsive"> <div class="table-responsive">
<div style="margin-left: 5px; margin-right: 5px;">&nbsp;
<table id="datatable" class="table table-bordered table-striped table-condensed"> <table id="datatable" class="table table-bordered table-striped table-condensed">
<thead> <thead>
<tr> <tr>
@ -119,7 +121,8 @@
{/if}</td> {/if}</td>
<td>{if $ds['used_date']}{Lang::dateTimeFormat($ds['used_date'])}{/if}</td> <td>{if $ds['used_date']}{Lang::dateTimeFormat($ds['used_date'])}{/if}</td>
<td>{if $ds['generated_by']} <td>{if $ds['generated_by']}
<a href="{$_url}settings/users-view/{$ds['generated_by']}">{$admins[$ds['generated_by']]}</a> <a
href="{$_url}settings/users-view/{$ds['generated_by']}">{$admins[$ds['generated_by']]}</a>
{else} - {else} -
{/if} {/if}
</td> </td>
@ -129,8 +132,8 @@
class="btn btn-success btn-xs">&nbsp;&nbsp;{Lang::T('View')}&nbsp;&nbsp;</a> class="btn btn-success btn-xs">&nbsp;&nbsp;{Lang::T('View')}&nbsp;&nbsp;</a>
{/if} {/if}
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])} {if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
<a href="{$_url}plan/voucher-delete/{$ds['id']}" id="{$ds['id']}" class="btn btn-danger btn-xs" <a href="{$_url}plan/voucher-delete/{$ds['id']}" id="{$ds['id']}"
onclick="return confirm('{Lang::T('Delete')}?')"><i class="btn btn-danger btn-xs" onclick="return confirm('{Lang::T('Delete')}?')"><i
class="glyphicon glyphicon-trash"></i></a> class="glyphicon glyphicon-trash"></i></a>
{/if} {/if}
</td> </td>
@ -139,6 +142,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
{include file="pagination.tpl"} {include file="pagination.tpl"}
</div> </div>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}