Permalink
Browse files

Added save button and delete link to bottom of frontend form

  • Loading branch information...
1 parent ab1702a commit b1b4e37a642f5846db3b18f4d91c30d24ba96aef @mikedamage mikedamage committed May 9, 2012
Showing with 44 additions and 1 deletion.
  1. +34 −0 ui/css/pods-front.css
  2. +5 −1 ui/css/pods-manage.css
  3. +5 −0 ui/front/form.php
View
@@ -30,6 +30,40 @@ a.button:active {
background: #eee url(../../../../../wp-admin/images/white-grad-active.png) repeat-x scroll left top;
}
+.button-primary {
+ -webkit-border-radius: 11px;
+ -moz-border-radius: 11px;
+ -o-border-radius: 11px;
+ border-radius: 11px;
+ -webkit-box-sizing: content-box;
+ box-sizing: content-box;
+ white-space: nowrap;
+ line-height: 15px;
+ padding: 3px 8px;
+ border: 1px solid #298CBA;
+ background: #21759B url(../../../../../wp-admin/images/button-grad.png) repeat-x scroll left top;
+ font-size: 12px;
+ font-weight: bold;
+ color: #fff;
+}
+
+.button-primary:hover {
+ text-decoration: none;
+ border-color: #13455B;
+ color: #EAF2FA;
+}
+
+.button-primary:active {
+ border-color: #298CBA;
+ text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
+ background: #21759B url(../../../../../wp-admin/images/button-grad-active.png) repeat-x scroll left top;
+ text-decoration: none;
+}
+
+a.delete {
+ color: #bf1300;
+}
+
h3.hndle {
margin-left: 23px;
}
View
@@ -16,6 +16,10 @@ ul.ui-sortable li:hover {
background: #ffffd8;
}
+.ui-slider-handle {
+ z-index: 0 !important;
+}
+
form.pods-manage .pods-field label {
cursor: pointer;
display: inline-block;
@@ -233,4 +237,4 @@ form.pods-manage .pods-slider-field {
form.pods-manage .pods-slider-field-display {
padding: 10px 0;
-}
+}
View
@@ -653,6 +653,11 @@ function pods_field( $params = array() )
//$args = array( 'type' => 'pick', 'name' => 'pick3', 'label' => 'Pick - Multi', 'options' => array( 'type' => 'multi' ) );
//pods_field( $args );
?>
+
+ <li>
+ <a href="#" class="button-primary">Save</a>
+ <a href="#" class="delete">Delete This Item</a>
+ </li>
</ol>
</div>
<!-- /.inside -->

0 comments on commit b1b4e37

Please sign in to comment.