~sircmpwn/dispatch.sr.ht

ref: 51150a1929b6c97311e436281b9ab32da2c2565c dispatch.sr.ht/dispatchsrht/templates/edit.html -rw-r--r-- 872 bytes View raw
51150a19Drew DeVault github/auth.py -> github/common.py 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% extends "layout.html" %}
{% block title %}
<title>Configure {{ task.name }} - dispatch.sr.ht</title>
{% endblock %}
{% block body %}
<div class="container-fluid">
  <div class="row">
    <div class="col-md-12 header-tabbed">
      <h2>
        {{task.name}}
      </h2>
      {% macro link(path, title) %}
      <a
        class="nav-link {% if view == title %}active{% endif %}"
        href="{{ path }}">{{ title }}</a>
      {% endmacro %}
      <ul class="nav nav-tabs">
        <li class="nav-item">
          {{link(url_for("html.edit_task", task_id=task.id), "summary")}}
        </li>
        <li class="nav-item">
          {{link(url_for("html.delete_task", task_id=task.id), "delete")}}
        </li>
      </ul>
    </div>
  </div>
</div>
<div class="container">
  <div class="row">
    {% block content %}
    {% endblock %}
  </div>
</div>
{% endblock %}