Browse Source
add views for mobiles (currently only detects BlackBerries, need more browser strings...)
Natenom/support-murmur-13-1446181288462
add views for mobiles (currently only detects BlackBerries, need more browser strings...)
Natenom/support-murmur-13-1446181288462
Michael Ziegler
15 years ago
6 changed files with 110 additions and 7 deletions
-
10htdocs/templatestyle.css
-
14pyweb/mumble/urls.py
-
46pyweb/mumble/views.py
-
24template/mobile_index.htm
-
14template/mumble/mobile_list.htm
-
9template/mumble/mobile_mumble.htm
@ -0,0 +1,24 @@ |
|||
<html> |
|||
<head> |
|||
<title>Mumble Administration</title> |
|||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
|||
|
|||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/style.css" /> |
|||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/templatestyle.css" /> |
|||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/mumble/style.css" /> |
|||
<link rel="shortcut icon" type="image/png" href="{{ MEDIA_URL }}/mumble/mumble.16x16.png" /> |
|||
|
|||
{% block HeadTag %} |
|||
{% endblock %} |
|||
</head> |
|||
<body bgcolor="#3B69AD"> |
|||
<div id="mobilecontent"> |
|||
{% block LeftColumn %} |
|||
{% endblock %} |
|||
</div> |
|||
<!-- footer --> |
|||
<div id="footerpanel"> |
|||
<a href="http://bitbucket.org/Svedrin/mumble-django" target="_blank">Mumble-Django</a> |
|||
</div> |
|||
</body> |
|||
</html> |
@ -0,0 +1,14 @@ |
|||
{% extends "mobile_index.htm" %} |
|||
{% load mumble_extras %} |
|||
{% block Headline %} |
|||
Configured Mumble Servers |
|||
{% endblock %} |
|||
{% block Content %} |
|||
<div class="rahmen"> |
|||
<ul> |
|||
{% for mumble in MumbleObjects %} |
|||
<li><a href="{% url mumble.views.show mumble.id %}">{{mumble.name}}</a></li> |
|||
{% endfor %} |
|||
</ul> |
|||
</div> |
|||
{% endblock %} |
@ -0,0 +1,9 @@ |
|||
{% extends "mobile_index.htm" %} |
|||
{% load mumble_extras %} |
|||
{% load i18n %} |
|||
{% block Headline %} |
|||
{{ DBaseObject.name }} |
|||
{% endblock %} |
|||
{% block LeftColumn %} |
|||
{{ DBaseObject|chanview:MumbleAccount }} |
|||
{% endblock %} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue