[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [websites/bugs-kde-org/kde] /: First update to submit new bug wizard
From: Eugene Trounev <eugene.trounev () gmail ! com>
Date: 2012-04-07 14:22:57
Message-ID: 20120407142257.08295A60A9 () git ! kde ! org
[Download RAW message or body]
Git commit 340e05eead81058b9f8042562d0b45a863bfa0f0 by Eugene Trounev.
Committed on 07/04/2012 at 02:39.
Pushed by trounev into branch 'kde'.
First update to submit new bug wizard
A +- -- skins/custom/img/step1.png
A +- -- skins/custom/img/step2.png
M +6 -0 skins/custom/style.css
M +15 -18 template/en/custom/bug/create/create.html.tmpl
M +1 -1 template/en/custom/global/choose-product.html.tmpl
M +1 -1 template/en/custom/global/header.html.tmpl
http://commits.kde.org/websites/bugs-kde-org/340e05eead81058b9f8042562d0b45a863bfa0f0
diff --git a/skins/custom/img/step1.png b/skins/custom/img/step1.png
new file mode 100644
index 0000000..c4b0148
Binary files /dev/null and b/skins/custom/img/step1.png differ
diff --git a/skins/custom/img/step2.png b/skins/custom/img/step2.png
new file mode 100644
index 0000000..e373645
Binary files /dev/null and b/skins/custom/img/step2.png differ
diff --git a/skins/custom/style.css b/skins/custom/style.css
index ab7f5ad..98c9500 100644
--- a/skins/custom/style.css
+++ b/skins/custom/style.css
@@ -4658,3 +4658,9 @@ div.two-columns {
color: inherit;
border: inherit;
}
+
+.title-icon {
+ float: left;
+ display: inline-block;
+ margin: 23px 5px 0 0;
+}
diff --git a/template/en/custom/bug/create/create.html.tmpl \
b/template/en/custom/bug/create/create.html.tmpl index ee71d88..b7c6de0 100644
--- a/template/en/custom/bug/create/create.html.tmpl
+++ b/template/en/custom/bug/create/create.html.tmpl
@@ -166,40 +166,37 @@ TUI_hide_default('attachment_text_field');
-->
</script>
-<form name="Create" id="Create" method="post" action="post_bug.cgi"
+<h2><img class="title-icon" src="skins/custom/img/step2.png"/> Enter details</h2>
+
+<form class="form-horizontal" name="Create" id="Create" method="post" \
action="post_bug.cgi" class="enter_bug_form" enctype="multipart/form-data"
onsubmit="return validateEnterBug(this)">
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
-<table class="table table-bordered">
-<tbody>
- <tr>
- <td colspan="4">
+<div class="alert alert-info">
[%# Migration note: The following file corresponds to the old Param
# 'entryheaderhtml'
#%]
[% PROCESS 'bug/create/user-message.html.tmpl' %]
- </td>
- </tr>
+</div>
+<div class="alert alert-info">
+ <span class="required_star">*</span> marks
+ <span class="required_explanation">required fields</span>
+</div>
- <tr>
- <td colspan="2">
- <a id="expert_fields_controller" class="controller bz_default_hidden"
- href="javascript:TUI_toggle_class('expert_fields')">Hide
- Advanced Fields</a>
+ <fieldset>
+
+ <a id="expert_fields_controller" class="btn pull-right controller \
bz_default_hidden" + href="javascript:TUI_toggle_class('expert_fields')">Hide \
Advanced Fields</a> [%# Show the link if the browser supports JS %]
<script type="text/javascript">
YAHOO.util.Dom.removeClass('expert_fields_controller',
'bz_default_hidden');
</script>
- </td>
- <td colspan="2">
- (<span class="required_star">*</span> =
- <span class="required_explanation">Required Field</span>)
- </td>
- </tr>
+<table class="table table-bordered">
+<tbody>
<tr>
[% INCLUDE bug/field.html.tmpl
bug = default, field = bug_fields.product, editable = 0,
diff --git a/template/en/custom/global/choose-product.html.tmpl \
b/template/en/custom/global/choose-product.html.tmpl index 1f46725..ede58e6 100644
--- a/template/en/custom/global/choose-product.html.tmpl
+++ b/template/en/custom/global/choose-product.html.tmpl
@@ -31,7 +31,7 @@
[% IF target == "enter_bug.cgi" %]
[% title = "Enter $terms.Bug" %]
- [% h2 = BLOCK %]First, you must pick a product on which to enter [% terms.abug %]: \
[% END %] + [% h2 = BLOCK %]<img class="title-icon" \
src="skins/custom/img/step1.png"/> Pick a product on which to enter [% terms.abug %]: \
[% END %] [% ELSIF target == "describecomponents.cgi" %]
[% title = "Browse" %]
[% h2 = "Select a product category to browse:" %]
diff --git a/template/en/custom/global/header.html.tmpl \
b/template/en/custom/global/header.html.tmpl index 5a230ff..a62612c 100644
--- a/template/en/custom/global/header.html.tmpl
+++ b/template/en/custom/global/header.html.tmpl
@@ -283,7 +283,7 @@
[% END %]
[% IF message %]
-<div id="message">[% message %]</div>
+<div class="alert">[% message %]</div>
[% END %]
[% BLOCK format_css_link %]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic