remove the screenshots view, it is prone to be outdated and boring work to keep it uptodate
it is replaced by a hint to use a test account, so you can see it all "live" - without needing to register first.
This commit is contained in:
parent
f59981616f
commit
2eb13ee3b8
@ -34,12 +34,14 @@
|
|||||||
<div class="col-lg-4">
|
<div class="col-lg-4">
|
||||||
<h2>How is it?</h2>
|
<h2>How is it?</h2>
|
||||||
<p>
|
<p>
|
||||||
See <a href="{% url 'screenshots' %}">Screenshots</a> and
|
You can just try it using the test account (see Register page).
|
||||||
<a href="http://nsupdateinfo.readthedocs.org/"
|
|
||||||
title="Open docs in new window" target="_blank">Documentation</a>.
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
So you can see what you get without having to create an account first.
|
Also, we have
|
||||||
|
<a href="http://nsupdateinfo.readthedocs.org/"
|
||||||
|
title="Open docs in new window" target="_blank">documentation</a> —
|
||||||
|
there might be some interesting stuff for you in it that is
|
||||||
|
not visible or obvious on the user interface.
|
||||||
</p>
|
</p>
|
||||||
<p>If you are interested in the software project, have a look at the
|
<p>If you are interested in the software project, have a look at the
|
||||||
<a href="https://github.com/nsupdate-info/nsupdate.info">nsupdate.info project on GitHub</a>.
|
<a href="https://github.com/nsupdate-info/nsupdate.info">nsupdate.info project on GitHub</a>.
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
{% extends "base.html" %}
|
|
||||||
{% load bootstrap %}
|
|
||||||
{% load static %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<div class="well well-sm">
|
|
||||||
<h3>Screenshots</h3>
|
|
||||||
<img id="screenshot_image" src="{% static 'screenshots/overview.png' %}" class="img-responsive" alt="Responsive image">
|
|
||||||
<script>
|
|
||||||
var idx = 0;
|
|
||||||
var images = ["{% static 'screenshots/hostview.png' %}",
|
|
||||||
"{% static 'screenshots/help.png' %}",
|
|
||||||
"{% static 'screenshots/overview.png' %}",
|
|
||||||
"{% static 'screenshots/generatesecret.png' %}"];
|
|
||||||
setInterval(function(){
|
|
||||||
$('#screenshot_image').attr('src', images[idx]);
|
|
||||||
idx += 1;
|
|
||||||
if(idx >= images.length) {
|
|
||||||
idx = 0;
|
|
||||||
}
|
|
||||||
}, 5000);
|
|
||||||
</script>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
@ -3,7 +3,7 @@ from django.views.generic import TemplateView
|
|||||||
|
|
||||||
from .views import (
|
from .views import (
|
||||||
HomeView, OverviewView, HostView, DeleteHostView, AboutView, GenerateSecretView, GenerateNSSecretView,
|
HomeView, OverviewView, HostView, DeleteHostView, AboutView, GenerateSecretView, GenerateNSSecretView,
|
||||||
RobotsTxtView, DomainOverwievView, DomainView, DeleteDomainView, ScreenshotsView, StatusView)
|
RobotsTxtView, DomainOverwievView, DomainView, DeleteDomainView, StatusView)
|
||||||
from ..api.views import (
|
from ..api.views import (
|
||||||
myip_view, DetectIpView, AjaxGetIps, NicUpdateView, AuthorizedNicUpdateView)
|
myip_view, DetectIpView, AjaxGetIps, NicUpdateView, AuthorizedNicUpdateView)
|
||||||
|
|
||||||
@ -14,7 +14,6 @@ urlpatterns = patterns(
|
|||||||
url(r'^$', HomeView.as_view(), name="home"),
|
url(r'^$', HomeView.as_view(), name="home"),
|
||||||
url(r'^about/$', AboutView.as_view(), name="about"),
|
url(r'^about/$', AboutView.as_view(), name="about"),
|
||||||
url(r'^legal/$', TemplateView.as_view(template_name='main/legal.html'), name="legal"),
|
url(r'^legal/$', TemplateView.as_view(template_name='main/legal.html'), name="legal"),
|
||||||
url(r'^screenshots/$', ScreenshotsView.as_view(), name="screenshots"),
|
|
||||||
url(r'^overview/$', OverviewView.as_view(), name='overview'),
|
url(r'^overview/$', OverviewView.as_view(), name='overview'),
|
||||||
url(r'^host/(?P<pk>\d+)/$', HostView.as_view(), name='host_view'),
|
url(r'^host/(?P<pk>\d+)/$', HostView.as_view(), name='host_view'),
|
||||||
url(r'^domain/(?P<pk>\d+)/$', DomainView.as_view(), name='domain_view'),
|
url(r'^domain/(?P<pk>\d+)/$', DomainView.as_view(), name='domain_view'),
|
||||||
|
@ -90,15 +90,6 @@ class HomeView(TemplateView):
|
|||||||
return context
|
return context
|
||||||
|
|
||||||
|
|
||||||
class ScreenshotsView(TemplateView):
|
|
||||||
template_name = "main/screenshots.html"
|
|
||||||
|
|
||||||
def get_context_data(self, *args, **kwargs):
|
|
||||||
context = super(ScreenshotsView, self).get_context_data(*args, **kwargs)
|
|
||||||
context['nav_about'] = True
|
|
||||||
return context
|
|
||||||
|
|
||||||
|
|
||||||
class StatusView(TemplateView):
|
class StatusView(TemplateView):
|
||||||
template_name = "main/status.html"
|
template_name = "main/status.html"
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 100 KiB |
Binary file not shown.
Before Width: | Height: | Size: 116 KiB |
Binary file not shown.
Before Width: | Height: | Size: 116 KiB |
Binary file not shown.
Before Width: | Height: | Size: 113 KiB |
Loading…
x
Reference in New Issue
Block a user