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
2afcd314
Commit
2afcd314
authored
Nov 20, 2017
by
Gink
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes made by Raphael posted in fb chat
parent
64c4441d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
2 deletions
+47
-2
search.html
templates/search.html
+47
-2
No files found.
templates/search.html
View file @
2afcd314
...
...
@@ -10,6 +10,10 @@
Source: Local
</p>
{% endblock %}
<!-- ... -->
<!-- Add if statement to show ONLY IF a user is logged in -->
<!-- ... -->
{% block content %}
{% for i in results %}
...
...
@@ -25,6 +29,20 @@
</div>
<!-- ... -->
<!-- ... -->
<div
class=
"w3-dropdown-hover"
>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:200px; text-align: left;"
><i
class=
"fa fa-caret-down"
></i>
</button>
<div
class=
"w3-dropdown-content w3-bar-block w3-card-4"
>
<button
class=
" w3-bar-item w3-button"
>
Update existing playlist
</button>
<button
onclick=
"alert('{{type}} id is {{i.id}}')"
>
Show {{type}}
</button>
<button
class=
" w3-bar-item w3-button"
>
Create new playlist
</button>
</div>
</div>
<!-- ... -->
<!-- ... -->
{% endif %}
...
...
@@ -42,6 +60,19 @@
{% endfor %}
</div>
<!-- ... -->
<!-- ... -->
<div
class=
"w3-dropdown-hover"
>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:200px; text-align: left;"
><i
class=
"fa fa-caret-down"
></i>
</button>
<div
class=
"w3-dropdown-content w3-bar-block w3-card-4"
>
<button
class=
" w3-bar-item w3-button"
>
Update existing playlist
</button>
<button
onclick=
"alert('{{type}} id is {{i.id}}')"
>
Show {{type}}
</button>
<button
class=
" w3-bar-item w3-button"
>
Create new playlist
</button>
</div>
</div>
<!-- ... -->
<!-- ... -->
{% endif %}
...
...
@@ -57,6 +88,20 @@
Year: {{i.album.year}}
</p>
</div>
<!-- ... -->
<!-- ... -->
<div
class=
"w3-dropdown-hover"
>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:200px; text-align: left;"
><i
class=
"fa fa-caret-down"
></i>
</button>
<div
class=
"w3-dropdown-content w3-bar-block w3-card-4"
>
<button
class=
" w3-bar-item w3-button"
>
Update existing playlist
</button>
<button
onclick=
"alert('{{type}} id is {{i.id}}')"
>
Show {{type}}
</button>
<button
class=
" w3-bar-item w3-button"
>
Create new playlist
</button>
</div>
</div>
<!-- ... -->
<!-- ... -->
{% endif %}
</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