Browse Source

move background-image from .css to template - not pretty, but saves me a view

Natenom/support-murmur-13-1446181288462
Michael Ziegler 16 years ago
parent
commit
d49f5c4743
  1. 1
      htdocs/mumble/style.css
  2. 2
      template/mumble/channel.htm
  3. 2
      template/mumble/mumble.htm
  4. 2
      template/mumble/player.htm
  5. 2
      template/mumble/server.htm

1
htdocs/mumble/style.css

@ -7,7 +7,6 @@ a.mumble:link, a.mumble:visited, a.mumble:hover, a.mumble:active {
}
div.mumble {
background-image: url( /static/mumble/linie_v.png );
background-repeat: repeat-y;
margin-left: 20px;
margin-bottom: 0;

2
template/mumble/channel.htm

@ -1,5 +1,5 @@
{% load mumble_extras %}
<div class="mumble">
<div class="mumble" style="background-image: url( {{ MEDIA_URL }}/mumble/linie_v.png )">
<img src="{{ MEDIA_URL }}/mumble/knoten_v.png" />
{% if Channel.linked %}
<img src="{{ MEDIA_URL }}/mumble/channel_linked.png" alt="linked channel" />

2
template/mumble/mumble.htm

@ -115,7 +115,7 @@
</ul>
{% endif %}
<h2>{% trans "User Texture" %}</h2>
<img src="{% url mumble.views.showTexture DBaseObject.id MumbleAccount.id %}" alt="user texture" />
<img src="{% url mumble.views.showTexture DBaseObject.id item.mumbleuser.id %}" alt="user texture" />
</div>
{% else %}
<div id="mumble_{{ item.id }}" class="mumble-ext x-hide-display">

2
template/mumble/player.htm

@ -1,5 +1,5 @@
{% load mumble_extras %}
<div class="mumble">
<div class="mumble" style="background-image: url( {{ MEDIA_URL }}/mumble/linie_v.png )">
<span class="mumble">
{% if Player.isAuthed %}
<img src="{{ MEDIA_URL }}/mumble/authenticated.png" alt="authed" title="Authenticated" />

2
template/mumble/server.htm

@ -1,5 +1,5 @@
{% load mumble_extras %}
<div style="margin-left: 20px">
<div style="margin-left: 20px;">
<img src="{{ MEDIA_URL }}/mumble/mumble.16x16.png" alt="server" />
<a class="mumble" id="link_server" href="{{ Server|chanurl:MumbleAccount }}">{{ Server.name|trunc:30 }}</a>
</div>

Loading…
Cancel
Save