Minor updates and enhancements to Table()
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<table class="table table-striped table-condensed table-hover" id="list-table">
|
||||
<table class="table table-striped table-condensed table-hover" id="list-table<?php echo $jssort ? '-'.$jssort : ''; ?>">
|
||||
<thead><tr><th><?php echo implode('</th><th>',$th); ?></th></tr></thead>
|
||||
<tbody>
|
||||
<?php foreach ($td as $details) : ?>
|
||||
@@ -11,7 +11,7 @@
|
||||
</table>
|
||||
|
||||
<?php if ($jssort) : ?>
|
||||
<div class="pager">
|
||||
<div class="pager pager<?php echo $jssort ? '-'.$jssort : ''; ?>">
|
||||
Page: <select class="input-mini gotoPage"></select>
|
||||
<i class="icon-fast-backward first"></i>
|
||||
<i class="icon-step-backward prev"></i>
|
||||
|
@@ -14,7 +14,7 @@
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
|
||||
<?php
|
||||
if (Kohana::$environment >= Kohana::TESTING) {
|
||||
if (Kohana::$environment >= Kohana::TESTING OR Request::current()->secure()) {
|
||||
echo HTML::style('media/theme/bootstrap/css/bootstrap.min.css');
|
||||
echo HTML::style('media/theme/bootstrap/css/bootstrap-responsive.min.css');
|
||||
echo HTML::style('media/vendor/font-awesome/css/font-awesome.min.css');
|
||||
@@ -97,7 +97,7 @@
|
||||
</div> <!-- /main -->
|
||||
|
||||
<?php
|
||||
if (Kohana::$environment >= Kohana::TESTING) {
|
||||
if (Kohana::$environment >= Kohana::TESTING OR Request::current()->secure()) {
|
||||
echo HTML::script('media/js/jquery/jquery-1.9.1.min.js');
|
||||
echo HTML::script('media/theme/bootstrap/js/bootstrap.min.js');
|
||||
// @todo Work out how to delay this loading until required
|
||||
|
Reference in New Issue
Block a user