Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mymusiclist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Brian Guadalupe
mymusiclist
Commits
50ac4d40
Commit
50ac4d40
authored
Oct 21, 2017
by
Brian Guadalupe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some templates
parent
7f6fdf8f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
db.sqlite3
db.sqlite3
+0
-0
base.html
templates/base.html
+1
-3
home.html
templates/home.html
+3
-1
No files found.
db.sqlite3
View file @
50ac4d40
No preview for this file type
templates/base.html
View file @
50ac4d40
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<html>
<html>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<title>
{% block title %}MyMusicList
Login
{% endblock %}
</title>
<title>
{% block title %}MyMusicList{% endblock %}
</title>
</head>
</head>
<body>
<body>
<header>
<header>
...
@@ -15,11 +15,9 @@
...
@@ -15,11 +15,9 @@
<a
href=
"{% url 'signup' %}"
>
sign up
</a>
<a
href=
"{% url 'signup' %}"
>
sign up
</a>
{% endif %}
{% endif %}
</header>
</header>
<hr>
<main>
<main>
{% block content %}
{% block content %}
{% endblock %}
{% endblock %}
</main>
</main>
<hr>
</body>
</body>
</html>
</html>
templates/home.html
View file @
50ac4d40
{% extends 'base.html' %}
{% extends 'base.html' %}
{% block title %}
Login
{% endblock %}
{% block title %}
MyMusicList
{% endblock %}
{% block content %}
{% block content %}
<h2>
Home
</h2>
<h2>
Home
</h2>
{% if user.is_authenticated %}
<a
href=
"/profile/{{user.username}}"
>
View your profile
</a>
<a
href=
"/profile/{{user.username}}"
>
View your profile
</a>
{% endif %}
{% endblock %}
{% endblock %}
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