Commit f73b2076 authored by R E's avatar R E

Add heroes pages

parent efd767f6
<!DOCTYPE html>
<html>
<head>
<title>The Will of the Wisps Wiki</title>
</head>
<body>
<header><h1>The Will of the Wisps Wiki</h1></header>
<ul>
<li><a href="hero/cloud"> <h2>Cloud</h2></a><dl>
<dt><b>Health Points</b> 600</dt>
<dt><b>Base Attack Damage</b> 57</dt>
</dl></li>
<li><a href="hero/jester"> <h2>Jester</h2></a><dl>
<dt><b>Health Points</b> 660</dt>
<dt><b>Base Attack Damage</b> 64</dt>
</dl></li>
<li><a href="hero/sunflowey"> <h2>Sunflowey</h2></a><dl>
<dt><b>Health Points</b> 650</dt>
<dt><b>Base Attack Damage</b> 43</dt>
</dl></li>
</ul>
</body>
</html>
\ No newline at end of file
from django.conf.urls import url
from .views import HomeView
from .views import HomeView, CloudView, JesterView, SunfloweyView
urlpatterns = [
url(r'^$', HomeView.as_view(), name='home'),
url(r'^heroes$', HomeView.as_view(), name='home'),
url(r'^hero/cloud$', CloudView.as_view(), name='cloud'),
url(r'^hero/jester$', JesterView.as_view(), name='jester'),
url(r'^hero/sunflowey$', SunfloweyView.as_view(), name='sunflowey'),
]
......@@ -2,3 +2,13 @@ from django.views.generic.base import TemplateView
class HomeView(TemplateView):
template_name = 'home.html'
class CloudView(TemplateView):
template_name = 'detail_cloud.html'
class JesterView(TemplateView):
template_name = 'detail_jester.html'
class SunfloweyView(TemplateView):
template_name = 'detail_sunflowey.html'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment