index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff

Diffstat (limited to 'templates/base.html')

-rw-r--r-- templates/base.html 32
 1 file changed, 32 insertions(+)

diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..f04c92b 100644
--- /dev/null
+++ b/templates/base.html
@@ -1,0 +1,32 @@
{%- import "macros.html" as macros -%}

<!DOCTYPE html>
<html>
  <head>
      <meta charset="utf-8">
      <title>{% block title %}rsgit{% endblock %}</title>
      <link rel="stylesheet" href="/static/style.css">
      <link rel="shortcut icon" href="/static/favicon.ico">
  </head>
  <body>
      <table class="header blob-table">
        <tbody>
          {% block header %}{% endblock %}
        </tbody>
      </table>
        <div id="body">
          {% block body %}
          <table class="tabs">
            <thead>
              {% block tabs %}{% endblock %}
            </thead>
          </table>
          {% block breadcrumb %}{% endblock %}

          <main>
            {% block content %}{% endblock %}
          </main>
          {% endblock %}
        </div>
  </body>
</html>