Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.gitlabculture
Commits
a0190e6f
Commit
a0190e6f
authored
Mar 06, 2020
by
svilayphiou
Browse files
Put Sarah's header into the base template of the generator.
parent
b2383373
Changes
2
Hide whitespace changes
Inline
Side-by-side
generator/templates/base.html
View file @
a0190e6f
...
...
@@ -7,11 +7,31 @@
</head>
<body>
<h1>
OSP
</h1>
<div
id=
"menu-wrapper"
>
<div
class=
logo
>
<img
id=
"logo"
src=
"/home/smagnan/Work/osp/osp.cloud/OSP-frog/OSP_frogy-frog.svg"
/>
<span><h1><a>
Open Source Publishing
</a></h1><h2>
applied and performative research in graphic design
</h2></span>
</div>
<nav
class=
"menu"
>
<ul
id=
"menu"
>
<li><a>
Tools
</a></li>
<li><a>
Foundry
</a></li>
<li><a>
Workshops
</a></li>
<li><a>
Works
</a></li>
<li><a>
Researches
</a></li>
<li><a>
Live
</a></li>
<li><a>
Blog
</a></li>
<li><a>
Infos
</a></li>
</ul>
</nav>
</div>
<main>
{% block content %}
{% endblock %}
</main>
<script
src=
"http://localhost:8000/static/js/pad.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
</body>
</html>
generator/templates/projects.html
View file @
a0190e6f
...
...
@@ -3,7 +3,10 @@
{% block content %}
<ul>
{% for project in projects %}
<li
class=
"{% if project.default_branch == "
archive
"
%}
archived
{%
endif
%}"
><a
href=
"{{ project.links.self }}"
>
{{ project.name }} ({{ project.commits|length }} commits)
</a></li>
{% endfor %}
<li
class=
"{% if project.default_branch == "
archive
"
%}
archived
{%
endif
%}"
>
<a
href=
"{{ project.links.self }}"
>
{{ project.name }} ({{ project.commits|length }} commits)
</a>
</li>
{% endfor %}
</ul>
{% endblock %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment