aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-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,