]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/user.html
Load jQuery from cdnjs
[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 src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.4.4/jquery.min.js" integrity="sha512-tcexmm0PBc+jOn9UwbgHVpjZIleEKXif1MCkzgNfVjhXKDxwYumrCOxhZ5tIaXHz2DpEE14hfjFn5J+tpaFSCg==" crossorigin="anonymous"></script>
18         <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.8.24/jquery-ui.min.js" integrity="sha512-leN1LJ2B5s9cBINeKL5bbT3cQvOebXsezoYGyuMq9oaytpFJgJ1uBOU86lJZObKTFLbMHqP0zFXR/1N6Nnlskw==" crossorigin="anonymous"></script>
19         <script type="text/javascript">
20             response_commands['update_profile_karma'] = function(new_karma) {
21                 $('#user-reputation').css('background', 'yellow');
22                 $('#user-reputation').html(new_karma);
23                 $('#user-reputation').animate({ backgroundColor: "transparent" }, 1000);
24             }
25         </script>
26         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.8.24/themes/base/jquery-ui.min.css" integrity="sha512-Lzjd1ELD6YCIwIU5uaJldvbibV5Fi7HThNZjrwJHALBJRT6q2a6ndgi8TNgcKcUqGsH6bpT7xyTEi8qRzN1ASg==" crossorigin="anonymous" />
27         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.8.24/themes/base/jquery.ui.theme.min.css" integrity="sha512-BLVMxLmRDKZgx5GBHNkXJuKBi6D6YOdXN2wUF61yEyF29JIwzU6Z82ZlfpgR+he6XHDh7PspMNNcurw4uk3ZcA==" crossorigin="anonymous" />
28         <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/user.css" %}"/>
29     {% endif %}
30     <style type="text/css">
31         #room {
32             border: 0;
33         }
34     </style>
35     {% block userjs %}{% endblock %}
36 {% endblock %}
37 {% block content %}
38     <div id="mainbar-full">
39         {% include "users/info.html" %}
40         {% include "users/tabs.html" %}
41         {% block usercontent %}
42         {% endblock %}
43         </div>
44 {% endblock %}<!-- end user.html -->