diff --git a/nsupdate/main/templates/main/help.html b/nsupdate/main/templates/main/help.html deleted file mode 100644 index 90f1abe..0000000 --- a/nsupdate/main/templates/main/help.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} -{% load bootstrap %} - -{% block content %} -

Documentation

- We have nice documentation for service users and administrators there: - - nsupdate.info docs on ReadTheDocs.org - -

Configuration Help

-
-
-

How to configure automated dynamic DNS updates?

- {% include "main/includes/tabbed_router_configuration.html" with host=object %} -
-
-{% endblock %} diff --git a/nsupdate/main/urls.py b/nsupdate/main/urls.py index 387de84..bef113c 100644 --- a/nsupdate/main/urls.py +++ b/nsupdate/main/urls.py @@ -2,7 +2,7 @@ from django.conf.urls import patterns, url from django.views.generic import TemplateView from .views import ( - HomeView, OverviewView, HostView, DeleteHostView, AboutView, HelpView, GenerateSecretView, GenerateNSSecretView, + HomeView, OverviewView, HostView, DeleteHostView, AboutView, GenerateSecretView, GenerateNSSecretView, RobotsTxtView, DomainOverwievView, DomainView, DeleteDomainView, ScreenshotsView) from ..api.views import ( MyIpView, DetectIpView, AjaxGetIps, NicUpdateView, AuthorizedNicUpdateView) @@ -14,7 +14,6 @@ urlpatterns = patterns( url(r'^about/$', AboutView.as_view(), name="about"), url(r'^legal/$', TemplateView.as_view(template_name='main/legal.html'), name="legal"), - url(r'^help/$', HelpView.as_view(), name="help"), url(r'^screenshots/$', ScreenshotsView.as_view(), name="screenshots"), url(r'^overview/$', OverviewView.as_view(), name='overview'), url(r'^host/(?P\d+)/$', HostView.as_view(), name='host_view'), diff --git a/nsupdate/main/views.py b/nsupdate/main/views.py index 2e2c588..846ac4b 100644 --- a/nsupdate/main/views.py +++ b/nsupdate/main/views.py @@ -86,15 +86,6 @@ class HomeView(TemplateView): return context -class HelpView(TemplateView): - template_name = "main/help.html" - - def get_context_data(self, *args, **kwargs): - context = super(HelpView, self).get_context_data(*args, **kwargs) - context['nav_help'] = True - return context - - class ScreenshotsView(TemplateView): template_name = "main/screenshots.html" diff --git a/nsupdate/templates/base.html b/nsupdate/templates/base.html index 3f3ab43..eab80a1 100644 --- a/nsupdate/templates/base.html +++ b/nsupdate/templates/base.html @@ -43,8 +43,9 @@ About - - Help +
  • + Documentation