Added about page and finished base home disclaimer
This commit is contained in:
parent
a535b8eda8
commit
3754c5a595
|
@ -0,0 +1,5 @@
|
|||
{% extends "layout.html" %}
|
||||
|
||||
{% block content %}
|
||||
About page
|
||||
{% endblock %}
|
|
@ -3,6 +3,12 @@
|
|||
{% block content %}
|
||||
<div class="hero">
|
||||
<h1 class="text-center">Minecraft Codex is on alpha!</h1>
|
||||
<p class="text-center">
|
||||
This site is under construction and very early stage of development.<br />
|
||||
It's public in this state so the people can see its progress over time,
|
||||
and send feedback/suggestions to the staff.
|
||||
</p>
|
||||
<p class="text-center">For more details about the project, go to the <a href="/about">about section</a>.</p>
|
||||
<p class="text-center">Happy minning!</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -29,6 +29,11 @@
|
|||
<a href="/versions">Versions</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="nav pull-right">
|
||||
<li class="pull-right">
|
||||
<a href="/about">About the project</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- /.nav-collapse -->
|
||||
</div>
|
||||
</div><!-- /navbar-inner -->
|
||||
|
@ -36,7 +41,6 @@
|
|||
</header>
|
||||
<div class="container">
|
||||
{% block content %}
|
||||
Content
|
||||
{% endblock %}
|
||||
</div>
|
||||
<footer class="container-fluid">
|
||||
|
@ -44,7 +48,6 @@
|
|||
<div class="pull-left">
|
||||
<small>
|
||||
MinecraftCodex v.{{ app_version }}<br />
|
||||
This site is under construction. It's public so people can see its evolution.<br />
|
||||
If you have feedback, please use the contact information on the right.
|
||||
</small>
|
||||
</div>
|
||||
|
|
|
@ -25,3 +25,6 @@ def versions(request):
|
|||
}
|
||||
|
||||
return render_to_response('versions.html', data)
|
||||
|
||||
def about(request):
|
||||
return render_to_response('about.html')
|
||||
|
|
|
@ -16,5 +16,8 @@ urlpatterns = patterns('',
|
|||
(r'^grappelli/', include('grappelli.urls')),
|
||||
url(r'^management/', include(admin.site.urls)),
|
||||
url(r'^$', 'database.views.home'),
|
||||
# Static
|
||||
url(r'^about/', 'database.views.about'),
|
||||
# Database
|
||||
url(r'^versions/', 'database.views.versions')
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue