mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-25 23:51:07 +00:00
Use twisted tags in "deep check and repair results" template
This commit is contained in:
parent
27e5ce090a
commit
842b2b6be5
@ -1,76 +1,76 @@
|
|||||||
<html xmlns:n="http://nevow.com/ns/nevow/0.1">
|
<html xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1">
|
||||||
<head>
|
<head>
|
||||||
<title>Tahoe-LAFS - Deep Check Results</title>
|
<title>Tahoe-LAFS - Deep Check Results</title>
|
||||||
<link href="/tahoe.css" rel="stylesheet" type="text/css"/>
|
<link href="/tahoe.css" rel="stylesheet" type="text/css"/>
|
||||||
<link href="/icon.png" rel="shortcut icon" />
|
<link href="/icon.png" rel="shortcut icon" />
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta n:render="refresh" />
|
<meta t:render="refresh" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h1>Deep-Check-And-Repair Results for root
|
<h1>Deep-Check-And-Repair Results for root
|
||||||
SI=<span n:render="root_storage_index" /></h1>
|
SI=<span t:render="root_storage_index" /></h1>
|
||||||
|
|
||||||
<h2 n:render="reload" />
|
<h2 t:render="reload" />
|
||||||
|
|
||||||
<p>Counters:</p>
|
<p>Counters:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Objects Checked: <span n:render="data" n:data="objects_checked" /></li>
|
<li>Objects Checked: <span t:render="objects_checked" /></li>
|
||||||
|
|
||||||
<li>Objects Healthy (before repair): <span n:render="data" n:data="objects_healthy" /></li>
|
<li>Objects Healthy (before repair): <span t:render="objects_healthy" /></li>
|
||||||
<li>Objects Unhealthy (before repair): <span n:render="data" n:data="objects_unhealthy" /></li>
|
<li>Objects Unhealthy (before repair): <span t:render="objects_unhealthy" /></li>
|
||||||
<li>Corrupt Shares (before repair): <span n:render="data" n:data="corrupt_shares" /></li>
|
<li>Corrupt Shares (before repair): <span t:render="corrupt_shares" /></li>
|
||||||
|
|
||||||
<li>Repairs Attempted: <span n:render="data" n:data="repairs_attempted" /></li>
|
<li>Repairs Attempted: <span t:render="repairs_attempted" /></li>
|
||||||
<li>Repairs Successful: <span n:render="data" n:data="repairs_successful" /></li>
|
<li>Repairs Successful: <span t:render="repairs_successful" /></li>
|
||||||
<li>Repairs Unsuccessful: <span n:render="data" n:data="repairs_unsuccessful" /></li>
|
<li>Repairs Unsuccessful: <span t:render="repairs_unsuccessful" /></li>
|
||||||
|
|
||||||
<li>Objects Healthy (after repair): <span n:render="data" n:data="objects_healthy_post" /></li>
|
<li>Objects Healthy (after repair): <span t:render="objects_healthy_post" /></li>
|
||||||
<li>Objects Unhealthy (after repair): <span n:render="data" n:data="objects_unhealthy_post" /></li>
|
<li>Objects Unhealthy (after repair): <span t:render="objects_unhealthy_post" /></li>
|
||||||
<li>Corrupt Shares (after repair): <span n:render="data" n:data="corrupt_shares_post" /></li>
|
<li>Corrupt Shares (after repair): <span t:render="corrupt_shares_post" /></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div n:render="pre_repair_problems_p">
|
<div t:render="pre_repair_problems_p">
|
||||||
<h2>Files/Directories That Had Problems:</h2>
|
<h2>Files/Directories That Had Problems:</h2>
|
||||||
|
|
||||||
<ul n:render="sequence" n:data="pre_repair_problems">
|
<ul t:render="pre_repair_problems">
|
||||||
<li n:pattern="item" n:render="problem"/>
|
<li t:pattern="item" t:render="problem"/>
|
||||||
<li n:pattern="empty">None</li>
|
<li t:pattern="empty">None</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div n:render="post_repair_problems_p">
|
<div t:render="post_repair_problems_p">
|
||||||
<h2>Files/Directories That Still Have Problems:</h2>
|
<h2>Files/Directories That Still Have Problems:</h2>
|
||||||
<ul n:render="sequence" n:data="post_repair_problems">
|
<ul t:render="post_repair_problems">
|
||||||
<li n:pattern="item" n:render="problem"/>
|
<li t:pattern="item" t:render="problem"/>
|
||||||
<li n:pattern="empty">None</li>
|
<li t:pattern="empty">None</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div n:render="servers_with_corrupt_shares_p">
|
<div t:render="servers_with_corrupt_shares_p">
|
||||||
<h2>Servers on which corrupt shares were found</h2>
|
<h2>Servers on which corrupt shares were found</h2>
|
||||||
<ul n:render="sequence" n:data="servers_with_corrupt_shares">
|
<ul t:render="servers_with_corrupt_shares">
|
||||||
<li n:pattern="item" n:render="server_problem"/>
|
<li t:pattern="item" t:render="server_problem"/>
|
||||||
<li n:pattern="empty">None</li>
|
<li t:pattern="empty">None</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div n:render="remaining_corrupt_shares_p">
|
<div t:render="remaining_corrupt_shares_p">
|
||||||
<h2>Remaining Corrupt Shares</h2>
|
<h2>Remaining Corrupt Shares</h2>
|
||||||
<p>These shares need to be manually inspected and removed.</p>
|
<p>These shares need to be manually inspected and removed.</p>
|
||||||
<ul n:render="sequence" n:data="post_repair_corrupt_shares">
|
<ul t:render="post_repair_corrupt_shares">
|
||||||
<li n:pattern="item" n:render="share_problem"/>
|
<li t:pattern="item" t:render="share_problem"/>
|
||||||
<li n:pattern="empty">None</li>
|
<li t:pattern="empty">None</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div n:render="return" />
|
<div t:render="return" />
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<table n:render="sequence" n:data="all_objects">
|
<table t:render="all_objects">
|
||||||
<tr n:pattern="header">
|
<tr t:pattern="header">
|
||||||
<td>Relative Path</td>
|
<td>Relative Path</td>
|
||||||
<td>Healthy Pre-Repair</td>
|
<td>Healthy Pre-Repair</td>
|
||||||
<td>Recoverable Pre-Repair</td>
|
<td>Recoverable Pre-Repair</td>
|
||||||
@ -78,18 +78,18 @@
|
|||||||
<td>Storage Index</td>
|
<td>Storage Index</td>
|
||||||
<td>Summary</td>
|
<td>Summary</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr n:pattern="item" n:render="object">
|
<tr t:pattern="item" t:render="object">
|
||||||
<td><n:slot name="path"/></td>
|
<td><t:slot name="path"/></td>
|
||||||
<td><n:slot name="healthy_pre_repair"/></td>
|
<td><t:slot name="healthy_pre_repair"/></td>
|
||||||
<td><n:slot name="recoverable_pre_repair"/></td>
|
<td><t:slot name="recoverable_pre_repair"/></td>
|
||||||
<td><n:slot name="healthy_post_repair"/></td>
|
<td><t:slot name="healthy_post_repair"/></td>
|
||||||
<td><n:slot name="storage_index"/></td>
|
<td><t:slot name="storage_index"/></td>
|
||||||
<td><n:slot name="summary"/></td>
|
<td><t:slot name="summary"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div n:render="runtime" />
|
<div t:render="runtime" />
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user