Source

knowledgeCenter / 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" />
  </head>
  <body>
    {% include 'seo.html' %} {% include 'header.html' %} <script language="javascript" type=
    "text/javascript">
//<![CDATA[

    //转载请保留出处 http://www.dwww.cn
    function unselectall(){
    if(document.myform.chkAll.checked){
    document.myform.chkAll.checked = document.myform.chkAll.checked&0;
    }
    }
    function CheckAll(form){
    for (var i=0;i<form.elements.length;i++){
    var e = form.elements[i];
    if (e.Name != 'chkAll'&&e.disabled==false)
    e.checked = form.chkAll.checked;
    }
    }
    //]]>
    </script>
    <div>
      <fieldset>
        <legend>↓删除↓</legend>
        <form action="/del" method="post">
          <input name='chkAll' type='checkbox' id='chkAll' onclick='CheckAll(this.form)' value=
          'checkbox' /> 全选<br />
          {% for KCB in QUOTES %} <input type="checkbox" onclick='unselectall()' name='delitem'
          value='{{KCB.key}}' /> {{KCB.EN}} || {{ KCB.time }}||{{KCB.CN}}<br />
          {% endfor %}
          <p>
            <input type="submit" id="submit_btn" value="提交" class="btn blue" />
          </p>
        </form>
      </fieldset><br />
      <br />
    </div><br />
    {% include 'footer.html' %}
  </body>
</html>