[gnome-ostree] build.gnome.org: Unify GNOMEOSTree status here
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] build.gnome.org: Unify GNOMEOSTree status here
- Date: Tue, 16 Apr 2013 14:25:30 +0000 (UTC)
commit 3310c37b3720e5eef11a6a6607d6e7e2a49fe858
Author: Colin Walters <walters verbum org>
Date: Tue Apr 16 10:25:09 2013 -0400
build.gnome.org: Unify GNOMEOSTree status here
.../repoweb.js => build.gnome.org/gnome-ostree.js} | 7 -
extras/build.gnome.org/index.html | 7 +-
extras/repoweb/images/ajax-loader.gif | Bin 7825 -> 0 bytes
extras/repoweb/images/buildbot-happy.png | Bin 6210 -> 0 bytes
extras/repoweb/images/buildbot-sad.png | Bin 6190 -> 0 bytes
extras/repoweb/images/html-bg.png | Bin 312 -> 0 bytes
extras/repoweb/images/icons-18-black.png | Bin 1767 -> 0 bytes
extras/repoweb/images/icons-18-white.png | Bin 1806 -> 0 bytes
extras/repoweb/images/icons-36-black.png | Bin 3611 -> 0 bytes
extras/repoweb/images/icons-36-white.png | Bin 3648 -> 0 bytes
extras/repoweb/index.html | 69 ----------
extras/repoweb/repoweb.css | 149 ---------------------
12 files changed, 4 insertions(+), 228 deletions(-)
---
diff --git a/extras/repoweb/repoweb.js b/extras/build.gnome.org/gnome-ostree.js
similarity index 94%
rename from extras/repoweb/repoweb.js
rename to extras/build.gnome.org/gnome-ostree.js
index 959e9ee..85be71a 100644
--- a/extras/repoweb/repoweb.js
+++ b/extras/build.gnome.org/gnome-ostree.js
@@ -141,13 +141,6 @@ function repowebIndexInit() {
buildMetaNode.appendChild(a);
buildMetaNode.appendChild(document.createTextNode(': ' + (currentBuildMeta.success ? "success" :
"failed ")));
- $("#build-icon").removeClass("buildstatus-happy");
- $("#build-icon").removeClass("buildstatus-sad");
- if (currentBuildMeta.success) {
- $("#build-icon").addClass("buildstatus-happy");
- } else {
- $("#build-icon").addClass("buildstatus-sad");
- }
});
$(repoDataSignal).on("current-smoketest-meta-loaded", function () {
var node = $("#smoketest-meta").get(0);
diff --git a/extras/build.gnome.org/index.html b/extras/build.gnome.org/index.html
index 10fa75a..83106ce 100644
--- a/extras/build.gnome.org/index.html
+++ b/extras/build.gnome.org/index.html
@@ -7,15 +7,15 @@
</title>
<link rel="stylesheet" href="lib/jquery.mobile.structure-1.3.0.css" />
<link rel="stylesheet" href="lib/jquery.mobile.theme-1.3.0.css" />
- <link rel="stylesheet" href="repoweb.css" />
<style>
/* App custom styles */
</style>
<script src="lib/jquery-1.8.2.js"></script>
<script src="lib/jquery.mobile-1.3.0.js"></script>
+ <script src="gnome-ostree.js"></script>
</script>
</head>
- <body>
+ <body onload="$(document).ready(function(){repowebIndexInit();})">
<!-- Home -->
<div data-role="page" id="home">
<div data-theme="" data-role="header">
@@ -62,7 +62,8 @@
<div data-role="content">
<p>See <a href="https://live.gnome.org/OSTree/GnomeOSTree">GNOMEOSTree</a>
for more information. </p>
- <p>Status: Not currently submitting status</p>
+ <p>Build: <a href="" id="build-meta"></a></p>
+ <p>Smoketest: <a href="" id="smoketest-meta"></a></p>
<p>Maintainer: Colin Walters <walters verbum org></p>
<ul data-role="listview" data-inset="true">
<li><a href="#dummy-change-1">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]