Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
1
184424-Santos-Lab1-CSCI-40
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirby Ezekiel Santos
184424-Santos-Lab1-CSCI-40
Commits
577bcd88
Commit
577bcd88
authored
Mar 07, 2020
by
Kirby Ezekiel Santos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added home buttons to each hero page
parent
2d434b73
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
0 deletions
+13
-0
views.py
heroes/views.py
+1
-0
detail_cloud.html
templates/detail_cloud.html
+4
-0
detail_jester.html
templates/detail_jester.html
+4
-0
detail_sunflowey.html
templates/detail_sunflowey.html
+4
-0
No files found.
heroes/views.py
View file @
577bcd88
from
django.shortcuts
import
render
# Create your views here.
home_page
=
'willowisp_home_page.html'
def
go_to_home_page
(
request
):
return
render
(
request
,
"willowisp_home_page.html"
)
...
...
templates/detail_cloud.html
View file @
577bcd88
...
...
@@ -12,5 +12,9 @@
<dt>
Skills
</dt><dd>
Nimbus, Rain Cloud, Thunderbolt
</dd>
<dt>
Lore
</dt><dd>
I am a cloud. When I pee you call it 'rain'.
</dd>
</dl>
<br>
<form
action=
"../heroes"
>
<input
type=
"submit"
id=
"homeButton"
value=
"Back to Heroes List"
/>
</form>
</body>
</html>
templates/detail_jester.html
View file @
577bcd88
...
...
@@ -12,5 +12,9 @@
<dt>
Skills
</dt><dd>
Laugh, Dance, Smile
</dd>
<dt>
Lore
</dt><dd>
I do it for the LOLs.
</dd>
</dl>
<br>
<form
action=
"../heroes"
>
<input
type=
"submit"
id=
"homeButton"
value=
"Back to Heroes List"
/>
</form>
</body>
</html>
templates/detail_sunflowey.html
View file @
577bcd88
...
...
@@ -12,5 +12,9 @@
<dt>
Skills
</dt><dd>
Power Pellet, Sunshine, Pollen Punch
</dd>
<dt>
Lore
</dt><dd>
I am Sunflowey. Sometimes a sun, sometimes a flower.
</dd>
</dl>
<br>
<form
action=
"../heroes"
>
<input
type=
"submit"
id=
"homeButton"
value=
"Back to Heroes List"
/>
</form>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment