diff --git a/pyweb/mumble/templates/mumble/channel.html b/pyweb/mumble/templates/mumble/channel.html
index fbb89b9..4ec00c2 100644
--- a/pyweb/mumble/templates/mumble/channel.html
+++ b/pyweb/mumble/templates/mumble/channel.html
@@ -1,3 +1,6 @@
+{% comment %}
+
+{% endcomment %}
{% load mumble_extras %}
diff --git a/pyweb/mumble/templates/mumble/list.html b/pyweb/mumble/templates/mumble/list.html
index 15f0523..f869674 100644
--- a/pyweb/mumble/templates/mumble/list.html
+++ b/pyweb/mumble/templates/mumble/list.html
@@ -1,3 +1,6 @@
+{% comment %}
+
+{% endcomment %}
{% extends "index.html" %}
{% load mumble_extras %}
{% block Headline %}
diff --git a/pyweb/mumble/templates/mumble/mobile_list.html b/pyweb/mumble/templates/mumble/mobile_list.html
index 54edccb..f5643ce 100644
--- a/pyweb/mumble/templates/mumble/mobile_list.html
+++ b/pyweb/mumble/templates/mumble/mobile_list.html
@@ -1,3 +1,6 @@
+{% comment %}
+
+{% endcomment %}
{% extends "mobile_index.html" %}
{% load mumble_extras %}
{% block Headline %}
diff --git a/pyweb/mumble/templates/mumble/mobile_mumble.html b/pyweb/mumble/templates/mumble/mobile_mumble.html
index cc3981d..fa957e6 100644
--- a/pyweb/mumble/templates/mumble/mobile_mumble.html
+++ b/pyweb/mumble/templates/mumble/mobile_mumble.html
@@ -1,3 +1,6 @@
+{% comment %}
+
+{% endcomment %}
{% extends "mobile_index.html" %}
{% load mumble_extras %}
{% load i18n %}
diff --git a/pyweb/mumble/templates/mumble/mumble.html b/pyweb/mumble/templates/mumble/mumble.html
index 20ee5ad..326233c 100644
--- a/pyweb/mumble/templates/mumble/mumble.html
+++ b/pyweb/mumble/templates/mumble/mumble.html
@@ -1,3 +1,6 @@
+{% comment %}
+
+{% endcomment %}
{% extends "index.html" %}
{% load mumble_extras %}
{% load i18n %}
@@ -19,21 +22,21 @@
-
-
- {% if DBaseObject.connecturl %}
- {% trans "Server Address" %}: {{ DBaseObject.connecturl }}
- {% endif %}
- {% if DBaseObject.url %}
- {% trans "Website" %}: {{ DBaseObject.url|urlize }}
- {% endif %}
- {% trans "Server version" %}: {{ DBaseObject.version.0 }}.{{ DBaseObject.version.1 }}.{{ DBaseObject.version.2 }}
-
-
- {% trans "Welcome message" %}
- {{ DBaseObject.motd|removetags:"script link meta html head body style"|safe }}
-
-
+
+
+ {% if DBaseObject.connecturl %}
+ {% trans "Server Address" %}: {{ DBaseObject.connecturl }}
+ {% endif %}
+ {% if DBaseObject.url %}
+ {% trans "Website" %}: {{ DBaseObject.url|urlize }}
+ {% endif %}
+ {% trans "Server version" %}: {{ DBaseObject.version.0 }}.{{ DBaseObject.version.1 }}.{{ DBaseObject.version.2 }}
+
+
+ {% trans "Welcome message" %}
+ {{ DBaseObject.motd|removetags:"script link meta html head body style"|safe }}
+
+
{% if user.is_authenticated %}
{% trans "Server registration" %}
@@ -55,7 +58,7 @@
{% endblocktrans %}
{% endif %}
-
+
{% if Registered %}
{% trans "User Texture" %}
@@ -63,14 +66,14 @@
{% blocktrans with DBaseObject.id as serverid %}
You can upload an image that you would like to use as your user texture here.
{% endblocktrans %}
-
- {% if MumbleAccount.hasTexture %}
+
+ {% if MumbleAccount.hasTexture %}
{% trans "Your current texture is" %}:
- {% else %}
- {% trans "You don't currently have a texture set" %}.
- {% endif %}
-
+ {% else %}
+ {% trans "You don't currently have a texture set" %}.
+ {% endif %}
+
{% blocktrans with DBaseObject.id as serverid %}
Hint: The texture image
needs to be 600x60 in size. If you upload an image with
a different size, it will be resized accordingly.
@@ -85,7 +88,7 @@
{% endif %}
-
+
{% if CurrentUserIsAdmin %}
{% trans "Server administration" %}
@@ -98,7 +101,7 @@
{% endif %}
-
+
{% for item in ChannelTable %}
{% if item.is_player %}
@@ -154,200 +157,200 @@
{% endblock %}
{% block HeadTag %}
-
-
+ Ext.get( 'link_server' ).on( 'click', function( event, target ){
+ cardpanel.layout.setActiveItem( 'mumble_tabpanel' );
+ event.preventDefault();
+ });
+ {% for item in ChannelTable %}
+ Ext.get( 'link_{{ item.id }}' ).on( 'click', function( event, target ){
+ cardpanel.layout.setActiveItem( 'carditem_{{ item.id }}' );
+ event.preventDefault();
+ });
+ {% endfor %}
+ } );
+
+
{% endblock %}
diff --git a/pyweb/mumble/templates/mumble/player.html b/pyweb/mumble/templates/mumble/player.html
index 1b38355..d494625 100644
--- a/pyweb/mumble/templates/mumble/player.html
+++ b/pyweb/mumble/templates/mumble/player.html
@@ -1,3 +1,6 @@
+{% comment %}
+
+{% endcomment %}
{% load mumble_extras %}
{% load i18n %}
diff --git a/pyweb/mumble/templates/mumble/server.html b/pyweb/mumble/templates/mumble/server.html
index d315d1f..9c0ef67 100644
--- a/pyweb/mumble/templates/mumble/server.html
+++ b/pyweb/mumble/templates/mumble/server.html
@@ -1,3 +1,6 @@
+{% comment %}
+
+{% endcomment %}
{% load mumble_extras %}