Compare commits
	
		
			2 Commits
		
	
	
		
			089b9ba218
			...
			f4bd2a69e4
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					f4bd2a69e4 | ||
| 
						 | 
					3c04714fec | 
@@ -59,7 +59,7 @@ body {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.store-cards {
 | 
					.cards {
 | 
				
			||||||
    height: 100%;
 | 
					    height: 100%;
 | 
				
			||||||
    width: 100%;
 | 
					    width: 100%;
 | 
				
			||||||
    display: flex;
 | 
					    display: flex;
 | 
				
			||||||
@@ -70,6 +70,10 @@ body {
 | 
				
			|||||||
    overflow: auto;
 | 
					    overflow: auto;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#stores {
 | 
				
			||||||
 | 
					    display: none;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.card {
 | 
					.card {
 | 
				
			||||||
    background-color: rgba(255, 255, 255, 0.5);
 | 
					    background-color: rgba(255, 255, 255, 0.5);
 | 
				
			||||||
    width: 10em;
 | 
					    width: 10em;
 | 
				
			||||||
@@ -81,6 +85,15 @@ body {
 | 
				
			|||||||
    padding: 1em;
 | 
					    padding: 1em;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#listings .card {
 | 
				
			||||||
 | 
					    background-color: rgba(255, 0, 0, 0.5);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#listings .in-stock {
 | 
				
			||||||
 | 
					    background-color: rgba(125, 255, 125, 0.5);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.card-image {
 | 
					.card-image {
 | 
				
			||||||
    width: 100%;
 | 
					    width: 100%;
 | 
				
			||||||
    aspect-ratio: 1/1;
 | 
					    aspect-ratio: 1/1;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,13 +15,22 @@
 | 
				
			|||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <input name="{{ .SearchInputName }}" type="text" class="grid-item" class="search" placeholder="{{ .SearchPlaceholder }}" />
 | 
					            <input name="{{ .SearchInputName }}" type="text" class="grid-item" class="search" placeholder="{{ .SearchPlaceholder }}" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <div class="store-cards">
 | 
					            <div class="cards" id="stores">
 | 
				
			||||||
                {{range $Store := .Stores }}
 | 
					                {{range $Store := .Stores }}
 | 
				
			||||||
                <a target="_blank" href="{{ $Store.Url }}" class="card">
 | 
					                <a target="_blank" href="{{ $Store.Url }}" class="card">
 | 
				
			||||||
                    <h3>{{ $Store.Name }}</h3>
 | 
					                    <h3>{{ $Store.Name }}</h3>
 | 
				
			||||||
                </a>
 | 
					                </a>
 | 
				
			||||||
                {{- end }}
 | 
					                {{- end }}
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <div class="cards" id="listings">
 | 
				
			||||||
 | 
					                {{range $Listing := .Listings }}
 | 
				
			||||||
 | 
					                <a target="_blank" href="{{ $Listing.Url }}" class="card {{ if $Listing.InStock }}in-stock{{ end }}">
 | 
				
			||||||
 | 
					                    <h3>{{ $Listing.ProductName }}</h3>
 | 
				
			||||||
 | 
					                    <p>{{ $Listing.StoreName }} - {{ $Listing.Price }}</p>
 | 
				
			||||||
 | 
					                </a>
 | 
				
			||||||
 | 
					                {{- end }}
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
        </form>
 | 
					        </form>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <script>
 | 
					        <script>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user