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
e9545099
Commit
e9545099
authored
Nov 20, 2017
by
Deion Menor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style changes
parent
5e8c18eb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
12 deletions
+10
-12
mymusiclist.css
files/css/mymusiclist.css
+1
-0
album.html
templates/album.html
+3
-3
base.html
templates/base.html
+2
-2
search.html
templates/search.html
+4
-7
No files found.
files/css/mymusiclist.css
View file @
e9545099
...
@@ -21,6 +21,7 @@ body {
...
@@ -21,6 +21,7 @@ body {
font-size
:
15px
;
font-size
:
15px
;
}
}
.main
h2
{
.main
h2
{
color
:
white
;
color
:
white
;
font-size
:
3
0px
;
font-size
:
3
0px
;
...
...
templates/album.html
View file @
e9545099
...
@@ -8,14 +8,14 @@
...
@@ -8,14 +8,14 @@
<p>
<p>
<b>
{{result.album_name}}
</b>
({{result.year}})
<br>
<b>
{{result.album_name}}
</b>
({{result.year}})
<br>
{{artist}}
<br>
<br>
{{artist}}
<br>
<br>
Tags: {{songs.1.genre}}
Tags: {{songs.1.genre}}
{% endblock %}
{% endblock %}
{% block content %}
{% block content %}
<div
class =
"
boxified
main"
>
<div
class =
"
w3-card-4
main"
>
{% for i in songs %}
{% for i in songs %}
<h3>
{{i.song_name}}
</h3>
<h3>
{{i.song_name}}
</h3>
{% endfor %}
{% endfor %}
</div>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
templates/base.html
View file @
e9545099
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
class=
"w3-bar w3-black w3-large"
>
<div
class=
"w3-bar w3-black w3-large"
>
<a
href=
"/"
id=
"logo-nav"
class=
"w3-bar-item w3-button w3-blue-gray"
>
MyMusicList
</a>
<a
href=
"/"
id=
"logo-nav"
class=
"w3-bar-item w3-button w3-blue-gray"
>
<i
class=
"fa fa-headphones"
aria-hidden=
"true"
></i>
MyMusicList
</a>
{% if request.user.is_authenticated %}
{% if request.user.is_authenticated %}
<!-- <a class="w3-bar-item w3-button" href="/profile/{{request.user.username}}" style="float:right" ><i class="fa fa-user-circle-o" aria-hidden="true"></i></a> -->
<!-- <a class="w3-bar-item w3-button" href="/profile/{{request.user.username}}" style="float:right" ><i class="fa fa-user-circle-o" aria-hidden="true"></i></a> -->
<!-- <a class="w3-bar-item w3-button" href="{% url 'logout' %}" style="float:right">Logout</a> -->
<!-- <a class="w3-bar-item w3-button" href="{% url 'logout' %}" style="float:right">Logout</a> -->
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<div
class=
"w3-card-4 w3-
green
sidebar"
>
<div
class=
"w3-card-4 w3-
black w3-opacity
sidebar"
>
{% block sidebar %}
{% block sidebar %}
<h2>
Featured Songs
</h2>
<h2>
Featured Songs
</h2>
<img
src=
"/files/images/divide_edsheeran.jpeg"
alt=
"Divide - Ed Sheeran"
>
<img
src=
"/files/images/divide_edsheeran.jpeg"
alt=
"Divide - Ed Sheeran"
>
...
...
templates/search.html
View file @
e9545099
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<header
class=
"w3-row w3-green"
>
<header
class=
"w3-row w3-green"
>
<div
class=
"w3-col w3-container w3-green"
style=
"width:95%"
>
<div
class=
"w3-col w3-container w3-green"
style=
"width:95%"
>
<h3><a
href=
"/album/{{i.id}}"
style=
"text-decoration:none"
>
{{i.album_name}}
</a></h3>
<h3
><a
href=
"/album/{{i.id}}"
style=
"text-decoration:none"
>
{{i.album_name}}
</a></h3>
</div>
</div>
{% if request.user.is_authenticated %}
{% if request.user.is_authenticated %}
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
<button
id=
"search_type"
class=
"w3-button"
"
><i
class=
"fa fa-plus fa-2x"
aria-hidden=
"true"
></i>
</button>
<button
id=
"search_type"
class=
"w3-button"
"
><i
class=
"fa fa-plus fa-2x"
aria-hidden=
"true"
></i>
</button>
<div
class=
"w3-dropdown-content w3-bar-block w3-card-4"
style=
"right:0"
>
<div
class=
"w3-dropdown-content w3-bar-block w3-card-4"
style=
"right:0"
>
<button
class=
" w3-bar-item w3-button"
>
Update existing playlist
</button>
<button
class=
" w3-bar-item w3-button"
>
Update existing playlist
</button>
<button
class=
" w3-bar-item w3-button"
onclick=
"alert('{{type}} id is {{i.id}}')"
>
Show {{type}}
</button>
<button
class=
" w3-bar-item w3-button"
>
Create new playlist
</button>
<button
class=
" w3-bar-item w3-button"
>
Create new playlist
</button>
</div>
</div>
</div>
</div>
...
@@ -48,16 +47,15 @@
...
@@ -48,16 +47,15 @@
<header
class=
"w3-row w3-green"
>
<header
class=
"w3-row w3-green"
>
<div
class=
"w3-col w3-container w3-green"
style=
"width:95%"
>
<div
class=
"w3-col w3-container w3-green"
style=
"width:95%"
>
<h3><a
href=
"/artist/{{i.id}}"
style=
"text-decoration:none"
>
{{i.name}}
</a></h3>
<h3
><a
href=
"/artist/{{i.id}}"
style=
"text-decoration:none"
>
{{i.name}}
</a></h3>
</div>
</div>
{% if request.user.is_authenticated %}
{% if request.user.is_authenticated %}
<div
class=
"w3-col w3-container w3-green "
style=
"width:5%"
>
<div
class=
"w3-col w3-container w3-green "
style=
"width:5%"
>
<div
class=
"w3-dropdown-hover w3-right w3-green"
>
<div
class=
"w3-dropdown-hover w3-right w3-green"
>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:20px;"
><i
class=
"fa fa-plus fa-2x"
aria-hidden=
"true"
></i>
</button>
<button
id=
"search_type"
class=
"w3-button"
><i
class=
"fa fa-plus fa-2x"
aria-hidden=
"true"
></i>
</button>
<div
class=
"w3-dropdown-content w3-bar-block w3-card-4"
style=
"right:0"
>
<div
class=
"w3-dropdown-content w3-bar-block w3-card-4"
style=
"right:0"
>
<button
class=
" w3-bar-item w3-button"
>
Update existing playlist
</button>
<button
class=
" w3-bar-item w3-button"
>
Update existing playlist
</button>
<button
class=
" w3-bar-item w3-button"
onclick=
"alert('{{type}} id is {{i.id}}')"
>
Show {{type}}
</button>
<button
class=
" w3-bar-item w3-button"
>
Create new playlist
</button>
<button
class=
" w3-bar-item w3-button"
>
Create new playlist
</button>
</div>
</div>
</div>
</div>
...
@@ -89,10 +87,9 @@
...
@@ -89,10 +87,9 @@
{% if request.user.is_authenticated %}
{% if request.user.is_authenticated %}
<div
class=
"w3-col w3-container w3-green "
style=
"width:5%"
>
<div
class=
"w3-col w3-container w3-green "
style=
"width:5%"
>
<div
class=
"w3-dropdown-hover w3-right w3-indigo"
>
<div
class=
"w3-dropdown-hover w3-right w3-indigo"
>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:20px;"
><i
class=
"fa fa-plus fa-2x"
aria-hidden=
"true"
></i>
</button>
<button
id=
"search_type"
class=
"w3-button"
><i
class=
"fa fa-plus fa-2x"
aria-hidden=
"true"
></i>
</button>
<div
class=
"w3-dropdown-content w3-bar-block w3-card-4"
style=
"right:0"
>
<div
class=
"w3-dropdown-content w3-bar-block w3-card-4"
style=
"right:0"
>
<button
class=
" w3-bar-item w3-button"
>
Update existing playlist
</button>
<button
class=
" w3-bar-item w3-button"
>
Update existing playlist
</button>
<button
class=
" w3-bar-item w3-button"
onclick=
"alert('{{type}} id is {{i.id}}')"
>
Show {{type}}
</button>
<button
class=
" w3-bar-item w3-button"
>
Create new playlist
</button>
<button
class=
" w3-bar-item w3-button"
>
Create new playlist
</button>
</div>
</div>
</div>
</div>
...
...
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