Search URI still a bit problematic
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
13
mopidy_iris/static/assets/icons/genius.svg
Normal file
13
mopidy_iris/static/assets/icons/genius.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 192 192" style="enable-background:new 0 0 192 192;" xml:space="preserve">
|
||||
<path fill="white" d="M54.8,38.5c-10,33.6-5.1,64.3,20,89.4s55.9,29.7,89.5,20.2c-17.7,17.6-39.2,24.3-63.4,21.6
|
||||
c-35-4.1-59.6-30.3-66.6-59.5C27.2,80.8,39.6,50.9,54.8,38.5z"/>
|
||||
<path fill="white" d="M91,43.9c2.3-4.1,5.5-7.6,9.1-10.7c17.3-14.7,43.6-14.7,61-0.1c2.9,2.4,4.5,5,4.1,9c-0.4,4.6-0.1,9.3-0.1,14.5
|
||||
c-6.3,0-12.3,0.1-18.2-0.1c-0.8,0-1.6-0.8-2.3-1.3c-14.9-12.7-31.7-16.5-50.5-10.9c-0.8,0.2-1.7,0.3-2.5,0.5
|
||||
C91.5,44.6,91.2,44.2,91,43.9z"/>
|
||||
<path fill="white" d="M143,118.2c-0.1-2.4-0.2-4.6-0.3-7.3c-1.3-0.1-2.6-0.2-3.8-0.3c-3.9-0.1-7.8,0.2-11.7-0.1
|
||||
c-9.3-0.5-16.9-8.2-17-17.1c-0.2-9.6,6.9-17.1,17-17.9c0.2,0.8,0.4,1.6,0.5,2.5c2,9.3,9,15,18.6,15.1c4.8,0.1,9.6,0,14.4,0
|
||||
c1.2,0,2.6,0.1,4.4,0.2c0,4.7,0.1,9.2-0.1,13.7c0,0.8-0.7,1.6-1.2,2.3C159.7,113.3,149.8,117.6,143,118.2z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@ -98,7 +98,7 @@
|
||||
|
||||
// Release details
|
||||
// These are automatically injected to built HTML
|
||||
var build = "1534879749";
|
||||
var build = "1534930657";
|
||||
var version = "3.23.2";
|
||||
|
||||
// Construct the script tag
|
||||
|
||||
@ -174,7 +174,7 @@ class Search extends React.Component{
|
||||
return (
|
||||
<div>
|
||||
<h4>
|
||||
<URILink unencoded type="search" uri={"search:all:"+this.state.term}>
|
||||
<URILink type="search" uri={"search:all:"+this.state.term}>
|
||||
Search
|
||||
</URILink>
|
||||
<Icon type="fontawesome" name="angle-right" />
|
||||
@ -192,7 +192,7 @@ class Search extends React.Component{
|
||||
return (
|
||||
<div>
|
||||
<h4>
|
||||
<URILink unencoded type="search" uri={"search:all:"+this.state.term}>
|
||||
<URILink type="search" uri={"search:all:"+this.state.term}>
|
||||
Search
|
||||
</URILink>
|
||||
<Icon type="fontawesome" name="angle-right" />
|
||||
@ -210,7 +210,7 @@ class Search extends React.Component{
|
||||
return (
|
||||
<div>
|
||||
<h4>
|
||||
<URILink unencoded type="search" uri={"search:all:"+this.state.term}>
|
||||
<URILink type="search" uri={"search:all:"+this.state.term}>
|
||||
Search
|
||||
</URILink>
|
||||
<Icon type="fontawesome" name="angle-right" />
|
||||
@ -228,7 +228,7 @@ class Search extends React.Component{
|
||||
return (
|
||||
<div>
|
||||
<h4>
|
||||
<URILink unencoded type="search" uri={"search:all:"+this.state.term}>
|
||||
<URILink type="search" uri={"search:all:"+this.state.term}>
|
||||
Search
|
||||
</URILink>
|
||||
<Icon type="fontawesome" name="angle-right" />
|
||||
@ -249,11 +249,11 @@ class Search extends React.Component{
|
||||
var artists_section = (
|
||||
<section>
|
||||
<div className="inner">
|
||||
<URILink unencoded type="search" uri={"search:artist:"+this.state.term}>
|
||||
<URILink type="search" uri={"search:artist:"+this.state.term}>
|
||||
<h4>Artists</h4>
|
||||
</URILink>
|
||||
<ArtistGrid show_source_icon artists={artists.slice(0,5)} />
|
||||
{artists.length > 4 ? <URILink unencoded type="search" uri={"search:artist:"+this.state.term} className="button grey">
|
||||
{artists.length > 4 ? <URILink type="search" uri={"search:artist:"+this.state.term} className="button grey">
|
||||
All artists ({artists.length})
|
||||
</URILink> : null}
|
||||
</div>
|
||||
@ -267,11 +267,11 @@ class Search extends React.Component{
|
||||
var albums_section = (
|
||||
<section>
|
||||
<div className="inner">
|
||||
<URILink unencoded type="search" uri={"search:album:"+this.state.term}>
|
||||
<URILink type="search" uri={"search:album:"+this.state.term}>
|
||||
<h4>Albums</h4>
|
||||
</URILink>
|
||||
<AlbumGrid show_source_icon albums={albums.slice(0,5)} />
|
||||
{albums.length > 4 ? <URILink unencoded type="search" uri={"search:album:"+this.state.term} className="button grey">
|
||||
{albums.length > 4 ? <URILink type="search" uri={"search:album:"+this.state.term} className="button grey">
|
||||
All albums ({albums.length})
|
||||
</URILink> : null}
|
||||
</div>
|
||||
@ -285,11 +285,11 @@ class Search extends React.Component{
|
||||
var playlists_section = (
|
||||
<section>
|
||||
<div className="inner">
|
||||
<URILink unencoded type="search" uri={"search:playlist:"+this.state.term}>
|
||||
<URILink type="search" uri={"search:playlist:"+this.state.term}>
|
||||
<h4>Playlists</h4>
|
||||
</URILink>
|
||||
<PlaylistGrid show_source_icon playlists={playlists.slice(0,5)} />
|
||||
{playlists.length > 4 ? <URILink unencoded type="search" uri={"search:playlist:"+this.state.term} className="button grey">
|
||||
{playlists.length > 4 ? <URILink type="search" uri={"search:playlist:"+this.state.term} className="button grey">
|
||||
All playlists ({playlists.length})
|
||||
</URILink> : null}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user