Moved "static" pages to the basics app
parent
414ff5b4a4
commit
4560c925fc
@ -0,0 +1,12 @@
|
||||
{% extends "front_base.html" %}
|
||||
|
||||
{% load static from staticfiles %}
|
||||
|
||||
{% block title %} - Disclaimer{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h3>Disclaimer</h3>
|
||||
<p>The articles and thoughts on this site all originate from me, unless otherwise stated. Please use them with this statement in your mind. If you use anything, please put a backlink on your site to the given article(s) or the main page.</p>
|
||||
<p>The social media icons on the right are from <a href="http://komodomedia.com/"><img src="{% static "images/komodomedia_azure_16.png" %}" alt="komodomedia.com" target="_blank" /> komodomedia.com</a>.</p>
|
||||
<p>Some design ideas, like the arrows under the menu items are from a friend, <a href="http://www.d4untless.com/">Judit Pásti</a>.
|
||||
{% endblock content %}
|
@ -0,0 +1,16 @@
|
||||
"""
|
||||
This file demonstrates writing tests using the unittest module. These will pass
|
||||
when you run "manage.py test".
|
||||
|
||||
Replace this with more appropriate tests for your application.
|
||||
"""
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
|
||||
class SimpleTest(TestCase):
|
||||
def test_basic_addition(self):
|
||||
"""
|
||||
Tests that 1 + 1 always equals 2.
|
||||
"""
|
||||
self.assertEqual(1 + 1, 2)
|
@ -0,0 +1,8 @@
|
||||
from django.conf.urls import patterns, url
|
||||
from basics import views
|
||||
|
||||
urlpatterns = patterns('',
|
||||
url(r'^resume', views.resume, name='resume'),
|
||||
url(r'^about', views.about, name='about'),
|
||||
url(r'^disclaimer', views.disclaimer, name='disclaimer'),
|
||||
)
|
@ -0,0 +1,10 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
def resume(request):
|
||||
return render(request, 'resume.html', {})
|
||||
|
||||
def about(request):
|
||||
return render(request, 'basics/about.html', {})
|
||||
|
||||
def disclaimer(request):
|
||||
return render(request, 'basics/disclaimer.html', {})
|
Binary file not shown.
After Width: | Height: | Size: 643 B |
Loading…
Reference in New Issue