]> mj.ucw.cz Git - pciids.git/commitdiff
Fix browsing example in help
authorMichal Vaner <vorner@ucw.cz>
Sat, 4 Oct 2008 22:51:04 +0000 (00:51 +0200)
committerMichal Vaner <vorner@ucw.cz>
Sat, 4 Oct 2008 22:51:04 +0000 (00:51 +0200)
help/list
static/common.css
static/screen.css

index 7d4895f65b049cf15992961b5357e139ae9db39a..7c35d9fab7cdaaea19db4efb3f4218d18a3b7733 100644 (file)
--- a/help/list
+++ b/help/list
@@ -38,12 +38,14 @@ an admin), or discussion comments not yet seen by an admin.
 <div class='lmenu'><ul>
        <li><a href='$HELP_URL$newitem'>Add item</a>
        <li><a href='$HELP_URL$newhistory'>Discuss</a>
-       <li><form class='jump' method='POST' action='$HELP_URL$jump'><p><input type='text' class='jump' disabled='disabled'><input type='submit' value='Jump'></form>
 </ul></div>
 <div class='rmenu'><ul>
        <li><a href='$HELP_URL$account'>Log in</a>
 </ul></div>
-<h1>ID 0000</h1>
+<div class='bluesquare-example'>
+<h1>The PCI ID Repository</h1>
+<p class='home'>The home of the pci.ids file
+</div>
 <div class='clear'></div></div>
 <div class='path'><p><a href='$HELP_URL$index'>Main page</a>&nbsp;-&gt;&nbsp<a href='$HELP_URL$index'>Parent</a></div>
 <h2>ID 0000</h2>
index 84cee7fd201b2d2a70894719f17f76793a18b8e1..826e573a8147fd6e484e315f9d7cfce257d562d1 100644 (file)
@@ -53,6 +53,21 @@ div.top p.home
        text-align: center;
        margin: 0 0;
 }
+div.help-example div.bluesquare
+{
+       float: left;
+}
+div.help-example p.home
+{
+       position: absolute;
+       right: 0em;
+       left: 0em;
+}
+div.help-example h1,
+div.help-example p.home
+{
+       text-align: center;
+}
 div.top h1
 {
        margin-top: 0.5ex;
index 71d4950f2b4a0d19d53e48cbe038a586bcb1e721..654973be834416fa247d10e788625500ac5b5d46 100644 (file)
@@ -39,7 +39,7 @@ form.admin table.item tr.label,
 .author, .time
 {
        font-style: italic;
-       color: #444444;
+color: #444444;
 }
 .discussion div p, .admin div p
 {
@@ -48,16 +48,16 @@ form.admin table.item tr.label,
 }
 div.lmenu
 {
-       float: left;
-       width: 20%;
+float: left;
+width: 20%;
 }
 div.rmenu
 {
-       float: right;
-       text-align: right;
-       width: 20%;
-       padding-right: 1em;
-       margin: 0px;
+float: right;
+       text-align: right;
+width: 20%;
+       padding-right: 1em;
+margin: 0px;
 }
 div.bigbluesquare
 {
@@ -70,8 +70,21 @@ div.bluesquare
        top: 1ex;
        width: 60%;
 }
+div.bluesquare-example
+{
+       left: 20%;
+       width: 60%;
+       position: absolute;
+       height: 5em;
+}
+div.help-example div.lmenu,
+div.help-example div.rmenu
+{
+       background: #BBBBFF;
+}
 div.bluesquare,
-div.bigbluesquare
+div.bigbluesquare,
+div.bluesquare-example
 {
        background-color: #4c3bff;
        color: #fffa45;