redirect to newly created/edit page directly, start cms dashboard layout
This commit is contained in:
parent
5e99686b5c
commit
41c985fcab
10 changed files with 54 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import './styles/brain.css';
|
||||
//import './stimulus_bootstrap.js';
|
||||
import './stimulus_bootstrap.js';
|
||||
|
||||
const init = () => {
|
||||
menu();
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
.page{max-width:800px;width:100%;margin:0 auto}.page h2{margin:0}.page .row{display:block;padding:1rem 0}.page .row label{display:block}.page .row input{height:30px;width:300px}.page .row #post_published{width:30px;height:30px}.page .row #post_save{width:100px;height:30px;background-color:green;border:none;color:#fff}#brain-wrapper header .level-1{display:flex;justify-content:center;align-items:flex-start;position:relative;list-style-type:none}#brain-wrapper header .level-1--item{padding:1rem 2rem}#brain-wrapper header .level-1 .level-2{display:none;margin:0;padding:0}#brain-wrapper header .level-1 .level-2.open{display:block;position:absolute}#brain-wrapper header .level-1 .level-2--item{padding:1rem 0}body{background-color:#d3d3d3}
|
||||
.actions{padding-bottom:1rem}.actions .list{display:flex;gap:2rem;list-style:none;margin:0;padding:0}.page{max-width:800px;width:100%;margin:0 auto}.page h2{margin:0}.page .row{display:block;padding:1rem 0}.page .row label{display:block}.page .row input{height:30px;width:300px}.page .row #post_published{width:30px;height:30px}.page .row #post_save{width:100px;height:30px;background-color:green;border:none;color:#fff}#brain-wrapper header .level-1{display:flex;justify-content:center;align-items:flex-start;position:relative;list-style-type:none}#brain-wrapper header .level-1--item{padding:1rem 2rem}#brain-wrapper header .level-1 .level-2{display:none;margin:0;padding:0}#brain-wrapper header .level-1 .level-2.open{display:block;position:absolute}#brain-wrapper header .level-1 .level-2--item{padding:1rem 0}#brain-wrapper a{color:#171a21}body{background-color:#d3d3d3}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
@use './brain/actions';
|
||||
@use './brain/form';
|
||||
@use './brain/layout';
|
||||
|
||||
|
|
|
|||
11
assets/styles/scss/brain/_actions.scss
Normal file
11
assets/styles/scss/brain/_actions.scss
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
.actions {
|
||||
padding-bottom: 1rem;
|
||||
|
||||
.list {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
@use '../shared/colors' as colors;
|
||||
|
||||
#brain-wrapper {
|
||||
header {
|
||||
.level-1 {
|
||||
|
|
@ -30,4 +32,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: colors.$inkBlack;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue