forked from uncloud/uncloud
[views] add index view for uncloud
This commit is contained in:
parent
50a395c8ec
commit
8dd4b712fb
2 changed files with 19 additions and 0 deletions
15
uncloud/templates/uncloud/index.html
Normal file
15
uncloud/templates/uncloud/index.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% extends 'uncloud/base.html' %}
|
||||
{% block title %}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div>
|
||||
<h1>Welcome to uncloud</h1>
|
||||
Welcome to uncloud, checkout the following locations:
|
||||
|
||||
<ul>
|
||||
<li><a href="/api/">The API</a>
|
||||
<li><a href="/cc/reg/">The CC registration</a>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
4
uncloud/views.py
Normal file
4
uncloud/views.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
from django.views.generic.base import TemplateView
|
||||
|
||||
class UncloudIndex(TemplateView):
|
||||
template_name = "uncloud/index.html"
|
Loading…
Reference in a new issue