summaryrefslogtreecommitdiffstats
path: root/website/templates
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2007-03-26 12:58:33 +0000
committerFrederic Peters <fpeters@entrouvert.com>2007-03-26 12:58:33 +0000
commitec6e0af2b11026ba99d63b230e792af5bb9b3ad1 (patch)
treed33e696a498709bf83d44b04a7adb8b28de78373 /website/templates
parent6b77c53a272de13271838a8cf99a6fb8aefd6949 (diff)
downloadlasso-ec6e0af2b11026ba99d63b230e792af5bb9b3ad1.tar.gz
lasso-ec6e0af2b11026ba99d63b230e792af5bb9b3ad1.tar.xz
lasso-ec6e0af2b11026ba99d63b230e792af5bb9b3ad1.zip
website import
Diffstat (limited to 'website/templates')
-rw-r--r--website/templates/base.ezt71
-rw-r--r--website/templates/buildlog.ezt85
-rw-r--r--website/templates/changelog.ezt19
-rw-r--r--website/templates/tests.ezt23
4 files changed, 198 insertions, 0 deletions
diff --git a/website/templates/base.ezt b/website/templates/base.ezt
new file mode 100644
index 00000000..e42c1c87
--- /dev/null
+++ b/website/templates/base.ezt
@@ -0,0 +1,71 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Lasso[if-any title] - [title][end]</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<link rel="stylesheet" type="text/css" href="/css/leaf-style.css" />
+[is section "buildbox"]
+<link rel="stylesheet" type="text/css" href="/css/buildbox.css" />
+[end]
+[is section "documentation"]
+<link rel="stylesheet" href="/documentation/default.css" type="text/css" />
+[end]
+<link rel="meta" title="DOAP" type="application/rdf+xml" href="http://lasso.entrouvert.org/doap.rdf"/>
+</head>
+<body>
+ <div id="shadow-wrapper">
+ <div id="page"[is section "buildbox"] class="buildbox"[end]>
+ <div id="header">
+ <h1><img src="/css/lasso.png" alt="Lasso"/></h1>
+ <span>Free Liberty Alliance Implementation</span>
+ </div>
+
+ <div id="navbar">
+ <ul>
+ <li><a[is section "index"] class="here"[end]
+ href="/">Home</a></li>
+ <li><a[is section "documentation"] class="here"[end]
+ href="/documentation/">Documentation</a></li>
+ <li><a[is section "download"] class="here"[end]
+ href="/download/">Download</a></li>
+ <li><a href="http://www.entrouvert.com">Entr'ouvert</a></li>
+ </ul>
+ </div>
+
+<div id="quicklinks">
+<div id="morelinks">
+ <h2>Resources</h2>
+ <ul>
+ <li[is section "mailinglists"] id="current"[end]>
+ <a href="/mailinglists/">Mailing Lists</a></li>
+ <li[is section "buildbox"] id="current"[end]>
+ <a href="/buildbox">CVS Status</a></li>
+ <li[is section "links"] id="current"[end]>
+ <a href="/links">Related Links</a></li>
+ <li><a href="http://labs.libre-entreprise.org/tracker/?atid=206&amp;group_id=31&amp;func=browse">Bug
+ reports</a></li>
+ </ul>
+</div>
+
+ [is section "index"]
+ <div id="news">
+ <h2>News</h2>
+ [news]
+ </div>
+ [end]
+</div>
+
+ <div id="content">
+ [is section "buildbox"]<h1>CVS Status</h1>[end]
+ [body]
+
+ <div id="copyright">
+ Copyright © 2004, 2005, 2006 Entr'ouvert
+ </div>
+
+ </div>
+
+ </div> <!-- page -->
+ </div> <!-- shadowwrapper -->
+
+ </body>
+</html>
diff --git a/website/templates/buildlog.ezt b/website/templates/buildlog.ezt
new file mode 100644
index 00000000..d9b1d3e0
--- /dev/null
+++ b/website/templates/buildlog.ezt
@@ -0,0 +1,85 @@
+<table>
+<thead>
+ <tr>
+ <th rowspan="2">Build time</th>
+ <th colspan="3">Changes</th>
+ <th colspan="2">Compilation</th>
+ <th colspan="6">Components</th>
+ <th colspan="3">Tests</th>
+ </tr>
+ <tr id="line2">
+ <th>Nb</th> <th>Log</th> <th>Guilty<a href="#note-guilty">*</a></th>
+ <th>Duration</th> <th>Build log</th>
+ <th>Lib C</th> <th>Python</th> <th>PHP</th> <th>Perl</th> <th>Java</th> <th>C#</th>
+ <th>Lib C</th> <th>Python</th> <th><a href="/souk/">Souk</a></th>
+ </tr>
+</thead>
+<tbody>
+ [for build]
+ <tr class="[if-index build even]even[else]odd[end]">
+ <td class="buildtime">
+ [build.display_date]&nbsp;[build.display_hour]
+ </td>
+ <td>
+ [if-any build.changelog][build.nb_commits][else] [end]
+ </td>
+ <td>
+ [if-any build.changelog]<a href="[build.changelog]">C</a>[else] [end]
+ </td>
+ <td>
+ [if-any build.changelog][build.last_commit_author][else] [end]
+ </td>
+ <td>[build.duration]</td>
+ <td>
+ [if-any build.buildlog] <a href="[build.buildlog]">3.3</a>&nbsp;[end][if-any build.buildlog295]&nbsp;/&nbsp;<a href="[build.buildlog295]">2.95</a> [end]
+ </td>
+ <td class="[build.liblasso_status]">
+ [is build.liblasso_status "ok"] [is build.liblasso295_status "ok"]  [else]
+ <a href="[build.liblasso295_href]">L</a> [end]
+ [else] <a href="[build.liblasso_href]">L</a> [end]
+ </td>
+ [if-any build.python_status]
+ <td class="[build.python_status]">
+ [is build.python_status "ok"] [else] <a href="[build.python_href]">L</a> [end]
+ </td>[else]<td> </td>[end]
+ [if-any build.php_status]
+ <td class="[build.php_status]">
+ [is build.php_status "ok"] [else] <a href="[build.php_href]">L</a> [end]
+ </td>[else]<td> </td>[end]
+ [if-any build.perl_status]
+ <td class="[build.perl_status]">
+ [is build.perl_status "ok"] [else] <a href="[build.perl_href]">L</a> [end]
+ </td>[else]<td> </td>[end]
+ [if-any build.java_status]
+ <td class="[build.java_status]">
+ [is build.java_status "ok"] [else] <a href="[build.java_href]">L</a> [end]
+ </td>[else]<td> </td>[end]
+ [if-any build.csharp_status]
+ <td class="[build.csharp_status]">
+ [is build.csharp_status "ok"] [else] <a href="[build.csharp_href]">L</a> [end]
+ </td>[else]<td> </td>[end]
+
+ <!-- tests -->
+
+ [if-any build.tests_c_status]
+ <td class="[build.tests_c_status]">
+ [is build.tests_c_status "ok"] [else] <a href="[build.tests_c_href]">L</a> [end]
+ </td>[else]<td> </td>[end]
+
+ [if-any build.tests_python_status]
+ <td class="[build.tests_python_status]">
+ [is build.tests_python_status "ok"] [else] <a href="[build.tests_python_href]">L</a> [end]
+ </td>[else]<td> </td>[end]
+
+ [if-any build.tests_souk_status]
+ <td class="[build.tests_souk_status]">
+ [is build.tests_souk_status "ok"] [else] <a href="[build.tests_souk_href]">L</a> [end]
+ </td>[else]<td> </td>[end]
+ </tr>
+ [end]
+</tbody>
+</table>
+<p id="note-guilty">
+ <strong>Note:</strong> the "guilty" columns only gives the name of the most
+ recent commiter for the time period.
+</p>
diff --git a/website/templates/changelog.ezt b/website/templates/changelog.ezt
new file mode 100644
index 00000000..69235cf7
--- /dev/null
+++ b/website/templates/changelog.ezt
@@ -0,0 +1,19 @@
+ <h1>ChangeLog</h1>
+
+ <table>
+ [for entry]
+ <tr class="[if-index entry even]even[else]odd[end]">
+ <td>[entry.time]</td>
+ <td>[entry.author]</td>
+ <td>
+ [for entry.file]
+ <span class="file"><a href="http://labs.libre-entreprise.org/plugins/scmcvs/cvsweb.php/lasso/[entry.file.name]?cvsroot=lasso#rev[entry.file.revision]">[entry.file.name]</a> ([entry.file.revision])</span>
+ [end]
+ </td>
+ <td>
+ [entry.msg]
+ </td>
+ </tr>
+ [end]
+ </table>
+
diff --git a/website/templates/tests.ezt b/website/templates/tests.ezt
new file mode 100644
index 00000000..187a6ff8
--- /dev/null
+++ b/website/templates/tests.ezt
@@ -0,0 +1,23 @@
+<h1>Test suite ([title])</h1>
+
+<p>Executed on [datetime]</p>
+
+[for suite]
+ [if-any suite.title]<h2>[suite.title]</h2>[end]
+ <table>
+ [for suite.test]
+ <tr>
+ <td class="test-description">[suite.test.description]</td>
+ <td class="[suite.test.result]"> </td>
+ </tr>
+ [end]
+ <tfoot>
+ <tr>
+ <td colspan="2">
+ [suite.len_tests] tests
+ [if-any suite.duration]executed in [suite.duration]s[end]
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+[end]