Source

wdcms / tpl / modrst.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" />
  </head>
  <body>
    {% include 'seo.html' %} {% include 'header.html' %} 
    <div>
      <fieldset>
        <legend>↓编辑RST↓</legend>
        <form action="/admin/addormodrst" 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.head|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>