~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/right_boxes.html

  • Committer: Holger Rapp
  • Date: 2016-08-08 10:06:42 UTC
  • mto: This revision was merged to the branch mainline in revision 419.
  • Revision ID: sirver@gmx.de-20160808100642-z62vwqitxoyl5fh4
Added the apt-get update script I run every 30 days.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 on the site
6
6
{% endcomment %}
7
7
 
 
8
 
8
9
{% load inbox %}
9
10
{% load i18n %}
10
11
{% load wlprofile_extras wlpoll_extras wlevents_extras %}
11
12
{% load pybb_extras %}
 
13
{% load online_users %}
 
14
 
 
15
<!-- Donation Box -->
 
16
<div class="columnModule">
 
17
        <h3>Donation</h3>
 
18
        <div class="columnModuleBox center">
 
19
                <p>
 
20
                Help us to pay our server!
 
21
                <br />
 
22
                (: Consider a donation :)
 
23
                </p>
 
24
                <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
 
25
                        <input type="hidden" name="cmd" value="_s-xclick" />
 
26
                        <input type="hidden" name="lc" value="GB" />
 
27
                        <input type="hidden" name="hosted_button_id" value="JH5R7YHSVRMRG" />
 
28
                        <input type="image" class="donate" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" />
 
29
                        <img alt="" src="https://www.paypal.com/de_DE/i/scr/pixel.gif" width="1" height="1" />
 
30
                </form>
 
31
                <br /><br />
 
32
        </div>
 
33
</div>
 
34
 
 
35
 
 
36
<!-- Social Media Box -->
 
37
<div class="columnModule">
 
38
        <h3>Social Media</h3>
 
39
        <div class="columnModuleBox center">
 
40
                <ul class="socialMediaList center">
 
41
                        <li><a href="https://www.facebook.com/WidelandsOfficial" target="_blank"><img src="{{ MEDIA_URL }}img/socialmedia/facebook.png" alt="Facebook"></a></li>
 
42
                        <li><a href="https://plus.google.com/108069355276040649622" target="_blank"><img src="{{ MEDIA_URL }}img/socialmedia/googleplus.png" alt="Google+"></a></li>
 
43
                </ul>
 
44
        </div>
 
45
</div>
12
46
 
13
47
 
14
48
<!-- Current polls if any -->
75
109
 
76
110
 
77
111
<!-- Logged in users -->
78
 
{% if request.online_now %}
79
 
<div class="columnModule">
80
 
        <h3>Currently Online</h3>
81
 
        <div class="columnModuleBox">
82
 
                <ul class="player">
83
 
                        {% for user in request.online_now|slice:":10" %}
84
 
                        <li><a href="{% url 'profile_view' user %}">{{ user.username }}</a></li>
85
 
                        {% endfor %}
86
 
                </ul>
87
 
        </div>
88
 
</div>
89
 
{% endif %}
 
112
{% online_users 10 %}
90
113
 
91
114
<!-- Latest Post -->
92
115
{% pybb_last_posts %}