summaryrefslogtreecommitdiffstats
path: root/extensions/RequestNagger/web
diff options
context:
space:
mode:
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;
+}