Permalink
Browse files

Added as_table template

  • Loading branch information...
Artazor committed May 18, 2012
1 parent 4f2eda3 commit d7ea1d9f5ee6e4eff7257ff75b1bb7a1e2a5907d
Showing with 20 additions and 1 deletion.
  1. +17 −0 controller/as_table.less
  2. +1 −1 controller/as_table.php
  3. +1 −0 controller/as_table_row.php
  4. +1 −0 controller/table_header.php
View
@@ -0,0 +1,17 @@
+table.oxygen-table {
+ margin: 20px;
+ a {
+ font-size: 14px;
+ font-weight: bold;
+ font-family: sans-serif;
+ text-decoration: none;
+ color: #69C;
+ border-bottom: 1px dotted #69C;
+
+ }
+
+ td, th {
+ border: 1px solid #EEE;
+ padding: 4px 8px;
+ }
+}
View
@@ -1,4 +1,4 @@
-<table>
+<table class="oxygen-table">
<?$this->put_table_header()?>
<tbody>
<?foreach($this as $child):?>
@@ -0,0 +1 @@
+<tr><td><?$this->put_icon()?></td><td><?$this->put_as_child()?></td></tr>
@@ -0,0 +1 @@
+<tr><th>Icon</th><th>Name</th></tr>

0 comments on commit d7ea1d9

Please sign in to comment.