~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/mainpage.html

  • Committer: Holger Rapp
  • Date: 2009-02-21 18:24:02 UTC
  • Revision ID: sirver@kallisto.local-20090221182402-k3tuf5c4gjwslbjf
Main Page contains now the same informations as before

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% extends "base.html" %}
 
2
 
 
3
{% comment %}
 
4
 vim:ft=htmldjango:
 
5
 
 
6
 This site is the main page, the first users will see when
 
7
 they reach our homepage
 
8
 
 
9
{% endcomment %}
 
10
 
 
11
{% load news %}
 
12
 
 
13
{% block content %}
 
14
 
 
15
<table align="center" cellpadding="0" cellspacing="2">
 
16
   <tr>
 
17
      <td><div class="blockTitle"></div>
 
18
         <div class="blockContent">
 
19
            <P ALIGN=CENTER>
 
20
            <FONT SIZE=6 face='Times New Roman, Georgia, Times, serif'>
 
21
               <B>Welcome to Widelands.org</B>
 
22
               <br />
 
23
            </FONT>
 
24
            <FONT STYLE='font-size: 12pt'>
 
25
               <B>Website from a free realtime strategy game<br/>
 
26
                  And its community
 
27
            </B></FONT>
 
28
            </P>
 
29
            
 
30
            <P ALIGN=CENTER>
 
31
               <br/>
 
32
               <img src='/wlmedia/img/HomepageSplash.jpg' title='Widelands' alt='Widelands-Screenshot' />
 
33
               <br/><br/>
 
34
            </p>
 
35
         </div>
 
36
      </td>
 
37
   </tr>
 
38
</table>
 
39
 
 
40
<!-- Begin of text -->
 
41
<table align="center" cellpadding="0" cellspacing="2">
 
42
   <tr>
 
43
      <td>
 
44
         <div class="blockContent">
 
45
            <br />
 
46
            <P ALIGN=Left>
 
47
            Widelands is an open source (GPLed) real-time strategy
 
48
            game. It is built upon the <a
 
49
               href='http://www.libsdl.org'>SDL</a> and other open
 
50
            source libraries and still under heavy development. If
 
51
            you knew Settlers I & II&#8482; (© Bluebyte), then you
 
52
            already have a rough idea what Widelands is all about.
 
53
            Yes, it is where the inspiration for Widelands came
 
54
            from<br /><br />You can find more information on the
 
55
            game in our wiki.<br />For playing rules, scenarios and
 
56
            extensions see the  <a title="About Widelands"
 
57
               href="/wiki/AboutWidelands">About page</a>.<br />For
 
58
            installation directions and various troubleshooting see
 
59
            the <a href="/wiki/MainPage">Help page</a>.<br />
 
60
 
 
61
            Visit also the <a
 
62
               href="http://xoops.widelands.org/modules/newbb">Forums</a>
 
63
            for chat with the community about the game, playing,
 
64
            translation, graphics, music and much more.<br /></p>
 
65
            </P>
 
66
         </div>
 
67
      </td>
 
68
   </tr>
 
69
</table>
 
70
 
 
71
{% get_latest_posts 3 as latest_posts_list %}
 
72
{% if latest_posts_list %}
 
73
   <h2><a href="/news">Latest news:</a></h2>
 
74
   {% for post in latest_posts_list %}
 
75
      {% post_detail post %}
 
76
   <br />
 
77
   {% endfor %}
 
78
{% endif %}
 
79
 
 
80
{% endblock %}