]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Cleanup
authorsarven <csarven@plantard.controlezvous.ca>
Fri, 23 Jan 2009 05:23:28 +0000 (05:23 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Fri, 23 Jan 2009 05:23:28 +0000 (05:23 +0000)
actions/remotesubscribe.php
actions/showstream.php
theme/base/css/display.css
theme/identica/css/display.css

index 3c8346fbedd47db680729ff16ae513009562d9cc..f727a63b822f2acbe1f730a05a9a9739058ecc5a 100644 (file)
@@ -92,14 +92,26 @@ class RemotesubscribeAction extends Action
     {
         # id = remotesubscribe conflicts with the
         # button on profile page
-        $this->elementStart('form', array('id' => 'remsub', 'method' => 'post',
-                                           'action' => common_local_url('remotesubscribe')));
+        $this->elementStart('form', array('id' => 'form_remote_subscribe',
+                                          'method' => 'post',
+                                          'class' => 'form_settings',
+                                          'action' => common_local_url('remotesubscribe')));
+        $this->elementStart('fieldset');
+        $this->element('legend', 'Subscribe to a remote user');
         $this->hidden('token', common_session_token());
+        
+        $this->elementStart('ul', 'form_data');
+        $this->elementStart('li');
         $this->input('nickname', _('User nickname'), $this->nickname,
                      _('Nickname of the user you want to follow'));
+        $this->elementEnd('li');
+        $this->elementStart('li');
         $this->input('profile_url', _('Profile URL'), $this->profile_url,
                      _('URL of your profile on another compatible microblogging service'));
+        $this->elementEnd('li');
+        $this->elementEnd('ul');
         $this->submit('submit', _('Subscribe'));
+        $this->elementEnd('fieldset');
         $this->elementEnd('form');
     }
 
index 157ccdd0c0db8e26466ed3021df6c550b0b4b9f3..2fd56ad2ea4c522cd65ac476269e8d599f615c7f 100644 (file)
@@ -367,7 +367,7 @@ class ShowstreamAction extends Action
         $url = common_local_url('remotesubscribe',
                                 array('nickname' => $this->profile->nickname));
         $this->element('a', array('href' => $url,
-                                  'id' => 'entity_subscribe_remote'),
+                                  'class' => 'entity_remote_subscribe'),
                        _('Subscribe'));
     }
 
index d5532a5c9b7929dac465c8cf5a09b94c05b434bc..b4f3ffd54afb3fb7824c444232c65b84ed480776 100644 (file)
@@ -144,7 +144,8 @@ font-weight:bold;
 #form_settings_avatar legend,
 #newgroup legend,
 #editgroup legend,
-#form_tag_user legend {
+#form_tag_user legend,
+#form_remote_subscribe legend {
 display:none;
 }
 
@@ -586,7 +587,8 @@ cursor:pointer;
 width:100%;
 }
 .entity_actions a,
-#entity_nudge p {
+#entity_nudge p,
+.entity_remote_subscribe {
 text-decoration:none;
 font-weight:bold;
 display:block;
@@ -606,6 +608,16 @@ padding-left:20px;
 padding:4px 4px 4px 23px;
 }
 
+.entity_remote_subscribe {
+padding:4px;
+border-width:2px;
+border-style:solid;
+border-radius:4px;
+-moz-border-radius:4px;
+-webkit-border-radius:4px;
+}
+
+
 .entity_tags ul {
 list-style-type:none;
 }
index 17e2aee9ef18d50fa3636a5b30bdfae056e0d21b..f61d063b6944db74065942b64d17d7a6a38954f7 100644 (file)
@@ -26,7 +26,8 @@ display:none;
 input, textarea, select, option {
 font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 }
-input, textarea, select {
+input, textarea, select,
+.entity_remote_subscribe {
 border-color:#aaa;
 }
 
@@ -34,7 +35,8 @@ border-color:#aaa;
 input.submit,
 #form_notice.warning #notice_text-count,
 #nav_register a,
-.form_settings .form_note {
+.form_settings .form_note,
+.entity_remote_subscribe {
 background-color:#A9BF4F;
 }
 
@@ -43,7 +45,8 @@ input:focus, textarea:focus, select:focus,
 border-color:#A9BF4F;
 }
 input.submit,
-#nav_register a {
+#nav_register a,
+.entity_remote_subscribe {
 color:#fff;
 }
 
@@ -74,9 +77,7 @@ background-color:#fcfcfc;
 background-color:#fcfffc;
 }
 
-#aside_primary,
-#entity_subscribe a,
-#TB_window input.submit {
+#aside_primary {
 background-color:#CEE1E9;
 }