menu css and wire
This commit is contained in:
@@ -14,11 +14,17 @@ class Plugin extends Base
|
||||
'template' => 'plugins/ShrinkVertically/Asset/css/shrink-vertically.css',
|
||||
));
|
||||
|
||||
// Inject the configured pixel offset as a CSS variable in the page head.
|
||||
$this->template->hook->attach('template:layout:head', 'shrinkVertically:layout/variable');
|
||||
|
||||
// Append a "+" to the two vertical-collapse menu labels so it is visible
|
||||
// that the behaviour is modified by this plugin.
|
||||
$this->hook->on('template:layout:js', array(
|
||||
'template' => 'plugins/ShrinkVertically/Asset/js/shrink-vertically.js',
|
||||
));
|
||||
|
||||
// Add a "Shrink Vertically" entry to the Settings sidebar.
|
||||
$this->template->hook->attach('template:config:sidebar', 'shrinkVertically:config/sidebar');
|
||||
}
|
||||
|
||||
public function getPluginName()
|
||||
@@ -38,7 +44,7 @@ class Plugin extends Base
|
||||
|
||||
public function getPluginVersion()
|
||||
{
|
||||
return '0.1.0';
|
||||
return '0.4.0';
|
||||
}
|
||||
|
||||
public function getPluginHomepage()
|
||||
|
||||
Reference in New Issue
Block a user