r114508 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114507‎ | r114508 | r114509 >
Date:00:32, 27 March 2012
Author:awjrichards
Status:deferred
Tags:
Comment:
MFG Change-Id: I907c0dfcda053e0015fbc558f79f50fe103615b7
Modified paths:
  • /branches/wmf/1.19wmf1/extensions/MobileFrontend/stylesheets/beta_common.css (modified) (history)
  • /branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/LeaveFeedbackTemplate.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/extensions/MobileFrontend/stylesheets/beta_common.css
@@ -924,6 +924,9 @@
925925 padding-right: 0;
926926 }
927927
 928+#section_footer {
 929+ color: #818181;
 930+}
928931
929932 .toggleCopyright .hide,
930933 .toggleCopyright .show {
@@ -1053,3 +1056,45 @@
10541057 #mf-references a {
10551058 color: #3354C0;
10561059 }
 1060+
 1061+/* CONTACT FORM */
 1062+.feedback input[type=submit] {
 1063+ background-color: #5E5E5E;
 1064+ color: white;
 1065+ display: block;
 1066+ margin: 22px 0px;
 1067+ border: none;
 1068+ -webkit-border-radius: 2px;
 1069+ -moz-border-radius: 2px;
 1070+ border-radius: 2px;
 1071+ -o-box-shadow: 3px 3px 3px #8C8C8C;
 1072+ -moz-box-shadow: 3px 3px 3px #8C8C8C;
 1073+ -webkit-box-shadow: 3px 3px 3px #8C8C8C;
 1074+ box-shadow: 3px 3px 3px #8C8C8C;
 1075+ font-size: 1.5em;
 1076+}
 1077+
 1078+.feedback input[type=submit] {
 1079+ padding: 12px;
 1080+ cursor: pointer;
 1081+}
 1082+
 1083+.feedback input[type=text] {
 1084+ height: 38px;
 1085+}
 1086+
 1087+.feedback textarea,
 1088+.feedback input[type=text] {
 1089+ padding: 12px 16px;
 1090+ width: 100%;
 1091+ border: solid 1px #888888;
 1092+ box-sizing: border-box;
 1093+ -webkit-box-sizing:border-box;
 1094+ -moz-box-sizing: border-box;
 1095+ -ms-box-sizing: border-box;
 1096+}
 1097+
 1098+.feedback textarea,
 1099+.feedback input[type=text] {
 1100+ font-size: 1.5em;
 1101+}
Index: branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/LeaveFeedbackTemplate.php
@@ -9,7 +9,7 @@
1010 public function getHTML() {
1111
1212 $leaveFeedbackHtml = <<<HTML
13 - <form action='{$this->data['feedbackPostURL']}' method='post'>
 13+ <form class="feedback" action='{$this->data['feedbackPostURL']}' method='post'>
1414 <input type="hidden" name="edittoken" value="{$this->data['editToken']}"/>
1515 <div tabindex="-1">
1616 <div unselectable="on">
@@ -19,13 +19,12 @@
2020 <div>
2121 <div><p><small>{$this->data['notice']}</small>
2222 </p></div>
23 - <div><p>{$this->data['subject']}:<br><input type="text" name="subject" maxlength="60" style="width:40%;"></p>
 23+ <div><p>{$this->data['subject']}:<br><input type="text" name="subject" maxlength="60"></p>
2424 </div>
25 - <div><p>{$this->data['message']}:<br><textarea name="message" style="width:40%;" rows="5" cols="60"></textarea></p>
 25+ <div><p>{$this->data['message']}:<br><textarea name="message" rows="5" cols="60"></textarea></p>
2626 </div>
2727 </div>
2828 </div>
29 - <div><button onClick="javascript:history.back();" type="button"><span>{$this->data['cancel']}</span></button>
3029 <input type="submit" value="{$this->data['submit']}"></input>
3130 </div>
3231 </div>

Status & tagging log