| 1 |
{# |
| 2 |
Responsive Menu Jinja template file. |
| 3 |
Safe to Copy |
| 4 |
#} |
| 5 |
|
| 6 |
{% import 'admin/macros.html.twig' as macros %} |
| 7 |
|
| 8 |
{% set section = 'Desktop Menu' %} |
| 9 |
|
| 10 |
<div class='panel panel-default fully-pro-container'> |
| 11 |
{{ macros.header('Enable', section, '/advanced-setup/desktop-menu/#enable') }} |
| 12 |
<table class='table table-bordered table-hover'> |
| 13 |
{{ macros.row('use_desktop_menu', 'Enable', 'checkbox', options, errors, '', 'pro', '', '', 'Enable the Desktop Menu.') }} |
| 14 |
</table> |
| 15 |
</div> |
| 16 |
|
| 17 |
<div class="panel panel-default fully-pro-container"> |
| 18 |
{{ macros.header('Settings', section, '/advanced-setup/desktop-menu/#settings') }} |
| 19 |
{% include 'admin/sections/modules/desktop-menu-settings.html.twig' %} |
| 20 |
</div> |
| 21 |
|
| 22 |
<div class='panel panel-default fully-pro-container'> |
| 23 |
{{ macros.header('General Setup', section, '/advanced-setup/desktop-menu/#general-setup') }} |
| 24 |
<table class='table table-bordered table-hover'> |
| 25 |
{{ macros.row('desktop_menu_positioning', 'Positioning', 'select', options, errors, '', 'pro', 'position', '', 'Specify how you want the menu to stick to your page.', '', '', 'Using relative positioning is useful when combined with the shortcode.') }} |
| 26 |
{{ macros.row('desktop_menu_width', 'Width', 'input', options, errors, 'has-unit', 'pro', '', 'percentage', 'Set the width of the desktop menu and it\'s unit.', '', '', 'Leave blank to keep the width auto.') }} |
| 27 |
{{ macros.row('desktop_menu_side', 'Side', 'select', options, errors, '', 'pro', 'left_right_centre_with_none', '', 'Set which side of the screen the desktop menu will show on.') }} |
| 28 |
</table> |
| 29 |
</div> |
| 30 |
|
| 31 |
<div class='panel panel-default fully-pro-container'> |
| 32 |
{{ macros.header('Top Level Link Colours', section, '/advanced-setup/desktop-menu/#top-level-link-colours') }} |
| 33 |
<table class='table table-bordered table-hover'> |
| 34 |
{{ macros.row('single_menu_item_background_colour', 'Background', 'colour', options, errors, '', 'pro', '', '', 'Set the background colour for the top level menu items.') }} |
| 35 |
{{ macros.row('single_menu_item_background_colour_hover', 'Background Hover', 'colour', options, errors, '', 'pro', '', '', 'Set the background hover colour for the top level menu items.') }} |
| 36 |
{{ macros.row('single_menu_item_link_colour', 'Text', 'colour', options, errors, '', 'pro', '', '', 'Set the text colour for the top level menu items.') }} |
| 37 |
{{ macros.row('single_menu_item_link_colour_hover', 'Text Hover', 'colour', options, errors, '', 'pro', '', '', 'Set the text hover colour for the top level menu items.') }} |
| 38 |
</table> |
| 39 |
</div> |
| 40 |
|
| 41 |
<div class='panel panel-default fully-pro-container'> |
| 42 |
{{ macros.header('Sub Menu Link Colours', section, '/advanced-setup/desktop-menu/#sub-menu-link-colours') }} |
| 43 |
<table class='table table-bordered table-hover'> |
| 44 |
{{ macros.row('single_menu_item_submenu_background_colour', 'Background', 'colour', options, errors, '', 'pro', '', '', 'Set the background colour for the sub menu items.') }} |
| 45 |
{{ macros.row('single_menu_item_submenu_background_colour_hover', 'Background Hover', 'colour', options, errors, '', 'pro', '', '', 'Set the background hover colour for the sub menu items.') }} |
| 46 |
{{ macros.row('single_menu_item_submenu_link_colour', 'Text', 'colour', options, errors, '', 'pro', '', '', 'Set the text colour for the sub menu items.') }} |
| 47 |
{{ macros.row('single_menu_item_submenu_link_colour_hover', 'Text Hover', 'colour', options, errors, '', 'pro', '', '', 'Set the text hover colour for the sub menu items.') }} |
| 48 |
</table> |
| 49 |
</div> |
| 50 |
|
| 51 |
<div class='panel panel-default fully-pro-container'> |
| 52 |
{{ macros.header('Top Level Styling', section, '/advanced-setup/desktop-menu/#top-level-styling') }} |
| 53 |
<table class='table table-bordered table-hover'> |
| 54 |
{{ macros.row('single_menu_font', 'Font', 'input', options, errors, '', 'pro', '', '', 'Set the font for the menu items. The font must already be installed as part of your theme or a browser inbuilt one.', '', '', 'For example "Open Sans"') }} |
| 55 |
{{ macros.row('single_menu_font_size', 'Font size', 'input', options, errors, 'has-unit', 'pro', '', 'pixel', 'Set the text size of the menu items and their unit.') }} |
| 56 |
{{ macros.row('single_menu_height', 'Height', 'input', options, errors, 'has-unit', 'pro', '', 'pixel', 'Set the height of the top level menu items and their unit.') }} |
| 57 |
</table> |
| 58 |
</div> |
| 59 |
|
| 60 |
<div class='panel panel-default fully-pro-container'> |
| 61 |
{{ macros.header('Sub Menu Styling', section, '/advanced-setup/desktop-menu/#sub-menu-styling') }} |
| 62 |
<table class='table table-bordered table-hover'> |
| 63 |
{{ macros.row('single_menu_submenu_font', 'Font', 'input', options, errors, '', 'pro', '', '', 'Set the font for the sub menu items. The font must already be installed as part of your theme or a browser inbuilt one.', '', '', 'For example "Open Sans"') }} |
| 64 |
{{ macros.row('single_menu_submenu_font_size', 'Font size', 'input', options, errors, 'has-unit', 'pro', '', 'pixel', 'Set the text size of the sub menu items and their unit.') }} |
| 65 |
{{ macros.row('single_menu_submenu_height', 'Height', 'input', options, errors, 'has-unit', 'pro', '', 'pixel', 'Set the height of the sub menu items and their unit.') }} |
| 66 |
</table> |
| 67 |
</div> |
| 68 |
|