Changeset dd1936e55bc541f03809c8bf11fbfab899af0858
- Timestamp:
- 04/03/09 19:46:01
(4 years ago)
- Author:
- Mark Harrison <mark@omniti.com>
- git-committer:
- Mark Harrison <mark@omniti.com> 1238787961 +0000
- git-parent:
[ee6ea773c15427802fe2e4f57bcb9adcf8a5d162]
- git-author:
- Mark Harrison <mark@omniti.com> 1238787961 +0000
- Message:
Make the size of the resmon blocks much smaller
git-svn-id: https://labs.omniti.com/resmon/trunk@183 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| re9ca000 |
rdd1936e |
|
| 162 | 162 | item <xsl:value-of select="state" /> |
|---|
| 163 | 163 | </xsl:attribute> |
|---|
| | 164 | <ul class="info"> |
|---|
| | 165 | <li>Time taken for last check: |
|---|
| | 166 | <xsl:value-of select="last_runtime_seconds" /></li> |
|---|
| | 167 | <li>Last updated: |
|---|
| | 168 | <xsl:value-of select="last_update" /></li> |
|---|
| | 169 | </ul> |
|---|
| 164 | 170 | <h1> |
|---|
| 165 | 171 | <a> |
|---|
| … | … | |
| 182 | 188 | <xsl:value-of select="message" /> |
|---|
| 183 | 189 | </h2> |
|---|
| 184 | | <ul> |
|---|
| 185 | | <li>Time taken for last check: |
|---|
| 186 | | <xsl:value-of select="last_runtime_seconds" /></li> |
|---|
| 187 | | <li>Last updated: |
|---|
| 188 | | <xsl:value-of select="last_update" /></li> |
|---|
| 189 | | </ul> |
|---|
| 190 | | <h2>Configuration</h2> |
|---|
| 191 | | <table> |
|---|
| 192 | | <tr> |
|---|
| 193 | | <th>Name</th> |
|---|
| 194 | | <th>Value</th> |
|---|
| 195 | | </tr> |
|---|
| 196 | | <xsl:for-each select="configuration/*"> |
|---|
| | 190 | <a class="config" href="#"> |
|---|
| | 191 | Hover to view configuration... |
|---|
| | 192 | <table> |
|---|
| 197 | 193 | <tr> |
|---|
| 198 | | <td><xsl:value-of select="name(.)" /></td> |
|---|
| 199 | | <td><xsl:value-of select="." /></td> |
|---|
| | 194 | <th>Name</th> |
|---|
| | 195 | <th>Value</th> |
|---|
| 200 | 196 | </tr> |
|---|
| 201 | | </xsl:for-each> |
|---|
| 202 | | </table> |
|---|
| | 197 | <xsl:for-each select="configuration/*"> |
|---|
| | 198 | <tr> |
|---|
| | 199 | <td><xsl:value-of select="name(.)" /></td> |
|---|
| | 200 | <td><xsl:value-of select="." /></td> |
|---|
| | 201 | </tr> |
|---|
| | 202 | </xsl:for-each> |
|---|
| | 203 | </table> |
|---|
| | 204 | </a> |
|---|
| 203 | 205 | </div> |
|---|
| 204 | 206 | </xsl:for-each> |
|---|
| … | … | |
| 231 | 233 | margin: 2em; |
|---|
| 232 | 234 | background-color: #eeeeee; |
|---|
| | 235 | } |
|---|
| | 236 | |
|---|
| | 237 | a.config { |
|---|
| | 238 | color: black; |
|---|
| | 239 | } |
|---|
| | 240 | |
|---|
| | 241 | a.config:visited { |
|---|
| | 242 | color: black; |
|---|
| | 243 | } |
|---|
| | 244 | |
|---|
| | 245 | a.config table { |
|---|
| | 246 | display: none |
|---|
| | 247 | } |
|---|
| | 248 | |
|---|
| | 249 | a.config:hover table { |
|---|
| | 250 | /*display: table;*/ |
|---|
| | 251 | display: block; |
|---|
| | 252 | position: fixed; |
|---|
| | 253 | top: 1em; |
|---|
| | 254 | right: 1em; |
|---|
| | 255 | } |
|---|
| | 256 | |
|---|
| | 257 | .info { |
|---|
| | 258 | float: right; |
|---|
| | 259 | font-size: 80%; |
|---|
| | 260 | padding: 0; |
|---|
| | 261 | margin: 0; |
|---|
| 233 | 262 | } |
|---|
| 234 | 263 | |
|---|