Skip to content
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

CSS/JSにカスタマイズディレクトリの様な仕組みを設ける #4071

Closed
jumemoto opened this issue Feb 5, 2019 · 1 comment
Closed
Labels
enhancement 機能追加
Milestone

Comments

@jumemoto
Copy link

jumemoto commented Feb 5, 2019

概要(Overview)

デフォルトのcss/jsをベースに管理画面から独自の変更を入れることが出来る。

方針

default_frame.twigのコピーを生成しそこに変更を加えることで、今回の対象としているcss/js以外にも変更を加えやすい状態とする。

対応方法

・default_frame.twigをコピーするボタンを追加。
・コピーボタンを押すと、default_frame.twigをコピーしたdefault_frame_edit.twig(仮称)が生成される。
 →default_frame.twigの後に読み込まれる。
・default_frame_edit.twigにcustomize.css/customize.jsのパスを追加することで、独自のcss/js情報を記述出来るものとする。
・customize.css/customize.jsは管理画面のページ編集の様な形で編集出来る。
※customize.css or customize.jsは最初からuser_dataに配置するのもアリ。

@t-nagahashi t-nagahashi added this to the 4.0.2 milestone Feb 5, 2019
@t-nagahashi t-nagahashi added the enhancement 機能追加 label Feb 5, 2019
@nanasess nanasess mentioned this issue Feb 12, 2019
6 tasks
@ghost ghost mentioned this issue Feb 12, 2019
6 tasks
@chihiro-adachi
Copy link
Contributor

#4083 #4084 で対応

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 機能追加
Projects
None yet
Development

No branches or pull requests

3 participants