Skip to content

Commit

Permalink
Fixed the size on small screens,made table name more apparent
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharymarshal committed Mar 6, 2014
1 parent 9202049 commit 589cde4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions View/Schema/table_describe.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ $this->Html->css('/media/sqlboss/schema/css/tableDescribe', null, array('inline'
?>
<?php echo $this->DatabaseNavigation->create($connection, $connection_parameters) ?>
<div class="row">
<div class="actions col-xs-2 col-ms-2">
<div class="actions col-sm-2">
<ul class="nav nav-pills nav-stacked">
<li class="active"><?php echo $this->Html->link("Definition: {$table_name}", array($table_name) + $connection_parameters); ?></li>
<li><?php echo $this->Html->link(__('SELECT *'), array('controller' => 'queries', 'define_table' => $table_name, 'define_table_method' => 'SelectStar') + $connection_parameters); ?></li>
<li><?php echo $this->Html->link(__('SELECT Fields'), array('controller' => 'queries', 'define_table' => $table_name, 'define_table_method' => 'SelectFields') + $connection_parameters); ?></li>
<li><?php echo $this->Html->link(__('INSERT'), array('controller' => 'queries', 'define_table' => $table_name, 'define_table_method' => 'Insert') + $connection_parameters); ?></li>
<li><?php echo $this->Html->link(__('UPDATE'), array('controller' => 'queries', 'define_table' => $table_name, 'define_table_method' => 'Update') + $connection_parameters); ?></li>
<li><?php echo $this->Html->link(__('DELETE'), array('controller' => 'queries', 'define_table' => $table_name, 'define_table_method' => 'Delete') + $connection_parameters); ?></li>
</ul>
</div>
<div class="col-xs-10 col-ms-10">
<div class="col-sm-10">
<h2>Table: <?php echo $table_name ?></h2>
<h3>Columns</h3>
<table class="table table-condensed table-float">
<thead>
Expand Down Expand Up @@ -103,7 +103,7 @@ $this->Html->css('/media/sqlboss/schema/css/tableDescribe', null, array('inline'
<table class="table table-condensed table-float">
<thead>
<tr>
<th>Enabled?</th>
<th>Enabled</th>
<th>Name</th>
<th>Definition</th>
</tr>
Expand Down

0 comments on commit 589cde4

Please sign in to comment.