aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-28 19:16:04 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-28 19:16:04 +0000
commit395482b53fc18dea064bac1a77ebf0731899b537 (patch)
treeb322e89a6bdc81dc4067e2748d105636b8a81863
parent28d9fe85d1c5549c333c04821d0c539c2c2d1fbd (diff)
downloadelgg-395482b53fc18dea064bac1a77ebf0731899b537.tar.gz
elgg-395482b53fc18dea064bac1a77ebf0731899b537.tar.bz2
cancel button added to widget gallery
git-svn-id: https://code.elgg.org/elgg/trunk@1199 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/canvas/layouts/widgets.php1
-rw-r--r--views/default/css.php18
2 files changed, 19 insertions, 0 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php
index e90d9f1b3..47a45c450 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -160,6 +160,7 @@ Choose the features you want to add to your page by dragging them from the <b>Wi
<input type="hidden" name="context" value="<?php echo get_context(); ?>" />
<input type="hidden" name="owner" value="<?php echo page_owner(); ?>" />
<input type="submit" value="Save changes" class="submit_button" onclick="$('a.toggle_customise_edit_panel').click();" />
+<input type="button" value="Cancel" class="cancel_button" onclick="$('a.toggle_customise_edit_panel').click();" />
</form>
</div><!-- /customise_editpanel -->
diff --git a/views/default/css.php b/views/default/css.php
index 1b2f37ceb..9b483747d 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -680,6 +680,24 @@ input[type="submit"] {
cursor: pointer;
}
+.cancel_button {
+ font: 12px/100% Arial, Helvetica, sans-serif;
+ font-weight: bold;
+ color: #999999;
+ background:#dddddd;
+ border: 1px solid #999999;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ width: auto;
+ height: 25px;
+ padding: 2px 6px 2px 6px;
+ margin:10px 0 10px 10px;
+ cursor: pointer;
+}
+.cancel_button:hover {
+ background: #cccccc;
+}
+
.input-text,
.input-tags,
.input-url,