Merge lp:~mago-contributors/mago/new_stylesheet into lp:~mago-contributors/mago/mago-1.0

Proposed by Ara Pulido
Status: Merged
Merged at revision: not available
Proposed branch: lp:~mago-contributors/mago/new_stylesheet
Merge into: lp:~mago-contributors/mago/mago-1.0
Diff against target: None lines
To merge this branch: bzr merge lp:~mago-contributors/mago/new_stylesheet
Reviewer Review Type Date Requested Status
Ara Pulido Approve
Javier Collado (community) Approve
Joker Wild (community) view Approve
Review via email: mp+7939@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Ara Pulido (ara) wrote :

This is a replacement for the CSS stylesheet for the HTML report.

We were using Launchpad's, which had two main problems:

1) It gave a Launchpad look&feel to reports, that confused the users.
2) It required a valid Internet connection to get the CSS

The one I wrote is very basic, but it does the job. If anyone else want to improve it, feel free.

Cheers,
Ara.

Revision history for this message
Joker Wild (lajjr-deactivatedaccount) wrote :

Ara,

Outstanding I think this is a great item to have added. Very good and it is better to have our own then using launchpad's.

Best Regards,
Leo Jackson
lajjr

review: Approve (view)
Revision history for this message
Eitan Isaacson (eeejay) wrote :

This is a good start, pretty. Do you mind if I spend some time, and commit some experimental aesthetics?

87. By Eitan Isaacson

Merged from trunk. Improved report.xsl a bit.

Revision history for this message
Ara Pulido (ara) wrote :

> This is a good start, pretty. Do you mind if I spend some time, and commit
> some experimental aesthetics?

Hey Eitan,

Sure! Feel free, I could only spent an hour on this, so, yes, your additions are more than welcome :-)

Cheers

Revision history for this message
Javier Collado (javier.collado) wrote :

It's a good idea to have a local stylesheet that doesn't depend on launchpad.

review: Approve
Revision history for this message
Ara Pulido (ara) wrote :

Merged into trunk

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'report.xsl'
--- report.xsl 2009-06-09 15:22:50 +0000
+++ report.xsl 2009-06-26 11:39:03 +0000
@@ -5,103 +5,81 @@
5 <head>5 <head>
6 <title>6 <title>
7 Mago Tests Report7 Mago Tests Report
8 </title>8</title>
9 <!-- Launchpad style sheet -->9<style>
10 <style type="text/css" media="screen, print">@import url(https://edge.launchpad.net/+icing/rev7667/+style-slimmer.css);</style>10body
11 <!--[if lte IE 7]>11{
12 <style type="text/css">#lp-apps span {margin: 0 0.125%;}</style>12 line-height: 1.6em;
13 <![endif]-->13 margin: 45px;
14 <style type="text/css">14}
15 fieldset.collapsed div, fieldset div.collapsed {display: none;}15p
16 </style>16{
17 <noscript>17 font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
18 <style type="text/css">18 font-size: 12px;
19 fieldset.collapsible div, fieldset div.collapsed {display: block;}19
20 </style>20}
21 </noscript>21
22 <script type="text/javascript" src="https://edge.launchpad.net/+icing/build/launchpad.js"/>22h4
23 <script type="text/javascript">var cookie_scope = '; Path=/; Secure; Domain=.launchpad.net';</script>23{
24 <script type="text/javascript">24line-height: 20%;
25 function onLoadFunction() {25color: #039;
26 sortables_init();26}
27 initInlineHelp();27
28 }28h1
29 registerLaunchpadFunction(onLoadFunction);29{
30 function ReverseDisplay(d) {30line-height: 20%;
31color: #34679D;
32}
33
34#mago-table
35{
36 font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
37 font-size: 12px;
38 margin: 45px;
39 width: 480px;
40 text-align: left;
41 border-collapse: collapse;
42}
43#mago-table th
44{
45 font-size: 13px;
46 font-weight: normal;
47 padding: 8px;
48 background: #B3B3E6;
49 border-bottom: 1px solid #fff;
50 color: #039;
51}
52#mago-table td
53{
54 padding: 8px;
55 background: #B3CCE6;
56 border-bottom: 1px solid #fff;
57 color: #669;
58 border-top: 1px solid transparent;
59}
60#mago-table tr:hover td
61{
62 background: #d0dafd;
63 color: #339;
64}
65
66</style>
67 <script type="text/javascript">
68 function ReverseDisplay(d) {
31 if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }69 if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
32 else { document.getElementById(d).style.display = "none"; }70 else { document.getElementById(d).style.display = "none"; }
33 }71 }
34 </script>72 </script>
35 <link rel="shortcut icon" href="https://edge.launchpad.net/@@/launchpad.png"/>
36 </head>73 </head>
37 <body id="document" class="tab-bugs onecolumn">74 <body>
38 <div id="locationbar">75 <h1>Mago Tests Report</h1>
39 <div id="logincontrol">76 <p>
40 <a href="https://bugs.edge.launchpad.net/bugs/bugtrackers/+login">Log in / Register</a>
41 </div>
42 <form id="globalsearch" action="https://edge.launchpad.net/+search" xml:lang="en" lang="en" dir="ltr" method="get" accept-charset="UTF-8">
43 <img src="https://edge.launchpad.net/@@/search.png" style="margin-bottom: -4px" alt="Search launchpad:"/>
44 <input type="search" id="search-text" name="field.text"/>
45 </form>
46 <div id="lp-hierarchy" class="home">
47 <a href="/" class="breadcrumb">
48 <img alt="Launchpad" src="https://edge.launchpad.net/@@/launchpad-logo-and-name-hierarchy.png"/>
49 </a>
50 </div>
51 <div id="globalheader" xml:lang="en" lang="en" dir="ltr">
52 <div class="sitemessage">This site is running pre-release code. <a href="https://edge.launchpad.net/launchpad/+filebug">Please report all bugs.</a></div>
53 </div>
54 <div class="apps-separator">
55 <!-- -->
56 </div>
57 <div id="lp-apps" class="clearfix">
58 <!-- :-) -->
59 <span class="overview">
60 <a href="https://edge.launchpad.net/">Launchpad Home</a>
61 </span>
62 <small> / </small>
63 <span class="branches" title="The Code Bazaar">
64 <a href="https://code.edge.launchpad.net/">Code</a>
65 </span>
66 <small> / </small>
67 <span class="bugs active">
68 <a href="https://bugs.edge.launchpad.net/">Bugs</a>
69 </span>
70 <small> / </small>
71 <span class="specifications" title="Launchpad feature specification tracker.">
72 <a href="https://blueprints.edge.launchpad.net/">Blueprints</a>
73 </span>
74 <small> / </small>
75 <span class="translations">
76 <a href="https://translations.edge.launchpad.net/">Translations</a>
77 </span>
78 <small> / </small>
79 <span class="answers" title="Launchpad Answer Tracker">
80 <a href="https://answers.edge.launchpad.net/">Answers</a>
81 </span>
82 </div>
83 </div>
84 <!--id="locationbar"-->
85 <div id="mainarea">
86 <div id="container">
87 <!--[if IE 7]>&nbsp;<![endif]-->
88 <div id="navigation-tabs">
89
90
91 </div>
92 <div>
93 <p>
94 <br/>
95 </p>
96 <h1>Mago Tests Report</h1>
97 <p>
98 This are the results from a run of Mago Desktop Tests. <br/>77 This are the results from a run of Mago Desktop Tests. <br/>
99 If you find false positives, please, report bugs against <a href="https://launchpad.net/mago/+filebug">Mago</a> project.78 If you find false positives, please, report bugs against <a href="https://launchpad.net/mago/+filebug">Mago</a> project.
100 </p>79 </p><br />
101 <h2><b>Suite: <xsl:value-of select="suite/@name" /></b> (Class: <xsl:value-of select="suite/class" />)</h2>80 <h4>Suite: <xsl:value-of select="suite/@name" />(Class: <xsl:value-of select="suite/class" />)</h4>
102 <h2>Description: <xsl:value-of select="suite/description" /></h2>81 <h4>Description: <xsl:value-of select="suite/description" /></h4>
103 <br /> 82 <table width="100%" id="mago-table">
104 <table width="100%" class="sortable listing" id="trackers">
105 <thead>83 <thead>
106 <tr>84 <tr>
107 <th>TestCase Name</th>85 <th>TestCase Name</th>
@@ -184,42 +162,8 @@
184 <p>162 <p>
185 <!-- *** Last Paragraph Space *** -->163 <!-- *** Last Paragraph Space *** -->
186 </p>164 </p>
187 </div>
188 <div class="clear"/>
189 </div>
190 <!--id="container"-->
191 </div>
192 <!--id="mainarea"-->
193 <div id="globalfooter" class="clearfix" xml:lang="en" lang="en" dir="ltr">
194 <div id="colophon"><a href="/+tour">What is Launchpad?</a>
195 | <a href="https://help.launchpad.net/">Get help with Launchpad</a>
196 </div>
197 <div id="lp-arcana">
198 Copyright 2004-2008 <a href="http://canonical.com/">Canonical Ltd.</a>
199 |
200 <a href="/legal">Terms of use</a>
201 <span id="lp-version">
202 |
203 <a href="https://help.launchpad.net/LaunchpadReleases">Launchpad 2.1.12 (r76673)</a>
204
205
206 beta site
207 </span>
208 </div>
209 </div>
210 <!--id="globalfooter"-->
211 <div id="help-pane" class="invisible">
212 <div id="help-body">
213 <iframe id="help-pane-content" class="invisible" src="javascript:void(0);"/>
214 </div>
215 <div id="help-footer">
216 <span id="help-close"/>
217 </div>
218 </div>
219 </body>165 </body>
220 </html>166 </html>
221 <!-- at least 396 queries issued in 3.36 seconds -->
222 <!-- Launchpad 2.1.12 (r7513) -->
223 </xsl:template>167 </xsl:template>
224 <xsl:template match="screenshot" mode="link">168 <xsl:template match="screenshot" mode="link">
225 <a href="{text()}">169 <a href="{text()}">

Subscribers

People subscribed via source and target branches

to status/vote changes: