Commit 23bae07f authored by Marco Clemencic's avatar Marco Clemencic
Browse files

moved html test reports images to a dedicated subdirectory

parent 21f4ce59
......@@ -27,7 +27,7 @@
<span id="project-info"></span>
<span id="slot-info"></span>
</h1>
<img id="image_sommaire" align="middle" src="menu.png" alt="link"/>
<img id="image_sommaire" align="middle" src="images/menu.png" alt="link"/>
<ul id="menu">
<li>Links:</li>
<li><a href="#summary_link">Statistics</a></li>
......
......@@ -46,7 +46,7 @@ function parseSummary(summary) {
* Note: the image has been downloaded from http://www.ajaxload.info
*/
jQuery.fn.loadingIcon = function() {
return this.html('<img src="ajax-loader.gif"/>');
return this.html('<img src="images/ajax-loader.gif"/>');
}
/**
......@@ -124,10 +124,10 @@ function foldingAction() {
var me = $(this);
if (me.hasClass('folded')) {
me.nextAll('div,ul').slideDown();
me.find('img').attr('src', 'minus.png');
me.find('img').attr('src', 'images/minus.png');
} else {
me.nextAll('div,ul').slideUp();
me.find('img').attr('src', 'plus.png');
me.find('img').attr('src', 'images/plus.png');
}
me.toggleClass("folded");
me.toggleClass("unfolded");
......@@ -145,7 +145,7 @@ jQuery.fn.loader = function() {
this.each(function() { // loop over all the selected elements
var me = $(this);
if (me.data("url")) { // modify the element only if it does have a data "url"
me.addClass("foldable").prepend('<img src="plus.png"/>&nbsp;')
me.addClass("foldable").prepend('<img src="images/plus.png"/>&nbsp;')
// wrap the "text" of the element with a clickable span that loads the url
.wrapInner($("<span class='clickable'/>")
.click(function(){ // trigger the loading on click
......@@ -157,7 +157,7 @@ jQuery.fn.loader = function() {
.prev()
.unbind("click") // replace the click handler
.click(foldingAction)
.find('img').attr('src', 'minus.png');
.find('img').attr('src', 'images/minus.png');
}));
return false; // avoid bubbling of the event
}));
......
......@@ -180,7 +180,7 @@ class TestOrganizer :
ul.insert(index,element)
element.set("linkreference",father.get("linkreference")+"/"+cleanBrackets(sonName)+str(fatherLevel))
subSpan = ET.SubElement(element, "span", {"class":"clickable folded"})
subImg = ET.SubElement(subSpan, "img", {"src":"plus.png"})
subImg = ET.SubElement(subSpan, "img", {"src":"images/plus.png"})
subImg.text = sonName+": "
return element
......@@ -209,12 +209,12 @@ class TestOrganizer :
#test
li = ET.SubElement(span, "li", {"class":"test foldable"})
span2 = ET.SubElement(li, "span", {"class":"clickable folded"})
ET.SubElement(span2, "img", {"src":"plus.png"})
ET.SubElement(span2, "img", {"src":"images/plus.png"})
ET.SubElement(span2, "span", { "id":cleanBrackets(testName), "class":"testid"}).text = testName+": "
# direct link
link = ET.SubElement(li, "a", {"class": "permalink", "href": father.get("linkreference")+"//"+cleanBrackets(testName)})
ET.SubElement(link, "img", {"title":"Direct link to the test","src":"link.png"})
ET.SubElement(link, "img", {"title":"Direct link to the test","src":"images/link.png"})
status = testElement.get("Status")
if status in self.status :
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment