Commits

gao shuai  committed fde632a

redesign UI

  • Participants
  • Parent commits b32f093

Comments (0)

Files changed (4)

File static/main.css

 
 legend {
 	color:#06c;
+	margin:20px 10px;
+	font-weight:800;
+	background:#fff;
+	border:#b6b6b6 solid 1px;
+	padding:3px 6px;
+}
+fieldset {
+	color:#06c;
+	margin:40px 40px;
 	font-weight:800;
 	background:#fff;
 	border:#b6b6b6 solid 1px;

File tpl/admin.html

       </ul>
     </div>
     <div id="collectionurls">
-      <ul>
-        <li class="c1">{% for COLLECTION in COLLECTIONS %}
-        </li>
+
+        {% for COLLECTION in COLLECTIONS %}
+
         <li>{{COLLECTION.url}}
         </li>
-        <li class="c1">
+        
           <div id="pageurls">
-            <ul>
-              <li class="c1">{% for WORD in COLLECTION.content_set %} {% ifequal COLLECTION.url "default" %}
-              </li>
+            
+              {% for WORD in COLLECTION.content_set %} {% ifequal COLLECTION.url "default" %}
+              
               <li>
                 <a href="/{{WORD.url}}?mod=true">{{WORD.title}}</a>
               </li>
-              <li class="c1">{% endifequal %} {% ifnotequal COLLECTION.url "default" %}
-              </li>
+              {% endifequal %} {% ifnotequal COLLECTION.url "default" %}
+              
               <li>
                 <a href="/{{COLLECTION.url}}/{{WORD.url}}?mod=true">{{WORD.title}}</a>
               </li>
-              <li class="c1">{% endifnotequal %} {% endfor %}
-              </li>
-            </ul>
+              {% endifnotequal %} {% endfor %}
+              
+           
           </div>{% endfor %}
-        </li>
-      </ul>
+        
+      
     </div>{% include 'footer.html' %}
   </body>
 </html>

File tpl/collectionpage.html

   </head>
   <body>
       {% include 'seo.html' %} {% include 'header.html' %}
-    <div id="collectionurls">
-      <ul>
-        <li class="c1">
-          <h2>
+    <div id="pageurls">
+      
+          <h1>
             {{COLLECTION.url}}
-          </h2>{% for WORD in COLLECTION.content_set %}
-        </li>
+          </h1>
+		{% for WORD in COLLECTION.content_set %}
+
         <li>
           <a href="/{{COLLECTION.url}}/{{WORD.url}}">{{WORD.title}}</a>
         </li>
-        <li class="c1">{% endfor %}
-        </li>
-      </ul>
+        {% endfor %}
+
+
     </div>
   </body>
 </html>

File tpl/mainpage.html

   <body>
     {% include 'seo.html' %} {% include 'header.html' %}
     <div id="pageurls">
-	<ul>
+
       {% for PAGE in DEFAULT.content_set %}
       <li>
         <a href="/{{PAGE.url}}">{{PAGE.title}}</a>
       </li>{% endfor %}
-	</ul>
+
     </div>
     <div id="collectionurls">
-	<ul>
+
       {% for COLLECTION in COLLECTIONS %}
       <li>
         <a href="/__{{COLLECTION.url}}">{{COLLECTION.url}}</a>
       </li>{% endfor %}
-	  </ul>
+
     </div>{% include 'footer.html' %}
   </body>
 </html>