Closed smpallen99 closed 8 years ago
I have a new theme partially working. I'm thinking this will be the the default them, with the option of using the old theme. Note that the theme selector at the top right of the page can be disabled by configuration. Any feedback on the new theme?
That looks very nice! Looking forward!
@smpallen99 I like the new look 👍
Any plans on using responsive styles akin to responsive_active_admin?
@vinnymac Like this?
I think the index table needs some work...
I just pushed the new template support to themes
branch. Would be great if someone could give it a try and give me some feedback. Note, this is an ecto 1.x branch.
@sobolevn Could you give the new themes branch a try? Would be great to get your feedback. It should up up to day with the latest v0.7.3 branch.
@smpallen99 sure thing.
It does not work for me.
What have I done:
_build
, deps
, disabled cache in browsermix
's deps
to: {:ex_admin, git: "https://github.com/smpallen99/ex_admin.git", branch: "themes"}
, called mix deps.get
config.exs
:config :ex_admin,
theme: ExAdmin.Theme.AdminLte2,
theme_selector: [
{"AdminLte", ExAdmin.Theme.AdminLte2},
{"ActiveAdmin", ExAdmin.Theme.ActiveAdmin}
],
...
mix admin.install
does not even create themes
folder, however I have added it to the endpoint.ex
I can't see any changes. I am doing something wrong?
@sobolevn I suspect your still picking up the old version. Try this:
mix deps.clean ex_admin
mix deps.get
mix deps.compile
Also, don't forget to add themes
to your endpoint static items.
I have managed to get it to work by changing the mix.exs
to:
{:ex_admin, github: "smpallen99/ex_admin", ref: "aba5379769f733a03a7756a72e0b7e2689e6e75d"},
And mix.lock
(was not working before that):
"ex_admin": {:git, "https://github.com/smpallen99/ex_admin.git", "aba5379769f733a03a7756a72e0b7e2689e6e75d", [ref: "aba5379769f733a03a7756a72e0b7e2689e6e75d"]},
It looks pretty nice! I can do a full browser-stack testing tomorrow.
Just updated ExAdmin Demo with the new theme.
It looks pretty solid across all devices I was able to test. Did not find any critical bugs. But there're definitely some issues. Here are some nice screenshots:
I will create issues for each of the found bug separately.
Just published 0.7.4 to Hex with this feature. Content also in master for ecto 2.0.
Replace the activeadmin UI with a new UI skin. At that same time, allow for different add-on themes.