mirror of
https://github.com/romancm/gamebrary
synced 2025-02-17 03:28:25 +00:00
hide wip stuff and add title to search page
This commit is contained in:
parent
79e0e50727
commit
e1075e1811
1 changed files with 14 additions and 10 deletions
|
@ -2,20 +2,24 @@
|
|||
<div class="search-page bg-white p-2">
|
||||
<search-box class="d-md-none mb-2" />
|
||||
|
||||
<b-alert show variant="success">
|
||||
<!-- <b-alert show variant="success">
|
||||
Custom search controls go here!
|
||||
</b-alert>
|
||||
</b-alert> -->
|
||||
|
||||
<b-skeleton v-if="loading" />
|
||||
|
||||
<b-card-group columns v-else-if="searchResults.length > 0">
|
||||
<game-card-search
|
||||
v-for="game in searchResults"
|
||||
:key="game.id"
|
||||
@click.native="openGame(game)"
|
||||
:game-id="game.id"
|
||||
/>
|
||||
</b-card-group>
|
||||
<div v-else-if="searchResults.length > 0">
|
||||
<h5>Search results</h5>
|
||||
|
||||
<b-card-group columns>
|
||||
<game-card-search
|
||||
v-for="game in searchResults"
|
||||
:key="game.id"
|
||||
@click.native="openGame(game)"
|
||||
:game-id="game.id"
|
||||
/>
|
||||
</b-card-group>
|
||||
</div>
|
||||
|
||||
<b-container v-else-if="query.length > 0">
|
||||
<b-alert show variant="info" class="mt-5">
|
||||
|
|
Loading…
Add table
Reference in a new issue