From 3a7f3423b503c403c4ae0b732d26d1f78f391722 Mon Sep 17 00:00:00 2001 From: Sebastin Santy Date: Thu, 11 May 2017 22:46:00 +0530 Subject: Bug 1361408 - Remove Firefox OS specific forms --- .../bug/create/comment-fxos-betaprogram.txt.tmpl | 24 --- .../bug/create/comment-fxos-feature.txt.tmpl | 20 -- .../bug/create/comment-fxos-mcts-waiver.txt.tmpl | 36 ---- .../bug/create/comment-fxos-partner.txt.tmpl | 23 -- .../bug/create/comment-fxos-preload-app.txt.tmpl | 28 --- .../bug/create/create-fxos-betaprogram.html.tmpl | 181 ---------------- .../bug/create/create-fxos-feature.html.tmpl | 232 -------------------- .../bug/create/create-fxos-mcts-waiver.html.tmpl | 209 ------------------ .../bug/create/create-fxos-partner.html.tmpl | 240 --------------------- .../bug/create/create-fxos-preload-app.html.tmpl | 186 ---------------- 10 files changed, 1179 deletions(-) delete mode 100644 extensions/BMO/template/en/default/bug/create/comment-fxos-betaprogram.txt.tmpl delete mode 100644 extensions/BMO/template/en/default/bug/create/comment-fxos-feature.txt.tmpl delete mode 100644 extensions/BMO/template/en/default/bug/create/comment-fxos-mcts-waiver.txt.tmpl delete mode 100644 extensions/BMO/template/en/default/bug/create/comment-fxos-partner.txt.tmpl delete mode 100644 extensions/BMO/template/en/default/bug/create/comment-fxos-preload-app.txt.tmpl delete mode 100644 extensions/BMO/template/en/default/bug/create/create-fxos-betaprogram.html.tmpl delete mode 100644 extensions/BMO/template/en/default/bug/create/create-fxos-feature.html.tmpl delete mode 100644 extensions/BMO/template/en/default/bug/create/create-fxos-mcts-waiver.html.tmpl delete mode 100644 extensions/BMO/template/en/default/bug/create/create-fxos-partner.html.tmpl delete mode 100644 extensions/BMO/template/en/default/bug/create/create-fxos-preload-app.html.tmpl (limited to 'extensions/BMO/template') diff --git a/extensions/BMO/template/en/default/bug/create/comment-fxos-betaprogram.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-fxos-betaprogram.txt.tmpl deleted file mode 100644 index 9370ff03c..000000000 --- a/extensions/BMO/template/en/default/bug/create/comment-fxos-betaprogram.txt.tmpl +++ /dev/null @@ -1,24 +0,0 @@ -[%# 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. - #%] - -[% USE Bugzilla %] -[% cgi = Bugzilla.cgi %] - -Phone: -[%+ cgi.param('phone') == 'Other' ? cgi.param('phone_other') : cgi.param('phone') %] - -Firefox OS Version: -[%+ cgi.param('fxos_version') %] - -Issue Details: -[%+ cgi.param('details') %] - -[% IF cgi.param('app') %] -Associated App: -[%+ cgi.param('app') %] -[% END %] diff --git a/extensions/BMO/template/en/default/bug/create/comment-fxos-feature.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-fxos-feature.txt.tmpl deleted file mode 100644 index 7664ff502..000000000 --- a/extensions/BMO/template/en/default/bug/create/comment-fxos-feature.txt.tmpl +++ /dev/null @@ -1,20 +0,0 @@ -[%# 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. - #%] - -[% USE Bugzilla %] -[% cgi = Bugzilla.cgi %] - ->> Feature Request Summary: -[%+ cgi.param('short_desc') %] - ->> Description of feature, or problem to be solved -[%+ cgi.param("description") || "-" %] - -[% RETURN IF cgi.param("discussion") != "yes" %] ->> Mailing list thread -[%+ cgi.param("bug_file_loc") %] diff --git a/extensions/BMO/template/en/default/bug/create/comment-fxos-mcts-waiver.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-fxos-mcts-waiver.txt.tmpl deleted file mode 100644 index abad3f3c4..000000000 --- a/extensions/BMO/template/en/default/bug/create/comment-fxos-mcts-waiver.txt.tmpl +++ /dev/null @@ -1,36 +0,0 @@ -[%# 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. - #%] -[% PROCESS global/variables.none.tmpl %] -[% USE Bugzilla %] -[% cgi = Bugzilla.cgi +%] -> Company Name -[%+ cgi.param('company_name') %] - -> Device Description -[%+ cgi.param('device_desc') %] - -> Firefox OS Release -[%+ cgi.param('ffos_release') %] - -> Branding Tier -[%+ cgi.param('branding_tier') %] - -> Distribution Countries -[%+ cgi.param('dist_countries') %] - -> Distribution Channel -[%+ cgi.param('dist_channel') %] - -> Reason for Waiver Request -[%+ cgi.param('reason') %] - -> Rationale for Granting Waiver Request -[%+ cgi.param('rationale') %] - -> Impact Analysis -[%+ cgi.param('impact') %] diff --git a/extensions/BMO/template/en/default/bug/create/comment-fxos-partner.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-fxos-partner.txt.tmpl deleted file mode 100644 index aa26d778f..000000000 --- a/extensions/BMO/template/en/default/bug/create/comment-fxos-partner.txt.tmpl +++ /dev/null @@ -1,23 +0,0 @@ -[%# 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. - #%] - -[% USE Bugzilla %] -[% cgi = Bugzilla.cgi %] - -What are the steps to reproduce?: -[%+ cgi.param('steps_to_reproduce') %] - -What was the actual behavior?: -[%+ cgi.param('actual_behavior') %] - -What was the expected behavior?: -[%+ cgi.param('expected_behavior') %] - -What build were you using?: [% cgi.param('build') %] - -What are the requirements?: [% cgi.param('requirements') %] diff --git a/extensions/BMO/template/en/default/bug/create/comment-fxos-preload-app.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-fxos-preload-app.txt.tmpl deleted file mode 100644 index a4e489724..000000000 --- a/extensions/BMO/template/en/default/bug/create/comment-fxos-preload-app.txt.tmpl +++ /dev/null @@ -1,28 +0,0 @@ -[%# 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. - #%] -[% PROCESS global/variables.none.tmpl %] -[% USE Bugzilla %] -[% cgi = Bugzilla.cgi +%] - ->>Company Name -[%+ cgi.param('company_name') %] - ->>Apps Business Development Contact -[%+ cgi.param('apps_business_dev_contact') %] - ->>Name of Firefox Marketplace apps of interest to you: -[%+ cgi.param('preload_apps') %] - ->>Countries where your device will be distributed -[%+ cgi.param('countries') %] - ->>Release Information -[%+ cgi.param('release_info') %] - ->>Device Information -[%+ cgi.param('device_info') %] diff --git a/extensions/BMO/template/en/default/bug/create/create-fxos-betaprogram.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-fxos-betaprogram.html.tmpl deleted file mode 100644 index 3b8a3fe67..000000000 --- a/extensions/BMO/template/en/default/bug/create/create-fxos-betaprogram.html.tmpl +++ /dev/null @@ -1,181 +0,0 @@ -[%# 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. - #%] - -[% PROCESS global/variables.none.tmpl %] - -[% phones = [ - 'ZTE Open', - 'Alcatel One Touch', - 'LG' -] %] - -[% inline_css = BLOCK %] - #dogfood { - margin: 0 5em 0 2em; - } - #dogfood th { - text-align: left; - padding-top: 1em; - } -[% END %] - -[% inline_js = BLOCK %] - function onSubmit() { - var alert_text = ''; - - var phone = false; - [% FOREACH phone = phones %] - if (document.getElementById('phone-cb-[% phone FILTER js %]').checked) - phone = true; - [% END %] - if (document.getElementById('phone-cb-other').checked && isFilledOut('phone-other')) - phone = true; - if (!phone) - alert_text += "Please select the type of phone you have.\n"; - - if (!isFilledOut('fxos-version')) - alert_text += "Please provide the version of Firefox OS you are running.\n"; - - if (!isFilledOut('short_desc')) - alert_text += "Please enter a value for the summary.\n"; - - if (!isFilledOut('details')) - alert_text += "Please describe your issue in more detail.\n"; - - if (alert_text != '') { - alert(alert_text); - return false; - } - return true; - } -[% END %] - -[% PROCESS global/header.html.tmpl - title = "Firefox OS Beta Program $terms.Bug Submission" - generate_api_token = 1 - style = inline_css - style_urls = [ 'skins/standard/enter_bug.css' ] - javascript = inline_js - javascript_urls = [ 'extensions/BMO/web/js/form_validate.js', 'js/field.js', 'js/util.js' ] -%] - -

Firefox OS Beta Program [% terms.Bug %] Submission

- -
- As [% terms.Bugzilla %] is a public place, don't include any private or - personally identifying content. -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- What phone do you have? -
- [% FOREACH phone = phones %] - -
- [% END %] - - -
- What version of Firefox OS are you running? -
- - Please check settings > device information > more information > OS version
-
- -
- Please summarize your issue in one sentence: -
- -
- Please describe your issue in more detail. If you have steps to - reproduce the problem, please include them here: -
- -
- If your issue is associated with a specific app, which one -
- -
Security:
- - -
- -
- -
- -[% PROCESS global/footer.html.tmpl %] diff --git a/extensions/BMO/template/en/default/bug/create/create-fxos-feature.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-fxos-feature.html.tmpl deleted file mode 100644 index ae6a8873f..000000000 --- a/extensions/BMO/template/en/default/bug/create/create-fxos-feature.html.tmpl +++ /dev/null @@ -1,232 +0,0 @@ -[%# 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. - #%] - -[% PROCESS global/variables.none.tmpl %] - -[% inline_style = BLOCK %] -#feature_form { - padding: 10px; -} -#feature_form .required:after { - content: " *"; - color: red; -} -#feature_form .field_label { - font-weight: bold; -} -#feature_form .field_desc { - padding-bottom: 3px; -} -#feature_form .field_desc, -#feature_form .head_desc { - width: 600px; - word-wrap: normal; -} -#feature_form .head_desc { - padding-top: 5px; - padding-bottom: 12px; -} -#feature_form .form_section { - margin-bottom: 10px; -} -#feature_form textarea { - font-family: inherit; - font-size: inherit; -} -#feature_form #comp_description { - test-align: left; - color: green; - padding-left: 1em; -} -#feature_form .hidden { - display: none; -} -[% END %] - -[% inline_javascript = BLOCK %] -var compdesc = []; -compdesc[""] = 'Please select a component from the list above.'; -[% FOREACH comp = product.components %] - compdesc['[% comp.name FILTER js %]'] = '[% comp.description FILTER js %]'; -[% END %] -function showCompDesc() { - var comp_select = document.getElementById('component'); - document.getElementById('comp_description').innerHTML = compdesc[comp_select.value]; -} - -function validateAndSubmit() { - var alert_text = ''; - if (!isFilledOut('component')) alert_text += 'Please select a component.\n'; - if (!isFilledOut('short_desc')) alert_text += 'Please provide a summary of the feature request.\n'; - if ($('#discussion').val() === 'yes') { - if (!isFilledOut('bug_file_loc')) alert_text += 'Please provide the "Mailing list thread" URL.\n'; - } - if (alert_text != '') { - alert(alert_text); - return false; - } - return true; -} - -$(function() { - $('#discussion') - .change(function() { - if ($(this).val() === 'yes') { - $('.thread').removeClass('hidden'); - $('.thread input').prop('disabled', false); - } - else { - $('.thread').addClass('hidden'); - $('.thread input').prop('disabled', true); - } - }) - .change(); - showCompDesc(); -}); -[% END %] - -[% PROCESS global/header.html.tmpl - title = "Firefox OS Feature Request Form" - generate_api_token = 1 - style = inline_style - javascript = inline_javascript - javascript_urls = [ 'extensions/BMO/web/js/form_validate.js', 'js/field.js' ] -%] - -[% USE Bugzilla %] -[% cgi = Bugzilla.cgi %] - -
- - - - - - - - - - - - -
- -
- Which product component is your feature request applicable to? - If you are not sure, choose "Gaia::Feedback". -
- -
-
- -
- -
- Is this a defect with existing functionality or a new feature request? -
- -
- -
- -
- Please enter a title for your feature request that is brief and self explanatory. - (Example: "Memory dialing using keypad numbers") -
- -
- -
- -
- Please describe the feature that you are requesting or the problem that you would like solved in detail - (Example, "Today, there is no way for the user to quickly dial user-defined numbers from the dial pad. - Instead the user must search for an find the contact in their contact list."). - If the described feature only applies to certain device types (eg. tablet vs. smartphone), please make note of it. -
- -
- -
- -
-
- -
- - - - - -
- Once your form has been submitted, a tracking [% terms.bug %] will be - created. We will then reach out for additional info and next steps. If you - discussed this on a mailing list, please link the people there to this - tracking [% terms.bug %]. Thanks! -
- - - -

- [ * Required Field ] -

- -
- -[% PROCESS global/footer.html.tmpl %] diff --git a/extensions/BMO/template/en/default/bug/create/create-fxos-mcts-waiver.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-fxos-mcts-waiver.html.tmpl deleted file mode 100644 index da75f7eb2..000000000 --- a/extensions/BMO/template/en/default/bug/create/create-fxos-mcts-waiver.html.tmpl +++ /dev/null @@ -1,209 +0,0 @@ -[%# 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. - #%] - -[% PROCESS global/variables.none.tmpl %] - -[% inline_style = BLOCK %] -#fxos_mcts_waiver_form { - padding: 10px; -} -#fxos_mcts_waiver_form .required:after { - content: " *"; - color: red; -} -#fxos_mcts_waiver_form .field_label { - font-weight: bold; -} -#fxos_mcts_waiver_form .field_desc { - padding-bottom: 3px; -} -#fxos_mcts_waiver_form .field_desc, -#fxos_mcts_waiver_form .head_desc { - width: 600px; - word-wrap: normal; -} -#fxos_mcts_waiver_form .head_desc { - padding-top: 5px; - padding-bottom: 12px; -} -#fxos_mcts_waiver_form .form_section { - margin-bottom: 10px; -} -#fxos_mcts_waiver_form textarea { - font-family: inherit; - font-size: inherit; -} -#fxos_mcts_waiver_form em { - font-size: 1em; -} -[% END %] - -[% inline_javascript = BLOCK %] -function validateAndSubmit() { - 'use strict'; - var alert_text = ''; - var requiredLabels = YAHOO.util.Selector.query('label.required'); - if (requiredLabels) { - requiredLabels.forEach(function (label) { - var name = label.getAttribute('for'); - var ids = YAHOO.util.Selector.query( - '#fxos_mcts_waiver_form *[name="' + name + '"]' - ).map(function (e) { - return e.id - }); - - if (ids && ids[0]) { - if (!isFilledOut(ids[0])) { - var desc = label.textContent || name; - alert_text += - "Please enter a value for " + - desc.replace(/[\r\n]+/, "").replace(/\s+/g, " ") + - "\n"; - } - } - }); - } - - if (alert_text != '') { - alert(alert_text); - return false; - } - - var short_desc = document.getElementById('short_desc'); - var company_name = document.getElementById('company_name').value; - short_desc.value = "MCTS Waiver for " + company_name; - - return true; -} -[% END %] - -[% PROCESS global/header.html.tmpl - title = "Firefox OS MCTS Waiver Form" - generate_api_token = 1 - style = inline_style - javascript = inline_javascript - javascript_urls = [ 'extensions/BMO/web/js/form_validate.js', - 'js/field.js', 'js/util.js' ] - yui = [ 'selector' ] -%] - -[% USE Bugzilla %] -[% cgi = Bugzilla.cgi %] - -
- - - - - - - - - - - - -
- Welcome to the [% title FILTER html %]! -
- -
- -
- Please enter the legal name of the company requesting the Waiver -
- -
- -
- -
- Please enter the Make, Model, Chipset, screensize and type the device associated with the waiver request. For - example type may be mobile phone, tablet, dongle, tv, etc. -
- -
- -
- -
- Please Enter the Release this Waiver applies to for this partner. -
- -
- -
- -
- Please Enter the Branding Tier associated with the Waiver Request (Powered by Firefox OS or Co-Branded). -
- -
- -
- -
- Please include list of countries where the device is planned to be distributed. -
- -
- -
- -
- Please identify how this device will be sold. For example, Operator, Retail. -
- -
- -
- -
- Please describe which test cases, Branding Guidelines and/or Requirements the Partner is request waived. -
- -
- -
- -
- Please document why the Partner thinks a waiver should be granted. -
- -
- -
- -
- Please provide an assessment of the impact of granting this waiver in general business terms (this should include - broad perspective of potential issues such as brand consistency, impacts on reporting & tracking capabilities, - help desk/support issues, etc.) -
- -
- - - -

- [ * - Required Field ] -

-
- -[% PROCESS global/footer.html.tmpl %] diff --git a/extensions/BMO/template/en/default/bug/create/create-fxos-partner.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-fxos-partner.html.tmpl deleted file mode 100644 index 69030bd3f..000000000 --- a/extensions/BMO/template/en/default/bug/create/create-fxos-partner.html.tmpl +++ /dev/null @@ -1,240 +0,0 @@ -[%# 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. - #%] - -[% PROCESS global/variables.none.tmpl %] - -[% inline_js = BLOCK %] - var compdesc = new Array(); - compdesc[""] = 'Please select a component from the list above.'; - [% FOREACH comp = product.components %] - compdesc['[% comp.name FILTER js %]'] = '[% comp.description FILTER js %]'; - [% END %] - function showCompDesc(component) { - var value = component.value; - document.getElementById('comp_description').innerHTML = compdesc[value]; - } - function onSubmit() { - var alert_text = ''; - var status_whiteboard = ''; - - if (!isFilledOut('component')) - alert_text += "Please select a value for component.\n"; - if (!isFilledOut('short_desc')) - alert_text += "Please enter a value for the summary.\n"; - if (!isFilledOut('steps_to_reproduce')) - alert_text += "Please enter the steps to reproduce.\n"; - if (!isFilledOut('actual_behavior')) - alert_text += "Please enter the actual behavior.\n"; - if (!isFilledOut('expected_behavior')) - alert_text += "Please enter the expected behavior.\n"; - if (!isFilledOut('build')) - alert_text += "Please enter a value for the build.\n"; - if (!isFilledOut('requirements')) - alert_text += "Please enter a value for the requirements.\n"; - - var device_values = new Array(); - var device_select = document.getElementById("b2g_device"); - for (var i = 0, l = device_select.options.length; i < l; i++) { - if (device_select.options[i].selected) - device_values.push(device_select.options[i].value); - } - - if (device_values.length == 0) - alert_text += "Please select one or more devices.\n"; - - if (alert_text != '') { - alert(alert_text); - return false; - } - - for (var i = 0, l = device_values.length; i < l; i++) - status_whiteboard += '[device:' + device_values[i] + '] '; - - if (document.getElementById('third_party_app').checked) - status_whiteboard += '[apps watch list]'; - - document.getElementById('status_whiteboard').value = status_whiteboard; - - return true; - } -[% END %] - -[% PROCESS global/header.html.tmpl - title = "Firefox OS Partner $terms.Bug Submission" - generate_api_token = 1 - style_urls = [ 'skins/standard/enter_bug.css' ] - javascript = inline_js - javascript_urls = [ 'extensions/BMO/web/js/form_validate.js', - 'js/attachment.js', 'js/field.js', 'js/util.js' ] - onload = "showCompDesc(document.getElementById('component'));" -%] - -

Firefox OS Partner [% terms.Bug %] Submission

- -

All fields are mandatory

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
Security: - - -
  - -
- -
- -[% PROCESS global/footer.html.tmpl %] diff --git a/extensions/BMO/template/en/default/bug/create/create-fxos-preload-app.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-fxos-preload-app.html.tmpl deleted file mode 100644 index c51c5c91d..000000000 --- a/extensions/BMO/template/en/default/bug/create/create-fxos-preload-app.html.tmpl +++ /dev/null @@ -1,186 +0,0 @@ -[%# 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. - #%] - -[% PROCESS global/variables.none.tmpl %] - -[% inline_style = BLOCK %] -#fxos_preload_app_form { - padding: 10px; -} -#fxos_preload_app_form .required:after { - content: " *"; - color: red; -} -#fxos_preload_app_form .field_label { - font-weight: bold; -} -#fxos_preload_app_form .field_desc { - padding-bottom: 3px; -} -#fxos_preload_app_form .field_desc, -#fxos_preload_app_form .head_desc { - width: 600px; - word-wrap: normal; -} -#fxos_preload_app_form .head_desc { - padding-top: 5px; - padding-bottom: 12px; -} -#fxos_preload_app_form .form_section { - margin-bottom: 10px; -} -#fxos_preload_app_form textarea { - font-family: inherit; - font-size: inherit; -} -#fxos_preload_app_form em { - font-size: 1em; -} -.yui-calcontainer { - z-index: 2; -} -[% END %] - -[% inline_javascript = BLOCK %] -function validateAndSubmit() { - 'use strict'; - var alert_text = ''; - var requiredLabels = YAHOO.util.Selector.query('label.required'); - if (requiredLabels) { - requiredLabels.forEach(function (label) { - var name = label.getAttribute('for'); - var ids = YAHOO.util.Selector.query( - '#fxos_preload_app_form *[name="' + name + '"]' - ).map(function (e) { - return e.id - }); - - if (ids && ids[0]) { - if (!isFilledOut(ids[0])) { - var desc = label.textContent || name; - alert_text += - "Please enter a value for " + - desc.replace(/[\r\n]+/, "").replace(/\s+/g, " ") + - "\n"; - } - } - }); - } - - if (alert_text != '') { - alert(alert_text); - return false; - } - return true; -} -[% END %] - -[% PROCESS global/header.html.tmpl - title = "Firefox OS Pre-load App" - generate_api_token = 1 - style = inline_style - javascript = inline_javascript - javascript_urls = [ 'extensions/BMO/web/js/form_validate.js', - 'js/field.js', 'js/util.js' ] - yui = [ "calendar", "selector" ] -%] - -[% USE Bugzilla %] -[% cgi = Bugzilla.cgi %] - -
- - - - - - - - - - - -
- Welcome to the Firefox OS Pre-load App Info Request Form! -
- -
- -
- Please enter the legal name of your company -
- -
- - -
- -
Please enter your Name
- -
- -
- -
Please enter your Email address.
- -
- -
- -
- Please provide the App Name and Marketplace URL for each app you wish to pre-load on your certified, branded - Firefox OS device. The Marketplace URL is an important identifier because there are many apps in Marketplace with - the same name. -
- -
- -
- -
- Please list the countries where your device will be distributed. This information is required because it - corresponds to the countries that the developers will evaluate for distribution rights. -
- -
- -
- -
- Please provide the Version of Firefox OS for your Branded, Certified device on which you plan to pre-load the - requested apps. -
- -
- -
- -
- Please include the device make and model, screen size, Chipset and RAM configuration for the Branded, Certified - device on which you plan to pre-load the requested apps. -
- -
- -

When you press submit the information you've provided will be routed to Mozilla team members for follow up. The - system will also respond with a [% terms.Bugzilla %] tracking number that you may use for follow up.

- - - -

- [ * - Required Field ] -

-
- -[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b