Source

wdcms / tpl / admin.html

Full commit
<!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" />
    <style type="text/css">
/*<![CDATA[*/
    li.c1 {list-style: none}
    /*]]>*/
    </style>
  </head>
  <body>
    {% include 'seo.html' %} {% include 'header.html' %}
<div style="float:left; width=20%;">
    <fieldset>
        <legend>↓编辑HTML/CSS↓</legend>
  {% for COLLECTION in COLLECTIONS %}

    <fieldset>
        <legend><a href="/__{{COLLECTION.url}}">{{COLLECTION.url}}</a></legend>

				{% for WORD in COLLECTION.content_set %}
				<li class="links">
				  <a href="/{{COLLECTION.url}}/{{WORD.url}}?mod=true">{{WORD.title}}</a>
				</li>
					  <form action="/admin"  method="post">
					  <input type="hidden" name='delitem' value="{{WORD.key}}" />
					  <input type="submit" value="del" />
					  </form>
				{% endfor %}
    </fieldset>

	  {% endfor %}
		<div id="explain">
		<p>说明</p>
		</div>
	 </fieldset>
</div>
    <div style="float:left;width=20%;">
      <fieldset>
        <legend>↓增加HTML↓</legend>
        <form action="/admin/addormodhtml" method="post">
          <br />COLLECTION <br />{% for COLLECTION in COLLECTIONS %} <input type="radio" name='examkey' {% ifequal COLLECTION.url 'default' %} checked="checked" {% endifequal  %}
          value="{{COLLECTION.key}}" /> <a href="/__{{COLLECTION.url}}">{{COLLECTION.url}}</a><br />
          {% endfor %}
          <br />url<br /><input type="text" name='url' /><br />
          <input type="checkbox" name='header' checked="checked" value="true" />header<br />
          <input type="checkbox" name='footer' checked="checked" value="true" />footer<br />
		  <br />title<br /><input type="text" name='title' />
          <div>
            <br />head<br /><textarea rows="5" cols="30" name='head'>
</textarea> 
            <br />body<br /><textarea rows="10" cols="30" name='content'>
</textarea>
          </div>
          <input type="submit" value="提交" />
        </form>
		<div id="explain">
<pre>
说明:
	header 页面上方的导航栏
	footer 页面下方的版权说明

</pre>
		</div>
      </fieldset><br />
    </div>
	<div style="float:left;width=20%;">
      <fieldset>
        <legend>↓增加CSS↓</legend>
        <form action="/admin/addormodcss" method="post">
          <br />COLLECTION <br />{% for COLLECTION in COLLECTIONS %} <input type="radio" name='examkey' {% ifequal COLLECTION.url 'default' %} checked="checked" {% endifequal  %}
          value="{{COLLECTION.key}}" /> <a href="/__{{COLLECTION.url}}">{{COLLECTION.url}}</a><br />
          {% endfor %}
          <br />url<br /><input type="text" name='url' />
            <br />content <br /><textarea rows="20" cols="30" name='content'>
</textarea><br />

          <input type="submit" value="提交" />
        </form>
		<div id="explain">
		<p>说明</p>
		</div>
      </fieldset><br />
    </div>
	<div style="float:left;width=20%;">
      <fieldset>
        <legend>↓增加JS↓</legend>
        <form action="/admin/addormodjs" method="post">
          <br />COLLECTION <br />{% for COLLECTION in COLLECTIONS %} <input type="radio" name='examkey' {% ifequal COLLECTION.url 'default' %} checked="checked" {% endifequal  %}
          value="{{COLLECTION.key}}" /> <a href="/__{{COLLECTION.url}}">{{COLLECTION.url}}</a><br />
          {% endfor %}
          <br />url<br /><input type="text" name='url' />
            <br />content <br /><textarea rows="20" cols="30" name='content'>
</textarea><br />

          <input type="submit" value="提交" />
        </form>
		<div id="explain">
		<p>说明</p>
		</div>
      </fieldset><br />
    </div>
	<div style="float:left;width=20%;">
      <fieldset>
        <legend>↓增加RST↓</legend>
        <form action="/admin/addormodrst" method="post">
          <br />COLLECTION <br />{% for COLLECTION in COLLECTIONS %} <input type="radio" name='examkey' {% ifequal COLLECTION.url 'default' %} checked="checked" {% endifequal  %}
          value="{{COLLECTION.key}}" /> <a href="/__{{COLLECTION.url}}">{{COLLECTION.url}}</a><br />
          {% endfor %}
          <br />url<br /><input type="text" name='url' />
            <br />content <br /><textarea rows="20" cols="30" name='content'>
</textarea><br />

          <input type="submit" value="提交" />
        </form>
		<div id="explain">
		<p>说明</p>
		</div>
      </fieldset><br />
    </div>
	<div style="float:left;width=20%;">
      <fieldset>
        <legend>↓增加FREEMIND↓</legend>
        <form action="/admin/addormodfreemind" method="post">
          <br />COLLECTION <br />{% for COLLECTION in COLLECTIONS %} <input type="radio" name='examkey' {% ifequal COLLECTION.url 'default' %} checked="checked" {% endifequal  %}
          value="{{COLLECTION.key}}" /> <a href="/__{{COLLECTION.url}}">{{COLLECTION.url}}</a><br />
          {% endfor %}
          <br />url<br /><input type="text" name='url' />
            <br />content <br /><textarea rows="20" cols="30" name='content'>
</textarea><br />

          <input type="submit" value="提交" />
        </form>
		<div id="explain">
		<p>说明</p>
		</div>
      </fieldset><br />
    </div>
    <div style="float:bottom;">
      <fieldset>
        <legend>↓增加COLLECTION↓</legend>
        <form action="/admin/addcollection" method="post">
          <input type="text" name='url' />url<br />
          <input type="submit" value="提交" />
        </form>
		<div id="explain">
		<p>说明</p>
		</div>
      </fieldset>
    </div>

	 {% include 'footer.html' %}
  </body>
</html>