]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Changed No/Yes and Reset/Save locations. They are now a little more
authorSarven Capadisli <csarven@controlyourself.ca>
Thu, 21 May 2009 00:12:48 +0000 (00:12 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Thu, 21 May 2009 00:12:48 +0000 (00:12 +0000)
usable by first offering the option to undo and than do.

actions/deletenotice.php
actions/designsettings.php
theme/base/css/display.css
theme/default/css/display.css
theme/identica/css/display.css

index 6c350b33ab36e3c45d278f5009f20d1259ef435c..e733f9650ad12eb2e75960f3bdec0df9054a5019 100644 (file)
@@ -112,8 +112,8 @@ class DeletenoticeAction extends DeleteAction
         $this->hidden('token', common_session_token());
         $this->hidden('notice', $this->trimmed('notice'));
         $this->element('p', null, _('Are you sure you want to delete this notice?'));
-        $this->submit('form_action-yes', _('Yes'), 'submit form_action-primary', 'yes');
-        $this->submit('form_action-no', _('No'), 'submit form_action-secondary', 'no');
+        $this->submit('form_action-no', _('No'), 'submit form_action-primary', 'no', _("Do not delete this notice"));
+        $this->submit('form_action-yes', _('Yes'), 'submit form_action-secondary', 'yes', _('Delete this notice'));
         $this->elementEnd('fieldset');
         $this->elementEnd('form');
     }
index 8a7c261048c0ddd5b2be053da3858fcead1ef76b..315e5a199c2ce06d29eee3b2c213ba8e06dad906 100644 (file)
@@ -140,11 +140,12 @@ class DesignsettingsAction extends AccountSettingsAction
         $this->elementEnd('ul');
         $this->elementEnd('fieldset');
 
-        $this->submit('save', _('Save'));
         $this->element('input', array('id' => 'settings_design_reset',
                                       'type' => 'reset',
                                       'value' => 'Reset',
-                                      'class' => 'form_action-secondary'));
+                                      'class' => 'submit form_action-primary',
+                                      'title' => _('Reset back to default')));
+        $this->submit('save', _('Save'), 'submit form_action-secondary', 'save', _('Save design'));
 
 /*TODO: Check submitted form values: 
 json_encode(form values)
index 8bd0ae1c4ff4c95bc6f32c812ba6c72d84160c46..edec141632b91d22bcfc6fb44f62b95da730c012 100644 (file)
@@ -198,9 +198,11 @@ padding:0 7px;
 }
 
 
+.form_settings input.form_action-primary {
+padding:0;
+}
 .form_settings input.form_action-secondary {
 margin-left:29px;
-padding:0;
 }
 
 #form_search .submit {
index e4b57ef49c61661605c4eb665109996aea97986d..fce2e7e292000aace7400e9f34cbf9bbec3dd36a 100644 (file)
@@ -33,7 +33,7 @@ border-color:#aaa;
 border-color:#C3D6DF;
 }
 
-.form_settings input.form_action-secondary {
+.form_settings input.form_action-primary {
 background:none;
 }
 
@@ -60,7 +60,7 @@ div.notice-options input,
 .entity_send-a-message a,
 .form_user_nudge input.submit,
 .entity_nudge p,
-.form_settings input.form_action-secondary {
+.form_settings input.form_action-primary {
 color:#002E6E;
 }
 
index 9d625848fc2c3aa5d64d4279045a8d88c3a5e846..df114417ed28b938131657e9c99ae1041731fd41 100644 (file)
@@ -33,7 +33,7 @@ border-color:#aaa;
 border-color:#ddd;
 }
 
-.form_settings input.form_action-secondary {
+.form_settings input.form_action-primary {
 background:none;
 }
 
@@ -60,7 +60,7 @@ div.notice-options input,
 .entity_send-a-message a,
 .form_user_nudge input.submit,
 .entity_nudge p,
-.form_settings input.form_action-secondary {
+.form_settings input.form_action-primary {
 color:#002E6E;
 }