Skip to content

Commit

Permalink
Merge pull request #10648 from qmonmert/tikuiprojectactions
Browse files Browse the repository at this point in the history
Tikui: new organism (Project actions)
  • Loading branch information
pascalgrimaud authored Aug 24, 2024
2 parents 818055a + bda5d44 commit f0396a4
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 24 deletions.
24 changes: 2 additions & 22 deletions src/main/style/organism/landscape/landscape.mixin.pug
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include /atom/icon/icon.mixin.pug
include /organism/module-properties/module-properties.mixin.pug
include /organism/landscape-module/landscape-module.mixin.pug
include /organism/project-actions/project-actions.mixin.pug

mixin jhlite-landscape
.jhipster-landscape.jhlite-menu-content-template
Expand Down Expand Up @@ -51,24 +51,4 @@ mixin jhlite-landscape
.jhlite-vertical-space--line
+jhlite-module-properties
.jhlite-side-menu--slot
// TODO: ProjectActionsVue
.jhipster-side-form--actions
.jhlite-vertical-space.-paragraph
// SLOT
.jhlite-vertical-space--line
button.jhlite-button.-block
+jhlite-icon('play-circled')
span  Apply new
.jhlite-vertical-space--line
button.jhlite-button.-block
+jhlite-icon('play-circled')
span  Apply selected
// END SLOT
.jhlite-vertical-space--line
button.jhlite-button.-block
+jhlite-icon('code')
span  Format
.jhlite-vertical-space--line
button.jhlite-button.-block
+jhlite-icon('download')
span  Download
+jhlite-project-actions
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ include /atom/icon/icon.mixin.pug
include /molecule/tag-filter/tag-filter.mixin.pug
include /organism/module-parameters/module-parameters.mixin.pug
include /organism/module-properties/module-properties.mixin.pug
include /organism/project-actions/project-actions.mixin.pug

mixin jhlite-modules-patch
.jhipster-modules-patch.jhlite-menu-content-template
Expand Down Expand Up @@ -35,4 +36,4 @@ mixin jhlite-modules-patch
.jhlite-side-menu--slot.-expand
+jhlite-module-properties
.jhlite-side-menu--slot
// TODO: ProjectActionsVue
+jhlite-project-actions
4 changes: 3 additions & 1 deletion src/main/style/organism/organism.pug
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ block content
.tikui-vertical-spacing--line
include:componentDoc(height=230) module-parameters/module-parameters.md
.tikui-vertical-spacing--line
include:componentDoc(height=700) modules-patch/modules-patch.md
include:componentDoc(height=870) modules-patch/modules-patch.md
.tikui-vertical-spacing--line
include:componentDoc(height=700) module-patch-loader/module-patch-loader.md
.tikui-vertical-spacing--line
include:componentDoc(height=600) module-properties/module-properties.md
.tikui-vertical-spacing--line
include:componentDoc(height=230) project-actions/project-actions.md
.tikui-vertical-spacing--line
include:componentDoc(height=300) side-menu/side-menu.md
.tikui-vertical-spacing--line
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include project-actions.mixin.pug

+jhlite-project-actions
1 change: 1 addition & 0 deletions src/main/style/organism/project-actions/project-actions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Project actions
21 changes: 21 additions & 0 deletions src/main/style/organism/project-actions/project-actions.mixin.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
include /atom/icon/icon.mixin.pug

mixin jhlite-project-actions
.jhipster-side-form--actions
.jhlite-vertical-space.-paragraph
.jhlite-vertical-space--line
button.jhlite-button.-block
+jhlite-icon('play-circled')
span  Apply new
.jhlite-vertical-space--line
button.jhlite-button.-block
+jhlite-icon('play-circled')
span  Apply selected
.jhlite-vertical-space--line
button.jhlite-button.-block
+jhlite-icon('code')
span  Format
.jhlite-vertical-space--line
button.jhlite-button.-block
+jhlite-icon('download')
span  Download
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
extends /layout

block body
include project-actions.code.pug

0 comments on commit f0396a4

Please sign in to comment.