]> git.openstreetmap.org Git - osqa.git/blob - forum/modules/template_loader.py/forum/skins/default/templates/user.html
ec852cc3896fea4a62387a63522d753bd89c69b4
[osqa.git] / forum / modules / template_loader.py / 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
26         <link rel="stylesheet" href="http://jquery-ui.googlecode.com/svn/tags/latest/themes/base/jquery-ui.css" type="text/css" media="all" />
27         <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />
28         <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/user.css" %}"/>
29     {% endif %}
30     {% block userjs %}{% endblock %}
31 {% endblock %}
32 {% block content %}
33     <div id="mainbar-full">
34         {% include "users/info.html" %}
35         {% include "users/tabs.html" %}
36         {% block usercontent %}
37         {% endblock %}
38         </div>
39 {% endblock %}<!-- end user.html -->