Changeset 741


Ignore:
Timestamp:
03/24/13 22:47:32 (9 years ago)
Author:
ramonb
Message:

styles.css,
templates/overview.tpl,
overview.php:

  • added fake ajax loader to: rjqj graph and overview rrd's
Location:
branches/0.4/web/addons/job_monarch
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/overview.php

    r739 r741  
    888888
    889889        $rjqj_str  = "<A HREF=\"./graph.php$rjqj_graphargs\">";
    890         $rjqj_str .= "<IMG BORDER=0 SRC=\"./graph.php$rjqj_graphargs\">";
     890        $rjqj_str .= "<IMG BORDER=0 SRC=\"./graph.php$rjqj_graphargs\" WIDTH=381 HEIGHT=137>";
    891891        $rjqj_str .= "</A>";
    892892
     
    11431143                    $cell    = "<td class=$class>".  "<b><a href=$host_link>$host</a></b><br>".  "<i>$metricname:</i> <b>$textval</b></td>";
    11441144                } else {
    1145                     $cell    = "<td><a href=\"$host_link\">" . "<img src=\"./graph.php?$graphargs\" " . "alt=\"$host\" border=0></a></td>";
     1145                    $cell    = "<TD><DIV ID=\"monarchimage\"><A HREF=\"$host_link\">" . "<IMG SRC=\"./graph.php?$graphargs\" " . "ALT=\"$host\" BORDER=0  WIDTH=381 HEIGHT=148></A></DIV></TD>";
    11461146                }
    11471147
  • branches/0.4/web/addons/job_monarch/styles.css

    r240 r741  
    1 /* The Ganglia Web-frontend Cascading Style Sheet. */
     1#monarchimage img {
     2    background-color:#FFF;
     3    background-image:url(ajax-loader.gif);
     4    background-repeat:no-repeat;
     5    background-position: center center;
     6}
    27
    38A:link
  • branches/0.4/web/addons/job_monarch/templates/overview.tpl

    r735 r741  
    132132
    133133<BR>
     134<div id="monarchimage">
    134135{rjqj_graph}
     136</div>
    135137
    136138  <TD ALIGN="CENTER"><CENTER>
    137139<!-- INCLUDESCRIPT BLOCK : ci_script -->
     140    <div id="monarchimage">
    138141    <IMG SRC="{clusterimage}" USEMAP="#MONARCH_CLUSTER_BIG" BORDER="0">
     142    </div>
    139143    <MAP NAME="MONARCH_CLUSTER_BIG">
    140144<!-- START BLOCK : node_clustermap -->
Note: See TracChangeset for help on using the changeset viewer.