Browse Source

fixed clickable header, tags etc

master
rra 7 years ago
parent
commit
ad14b413d2
  1. 3
      theme/wttf/static/main.css
  2. 6
      theme/wttf/templates/article.html
  3. 16
      theme/wttf/templates/base.html

3
theme/wttf/static/main.css

@ -114,6 +114,9 @@ header{
position: relative; position: relative;
z-index: 10; z-index: 10;
} }
#menu a{
text-decoration: none;
}
#menu.main .indent{ #menu.main .indent{
padding-left:60px; padding-left:60px;
} }

6
theme/wttf/templates/article.html

@ -8,14 +8,14 @@
{% block header %} {% block header %}
<h1 id="menu" class="sticky"> <h1 id="menu" class="sticky">
Welcome to <a href="{{ SITEURL }}/">Welcome to
the the <span id="character"></span></a>
<select onchange="window.location.href=this.value"> <select onchange="window.location.href=this.value">
{%- for t, article in tags|sort %} {%- for t, article in tags|sort %}
<option value="{{SITEURL}}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option> <option value="{{SITEURL}}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option>
{% endfor %} {% endfor %}
</select> </select>
Federation <a href="{{ SITEURL }}/">Federation</a>
</h1> </h1>
{% endblock %} {% endblock %}

16
theme/wttf/templates/base.html

@ -45,29 +45,29 @@
{% block header %} {% block header %}
<h1 id="menu" class="main"> <h1 id="menu" class="main">
<div id="title"> <div id="title">
Welcome <a href="{{ SITEURL }}/">Welcome
<div class="indent">to the <div class="indent">to the</a>
<select onchange="window.location.href=this.value"> <select onchange="window.location.href=this.value">
{%- for t, article in tags|sort %} {%- for t, article in tags|sort %}
<option value="{{SITEURL}}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option> <option value="{{ SITEURL }}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option>
{% endfor %} {% endfor %}
</select> </select>
</div> </div>
<div class="indent">Federation</div> <div class="indent"><a href="{{ SITEURL }}/">Federation</a></div>
</div> </div>
<div id="subtitle"> <div id="subtitle">
{{ SUBTITLE }} {{ SUBTITLE }}
</div> </div>
</h1> </h1>
<h1 id="menu" class="sticky"> <h1 id="menu" class="sticky">
Welcome to <a href="{{ SITEURL }}/">Welcome to
the <span id="character"></span> the <span id="character"></span></a>
<select onchange="window.location.href=this.value"> <select onchange="window.location.href=this.value">
{%- for t, article in tags|sort %} {%- for t, article in tags|sort %}
<option value="{{SITEURL}}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option> <option value="{{ SITEURL }}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option>
{% endfor %} {% endfor %}
</select> </select>
Federation <a href="{{ SITEURL }}/">Federation</a>
</h1> </h1>
{% endblock %} {% endblock %}
</header> </header>

Loading…
Cancel
Save