]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/user.html
Resolves OSQA-661, adding functionality to allow deleting static pages in the adminis...
[osqa.git] / forum / skins / default / templates / user.html
1 {% extends "base_content.html" %}
2 <!-- user.html -->
3 {% load extra_tags %}
4 {% load extra_filters %}
5 {% load humanize %}
6 {% load smart_if %}
7
8 {% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}
9 {% block forestyle%}
10     <style type="text/css">
11                 .history-table td { padding: 5px; }
12                 .user-stats-table { margin-left:50px; }
13         </style>
14 {% endblock %}
15 {% block forejs %}
16     {% if request.user.is_superuser or request.user == view_user %}
17         <script type="text/javascript">google.load("jquery", "1.4.2");google.load("jqueryui", "1.8.1");</script>
18         <script type="text/javascript">
19             response_commands['update_profile_karma'] = function(new_karma) {
20                 $('#user-reputation').css('background', 'yellow');
21                 $('#user-reputation').html(new_karma);
22                 $('#user-reputation').animate({ backgroundColor: "transparent" }, 1000);
23             }
24         </script>
25         <link rel="stylesheet" href="http://jquery-ui.googlecode.com/svn/tags/latest/themes/base/jquery-ui.css" type="text/css" media="all" />
26         <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />
27         <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/user.css" %}"/>
28     {% endif %}
29     <style type="text/css">
30         #room {
31             border: 0;
32         }
33     </style>
34     {% block userjs %}{% endblock %}
35 {% endblock %}
36 {% block content %}
37     <div id="mainbar-full">
38         {% include "users/info.html" %}
39         {% include "users/tabs.html" %}
40         {% block usercontent %}
41         {% endblock %}
42         </div>
43 {% endblock %}<!-- end user.html -->