summaryrefslogtreecommitdiffstats
path: root/extensions/RequestNagger/web
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-10-29 06:32:25 +0100
committerByron Jones <bjones@mozilla.com>2013-10-29 06:32:25 +0100
commit4c09622b4432820e49795345a747e530e5aa0764 (patch)
tree6fc3203ae7296de1fadadf1fce06d6644c4debfc /extensions/RequestNagger/web
parent9b6f5d07a80ff630ed76108e0ca9689b4e2410f5 (diff)
downloadbugzilla-4c09622b4432820e49795345a747e530e5aa0764.tar.gz
bugzilla-4c09622b4432820e49795345a747e530e5aa0764.tar.xz
Bug 892615: Add a 24 hour nag to all requests (review, feedback and need-info) and make them follow-able
Diffstat (limited to 'extensions/RequestNagger/web')
-rw-r--r--extensions/RequestNagger/web/js/requestnagger.js13
-rw-r--r--extensions/RequestNagger/web/style/requestnagger.css42
2 files changed, 55 insertions, 0 deletions
diff --git a/extensions/RequestNagger/web/js/requestnagger.js b/extensions/RequestNagger/web/js/requestnagger.js
new file mode 100644
index 000000000..e5cc43deb
--- /dev/null
+++ b/extensions/RequestNagger/web/js/requestnagger.js
@@ -0,0 +1,13 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This Source Code Form is "Incompatible With Secondary Licenses", as
+ * defined by the Mozilla Public License, v. 2.0. */
+
+YAHOO.util.Event.onDOMReady(function() {
+ YAHOO.util.Event.addListener('defer-until', 'change', function() {
+ YAHOO.util.Dom.get('defer-date').innerHTML = 'until ' + this.value;
+ });
+ bz_fireEvent(YAHOO.util.Dom.get('defer-until'), 'change');
+});
diff --git a/extensions/RequestNagger/web/style/requestnagger.css b/extensions/RequestNagger/web/style/requestnagger.css
new file mode 100644
index 000000000..c4870a08e
--- /dev/null
+++ b/extensions/RequestNagger/web/style/requestnagger.css
@@ -0,0 +1,42 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This Source Code Form is "Incompatible With Secondary Licenses", as
+ * defined by the Mozilla Public License, v. 2.0. */
+
+.edit_form {
+ width: 100%;
+}
+
+.flag-bug {
+ font-size: large;
+}
+
+.flag-bug, .flag-attach, .flag-details {
+ margin-bottom: 1em;
+}
+
+.flag-attach-details {
+ font-size: small;
+}
+
+.flag-attach-actions {
+ font-size: small;
+}
+
+.flag-attach-desc {
+ font-weight: bold;
+}
+
+.flag-type {
+ font-weight: bold;
+}
+
+.defer {
+ margin-bottom: 2em;
+}
+
+.deferred {
+ font-weight: bold;
+}