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
5e367cfd
Commit
5e367cfd
authored
Oct 23, 2017
by
Gink
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Design changes
>Fixes issue
#1
>Small design changes
parent
4588f611
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
24 deletions
+23
-24
.gitignore
.gitignore
+2
-1
db.sqlite3
db.sqlite3
+0
-0
mymusiclist.css
files/css/mymusiclist.css
+13
-12
base.html
templates/base.html
+7
-9
home.html
templates/home.html
+0
-1
signup.html
templates/signup.html
+1
-1
No files found.
.gitignore
View file @
5e367cfd
.DS_Store
.DS_Store
*.pyc
*.pyc
*.sqlite
*.sqlite
*.sqlite3
desktop.ini
db.sqlite3
deleted
100644 → 0
View file @
4588f611
File deleted
files/css/mymusiclist.css
View file @
5e367cfd
...
@@ -2,9 +2,11 @@
...
@@ -2,9 +2,11 @@
}
}
.login_form
{
#login_submit
{
background-color
:
black
;
color
:
white
;
margin-left
:
6vw
;
}
}
...
@@ -12,11 +14,11 @@
...
@@ -12,11 +14,11 @@
margin
:
0
auto
;
margin
:
0
auto
;
margin-bottom
:
30px
;
margin-bottom
:
30px
;
text-align
:
left
;
text-align
:
left
;
width
:
800px
;
width
:
65vw
;
padding
:
50px
;
padding
:
50px
;
font-size
:
15px
;
font-size
:
15px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.
90
);
background-color
:
rgba
(
0
,
0
,
0
,
0.
6
);
border-radius
:
10px
;
border-radius
:
10px
;
}
}
...
@@ -45,10 +47,10 @@ src: url('../fonts/PalanquinDark-Regular.ttf');
...
@@ -45,10 +47,10 @@ src: url('../fonts/PalanquinDark-Regular.ttf');
margin
:
-15px
;
margin
:
-15px
;
margin-top
:
-70px
;
margin-top
:
-70px
;
padding
:
0px
;
padding
:
0px
;
height
:
5
5
px
;
height
:
5
8
px
;
}
}
#nav_bar
_items
{
#nav_bar
li
,
#nav_bar
li
a
{
float
:
left
;
float
:
left
;
display
:
block
;
display
:
block
;
color
:
white
;
color
:
white
;
...
@@ -57,7 +59,7 @@ src: url('../fonts/PalanquinDark-Regular.ttf');
...
@@ -57,7 +59,7 @@ src: url('../fonts/PalanquinDark-Regular.ttf');
text-decoration
:
none
;
text-decoration
:
none
;
}
}
#nav_bar_items
.
home
{
.nav_bar_
home
{
background-color
:
#424949
;
background-color
:
#424949
;
font-size
:
30px
;
font-size
:
30px
;
letter-spacing
:
5px
;
letter-spacing
:
5px
;
...
@@ -65,7 +67,7 @@ src: url('../fonts/PalanquinDark-Regular.ttf');
...
@@ -65,7 +67,7 @@ src: url('../fonts/PalanquinDark-Regular.ttf');
padding-top
:
0px
;
padding-top
:
0px
;
}
}
#nav_bar_items
.tab
{
.nav_bar_tab
{
float
:
left
;
float
:
left
;
display
:
block
;
display
:
block
;
color
:
white
;
color
:
white
;
...
@@ -76,8 +78,8 @@ src: url('../fonts/PalanquinDark-Regular.ttf');
...
@@ -76,8 +78,8 @@ src: url('../fonts/PalanquinDark-Regular.ttf');
text-decoration
:
none
;
text-decoration
:
none
;
}
}
li
a
:hover
,
.active
{
.nav_bar_tab
:hover
{
background-color
:
#282544
;
background-color
:
blue
;
}
}
...
@@ -86,7 +88,6 @@ body {
...
@@ -86,7 +88,6 @@ body {
font-family
:
helvetica
;
font-family
:
helvetica
;
margin
:
15px
;
margin
:
15px
;
margin-top
:
70px
;
margin-top
:
70px
;
background-image
:
url(/files/images/background.jpg)
;
background
:
url(/files/images/background.jpg)
no-repeat
center
fixed
;
background-position
:
left
top
;
background-size
:
cover
;
background-size
:
cover
;
}
}
templates/base.html
View file @
5e367cfd
{% load static %}
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<title>
{% block title %}MyMusicList{% endblock %}
</title>
<title>
{% block title %}MyMusicList{% endblock %}
</title>
<link
rel=
"stylesheet"
href=
"
{% static 'css/mymusiclist.css' %}
"
>
<link
rel=
"stylesheet"
href=
"
/files/css/mymusiclist.css
"
>
</head>
</head>
<body>
<body>
<header>
<header>
{% if user.is_authenticated %}
{% if user.is_authenticated %}
<ul
id=
'nav_bar'
>
<ul
id=
'nav_bar'
>
<li
id=
'nav_bar_items'
><a
id=
'nav_bar_items'
href=
"/"
>
MyMusicList
</a></li>
<li
><a
class=
"nav_bar_home"
href=
"/"
>
MyMusicList
</a></li>
<li
id=
'nav_bar_items'
><a
id=
'nav_bar_items'
href=
"/profile/{{user.username}}"
>
Hi, {{user.username}}
</a></li>
<li
><a
class=
"nav_bar_tab"
href=
"/profile/{{user.username}}"
>
Hi, {{user.username}}
</a></li>
<li
id=
'nav_bar_items'
style=
"float:right"
><a
id=
'nav_bar_items'
href=
"{% url 'logout' %}"
>
Logout
</a></li>
<li
style=
"float:right"
><a
class=
"nav_bar_tab"
href=
"{% url 'logout' %}"
>
Logout
</a></li>
</ul>
</ul>
{% else %}
{% else %}
<ul
id=
'nav_bar'
>
<ul
id=
'nav_bar'
>
<li
id=
'nav_bar_items'
><a
id=
'nav_bar_items'
class=
"
home"
href=
"/"
>
MyMusicList
</a></li>
<li
><a
class=
"nav_bar_
home"
href=
"/"
>
MyMusicList
</a></li>
<li
id=
'nav_bar_items'
><a
id=
'nav_bar_items'
class=
"
tab"
href=
"{% url 'login' %}"
>
LOGIN
</a></li>
<li
><a
class=
"nav_bar_
tab"
href=
"{% url 'login' %}"
>
LOGIN
</a></li>
<li
id=
'nav_bar_items'
><a
id=
'nav_bar_items'
class=
"
tab"
href=
"{% url 'signup' %}"
>
SIGN UP
</a></li>
<li
><a
class=
"nav_bar_
tab"
href=
"{% url 'signup' %}"
>
SIGN UP
</a></li>
</ul>
</ul>
{% endif %}
{% endif %}
</header>
</header>
...
...
templates/home.html
View file @
5e367cfd
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
{% block title %}MyMusicList{% endblock %}
{% block title %}MyMusicList{% endblock %}
{% block content %}
{% block content %}
<h2>
Home
</h2>
<div
>
<div
>
...
...
templates/signup.html
View file @
5e367cfd
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
'signup_form centered'
>
<div
class=
'signup_form centered'
>
<h2>
Create your account
</h2>
<h2>
Create your account
</h2>
<p>
<p>
Sign up now to start building your music collection with us.
<br/>
Already have an account?
<a
href=
"{% url 'login' %}"
>
Log in
</a>
Sign up now to start building your music collection with us.
<br/>
Already have an account?
Login
</p>
</p>
<form
method=
"post"
>
<form
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
...
...
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