[Libreoffice-commits] .: bug/bug bug/bug.xhtml
Loic Dachary
loic at kemper.freedesktop.org
Tue Sep 20 04:10:52 PDT 2011
bug/bug.xhtml | 16 +++++++++-------
bug/bug/bug.css | 10 +++++-----
bug/bug/bug.js | 5 ++++-
bug/bug/images/step-first-off.png |binary
bug/bug/images/step-first-on.png |binary
bug/bug/images/step-last-off.png |binary
bug/bug/images/step-last-on.png |binary
bug/bug/images/step-off.png |binary
bug/bug/images/step-on.png |binary
9 files changed, 18 insertions(+), 13 deletions(-)
New commits:
commit d61a6e4facab65f05b8181e42793fedd9e83c393
Author: Loic Dachary <loic at dachary.org>
Date: Tue Sep 20 13:10:46 2011 +0200
Replace step backgrounds with images provided by Ivan M.
diff --git a/bug/bug.xhtml b/bug/bug.xhtml
index 94e74b7..1135cf1 100644
--- a/bug/bug.xhtml
+++ b/bug/bug.xhtml
@@ -30,13 +30,15 @@
</div>
<div class="content">
<div class="left">
- <div class="step step_signin"><div class="count">1</div><div class="label">Sign in</div></div>
- <div class="step step_component"><div class="count">2</div><div class="label">Component</div></div>
- <div class="step step_subcomponent"><div class="count">3</div><div class="label">Subcomponent</div></div>
- <div class="step step_version"><div class="count">4</div><div class="label">Version</div></div>
- <div class="step step_description"><div class="count">5</div><div class="label">Description</div></div>
- <div class="step step_submit"><div class="count">6</div><div class="label">Submit</div></div>
- <div class="step step_attach"><div class="count">7</div><div class="label">Attach</div></div>
+ <div>
+ <div class="step step_signin"><div class="count">1</div><div class="label">Sign in</div></div>
+ <div class="step step_component"><div class="count">2</div><div class="label">Component</div></div>
+ <div class="step step_subcomponent"><div class="count">3</div><div class="label">Subcomponent</div></div>
+ <div class="step step_version"><div class="count">4</div><div class="label">Version</div></div>
+ <div class="step step_description"><div class="count">5</div><div class="label">Description</div></div>
+ <div class="step step_submit"><div class="count">6</div><div class="label">Submit</div></div>
+ <div class="step step_attach"><div class="count">7</div><div class="label">Attach</div></div>
+ </div>
<div class="copyright">
Bug Submission Assistant is copyright (C) 2011 Loic Dachary published under <a href="http://www.gnu.org/licenses/gpl.txt">GNU GPLv3+</a> : download the <a href="bug.js">sources</a>.
</div>
diff --git a/bug/bug/bug.css b/bug/bug/bug.css
index ef22aa5..a29b4de 100644
--- a/bug/bug/bug.css
+++ b/bug/bug/bug.css
@@ -50,8 +50,8 @@ body {
}
.left .step {
- line-height: 65px;
- height: 65px;
+ line-height: 62px;
+ height: 64px;
width: 255px;
background: #FFF url('images/step-off.png') no-repeat top left;
}
@@ -60,7 +60,7 @@ body {
background: #FFF url('images/step-on.png') no-repeat top left;
}
-.left .stop:first-child {
+.left .step:first-child {
background: #FFF url('images/step-first-off.png') no-repeat top left;
}
@@ -68,7 +68,7 @@ body {
background: #FFF url('images/step-first-on.png') no-repeat top left;
}
-.left .stop:last-child {
+.left .step:last-child {
background: #FFF url('images/step-last-off.png') no-repeat top left;
}
@@ -77,7 +77,7 @@ body {
}
.left .count {
- padding-left: 35px;
+ padding-left: 30px;
display: inline-block;
color: #fff;
}
diff --git a/bug/bug/bug.js b/bug/bug/bug.js
index 5e983ea..db5a6c2 100644
--- a/bug/bug/bug.js
+++ b/bug/bug/bug.js
@@ -114,7 +114,10 @@
var component = $('.state_component .chosen').attr('data');
var subcomponent = $('.subcomponents .' + component, element).html();
$('.active_subcomponent', element).html(subcomponent);
- $.bug.current_step('subcomponent');
+ if(!element.hasClass('initialized')) {
+ element.addClass('initialized');
+ $.bug.current_step('subcomponent');
+ }
element.show();
$('.active_subcomponent .select', element).select();
$('.active_subcomponent .select .choice', element).click(function() {
diff --git a/bug/bug/images/step-first-off.png b/bug/bug/images/step-first-off.png
index 16fb3ef..df32018 100644
Binary files a/bug/bug/images/step-first-off.png and b/bug/bug/images/step-first-off.png differ
diff --git a/bug/bug/images/step-first-on.png b/bug/bug/images/step-first-on.png
index 20d2fd7..bbd6ba0 100644
Binary files a/bug/bug/images/step-first-on.png and b/bug/bug/images/step-first-on.png differ
diff --git a/bug/bug/images/step-last-off.png b/bug/bug/images/step-last-off.png
index 16fb3ef..7dc348d 100644
Binary files a/bug/bug/images/step-last-off.png and b/bug/bug/images/step-last-off.png differ
diff --git a/bug/bug/images/step-last-on.png b/bug/bug/images/step-last-on.png
index 20d2fd7..f6d5874 100644
Binary files a/bug/bug/images/step-last-on.png and b/bug/bug/images/step-last-on.png differ
diff --git a/bug/bug/images/step-off.png b/bug/bug/images/step-off.png
index 3fc7356..6223d43 100644
Binary files a/bug/bug/images/step-off.png and b/bug/bug/images/step-off.png differ
diff --git a/bug/bug/images/step-on.png b/bug/bug/images/step-on.png
index 20d2fd7..0e9289f 100644
Binary files a/bug/bug/images/step-on.png and b/bug/bug/images/step-on.png differ
More information about the Libreoffice-commits
mailing list