mirror of
https://github.com/romancm/gamebrary
synced 2024-11-14 15:37:08 +00:00
rename headerTitle -> pageTitle
This commit is contained in:
parent
642718d207
commit
94c167d532
17 changed files with 17 additions and 18 deletions
|
@ -1,8 +1,7 @@
|
|||
<template lang="html">
|
||||
<header class="p-2 d-flex">
|
||||
<home-button />
|
||||
<!-- TODO: rename target -->
|
||||
<portal-target name="headerTitle" slim />
|
||||
<portal-target name="pageTitle" slim />
|
||||
<!-- <boards-dropdown v-if="board.id && isBoardPage" /> -->
|
||||
<!-- <game-dropdown v-if="isGamePage" /> -->
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template lang="html">
|
||||
<b-container>
|
||||
<portal to="headerTitle">Login</portal>
|
||||
<portal to="pageTitle">Login</portal>
|
||||
|
||||
<b-alert
|
||||
class="mx-auto text-center"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<board-placeholder v-if="loading" />
|
||||
|
||||
<template v-else-if="showBoard">
|
||||
<portal to="headerTitle">
|
||||
<portal to="pageTitle">
|
||||
<b-button variant="light" disabled>
|
||||
{{ board.name }}
|
||||
</b-button>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<portal to="headerTitle">Create board</portal>
|
||||
<portal to="pageTitle">Create board</portal>
|
||||
<b-form @submit.prevent="createBoard" class="field">
|
||||
<b-form-group label="Board name:" label-for="boardName">
|
||||
<b-form-input
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<portal to="headerTitle">
|
||||
<portal to="pageTitle">
|
||||
Create tag
|
||||
</portal>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<!-- TODO: show list preview in full page view -->
|
||||
<!-- TODO: show search inline, allow to go full screen (search page) -->
|
||||
<b-container fluid class="p-0">
|
||||
<portal to="headerTitle">
|
||||
<portal to="pageTitle">
|
||||
Edit list
|
||||
</portal>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<portal to="headerTitle">
|
||||
<portal to="pageTitle">
|
||||
<div>
|
||||
<b-button
|
||||
variant="light"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template lang="html">
|
||||
<b-container>
|
||||
<portal to="headerTitle">
|
||||
<portal to="pageTitle">
|
||||
<span>
|
||||
<b-button
|
||||
:to="{ name: 'game', params: { id: game.id, slug: game.slug }}"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<portal to="headerTitle">
|
||||
<portal to="pageTitle">
|
||||
<div>
|
||||
<b-button
|
||||
:to="gamePage"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<!-- TODO: pagination? -->
|
||||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<portal to="headerTitle">
|
||||
<portal to="pageTitle">
|
||||
<div>
|
||||
<b-button
|
||||
:to="{ name: 'settings' }"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<portal to="headerTitle">Releases</portal>
|
||||
<portal to="pageTitle">Releases</portal>
|
||||
|
||||
<portal to="headerActions">
|
||||
<b-button
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template lang="html">
|
||||
<b-container>
|
||||
<b-row>
|
||||
<portal to="headerTitle">Search</portal>
|
||||
<portal to="pageTitle">Search</portal>
|
||||
<!-- TODO: add filters -->
|
||||
<!-- TODO: add view toggle -->
|
||||
<!-- <b-col cols="3" class="position-sticky mt-2">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<portal to="headerTitle">Settings</portal>
|
||||
<portal to="pageTitle">Settings</portal>
|
||||
|
||||
<b-row>
|
||||
<b-col>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<b-spinner v-if="loading" class="spinner-centered" />
|
||||
|
||||
<b-row v-else>
|
||||
<portal to="headerTitle">Tags</portal>
|
||||
<portal to="pageTitle">Tags</portal>
|
||||
|
||||
<portal to="headerActions">
|
||||
<b-button
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
/>
|
||||
|
||||
<template v-else>
|
||||
<portal to="headerTitle">
|
||||
<portal to="pageTitle">
|
||||
<div>
|
||||
<b-button
|
||||
:to="{ name: 'settings' }"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!-- TODO: add loading placeholder -->
|
||||
<template lang="html">
|
||||
<b-container fluid class="p-2">
|
||||
<portal to="headerTitle">
|
||||
<portal to="pageTitle">
|
||||
<span>
|
||||
{{ game.name }} |
|
||||
<span class="text-muted">Screenshots</span>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!-- TODO: get inspiration from polygon -->
|
||||
<template lang="html">
|
||||
<b-container fluid class="p-2">
|
||||
<portal to="headerTitle">
|
||||
<portal to="pageTitle">
|
||||
<span>
|
||||
{{ game.name }} |
|
||||
<span class="text-muted">News</span>
|
||||
|
|
Loading…
Reference in a new issue