projects.html (804B)
1 <!doctype html> 2 <html> 3 <head> 4 {% import "elements/metadata.html" as metadata %} {% if create %} {{ 5 metadata.head(group, "New Project") }} {% else %} {{ metadata.head(group, 6 "Projects") }} {% endif %} 7 <link 8 rel="stylesheet" 9 href="{{ url_for('static', filename='main.css') }}" 10 /> 11 </head> 12 13 <body> 14 <header> 15 {% import "elements/navigation.html" as navigation %} {{ 16 navigation.bar(account) }} 17 </header> 18 19 {% import "elements/space.html" as space %} {{ space.stars(500) }} {% import 20 "elements/projects.html" as projects %} {% if create %} {{ projects.new() }} 21 {% else %} 22 <h1>Projects</h1> 23 {{ projects.list(group.projects) }} {% if account %} 24 <a href="/projects/add">Add a Project</a> 25 {% endif %} {% endif %} 26 </body> 27 </html>