Commits

gao shuai  committed d665712

css deal with

  • Participants
  • Parent commits b488e26

Comments (0)

Files changed (2)

+{{CONTENT.content}}

File tpl/modcss.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf8" />
+    <title>
+      后台
+    </title>
+    <link href="/static/main.css" rel="stylesheet" type="text/css" media="all" />
+  </head>
+  <body>
+    {% include 'seo.html' %} {% include 'header.html' %} 
+    <div>
+      <fieldset>
+        <legend>↓编辑CSS↓</legend>
+        <form action="/admin/addormodcss" method="post">
+		  {% for C in COLLECTIONS %} 
+		  <input type="radio" name='examkey' {% ifequal C.url COLLECTION.url %} checked="checked" {% endifequal %}value="{{C.key}}" /> <a href="/__{{C.url}}">{{C.url}}</a>
+		  <br />
+          {% endfor %}
+		<br />content<br />
+            <textarea rows="5" cols="40" name='content'>{{CONTENT.content|escape}}</textarea>
+
+          <br />url<br /><input type="text" name='url' value="{{CONTENT.url}}"/>
+
+		  <input type="hidden" name='contentkey'  value="{{CONTENT.key}}" />
+          <input type="submit" value="提交" />
+        </form>
+      </fieldset><br />
+    </div>
+
+{% include 'footer.html' %}
+  </body>
+</html>