]> gitweb.factorcode.org Git - factor.git/commitdiff
websites.concatenative: move container div to page.xml.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 27 Feb 2020 23:11:55 +0000 (15:11 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 27 Feb 2020 23:11:55 +0000 (15:11 -0800)
extra/webapps/pastebin/pastebin-common.xml
extra/webapps/pastebin/pastebin.css
extra/webapps/planet/planet-common.xml
extra/webapps/planet/planet.css
extra/webapps/wiki/wiki-common.xml
extra/webapps/wiki/wiki-contents.css
extra/webapps/wiki/wiki.css
extra/websites/concatenative/page.css
extra/websites/concatenative/page.xml

index 435028ecf7c9f737202e2aea6ac18ff00c45f416..e7a137f5c0c9d28cdead7d650c35bc138641357a 100644 (file)
@@ -6,31 +6,28 @@
 
        <t:style t:include="resource:extra/webapps/pastebin/pastebin.css" />
 
-    <div id="container">
+    <div class="navbar">
 
-        <div class="navbar">
+        <t:a t:href="$pastebin">Pastes</t:a>
+        <t:a t:href="$pastebin/new-paste">New Paste</t:a>
 
-            <t:a t:href="$pastebin">Pastes</t:a>
-            <t:a t:href="$pastebin/new-paste">New Paste</t:a>
+        <t:if t:code="furnace.auth:logged-in?">
 
-            <t:if t:code="furnace.auth:logged-in?">
-
-                <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
-                    <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
-                </t:if>
-
-                <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
+            <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
+                <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
             </t:if>
-            <div style="float: right;">
-                <a href="//factorcode.org"><b>factorcode.org</b></a>
-            </div>
-        </div>
-
-        <div class="page">
-            <h1><t:write-title /></h1>
 
-            <t:call-next-template />
+            <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
+        </t:if>
+        <div style="float: right;">
+            <a href="//factorcode.org"><b>factorcode.org</b></a>
         </div>
+    </div>
+
+    <div class="page">
+        <h1><t:write-title /></h1>
 
+        <t:call-next-template />
     </div>
+
 </t:chloe>
index 2e96ef4f10d3959b47672809b896774e7bb34a7b..94f063cd0b352ed11dbf8f833f84e20f271cabd9 100644 (file)
@@ -1,11 +1,3 @@
-body {
-    margin: 0;
-}
-
-#container {
-    max-width: 1000px;
-}
-
 .page {
     padding-left: 15px;
     padding-right: 15px;
index 81bc022744d5ebd8e429e02b1d7d6d04511f4786..87e1a2f9f9df5560cb468a73bf65b858f1d8f710 100644 (file)
@@ -4,8 +4,6 @@
 
        <t:style t:include="resource:extra/webapps/planet/planet.css" />
 
-    <div id="container">
-
        <div class="navbar">
                <t:a t:href="$planet">Front Page</t:a>
                <t:a t:href="$planet/feed.xml">Atom Feed</t:a>
@@ -29,5 +27,4 @@
         <t:call-next-template />
     </div>
 
-    </div>
 </t:chloe>
index 4679d56540eb07f78ad69138a438ba91b4214933..dff6eb4c459fbabfb9e1b19550133a155befbf9e 100644 (file)
@@ -1,11 +1,3 @@
-body {
-    margin: 0;
-}
-
-#container {
-    max-width: 1000px;
-}
-
 .page {
     padding-left: 15px;
     padding-right: 15px;
index 03f5f7bc30751ac6230dc8669ecfa6f7f5b38cb9..b5325e91a160c485774d26e3137fc8afa4c8c5a3 100644 (file)
@@ -8,68 +8,64 @@
 
        <t:style t:include="resource:extra/webapps/wiki/wiki.css" />
 
-    <div id="container">
+    <div id="left">
 
-        <div id="left">
+        <t:if t:value="contents">
 
-            <t:if t:value="contents">
+            <t:style t:include="resource:extra/webapps/wiki/wiki-contents.css" />
+            <div class="contents">
+                <t:bind t:name="contents">
+                    <h2>
+                        <t:a t:href="$wiki/view" t:rest="title">
+                            <t:label t:name="title" />
+                        </t:a>
+                    </h2>
 
-                <t:style t:include="resource:extra/webapps/wiki/wiki-contents.css" />
-                <div class="contents">
-                    <t:bind t:name="contents">
-                        <h2>
-                            <t:a t:href="$wiki/view" t:rest="title">
-                                <t:label t:name="title" />
-                            </t:a>
-                        </h2>
-
-                        <t:farkup t:name="content" />
-                    </t:bind>
-                </div>
-            </t:if>
-
-        </div>
-
-        <div id="right">
+                    <t:farkup t:name="content" />
+                </t:bind>
+            </div>
+        </t:if>
 
-            <div class="navbar">
+    </div>
 
-                <t:a t:href="$wiki">Front Page</t:a>
-                <t:a t:href="$wiki/articles">All Articles</t:a>
-                <t:a t:href="$wiki/changes">Recent Changes</t:a>
-                <t:a t:href="$wiki/random">Random Article</t:a>
+    <div id="right">
 
-                <t:if t:code="furnace.auth:logged-in?">
+        <div class="navbar">
 
-                    <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
-                        <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
-                    </t:if>
+            <t:a t:href="$wiki">Front Page</t:a>
+            <t:a t:href="$wiki/articles">All Articles</t:a>
+            <t:a t:href="$wiki/changes">Recent Changes</t:a>
+            <t:a t:href="$wiki/random">Random Article</t:a>
 
-                    <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
+            <t:if t:code="furnace.auth:logged-in?">
 
+                <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
+                    <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
                 </t:if>
 
-            </div>
+                <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
 
-            <div class="page">
-                <h1><t:write-title /></h1>
+            </t:if>
 
-                <t:call-next-template />
+        </div>
 
-            </div>
+        <div class="page">
+            <h1><t:write-title /></h1>
 
-            <t:if t:value="footer">
-                <div class="footer">
-                    <t:bind t:name="footer">
-                        <t:farkup t:name="content" />
-                    </t:bind>
-                </div>
-            </t:if>
+            <t:call-next-template />
 
         </div>
 
-        <span style="display:none"></span>
+        <t:if t:value="footer">
+            <div class="footer">
+                <t:bind t:name="footer">
+                    <t:farkup t:name="content" />
+                </t:bind>
+            </div>
+        </t:if>
 
     </div>
 
+    <span style="display:none"></span>
+
 </t:chloe>
index 321c4122694113bd37801505f4d1579c1c7d6e4a..c53dcfff34b72cc12bee3246bcd37ab0b71a0521 100644 (file)
@@ -1,10 +1,10 @@
 #left {
     float: left;
-    width: 180px;
+    width: 200px;
     border-right: 1px solid #ccc;
     background: #f3f2ea;
 }
 
 #right {
-    margin-left: 180px;
+    margin-left: 200px;
 }
index 4ed03ce3bee8471964add7eab5aff72a307ee292..5fa8348b63f88a4c4c3fece0207264c26cf70d1c 100644 (file)
@@ -1,18 +1,9 @@
-body {
-    margin: 0;
-}
-
-#container {
-    margin: 0 auto;
-    width: 100%;
-}
-
 #left {
     width: 0;
 }
 
 #right {
-    max-width: 800px;
+    width: 800px;
 }
 
 .comparison th {
@@ -56,18 +47,17 @@ body {
 }
 
 .contents {
-    font-size: smaller;
+    font-size: 90%;
     margin: 0;
     padding: 0;
     padding-left: 10px;
     padding-right: 10px;
-    line-height: 125%;
 }
 
 .contents ul {
     list-style-type: none;
     margin: 0;
-    padding-left: 10px;
+    padding-left: 20px;
 }
 
 .page {
index 9eb41b0f512906a3c1b86de054a5074377c8dbb7..e72702b9871be4b8d505df40e5b9f0c4b56a9f5a 100644 (file)
@@ -6,6 +6,10 @@ html {
     box-sizing: inherit;
 }
 
+body {
+    margin: 0;
+}
+
 body, button {
     font-size: 12pt;
     font-family: sans-serif;
@@ -31,6 +35,10 @@ a, .link { color: #104e8b; }
 a:link, a:visited, a:active, .link { text-decoration: none; }
 a:hover, .link:hover { text-decoration: underline; }
 
+#container {
+    max-width: 1000px;
+}
+
 .error { color: #a00; }
 
 .errors li { color: #a00; }
index 5f9611c21badcd2b65cfae8f07564dccf7b19ea4..7f490c7d0b2b4f0d0d9dac7a0dd88e1c7bd91d7e 100644 (file)
                        <t:write-atom />
                </head>
 
-               <body>
-                       <t:call-next-template />
+        <body>
+
+            <div id="container">
+            <t:call-next-template />
+            </div>
+
                </body>
 
        </t:chloe>