From 1f30fac936a3b0905e736dd86e559e33caf036ac Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 10 Aug 2011 18:26:03 -0400 Subject: Initial checkin of bmo/4.0 extensions. Still todo: port changes to core Bugzilla code --- .../template/en/default/guided/guided.html.tmpl | 534 +++++++++++++++++++++ 1 file changed, 534 insertions(+) create mode 100644 extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl (limited to 'extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl') diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl new file mode 100644 index 000000000..403b63a6e --- /dev/null +++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl @@ -0,0 +1,534 @@ +[%# ***** BEGIN LICENSE BLOCK ***** + # Version: MPL 1.1 + # + # The contents of this file are subject to the Mozilla Public License Version + # 1.1 (the "License"); you may not use this file except in compliance with + # the License. You may obtain a copy of the License at + # http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS IS" basis, + # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + # for the specific language governing rights and limitations under the + # License. + # + # The Original Code is the GuidedBugEntry Bugzilla Extension. + # + # The Initial Developer of the Original Code is + # the Mozilla Foundation. + # Portions created by the Initial Developer are Copyright (C) 2011 + # the Initial Developer. All Rights Reserved. + # + # Contributor(s): + # Byron Jones + # + # ***** END LICENSE BLOCK ***** */ + #%] + +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl + title = "Enter A $terms.Bug" + javascript_urls = [ + 'extensions/GuidedBugEntry/web/js/products.js', + 'extensions/GuidedBugEntry/web/js/guided.js', + 'js/field.js', 'js/TUI.js', 'js/bug.js' ] + style_urls = [ 'extensions/GuidedBugEntry/web/style/guided.css', + 'js/yui/assets/skins/sam/container.css' ] + yui = [ 'history', 'datatable', 'container' ] +%] + + + + + + + + + +
+[% INCLUDE product_step %] +[% INCLUDE otherProducts_step %] +[% INCLUDE dupes_step %] +[% INCLUDE bugForm_step %] +
+ + + + + +[% PROCESS global/footer.html.tmpl %] + +[%############################################################################%] +[%# page title #%] +[%############################################################################%] + +[% BLOCK page_title %] +
+

Enter A [% terms.Bug %]

+

Step [% step_number FILTER html %] of 3

+
+[% END %] + +[%############################################################################%] +[%# product step #%] +[%############################################################################%] + +[% BLOCK product_step %] + +[% END %] + +[% BLOCK product_block %] + [% IF !caption %] + [% caption = name %] + [% END %] + [% IF !desc %] + [% FOREACH c = classifications %] + [% FOREACH p = c.products %] + [% IF p.name == name %] + [% desc = p.description %] + [% LAST %] + [% END %] + [% END %] + [% END %] + [% END %] + + + + + +

+ [% caption FILTER html %] +

+

+ [% desc FILTER html_light %] +

+ + +[% END %] + +[%############################################################################%] +[%# other products step #%] +[%############################################################################%] + +[% BLOCK otherProducts_step %] + +[% END %] + +[%############################################################################%] +[%# exits (support/input) #%] +[%############################################################################%] + +[% BLOCK exits %] + + + + + + + + + + + + + +
+
+ +
+
+

+ I need technical support +

+ For technical support or help getting your site to work with Mozilla. +
+
+ +
+
+

+ I have an idea for firefox +

+ For offering us ideas on how to enhance Firefox. +
+
+ +
+
+ • Provide other feedback about Firefox
+ • Report an issue with a web site that I use
+ • Report an issue with Firefox on a site that I've developed
+
+

+ None of the above; my [% terms.bug %] is in: +

+[% END %] + +[% BLOCK exit_block %] + + +
+ +
+ + +

+ [% name FILTER html %] +

+ [% desc FILTER html %] + + +[% END %] + +[%############################################################################%] +[%# duplicates step #%] +[%############################################################################%] + +[% BLOCK dupes_step %] + +[% END %] + +[%############################################################################%] +[%# bug form step #%] +[%############################################################################%] + +[% BLOCK bugForm_step %] + +[% END %] + +[%############################################################################%] +[%# help block #%] +[%############################################################################%] + +[% BLOCK help %] + +[% END %] -- cgit v1.2.3-24-g4f1b