aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 03:49:09 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 03:49:09 +0000
commit80159778b15966a99ddd44049a92d0ee68782777 (patch)
tree326a9908ce0022f7dfb62665dc582215d71e3b8c /mod
parentb4e5f49e7569563e369566fcf144f8b7c3840ac1 (diff)
downloadelgg-80159778b15966a99ddd44049a92d0ee68782777.tar.gz
elgg-80159778b15966a99ddd44049a92d0ee68782777.tar.bz2
More buttons in forms theme preview
git-svn-id: http://code.elgg.org/elgg/trunk@8311 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/developers/views/default/page/shells/theme_preview.php5
-rw-r--r--mod/developers/views/default/theme_preview/forms.php34
2 files changed, 31 insertions, 8 deletions
diff --git a/mod/developers/views/default/page/shells/theme_preview.php b/mod/developers/views/default/page/shells/theme_preview.php
index e986a3965..bf18dd16c 100644
--- a/mod/developers/views/default/page/shells/theme_preview.php
+++ b/mod/developers/views/default/page/shells/theme_preview.php
@@ -53,6 +53,11 @@ foreach (elgg_get_js() as $script) {
<?php echo $vars['body']; ?>
</div>
</div>
+ <div class="elgg-page-header">
+ <div class="elgg-inner">
+ <?php echo elgg_view_menu('page'); ?>
+ </div>
+ </div>
</div>
</body>
</html> \ No newline at end of file
diff --git a/mod/developers/views/default/theme_preview/forms.php b/mod/developers/views/default/theme_preview/forms.php
index d8c695e12..612a21d81 100644
--- a/mod/developers/views/default/theme_preview/forms.php
+++ b/mod/developers/views/default/theme_preview/forms.php
@@ -183,7 +183,16 @@ $ipsum = elgg_view('developers/ipsum');
<td><a href="#" class="elgg-button elgg-button-action elgg-state-selected">anchor</a></td>
</tr>
<tr>
- <th>Default</th>
+ <th>Cancel</th>
+ <td><a href="#" class="elgg-button elgg-button-cancel">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-cancel elgg-state-hover">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-cancel elgg-state-focus">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-cancel elgg-state-active">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-cancel elgg-state-disabled">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-cancel elgg-state-selected">anchor</a></td>
+ </tr>
+ <tr>
+ <th>Submit</th>
<td><a href="#" class="elgg-button elgg-button-submit">anchor</a></td>
<td><a href="#" class="elgg-button elgg-button-submit elgg-state-hover">anchor</a></td>
<td><a href="#" class="elgg-button elgg-button-submit elgg-state-focus">anchor</a></td>
@@ -192,13 +201,22 @@ $ipsum = elgg_view('developers/ipsum');
<td><a href="#" class="elgg-button elgg-button-submit elgg-state-selected">anchor</a></td>
</tr>
<tr>
- <th>Default</th>
- <td><a href="#" class="elgg-button elgg-button-cancel">anchor</a></td>
- <td><a href="#" class="elgg-button elgg-button-cancel elgg-state-hover">anchor</a></td>
- <td><a href="#" class="elgg-button elgg-button-cancel elgg-state-focus">anchor</a></td>
- <td><a href="#" class="elgg-button elgg-button-cancel elgg-state-active">anchor</a></td>
- <td><a href="#" class="elgg-button elgg-button-cancel elgg-state-disabled">anchor</a></td>
- <td><a href="#" class="elgg-button elgg-button-cancel elgg-state-selected">anchor</a></td>
+ <th>Special</th>
+ <td><a href="#" class="elgg-button elgg-button-special">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-special elgg-state-hover">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-special elgg-state-focus">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-special elgg-state-active">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-special elgg-state-disabled">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-special elgg-state-selected">anchor</a></td>
+ </tr>
+ <tr>
+ <th>Delete</th>
+ <td><a href="#" class="elgg-button elgg-button-delete">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-delete elgg-state-hover">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-delete elgg-state-focus">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-delete elgg-state-active">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-delete elgg-state-disabled">anchor</a></td>
+ <td><a href="#" class="elgg-button elgg-button-delete elgg-state-selected">anchor</a></td>
</tr>
</tbody>
</table>