Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
Lab1-Willowisp
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
Abigail Moreno
Lab1-Willowisp
Commits
5123460b
Commit
5123460b
authored
Mar 10, 2020
by
abbeeeeyyyyy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created the heroes app. Adding the tests, views, and urls.
parent
c1733e0b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
74 deletions
+4
-74
detail_cloud.html
willowisp/detail_cloud.html
+0
-24
detail_jester.html
willowisp/detail_jester.html
+0
-24
detail_sunflowey.html
willowisp/detail_sunflowey.html
+0
-24
settings.py
willowisp/willowisp/settings.py
+1
-0
urls.py
willowisp/willowisp/urls.py
+3
-2
No files found.
willowisp/detail_cloud.html
deleted
100644 → 0
View file @
c1733e0b
<!DOCTYPE html>
<html>
<head>
<title>
Detail - Cloud
</title>
</head>
<body>
<img
src=
"./cloud.png"
style=
"width: 10vw;"
/>
<h1>
Detail - Cloud
</h1>
<dl>
<dt>
Health Points
</dt>
<dd>
600
</dd>
<dt>
Base Attack Damage
</dt>
<dd>
57
</dd>
<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>
<button
class=
'info'
onclick=
"window.location.href = 'heroes.html';"
>
Back to Heroes List
</button>
</body>
</html>
\ No newline at end of file
willowisp/detail_jester.html
deleted
100644 → 0
View file @
c1733e0b
<!DOCTYPE html>
<html>
<head>
<title>
Detail - Jester
</title>
</head>
<body>
<img
src=
"./jester.png"
style=
"width: 10vw;"
/>
<h1>
Detail - Jester
</h1>
<dl>
<dt>
Health Points
</dt>
<dd>
660
</dd>
<dt>
Base Attack Damage
</dt>
<dd>
64
</dd>
<dt>
Skills
</dt>
<dd>
Laugh, Dance, Smile
</dd>
<dt>
Lore
</dt>
<dd>
I do it for the LOLs.
</dd>
</dl>
<button
class=
'info'
onclick=
"window.location.href = 'heroes.html';"
>
Back to Heroes List
</button>
</body>
</html>
\ No newline at end of file
willowisp/detail_sunflowey.html
deleted
100644 → 0
View file @
c1733e0b
<!DOCTYPE html>
<html>
<head>
<title>
Detail - Sunflowey
</title>
</head>
<body>
<img
src=
"./sunflowey.png"
style=
"width: 10vw;"
/>
<h1>
Detail - Sunflowey
</h1>
<dl>
<dt>
Health Points
</dt>
<dd>
650
</dd>
<dt>
Base Attack Damage
</dt>
<dd>
43
</dd>
<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>
<button
class=
'info'
onclick=
"window.location.href = 'heroes.html';"
>
Back to Heroes List
</button>
</body>
</html>
\ No newline at end of file
willowisp/willowisp/settings.py
View file @
5123460b
...
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
...
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'django.contrib.staticfiles'
,
'heroes'
]
]
MIDDLEWARE
=
[
MIDDLEWARE
=
[
...
...
willowisp/willowisp/urls.py
View file @
5123460b
...
@@ -14,8 +14,9 @@ Including another URLconf
...
@@ -14,8 +14,9 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
"""
from
django.contrib
import
admin
from
django.contrib
import
admin
from
django.urls
import
path
from
django.urls
import
path
,
include
urlpatterns
=
[
urlpatterns
=
[
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'admin/'
,
admin
.
site
.
urls
),
]
path
(
''
,
include
(
'heroes.urls'
)),
]
\ No newline at end of file
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