~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
 
{% 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
 
{% load static %}
11
 
{% load news_extras %}
12
 
 
13
 
{% block extra_head %}
14
 
<meta name="google-site-verification" content="1A5uFV_zNuXazJ46-572-_lLzcCTEQ77iHaSPFZd53Y" />
15
 
<link rel="stylesheet" type="text/css" media="all" href="{% static 'css/news.css' %}" />
16
 
<link rel="alternate" type="application/rss+xml" title="Widelands News" href="news/feed/" />
17
 
 
18
 
{{ block.super}}{% endblock %}
19
 
{% block content_header %}
20
 
        <h1>Welcome to Widelands.org</h1>
21
 
{% endblock %}
22
 
{% block content_main %}
23
 
<div class="blogEntry" style="min-height: 380px;">
24
 
        <img class="landing posRight" src="{% static 'img/welcome.jpg' %}" alt="Welcome!" />
25
 
        <p>
26
 
        <a href="{% url 'wiki_article' "Description" %}">Widelands</a> is a 
27
 
        <a href="{% url 'wiki_article' "The Widelands Project" %}">free, open source</a>
28
 
        real-time strategy game with singleplayer campaigns and a multiplayer mode.
29
 
        The game was inspired by Settlers&nbsp;II&#8482; (&copy;&nbsp;Bluebyte) but
30
 
        has significantly more variety and depth to it. Still, it is easy to get
31
 
        started through playable tutorials.
32
 
        </p>
33
 
        <p>
34
 
        For more information read <a href="{% url 'wiki_article' "Description" %}">the
35
 
        full description</a> and look at some <a href="{% url 'wlscreens_index' %}">screenshots</a>.
36
 
        Or you can <a href="{% url 'wiki_article' "Download" %}">download</a>
37
 
        the latest release and just try it out for yourself.
38
 
        </p>
39
 
        <p>
40
 
        This website is the home of the Widelands community.
41
 
        You are invited to visit the <a href="{% url 'pybb_index' %}">forums</a>:
42
 
        discuss strategies, find partners for multiplayer games, help with translations,
43
 
        voice your opinion on graphics, music and much more.
44
 
        </p>
45
 
        <p>
46
 
        Widelands is currently (and will always be) under development - you can
47
 
        get a feel for what is worked on by looking at the <a href="/changelog">changelog</a>.
48
 
        Everybody is invited to help out too - we need 2D and 3D artists, sound
49
 
        effect creators, composers, map makers, translators, test players,
50
 
        web programmers and C++ coders. All skill levels are welcome - just
51
 
        start working on something or ask in the <a href="{% url 'pybb_index' %}">forums</a>
52
 
        for pointers.
53
 
        </p>
54
 
        <div style="clear: left"></div>
55
 
</div>
56
 
 
57
 
{% get_latest_posts 3 as latest_posts_list %}
58
 
{% if latest_posts_list %}
59
 
    <div id="content_header">
60
 
        <h1>News</h1>
61
 
    </div>
62
 
        {% for object in latest_posts_list %}
63
 
                {% include "news/inlines/post_detail.html" %}
64
 
        {% endfor %}
65
 
        <div class="center"><p><a class="invertedColor" href="{% url 'news_index' %}">News archive</a></p></div>
66
 
{% endif %}
67
 
 
68
 
{% endblock %}
 
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 %}