mirror of
https://github.com/frappe/books.git
synced 2024-12-24 11:55:46 +00:00
incr(ui): elevate form
This commit is contained in:
parent
0c705fe225
commit
069ecd75eb
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<!-- Page Header (Title, Buttons, etc) -->
|
<!-- Page Header (Title, Buttons, etc) -->
|
||||||
<PageHeader :backLink="backLink" :title="title">
|
<PageHeader :backLink="backLink" :title="title" :border="false">
|
||||||
<slot name="header" />
|
<slot name="header" />
|
||||||
</PageHeader>
|
</PageHeader>
|
||||||
|
|
||||||
@ -10,12 +10,12 @@
|
|||||||
class="
|
class="
|
||||||
border
|
border
|
||||||
rounded-lg
|
rounded-lg
|
||||||
shadow
|
shadow-lg
|
||||||
flex flex-col
|
flex flex-col
|
||||||
self-center
|
self-center
|
||||||
w-form
|
w-form
|
||||||
h-full
|
h-full
|
||||||
my-4
|
mb-4
|
||||||
bg-white
|
bg-white
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
@ -1,5 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="px-4 flex justify-between window-drag border-b items-center h-row-largest flex-shrink-0">
|
<div
|
||||||
|
class="
|
||||||
|
px-4
|
||||||
|
flex
|
||||||
|
justify-between
|
||||||
|
window-drag
|
||||||
|
items-center
|
||||||
|
h-row-largest
|
||||||
|
flex-shrink-0
|
||||||
|
"
|
||||||
|
:class="border ? 'border-b' : ''"
|
||||||
|
>
|
||||||
<h1 class="text-xl font-semibold select-none" v-if="title && !backLink">
|
<h1 class="text-xl font-semibold select-none" v-if="title && !backLink">
|
||||||
{{ title }}
|
{{ title }}
|
||||||
</h1>
|
</h1>
|
||||||
@ -19,6 +30,7 @@ export default {
|
|||||||
title: { type: String, default: '' },
|
title: { type: String, default: '' },
|
||||||
backLink: { type: Boolean, default: false },
|
backLink: { type: Boolean, default: false },
|
||||||
hideSearch: { type: Boolean, default: false },
|
hideSearch: { type: Boolean, default: false },
|
||||||
|
border: { type: Boolean, default: true },
|
||||||
},
|
},
|
||||||
components: { SearchBar, BackLink },
|
components: { SearchBar, BackLink },
|
||||||
};
|
};
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="w-full w-form shadow rounded-lg border relative"
|
class="w-full w-form shadow-lg rounded-lg border relative"
|
||||||
style="height: 700px"
|
style="height: 700px"
|
||||||
>
|
>
|
||||||
<!-- Welcome to Frappe Books -->
|
<!-- Welcome to Frappe Books -->
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="w-form shadow rounded-lg border relative" style="height: 700px">
|
<div class="w-form shadow-lg rounded-lg border relative" style="height: 700px">
|
||||||
<!-- Slide Title -->
|
<!-- Slide Title -->
|
||||||
<div class="p-4">
|
<div class="p-4">
|
||||||
<h1 class="text-2xl font-semibold select-none">
|
<h1 class="text-2xl font-semibold select-none">
|
||||||
|
Loading…
Reference in New Issue
Block a user