From 35d3671f4efe8f7b9c90cb5fc879f70a5a626c9a Mon Sep 17 00:00:00 2001
From: Kevin Reid <kpreid@mac.com>
Date: Sun, 3 May 2009 13:25:33 -0700
Subject: [PATCH] Link all Tahoe web pages to the /tahoe_css stylesheet which
 already exists.

---
 .../web/check-and-repair-results.xhtml          |  3 +--
 src/allmydata/web/check-results.xhtml           |  3 +--
 .../web/deep-check-and-repair-results.xhtml     |  3 +--
 src/allmydata/web/deep-check-results.xhtml      |  3 +--
 src/allmydata/web/directory.xhtml               | 16 ++++++----------
 src/allmydata/web/download-status.xhtml         |  3 +--
 src/allmydata/web/helper.xhtml                  |  3 +--
 src/allmydata/web/info.xhtml                    | 17 +++++++----------
 src/allmydata/web/literal-check-results.xhtml   |  3 +--
 src/allmydata/web/manifest.xhtml                |  3 +--
 src/allmydata/web/map-update-status.xhtml       |  3 +--
 src/allmydata/web/provisioning.xhtml            |  3 +--
 src/allmydata/web/publish-status.xhtml          |  3 +--
 src/allmydata/web/reliability.xhtml             |  3 +--
 src/allmydata/web/rename-form.xhtml             |  3 +--
 src/allmydata/web/retrieve-status.xhtml         |  3 +--
 src/allmydata/web/statistics.xhtml              |  3 +--
 src/allmydata/web/status.xhtml                  |  3 +--
 src/allmydata/web/upload-results.xhtml          |  3 +--
 src/allmydata/web/upload-status.xhtml           |  3 +--
 src/allmydata/web/welcome.xhtml                 | 15 ++++++---------
 21 files changed, 37 insertions(+), 65 deletions(-)

diff --git a/src/allmydata/web/check-and-repair-results.xhtml b/src/allmydata/web/check-and-repair-results.xhtml
index 93219590..259eab0f 100644
--- a/src/allmydata/web/check-and-repair-results.xhtml
+++ b/src/allmydata/web/check-and-repair-results.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Check Results</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/check-results.xhtml b/src/allmydata/web/check-results.xhtml
index 0f43b9d7..2ec0f114 100644
--- a/src/allmydata/web/check-results.xhtml
+++ b/src/allmydata/web/check-results.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Check Results</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/deep-check-and-repair-results.xhtml b/src/allmydata/web/deep-check-and-repair-results.xhtml
index fac98855..3724d169 100644
--- a/src/allmydata/web/deep-check-and-repair-results.xhtml
+++ b/src/allmydata/web/deep-check-and-repair-results.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Deep Check Results</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <meta n:render="refresh" />
diff --git a/src/allmydata/web/deep-check-results.xhtml b/src/allmydata/web/deep-check-results.xhtml
index 18f41cac..8c4fb931 100644
--- a/src/allmydata/web/deep-check-results.xhtml
+++ b/src/allmydata/web/deep-check-results.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Deep Check Results</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <meta n:render="refresh" />
diff --git a/src/allmydata/web/directory.xhtml b/src/allmydata/web/directory.xhtml
index db74d06d..e167aeba 100644
--- a/src/allmydata/web/directory.xhtml
+++ b/src/allmydata/web/directory.xhtml
@@ -1,13 +1,9 @@
-<html xmlns:n="http://nevow.com/ns/nevow/0.1">
-  <head>
-    <title n:render="title"></title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
-    <link href="/webform_css" rel="stylesheet" type="text/css"/>
-    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  </head>
-  <body>
+<html xmlns:n="http://nevow.com/ns/nevow/0.1"><head>
+  <title n:render="title"></title>
+  <link href="/webform_css" rel="stylesheet" type="text/css"/>
+  <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+</head><body class="tahoe-directory-page">
 
 <h2 n:render="header"></h2>
 
diff --git a/src/allmydata/web/download-status.xhtml b/src/allmydata/web/download-status.xhtml
index b782abc6..da029e6f 100644
--- a/src/allmydata/web/download-status.xhtml
+++ b/src/allmydata/web/download-status.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - File Download Status</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/helper.xhtml b/src/allmydata/web/helper.xhtml
index f5c9e298..0f80d5fe 100644
--- a/src/allmydata/web/helper.xhtml
+++ b/src/allmydata/web/helper.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>Helper Status - AllMyData Tahoe</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/info.xhtml b/src/allmydata/web/info.xhtml
index 3392e2c0..a2098879 100644
--- a/src/allmydata/web/info.xhtml
+++ b/src/allmydata/web/info.xhtml
@@ -1,13 +1,10 @@
-<html xmlns:n="http://nevow.com/ns/nevow/0.1">
-  <head>
-    <title n:render="title"></title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
-    <link href="/webform_css" rel="stylesheet" type="text/css"/>
-    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  </head>
-  <body>
+<html xmlns:n="http://nevow.com/ns/nevow/0.1"><head>
+  <title n:render="title"></title>
+  <!-- <link href="http://www.allmydata.com/common/css/styles.css"
+        rel="stylesheet" type="text/css"/> -->
+  <link href="/webform_css" rel="stylesheet" type="text/css"/>
+  <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
 <h2 n:render="header"></h2>
 
diff --git a/src/allmydata/web/literal-check-results.xhtml b/src/allmydata/web/literal-check-results.xhtml
index 4e4aad67..12a6635a 100644
--- a/src/allmydata/web/literal-check-results.xhtml
+++ b/src/allmydata/web/literal-check-results.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Check Results</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/manifest.xhtml b/src/allmydata/web/manifest.xhtml
index 560ca933..ffc86b9a 100644
--- a/src/allmydata/web/manifest.xhtml
+++ b/src/allmydata/web/manifest.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title n:render="title"></title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <meta n:render="refresh" />
diff --git a/src/allmydata/web/map-update-status.xhtml b/src/allmydata/web/map-update-status.xhtml
index 9a354487..2c9aa9f8 100644
--- a/src/allmydata/web/map-update-status.xhtml
+++ b/src/allmydata/web/map-update-status.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Mutable File Servermap Update Status</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/provisioning.xhtml b/src/allmydata/web/provisioning.xhtml
index f135d61b..36b6acc2 100644
--- a/src/allmydata/web/provisioning.xhtml
+++ b/src/allmydata/web/provisioning.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Provisioning Tool</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/publish-status.xhtml b/src/allmydata/web/publish-status.xhtml
index cb089ee2..50472188 100644
--- a/src/allmydata/web/publish-status.xhtml
+++ b/src/allmydata/web/publish-status.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Mutable File Publish Status</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/reliability.xhtml b/src/allmydata/web/reliability.xhtml
index 343a343d..ad3b091a 100644
--- a/src/allmydata/web/reliability.xhtml
+++ b/src/allmydata/web/reliability.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Reliability Tool</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/rename-form.xhtml b/src/allmydata/web/rename-form.xhtml
index 1de951d4..86de5c9d 100644
--- a/src/allmydata/web/rename-form.xhtml
+++ b/src/allmydata/web/rename-form.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title n:render="title"></title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/src/allmydata/web/retrieve-status.xhtml b/src/allmydata/web/retrieve-status.xhtml
index 52a7b180..dba55c40 100644
--- a/src/allmydata/web/retrieve-status.xhtml
+++ b/src/allmydata/web/retrieve-status.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Mutable File Retrieve Status</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/statistics.xhtml b/src/allmydata/web/statistics.xhtml
index bbd7c184..1b89dc9c 100644
--- a/src/allmydata/web/statistics.xhtml
+++ b/src/allmydata/web/statistics.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>Stats - AllMyData Tahoe</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/status.xhtml b/src/allmydata/web/status.xhtml
index 4c478b97..94e5bed5 100644
--- a/src/allmydata/web/status.xhtml
+++ b/src/allmydata/web/status.xhtml
@@ -1,9 +1,8 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - Current Uploads/Downloads</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
   <body>
diff --git a/src/allmydata/web/upload-results.xhtml b/src/allmydata/web/upload-results.xhtml
index 8c6000f1..0d73f628 100644
--- a/src/allmydata/web/upload-results.xhtml
+++ b/src/allmydata/web/upload-results.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - File Uploaded</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/upload-status.xhtml b/src/allmydata/web/upload-status.xhtml
index 67487586..c620ce3e 100644
--- a/src/allmydata/web/upload-status.xhtml
+++ b/src/allmydata/web/upload-status.xhtml
@@ -1,8 +1,7 @@
 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
   <head>
     <title>AllMyData - Tahoe - File Upload Status</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
+    <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
     <link href="/webform_css" rel="stylesheet" type="text/css"/>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/src/allmydata/web/welcome.xhtml b/src/allmydata/web/welcome.xhtml
index 2b8c7ad1..69da82e2 100644
--- a/src/allmydata/web/welcome.xhtml
+++ b/src/allmydata/web/welcome.xhtml
@@ -1,12 +1,9 @@
-<html xmlns:n="http://nevow.com/ns/nevow/0.1">
-  <head>
-    <title>AllMyData - Tahoe</title>
-    <!-- <link href="http://www.allmydata.com/common/css/styles.css"
-          rel="stylesheet" type="text/css"/> -->
-    <link href="/webform_css" rel="stylesheet" type="text/css"/>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  </head>
-  <body>
+<html xmlns:n="http://nevow.com/ns/nevow/0.1"><head>
+  <title>AllMyData - Tahoe - Welcome</title>
+  <link href="/webform_css" rel="stylesheet" type="text/css"/>
+  <link href="/tahoe_css" rel="stylesheet" type="text/css"/>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+</head><body>
 
 <h1>Welcome To AllMyData "Tahoe"!</h1>
 
-- 
2.45.2