Html程序  |  31行  |  812 B

<!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" xml:lang="en" lang="en">
  <head>
    <link rel="stylesheet" href="/static/style.css" />
    <title>{% block title %}Automation Dashboard{% endblock %}</title>
  </head>

  <body>
    <div class="header">
      {% block header %}
      <p class="title">Automation Dashboard</p>
      {% endblock %}
    </div>

    <div class="links">
      <span>Subpages:</span>
      {% block links %}
        {% for link in links %}
          <a class="button" href="{{ link.href }}">{{ link.name }}</a>
        {% endfor %}
      {% endblock %}
    </div>

    <div class="content">
      {% block content %}
      {% endblock %}
    </div>
  </body>
</html>