Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
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
Bienvenido Villabroza
willowisp
Commits
a790e2ad
Commit
a790e2ad
authored
Mar 07, 2020
by
thisLexic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
image of hero in detail page shows up now using direct url to the image
parent
28356ebe
Pipeline
#840
failed with stages
Changes
10
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
8 additions
and
9 deletions
+8
-9
urls.cpython-37.pyc
willowisp/heroes/__pycache__/urls.cpython-37.pyc
+0
-0
cloud.png
willowisp/heroes/static/images/cloud.png
+0
-0
jester.png
willowisp/heroes/static/images/jester.png
+0
-0
sunflowey.png
willowisp/heroes/static/images/sunflowey.png
+0
-0
detail_cloud.html
willowisp/heroes/templates/heroes/detail_cloud.html
+1
-2
detail_jester.html
willowisp/heroes/templates/heroes/detail_jester.html
+1
-1
detail_sunflowey.html
willowisp/heroes/templates/heroes/detail_sunflowey.html
+1
-1
home_page.html
willowisp/heroes/templates/heroes/home_page.html
+3
-3
tests.py
willowisp/heroes/tests.py
+1
-1
urls.py
willowisp/heroes/urls.py
+1
-1
No files found.
willowisp/heroes/__pycache__/urls.cpython-37.pyc
View file @
a790e2ad
No preview for this file type
willowisp/heroes/static/images/cloud.png
deleted
100644 → 0
View file @
28356ebe
6.92 KB
willowisp/heroes/static/images/jester.png
deleted
100644 → 0
View file @
28356ebe
66.3 KB
willowisp/heroes/static/images/sunflowey.png
deleted
100644 → 0
View file @
28356ebe
13.9 KB
willowisp/heroes/templates/heroes/detail_cloud.html
View file @
a790e2ad
{% load static %}
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<head>
<title
id=
'title'
>
Detail - Cloud
</title>
<title
id=
'title'
>
Detail - Cloud
</title>
</head>
</head>
<body>
<body>
<img
src=
"
./cloud
.png"
style=
"width: 10vw;"
/>
<img
src=
"
https://opengameart.org/sites/default/files/styles/medium/public/bigvioletcloud_0
.png"
style=
"width: 10vw;"
/>
<h1
id=
'heading'
>
Detail - Cloud
</h1>
<h1
id=
'heading'
>
Detail - Cloud
</h1>
<dl>
<dl>
<dt>
Health Points
</dt><dd>
600
</dd>
<dt>
Health Points
</dt><dd>
600
</dd>
...
...
willowisp/heroes/templates/heroes/detail_jester.html
View file @
a790e2ad
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<title>
Detail - Jester
</title>
<title>
Detail - Jester
</title>
</head>
</head>
<body>
<body>
<img
src=
"
.
/jester.png"
style=
"width: 10vw;"
/>
<img
src=
"
https://opengameart.org/sites/default/files/styles/medium/public
/jester.png"
style=
"width: 10vw;"
/>
<h1>
Detail - Jester
</h1>
<h1>
Detail - Jester
</h1>
<dl>
<dl>
<dt>
Health Points
</dt><dd>
660
</dd>
<dt>
Health Points
</dt><dd>
660
</dd>
...
...
willowisp/heroes/templates/heroes/detail_sunflowey.html
View file @
a790e2ad
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<title>
Detail - Sunflowey
</title>
<title>
Detail - Sunflowey
</title>
</head>
</head>
<body>
<body>
<img
src=
"
./sunflowey.pn
g"
style=
"width: 10vw;"
/>
<img
src=
"
https://opengameart.org/sites/default/files/styles/medium/public/sunflower_plant_enemy_game_character_sprites.jp
g"
style=
"width: 10vw;"
/>
<h1>
Detail - Sunflowey
</h1>
<h1>
Detail - Sunflowey
</h1>
<dl>
<dl>
<dt>
Health Points
</dt><dd>
650
</dd>
<dt>
Health Points
</dt><dd>
650
</dd>
...
...
willowisp/heroes/templates/heroes/home_page.html
View file @
a790e2ad
...
@@ -5,21 +5,21 @@
...
@@ -5,21 +5,21 @@
</head>
</head>
<body>
<body>
<h1><a
href=
"/hero
es
/cloud"
id=
"cName"
>
Cloud
</a></h1>
<h1><a
href=
"/hero/cloud"
id=
"cName"
>
Cloud
</a></h1>
<dl>
<dl>
<dt>
Health Points
</dt><dd
id=
"cHealth"
>
600
</dd>
<dt>
Health Points
</dt><dd
id=
"cHealth"
>
600
</dd>
<dt>
Base Attack Damage
</dt><dd
id=
"cAttack"
>
57
</dd>
<dt>
Base Attack Damage
</dt><dd
id=
"cAttack"
>
57
</dd>
</dl>
</dl>
<h1><a
href=
"/hero
es
/jester"
id=
"jName"
>
Jester
</a></h1>
<h1><a
href=
"/hero/jester"
id=
"jName"
>
Jester
</a></h1>
<dl>
<dl>
<dt>
Health Points
</dt><dd
id=
"jHealth"
>
660
</dd>
<dt>
Health Points
</dt><dd
id=
"jHealth"
>
660
</dd>
<dt>
Base Attack Damage
</dt><dd
id=
"jAttack"
>
64
</dd>
<dt>
Base Attack Damage
</dt><dd
id=
"jAttack"
>
64
</dd>
</dl>
</dl>
<h1><a
href=
"/hero
es
/sunflowey"
id=
"sName"
>
Sunflowey
</a></h1>
<h1><a
href=
"/hero/sunflowey"
id=
"sName"
>
Sunflowey
</a></h1>
<dl>
<dl>
<dt>
Health Points
</dt><dd
id=
"sHealth"
>
650
</dd>
<dt>
Health Points
</dt><dd
id=
"sHealth"
>
650
</dd>
<dt>
Base Attack Damage
</dt><dd
id=
"sAttack"
>
43
</dd>
<dt>
Base Attack Damage
</dt><dd
id=
"sAttack"
>
43
</dd>
...
...
willowisp/heroes/tests.py
View file @
a790e2ad
import
unittest
from
django.urls
import
resolve
from
django.urls
import
resolve
from
selenium
import
webdriver
from
selenium
import
webdriver
import
unittest
from
.views
import
home_page
from
.views
import
home_page
...
...
willowisp/heroes/urls.py
View file @
a790e2ad
...
@@ -3,7 +3,7 @@ from .views import home_page, cloud, jester, sunflowey
...
@@ -3,7 +3,7 @@ from .views import home_page, cloud, jester, sunflowey
urlpatterns
=
[
urlpatterns
=
[
url
(
r'^$'
,
home_page
,
name
=
'home_page'
),
url
(
r'^$'
,
home_page
,
name
=
'home_page'
),
url
(
r'^heroes$'
,
home_page
,
name
=
'home_page'
),
url
(
r'^heroes
/
$'
,
home_page
,
name
=
'home_page'
),
url
(
r'^hero/cloud$'
,
cloud
,
name
=
'cloud'
),
url
(
r'^hero/cloud$'
,
cloud
,
name
=
'cloud'
),
url
(
r'^hero/jester$'
,
jester
,
name
=
'jester'
),
url
(
r'^hero/jester$'
,
jester
,
name
=
'jester'
),
url
(
r'^hero/sunflowey$'
,
sunflowey
,
name
=
'sunflowey'
),
url
(
r'^hero/sunflowey$'
,
sunflowey
,
name
=
'sunflowey'
),
...
...
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