mecha-cms / x.panel

Control panel feature.
Other
6 stars 0 forks source link

Use Framework! #9

Closed taufik-nurrohman closed 4 years ago

taufik-nurrohman commented 6 years ago

This extension is not official to the core CMS system, so I think it is okay to use other web framework like Bootstrap or Material Design Lite as the base layout to simplify the development process. It also opens for any external libraries that have been built for that framework so that they can be extended to the panel extension easily.

taufik-nurrohman commented 6 years ago

https://semantic-ui.com

?

Too broad.

taufik-nurrohman commented 6 years ago

https://github.com/BlackrockDigital/startbootstrap-sb-admin :+1:

taufik-nurrohman commented 6 years ago

Or, just take the layout above to be applied with this base CSS I have re-created.

taufik-nurrohman commented 6 years ago
// Direct modify
Config::set('panel.page:tab', []);

// Store to the group for later use
Config::set('panel.$:tab', []);

// First use
Config::set('panel.page:tab', Config::get('panel.$:tab'));

// Second use
Config::set('panel.comment:tab', Config::get('panel.$:tab'));

// Inherit `panel.page:tab` value
Config::set('panel.event:tab', Config::get('panel.page:tab'));
Config::set('panel.$:desk', [
    'header' => "",
    'body' => "",
    'footer' => ""
]);

Config::set('panel.$:nav', []);
Config::set('panel.$:tab', []);
Config::set('panel.$:layer', []);
Config::set('panel.$:dialog', []);
Config::set('panel.$:form', []);
Config::set('panel.$:files', []);
Config::set('panel.$:pages', []);
taufik-nurrohman commented 4 years ago

Time has gone by and we have a better layout system now.