Permalink
Browse files

DB-related views adjusted.

  • Loading branch information...
1 parent e675eae commit f65855bb9a4ca2612322c570769ba067d980104c @Artazor Artazor committed May 23, 2012
View
@@ -1,3 +1,6 @@
+<?if($this->child):?>
+<?$this->child->put()?>
+<?else:?>
<table class="oxygen-table">
<?$this->put_table_header()?>
<tbody>
@@ -6,3 +9,4 @@
<?endforeach?>
</tbody>
</table>
+<?endif?>
@@ -1 +0,0 @@
-<tr><th>Icon</th><th>Name</th></tr>
@@ -4,6 +4,10 @@ class Oxygen_SQL_Columns extends Oxygen_Controller {
public function configure($x) {
$x['{COLUMN_NAME:url}']->Column($this->model);
}
+
+ public function getDefaultView() {
+ return 'as_table';
+ }
}
?>
@@ -12,6 +12,10 @@ public function getIcon() {
return 'database';
}
+ public function getDefaultView() {
+ return 'as_table';
+ }
+
public function configure($x){
$x['{table:url}']->Table($this->model['tables']);
}
@@ -28,6 +28,10 @@ public function getIcon() {
return 'database_table';
}
+ public function getDefaultView() {
+ return 'as_table';
+ }
+
public function getData($alias) {
$from[$alias] = array(
'name' => $this->fullName,

0 comments on commit f65855b

Please sign in to comment.