diff --git a/nsupdate/main/templates/main/about.html b/nsupdate/main/templates/main/about.html
new file mode 100644
index 0000000..28467eb
--- /dev/null
+++ b/nsupdate/main/templates/main/about.html
@@ -0,0 +1,19 @@
+{% extends "base.html" %}
+{% load bootstrap %}
+
+{% block content %}
+
About nsupdate.info
+nsupdate.info is the idea of a really simple single purpose dynamic dns
+service. Unlike other dynamic dns services its intention is that you do not
+have to click a link every 30 days to keep your domain enabled or other
+jokes like this.
+Features
+
+ Open-Source
+ Free
+ Easy
+ Fast
+ Awesome
+ Made with love
+
+{% endblock %}
diff --git a/nsupdate/main/urls.py b/nsupdate/main/urls.py
index 35e2ab5..9cdc35e 100644
--- a/nsupdate/main/urls.py
+++ b/nsupdate/main/urls.py
@@ -1,17 +1,22 @@
from django.conf.urls import patterns, url
-from main.views import HomeView, OverviewView, HostView, DeleteHostView
-from api.views import MyIpView, DetectIpView, NicUpdateView, AuthorizedNicUpdateView
+from main.views import (
+ HomeView, OverviewView, HostView, DeleteHostView, AboutView)
+from api.views import (
+ MyIpView, DetectIpView, NicUpdateView, AuthorizedNicUpdateView)
urlpatterns = patterns(
'',
url(r'^$', HomeView.as_view(), name="home"),
+ url(r'^about/$', AboutView.as_view(), name="about"),
url(r'^overview/$', OverviewView.as_view(), name='overview'),
url(r'^host/(?P\d+)/$', HostView.as_view(), name='host_view'),
- url(r'^host/(?P\d+)/delete/$', DeleteHostView.as_view(), name='delete_host'),
+ url(r'^host/(?P\d+)/delete/$',
+ DeleteHostView.as_view(), name='delete_host'),
url(r'^myip$', MyIpView),
url(r'^detectip/$', DetectIpView),
url(r'^detectip/(?P\w+)/$', DetectIpView),
url(r'^nic/update$', NicUpdateView),
- url(r'^nic/update_authorized$', AuthorizedNicUpdateView, name='nic_update_authorized'),
+ url(r'^nic/update_authorized$',
+ AuthorizedNicUpdateView, name='nic_update_authorized'),
)
diff --git a/nsupdate/main/views.py b/nsupdate/main/views.py
index 05a8ee4..99e7c86 100644
--- a/nsupdate/main/views.py
+++ b/nsupdate/main/views.py
@@ -14,6 +14,15 @@ from main.forms import HostForm
from main.models import Host
+class AboutView(TemplateView):
+ template_name = "main/about.html"
+
+ def get_context_data(self, *args, **kwargs):
+ context = super(AboutView, self).get_context_data(*args, **kwargs)
+ context['nav_about'] = True
+ return context
+
+
class HomeView(TemplateView):
template_name = "main/home.html"
diff --git a/nsupdate/nsupdate/templates/base.html b/nsupdate/nsupdate/templates/base.html
index 85ae187..e71602d 100644
--- a/nsupdate/nsupdate/templates/base.html
+++ b/nsupdate/nsupdate/templates/base.html
@@ -29,8 +29,15 @@
{% if not request.user.is_authenticated %}