chiark / gitweb /
Useability enhancesments and spelling fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 31 Oct 2009 20:18:13 +0000 (20:18 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 31 Oct 2009 20:18:13 +0000 (20:18 +0000)
yarrg/web/docshead
yarrg/web/intro
yarrg/web/lookup
yarrg/web/navbar
yarrg/web/style.css

index 7b7dd1c58322b37de2dbbe4ea635669b6fab6498..66e393d86c7a45f521c5fa9fd8fd78e397209b7c 100644 (file)
@@ -1,8 +1,18 @@
+<%method head>
 <html lang="en"><head>
 <title>YARRG (Yet Another Revenue Research Gatherer)</title>
 <html lang="en"><head>
 <title>YARRG (Yet Another Revenue Research Gatherer)</title>
-<link rel="stylesheet" type="text/css" href="style.css">
-</head><body>
+</%method>
+
+<%method style>
+<style type="text/css">
+<& style.css &>
+  body { margin: 0; color: #000000; background: #ffffff; }
+</style>
+</%method>
 
 
+<& SELF:head &>
+<& SELF:style &>
+</head><body>
 <div class="navoptbar">
 <& navbar &>
 </div>
 <div class="navoptbar">
 <& navbar &>
 </div>
index e0c47f0171d5a1f3768a7f7d94a7efdbc25e2ded..12a0d3e24b6ee2e962d7f38c16306c8a80780f96 100755 (executable)
 
 
 </%doc>
 
 
 </%doc>
-<& docshead &>
-<h1>Introduction to YARRG</h1>
+<& docshead:head &>
+<style type="text/css">
+<& style.css &>
+  body { margin: 0; color: #000000; background: #c5c7ae; }
+  div.emph {
+     margin-left: 1em; padding-left: 1em; padding-top: 0.01em;
+     margin-right: 1em; padding-right: 1em; padding-bottom: 0.05em;
+     background: #ffffff;
+  }
+</style>
+<div class="navoptbar">
+<& navbar &>
+</div>
+<div class="docs">
+
+<h1>Guide to YARRG</h1>
 
 YARRG (Yet Another Revenue Research Gatherer) is a third-party tool
 for helping find profitable trades and trade routes in Yohoho Puzzle
 
 YARRG (Yet Another Revenue Research Gatherer) is a third-party tool
 for helping find profitable trades and trade routes in Yohoho Puzzle
@@ -51,7 +65,6 @@ prices and good trade routes.
 
 <p>
 
 
 <p>
 
-</div>
 <div class="emph">
 <h2>Quick start for experts</h2>
 
 <div class="emph">
 <h2>Quick start for experts</h2>
 
@@ -82,11 +95,10 @@ for details.
 <p>
 
 You will also probably at some point want to read the
 <p>
 
 You will also probably at some point want to read the
-<a href="docs">Documentation</a> which covers some features of the
-website which you might not guess just from using it.
+<a href="docs">Documentation for Experts</a> which covers some
+features of the website which you might not guess just from using it.
 
 </div>
 
 </div>
-<div class="docs">
 
 <h2>How to use the YARRG website</h2>
 
 
 <h2>How to use the YARRG website</h2>
 
@@ -152,7 +164,7 @@ archipelago twice you'll get trades within that archipelago.
 
 <p> 
 
 
 <p> 
 
-<b>For pirates wanting to sell or buy a specific comodity</b> prices for
+<b>For pirates wanting to sell or buy a specific commodity</b> prices for
 commodity returns the best buy and sell prices for the selected
 commodity at each island where trades are available.  Type (or select
 from a menu) the name of one commodity at a time.  This is useful for
 commodity returns the best buy and sell prices for the selected
 commodity at each island where trades are available.  Type (or select
 from a menu) the name of one commodity at a time.  This is useful for
@@ -165,7 +177,7 @@ the best price.
 
 <p>
 
 
 <p>
 
-<b>For pirates wanting more details about comodity prices at specified
+<b>For pirates wanting more details about commodity prices at specified
 locations.</b> Offers at location returns all the offers to buy and sell
 wood at the selected location(s). Type (or select) a commodity and the
 islands (or achipelagos) you are interested in.  This is useful when
 locations.</b> Offers at location returns all the offers to buy and sell
 wood at the selected location(s). Type (or select) a commodity and the
 islands (or achipelagos) you are interested in.  This is useful when
@@ -178,7 +190,7 @@ what the others offers are like.
 
 <p>
 
 
 <p>
 
-<b>For pirates just wanting to make some poe moving comodities about.</b> Find
+<b>For pirates just wanting to make some poe moving commodities about.</b> Find
 Profitable Route finds you a profitable trading route: first select
 either "open-ended" (which might take you anywhere) or "circular"
 (which takes you back to where you started) then type (or select) your
 Profitable Route finds you a profitable trading route: first select
 either "open-ended" (which might take you anywhere) or "circular"
 (which takes you back to where you started) then type (or select) your
@@ -253,7 +265,7 @@ for searching the data.
 You can't trade more than fits in your hold.  If you don't say
 anything YARRG assumes that you have infinite hold space (perhaps you
 will go over the route many times).  You can enter a ship-type, a mass
 You can't trade more than fits in your hold.  If you don't say
 anything YARRG assumes that you have infinite hold space (perhaps you
 will go over the route many times).  You can enter a ship-type, a mass
-or a volume; additionally you can subtract quantities of comodities
+or a volume; additionally you can subtract quantities of commodities
 from a ship-type (for instance 'sloop - 10 grog' gives the capacity of
 a sloop that has 10 grog already on board); click the ? by this field
 to get a full description of permitted entries here.
 from a ship-type (for instance 'sloop - 10 grog' gives the capacity of
 a sloop that has 10 grog already on board); click the ? by this field
 to get a full description of permitted entries here.
@@ -309,7 +321,7 @@ Javascript magic: when you type things into the text entry fields
 YARRG will try to guess what you meant.  If you pause for a moment then
 beneath the text entry field you'll see what YARRG thinks you meant.
 If it's got it correct you don't have to type any more of that
 YARRG will try to guess what you meant.  If you pause for a moment then
 beneath the text entry field you'll see what YARRG thinks you meant.
 If it's got it correct you don't have to type any more of that
-comodity/island name: just go on to the next one.
+commodity/island name: just go on to the next one.
 
 <p>
 
 
 <p>
 
@@ -335,6 +347,7 @@ YARRG data (perhaps you don't like our colour choices)
 Email Ian Jackson ijackson (at) chiark.greenend.org.uk.  Or talk to
 any Fleet Officer or above of the crew Special Circumstances on the
 Midnight Ocean.
 Email Ian Jackson ijackson (at) chiark.greenend.org.uk.  Or talk to
 any Fleet Officer or above of the crew Special Circumstances on the
 Midnight Ocean.
+<p>
 
 </div>
 <& footer &>
 
 </div>
 <& footer &>
index 6fc1cd76e0cafa0d93da1ce9c8d3037f1254616b..eb9f53d815d9825ff56b265bac60c5b766507e31 100755 (executable)
@@ -129,7 +129,7 @@ $ours
 <html lang="en"><head><title><% ucfirst $ahtml{Query} %> - YARRG</title>
 <style type="text/css">
 <& style.css &>
 <html lang="en"><head><title><% ucfirst $ahtml{Query} %> - YARRG</title>
 <style type="text/css">
 <& style.css &>
-  body { color: #000000; background: #c5c7ae; }
+  body { margin: 0; color: #000000; background: #c5c7ae; }
   div.query { background: #d7d8b3; padding: 1em; }
   div.results { padding: 1em; }
   table.data { background: #b5b686; }
   div.query { background: #d7d8b3; padding: 1em; }
   div.results { padding: 1em; }
   table.data { background: #b5b686; }
index 1b6ed81b0edd3ebab0d9c6744fba05ad1cd916d8..5ac10008f2b7aad695f73f6679565ed184aafcdb 100644 (file)
@@ -3,9 +3,9 @@
 <%perl>
 
 $_= <<END;
 <%perl>
 
 $_= <<END;
-intro  introduction
+intro  user guide
 upload uploading
 upload uploading
-docs   documentation
+docs   experts' docs
 devel  development
 END
 
 devel  development
 END
 
index aca398a4bad9810cc108f2d480f17fb5a2a9a85e..858dcb9f9d3b056ad59ec05e6df14e6cfb84fc21 100755 (executable)
@@ -41,9 +41,10 @@ $r->content_type('text/css')
   if $m->callers(-1) == $m->callers(0);
 </%init>
 
   if $m->callers(-1) == $m->callers(0);
 </%init>
 
-  body { margin: 0; color: #000000; background: #ffffff; }
   div.navoptbar { padding: 1em; background: #e0e0ff; }
   div.navoptbar { padding: 1em; background: #e0e0ff; }
-  div.emph { padding: 1em; background: #c5c7ae; }
   address { background: #d7d8b3; padding: 1em; }
   address { background: #d7d8b3; padding: 1em; }
-  div.docs { padding: 1em; }
+  div.docs {
+     padding-left: 1em; padding-top: 0.15em;
+     padding-right: 1em; padding-bottom: 0.15em;
+  }
   hr { display: none; }
   hr { display: none; }