diff --git a/librebudget/core/static/img/key162.png b/librebudget/core/static/img/key162.png new file mode 100644 index 0000000..e9ea198 Binary files /dev/null and b/librebudget/core/static/img/key162.png differ diff --git a/librebudget/core/static/img/logo.svg b/librebudget/core/static/img/logo.svg new file mode 100644 index 0000000..9cdaaee --- /dev/null +++ b/librebudget/core/static/img/logo.svg @@ -0,0 +1,124 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/librebudget/core/static/img/shield20.png b/librebudget/core/static/img/shield20.png new file mode 100644 index 0000000..d3ce9ef Binary files /dev/null and b/librebudget/core/static/img/shield20.png differ diff --git a/librebudget/core/static/img/sprint.png b/librebudget/core/static/img/sprint.png new file mode 100644 index 0000000..2f9ef51 Binary files /dev/null and b/librebudget/core/static/img/sprint.png differ diff --git a/librebudget/core/templates/core/index.html b/librebudget/core/templates/core/index.html new file mode 100644 index 0000000..a033011 --- /dev/null +++ b/librebudget/core/templates/core/index.html @@ -0,0 +1,54 @@ +{% extends 'core/layout.html' %} +{% load staticfiles %} + +{% block css %} + + +{% endblock css %} + +{% block main %} + +
+
+ Fork me on Gogs +
+
+ +
+
+

Creating a budget is easy.

+

Sticking to one is hard. LibreBudget keeps track of your transactions so you don't have to.

+

Learn more »

+
+
+ +
+
+
+

Free key

+

Free as in free beer and free speech. Potato kerr's pink cabritas shepody kennebec. Langlade tater yukon gold vitelotte goldrush irish cobbler atlantic. Tater kipfler arran victory irish cobbler marcy primura, french fries up to date spud anya arran victory snowden.

+

View details »

+
+
+

Fast key

+

Red norland amandine flava silverton russet arran victory marquis. Kestrel bannock russet, camota flava bintje home guard silverton russet bonnotte monalisa. Flava record bonnotte linda russet burbank innovator. Jersey royal bildtstar chelina flava atlantic kestrel.

+

View details »

+
+
+

Secure key

+

Norgold russet french fries atlantic stobrawa sirco german butterball. Annabelle blue congo russet burbank keuka gold, silverton russet golden wonder irish cobbler annabelle pike. Langlade shepody up to date cielo yukon gold, linda red lasoda yellow finn blue congo superior.

+

View details »

+
+
+{% endblock main %} \ No newline at end of file diff --git a/librebudget/core/templates/core/layout.html b/librebudget/core/templates/core/layout.html new file mode 100644 index 0000000..737de51 --- /dev/null +++ b/librebudget/core/templates/core/layout.html @@ -0,0 +1,61 @@ +{% load staticfiles %} + + + + + + LibreBudget + + + {% block css %}{% endblock css %} + + + + + + + + {% block main %} + {% endblock main %} + +
+ + +
+ + + + + + \ No newline at end of file diff --git a/librebudget/core/urls.py b/librebudget/core/urls.py new file mode 100644 index 0000000..a21f2c6 --- /dev/null +++ b/librebudget/core/urls.py @@ -0,0 +1,8 @@ +from django.conf.urls import patterns, include, url +from django.contrib import admin + +from core import views + +urlpatterns = patterns('', + url(r'^$', views.home, name='home'), +) diff --git a/librebudget/core/views.py b/librebudget/core/views.py index 91ea44a..fe3300b 100644 --- a/librebudget/core/views.py +++ b/librebudget/core/views.py @@ -1,3 +1,4 @@ from django.shortcuts import render -# Create your views here. +def home(request): + return render(request, 'core/index.html') diff --git a/librebudget/librebudget/urls.py b/librebudget/librebudget/urls.py index 684ca54..423c454 100644 --- a/librebudget/librebudget/urls.py +++ b/librebudget/librebudget/urls.py @@ -2,9 +2,6 @@ from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', - # Examples: - # url(r'^$', 'librebudget.views.home', name='home'), - # url(r'^blog/', include('blog.urls')), - + url(r'', include('core.urls')), url(r'^admin/', include(admin.site.urls)), )