[%# 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 %] @media screen and (max-width: 800px) { #header { display: none; } } #client_bounty_form input[type="text"], #client_bounty_form textarea { width: 100%; } #client_bounty_form input[type="submit"] { float: right; } #comment { width: 100% !important; display: block; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #bugzilla-body { margin-left: auto; margin-right: auto; background-color: white; max-width: 1024px; } #bugzilla-body h1 { text-align: center; padding-top: 2px; padding-bottom: 0px; margin-bottom: 0px; } #bugzilla-body .head_desc { text-align: center; margin-left: auto; margin-right: auto; margin-top: 0px; padding-top: 0px; } #client_bounty_form { padding: 10px; } #client_bounty_form .required:after { content: " *"; color: red; } #client_bounty_form .field_label { font-weight: bold; } #client_bounty_form .field_desc { padding-bottom: 3px; } #client_bounty_form .field_desc, #client_bounty_form .head_desc { word-wrap: normal; } #client_bounty_form .head_desc { padding-top: 5px; padding-bottom: 12px; } #client_bounty_form .form_section { margin-bottom: 10px; } [% END %] [% inline_javascript = BLOCK %] function validateAndSubmit() { var alert_text = ''; if (!isFilledOut('short_desc')) alert_text += 'Please enter a value for summary.\n'; if (!isFilledOut('comment')) alert_text += 'Please enter a value for comment.\n'; if (alert_text != '') { alert(alert_text); return false; } return true; } [% END %] [% PROCESS global/header.html.tmpl title = "Client Bounty Form" generate_api_token = 1 style = inline_style javascript = inline_javascript javascript_urls = [ 'extensions/BMO/web/js/form_validate.js', 'extensions/BMO/web/js/attach-desc.js', 'js/field.js', 'js/util.js' ] %] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %]