Download the PHP package hustshenl/yii2-metronic without Composer
On this page you can find all versions of the php package hustshenl/yii2-metronic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-metronic
Yii2Metronic
Forked by Digital Deals s.r.o.
Yii2Metronic is a collection of Yii2 components(widgets) based on responsive and multipurpose admin theme called Metronic (v2.0). Powered with Twitter Bootstrap 3.1.0 Framework.
Metronic can be used for any type of web applications: custom admin panels, admin dashboards, CMS, CRM, SAAS and websites: business, corporate, portfolio, blog. Metronic has a sleek, clean and intuitive metro style design which makes your next project look awesome and yet user friendly. Metronic has a huge collection of plugins and UI components and works seamlessly on all major web browsers, tablets and phones.
More than 30 widgets for Yii2 Metronic.
Basic configuration:
Some examples:
Menu
Metronic menu displays a multi-level menu using nested HTML lists.
The main property of Menu is [[items]], which specifies the possible items in the menu. A menu item can contain sub-items which specify the sub-menu under that menu item. Menu checks the current route and request parameters to toggle certain menu items with active state. Note that Menu only renders the HTML tags about the menu. It does do any styling. You are responsible to provide CSS styles to make it look like a real menu.
The following example shows how to use Menu:
Horizontal Menu
Horizontal Menu displays a multi-level menu using nested HTML lists.
The main property of Menu is [[items]], which specifies the possible items in the menu. A menu item can contain sub-items which specify the sub-menu under that menu item. Menu checks the current route and request parameters to toggle certain menu items with active state. Note that Menu only renders the HTML tags about the menu. It does do any styling. You are responsible to provide CSS styles to make it look like a real menu. Supports multiple operating modes: classic, mega, and full mega(see [[HorizontalMenu::type]]).
The following example shows how to use Menu:
Nav
Nav renders a nav HTML component. For example:
Note: Multilevel dropdowns beyond Level 1 are not supported in Bootstrap 3.
DateRangePicker
DateRangePicker renders dateRangePicker widget.
There are two modes of operation of the widget are 'input' and 'advance'. Mode 'input' renders input HTML element and mode 'advance' renders span HTML element. Widget renders a hidden field with the model name that this widget is associated with and the current value of the selected date.
For example, if [[model]] and [[attribute]] are not set:
Portlet
Portlet renders a metronic portlet. Any content enclosed between the [[begin()]] and [[end()]] calls of Portlet is treated as the content of the portlet. For example,
Select2
Select2 renders Select2 component. For example:
Badge
Badge widget. For example,
IonRangeSlider
IonRangeSlider renders ionRangeSlider widget. For example, if [[model]] and [[attribute]] are not set:
Spinner
Spinner renders an spinner Fuel UX widget. For example:
The following example will use the name property instead:
Accordion
Accordion renders an accordion Metronic component. For example:
Note
Note renders a metronic button. For example,
The following example will show the content enclosed between the [[begin()]] and [[end()]] calls within the alert box: