logo and username in menu
This commit is contained in:
parent
48698d2679
commit
1fc9e1f75d
4 changed files with 15 additions and 11 deletions
|
|
@ -29,6 +29,9 @@
|
|||
.formRequired {
|
||||
margin-top: 0px;
|
||||
}
|
||||
a.brandtext {
|
||||
margin-top: 10px;
|
||||
}
|
||||
</style>
|
||||
<!-- link rel="shortcut icon" href="{{ STATIC_URL }}ico/favicon.ico" -->
|
||||
<!-- link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
||||
|
|
@ -45,24 +48,25 @@
|
|||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
<span class="brand"><a href="/"><img src="http://c-base.org/cv6/images/c-base_raumstation.gif" />
|
||||
{% trans "Member Interface" %}</a></span>
|
||||
<span class="brand"><a href="/"><img style="margin-top: -10px;"
|
||||
src="{{ STATIC_URL }}img/logo.gif" /></a>
|
||||
<a href="/">{% trans "member interface" %}</a>
|
||||
</span>
|
||||
<div class="nav-collapse collapse">
|
||||
<p class="navbar-text pull-left">
|
||||
|
||||
<ul class="nav nav-collapse collapse pull-right">
|
||||
{% if request.user.is_authenticated %}
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<div class="pull-right">
|
||||
<ul class="nav">
|
||||
{% if request.user.is_authenticated %}
|
||||
|
||||
<li><a href="/account/logout/">Logout</a></li>
|
||||
{% else %}
|
||||
<li><a href="/account/login/">Login</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% if request.user.is_authenticated %}
|
||||
<p class="navbar-text pull-right">
|
||||
<i class="icon icon-user icon-white"></i>
|
||||
{{ user.username }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--/.nav-collapse -->
|
||||
|
|
|
|||
BIN
static/img/c-base_raumstation.gif
Normal file
BIN
static/img/c-base_raumstation.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
static/img/logo.gif
Normal file
BIN
static/img/logo.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 564 B |
BIN
static/img/logo.xcf
Normal file
BIN
static/img/logo.xcf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue