-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "vertical layout" template #3
Conversation
As I can see, If you think this template is correct, |
Can you share a screenshot - what is a vertical layout? |
@kevinpapst Demo links from tabler.io and screnshot from your bundle. Vertical menu
Vertical menu with navbar
|
Aha, understand. Yeah, let's try to make it one file. Otherwise changes need to be carried over, what will be forgotten at some point... |
There is a transparent theme too: https://preview.tabler.io/layout-vertical-transparent.html But there's no variable in |
OK, I'll make it into one file. |
|
❔ Questions ❔
|
I don't think we will end up with dozens of includes, so |
General feedback: I know the wording is based on Tabler demo, but I'd prefer |
Co-authored-by: Kevin Papst <kevinpapst@users.noreply.github.com>
Co-authored-by: Kevin Papst <kevinpapst@users.noreply.github.com>
❗ Note/Warning ❗ The CSS from Tabler.io uses tilde When adding HTML elements, we can brake those selectors. |
I would say: that is up to the developer to configure properly: so README is enough. Can you please create a branch in the demo application so I can test this ... I failed miserably last time I tried 😞 |
Demo application doesn't works on my side (Docker environment). I've no privilege to open a discussion in that repo, do you want me to open issue about it ? |
Wow, sounds as if your company makes the developer life real fun ^^ Jokes aide, I think it is best to keep the demo app in sync with PRs here, so we
I am not a docker user, so I cannot provide a docker file, but I assume it shouldn't be to complicated And I activated discussions for the demo repo. |
Could you please summarize BC breaks / necessary changes in the initial post? EDIT: the blocks in |
Ah.. yes ... Do we remove the include file and duplicate the code to allows override ? |
Yeah, if there is no other way we have to duplicate it. |
My branch of the demo uses calvin's vertical layout: https://github.com/tacman/TablerBundle-Demo/tree/tac What's missing/broken that prevents this from being merged? And is this the right place for the discussion? |
@tacman Only override of blocks in I need to try this PR in the Tabler demo. |
OK, so if I wanted to help out on this, I should fork cavisin's fork, make
changes, and submit them there? Wouldn't it be easier if kevin created a
new branch on his repo and merged the vertical layout, instead of merging
it into main?
Sorry for the simple github questions, I think the code is almost
functional. The next question is how it should be implemented, a "layout"
key in the config, with the ability to override it (and store the layout in
the session?)
…On Sat, Mar 26, 2022 at 9:22 AM CavasinF ***@***.***> wrote:
@tacman <https://github.com/tacman> Only override of blocks in
***@***.***/embeds/navbar.html.twig' is missing.
I need to try this PR in the Tabler demo.
From memories, I don't think there's any BC breaks or other missing
functionalities.
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEXIQP442WGWO4Y2GOQNQLVB4FSLANCNFSM5JJI57CA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Depend of what changes you want to make, tell me.
We have already discuss that functionality with kevinpapst. ATE, your views should extend from the provided {% extends '@Tabler/layout-horizontal.html.twig' %} OR {% extends '@Tabler/layout-vertical.html.twig' %} Just push what is missing in that PR, Waiting on @kevinpapst to approve. |
# Conflicts: # templates/layout.html.twig
Hey @kevinpapst, long time not see. I'm starting a new Client project with TablerBundle, and I want that vertical layout in it. |
@cavasinf I do not know, sorry 😄 too long ago and too many other projects in between, since my last review. |
Yeah it would be nice, because I still have my personal GitHub link in the Since I'm not alone to work on it, personal token will not be the solution any longer (for devs or servers) Friendly reminder, last time I've tested in the Demo project, everything looks clean: |
…enu, remove excessive whitespaces
…enu, remove excessive whitespaces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some minor changes:
- remove global variable layout_type
- don't show badge on first level in vertical menu
Awesome stuff, thanks @cavasinf 👍
I will release once I could test it in my app. Demo has no issues anymore!
Wohoo 🎉 🚀 |
Description
Add the "vertical" Tabler layout to the bundle.
Tabler demo link : https://preview.tabler.io/layout-vertical.html
Types of changes
Checklist