{{ badge.description }}
9 |Contribute to one or more analyst tasks to earn points and badges. Here is a list of the badges, and how many people have earned each one.
9 |Badges are fun! They're just little reminders that you are awesome ☺
10 |14 | {% if badge|is_in:request.user.badges.all %}✔{% endif %} 15 | | 16 |17 | {% include "badges/badge.html" %} 18 | × {{ badge.user.count|intcomma }} 19 | | 20 |{{ badge.description }} | 21 |
Name | 23 |Icon | 24 |Description | 25 |Points Worth | 26 |Can win Multiple? | 27 |
---|---|---|---|---|
33 | {{ badge.name }} 34 | | 35 |
36 | {% with badge_icon=badge.badge__icon %}
37 | {% static badge_icon as badge_url %}
38 | |
41 | 42 | {{ badge.description }} 43 | | 44 |45 | {{ badge.awardLevel }} 46 | | 47 |48 | {{ badge.multipleAwards }} 49 | | 50 |
Reward Your Users
#} 112 | {#The Gamification Server is a management tool that allows other web pages, apps, or tools to 11 | utilize "Gamification" concepts. These ideas 12 | have been found to help engage with some users and encourage teamwork.
13 | 14 |Gamification-server provides a framework for providing awards to users or teams and can be operated either 15 | standalone or integrated with other web-based applications. Based on the notion of badges used within other 16 | gamification systems, gamification-server also provides a customizable web interface for displaying badges as 17 | well as a configurable rules engine to translate actions performed by users into awards. User awards can be 18 | exported into an Open Badges Backpack, allowing users to present expertise gained within other social 19 | frameworks or applications. The gamification-server is implemented as a django python web service and 20 | associated web application.
21 | 22 |The source code for this server is Open Source and currently available on GitHub 23 | and available for anyone to use and improve upon. We encourage your participation and want to hear your ideas! 24 | This is a prototype concept used to integrate tools and test out concepts. Interfaces are available either 25 | through this web interface or through a REST-based API calls. 26 |
27 |Name | 20 |Icon | 21 |Description | 22 |Tags | 23 |Points | 24 |
---|---|---|---|---|
31 | {{ badge.name }} 32 | | 33 |
34 | {% with badge_icon=badge.badge__icon %}
35 | {% static badge_icon as badge_url %}
36 | |
39 | 40 | {{ badge.description }} 41 | | 42 |43 | {{ badge.tags }} 44 | | 45 |46 | {{ badge.awardLevel }} 47 | | 48 |
Name | 23 |Points Received | 24 |Badges Awarded | 25 |
---|---|---|
31 | {{ winner.user__username }} 32 | | 33 |34 | {{ winner.points_count }} 35 | | 36 |37 | TODO 38 | | 39 |
Award Name | 27 |Points Received | 28 |Date | 29 |Comment | 30 |
---|---|---|---|
39 | {{ badge.name }} 40 | | 41 |42 | {{ award.value }} 43 | | 44 |45 | {{ award.date_awarded|date:"SHORT_DATE_FORMAT" }} at {{ award.date_awarded|time:"H:i" }} 46 | | 47 |48 | {{ award.description }} 49 | | 50 |
Project Name | 11 |Project Description | 12 |Created | 13 |Leaderboard | 14 |Badges Given | 15 |Badge Recipients | 16 |
---|---|---|---|---|---|
22 | {{ project.name|title }} 23 | | 24 |25 | {{ project.description|linebreaks }} 26 | | 27 |28 | {{ project.created_at|date:"SHORT_DATE_FORMAT" }} 29 | | 30 |31 | 32 | | 33 |34 | {{ project.badge_count }} 35 | | 36 |37 | {{ project.user_count }} 38 | | 39 |
Inactive Project | 52 |Project Description | 53 |Created | 54 |Badges Given | 55 |Badge Recipients | 56 |
---|---|---|---|---|
62 | {{ project.name|title }} 63 | | 64 |65 | {{ project.description }} 66 | | 67 |68 | {{ project.created_at|date:"SHORT_DATE_FORMAT" }} 69 | | 70 |71 | {{ project.badge_count }} 72 | | 73 |74 | {{ project.user_count }} 75 | | 76 |
Award Name | 25 |Points Received | 26 |Date | 27 |Comment | 28 |
---|---|---|---|
34 | {{ badge.name }} 35 | | 36 |37 | {{ award.value }} 38 | | 39 |40 | {{ award.date_awarded|date:"SHORT_DATE_FORMAT" }} at {{ award.date_awarded|time:"H:i" }} 41 | | 42 |43 | {{ award.description }} 44 | | 45 |
13 | {% blocktrans %} 14 | Pinax is a Django 15 | project intended to provide a starting point for websites. By 16 | integrating numerous reusable Django apps to take care of the 17 | things that many sites have in common, it lets you focus on what 18 | makes your site different. 19 | {% endblocktrans %} 20 |
21 | 22 |24 | {% blocktrans %} 25 | In addition to what is provided by the "zero" project, this project 26 | provides thorough integration with django-user-accounts, adding 27 | comprehensive account management functionality. It is a foundation 28 | suitable for most sites that have user accounts. 29 | {% endblocktrans %} 30 |
31 | 32 | {% if user.is_authenticated %} 33 | {% url "what_next" as what_next_url %} 34 |{% blocktrans %}Wondering What Next?{% endblocktrans %}
35 | {% else %} 36 | {% url "account_login" as login_url %} 37 | {% url "account_signup" as signup_url %} 38 |{% blocktrans %}You can Log In or Sign Up to try out the site.{% endblocktrans %}
39 | {% endif %} 40 | {% endblock %} 41 | -------------------------------------------------------------------------------- /gamification/templates/site_base.html: -------------------------------------------------------------------------------- 1 | {% extends "theme_base.html" %} 2 | 3 | {% load metron_tags %} 4 | {% load i18n %} 5 | 6 | {% block extra_head_base %} 7 | {% block extra_head %}{% endblock %} 8 | {% endblock %} 9 | 10 | {% block footer %} 11 | {% include "_footer.html" %} 12 | {% endblock %} 13 | 14 | {% block extra_body_base %} 15 | {% analytics %} 16 | {% block extra_body %}{% endblock %} 17 | {% endblock %} 18 | -------------------------------------------------------------------------------- /gamification/urls.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | # Permission is hereby granted, free of charge, to any person obtaining 4 | # a copy of this software and associated documentation files (the 5 | # "Software"), to deal in the Software without restriction, including 6 | # without limitation the rights to use, copy, modify, merge, publish, 7 | # distribute, sublicense, and/or sell copies of the Software, and to 8 | # permit persons to whom the Software is furnished to do so, as long as 9 | # any reuse or further development of the software attributes the 10 | # National Geospatial-Intelligence Agency (NGA) authorship as follows: 11 | # 'This software (gamification-server) 12 | # is provided to the public as a courtesy of the National 13 | # Geospatial-Intelligence Agency. 14 | # 15 | # The above copyright notice and this permission notice shall be 16 | # included in all copies or substantial portions of the Software. 17 | # 18 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 19 | # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20 | # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 21 | # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 22 | # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 23 | # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 24 | # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 25 | 26 | 27 | from django.conf import settings 28 | from django.conf.urls import patterns, include, url 29 | from django.conf.urls.static import static 30 | from django.views.generic import TemplateView, ListView 31 | 32 | from django.contrib import admin 33 | admin.autodiscover() 34 | from gamification.core.models import Project 35 | from gamification.core.views import * 36 | from gamification.events.views import handle_event, assign_badge 37 | 38 | urlpatterns = patterns("", 39 | url(r"^gamification/$", TemplateView.as_view(template_name="core/index.html"), name="home"), 40 | url(r"^admin/", include(admin.site.urls)), 41 | url(r"^account/", include("account.urls")), 42 | url(r"^users/?$", UserView.as_view(template_name='core/users.html'), name='user_list'), 43 | url(r"^users/(?P