/
portal_normal.ftl
107 lines (80 loc) · 3.01 KB
/
portal_normal.ftl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<#include init />
<html class="${root_css_class}" dir="<@liferay.language key="lang.dir" />" lang="${w3c_language_id}">
<head>
<title>${the_title} - ${company_name}</title>
<meta content="initial-scale=1.0, width=device-width" name="viewport" />
<@liferay_util["include"] page=top_head_include />
</head>
<body class="${css_class}">
<@liferay_ui["quick-access"] contentId="#main-content" />
<@liferay_util["include"] page=body_top_include />
<@liferay.control_menu />
<div class="pt-0" id="wrapper">
<#if show_header>
<header id="banner">
<div class="navbar navbar-classic navbar-top py-3">
<div class="container user-personal-bar">
<div class="align-items-center autofit-row">
<a class="${logo_css_class} align-items-center d-md-inline-flex d-sm-none d-none logo-md" href="${site_default_url}" title="<@liferay.language_format arguments="" key="go-to-x" />">
<img alt="${logo_description}" class="mr-2" height="56" src="${site_logo}" />
<#if show_site_name>
<h1 class="font-weight-bold h2 mb-0 text-dark">${site_name}</h1>
</#if>
</a>
<#assign preferences = freeMarkerPortletPreferences.getPreferences({"portletSetupPortletDecoratorId": "barebone", "destination": "/search"}) />
<div class="autofit-col autofit-col-expand">
<#if show_header_search>
<div class="justify-content-md-end mr-4 navbar-form" role="search">
<@liferay.search_bar default_preferences="${preferences}" />
</div>
</#if>
</div>
<div class="autofit-col">
<@liferay.user_personal_bar />
</div>
</div>
</div>
</div>
<div class="mb-4 navbar navbar-classic navbar-expand-md navbar-light pb-3">
<div class="container">
<a class="${logo_css_class} align-items-center d-inline-flex d-md-none logo-xs" href="${site_default_url}" rel="nofollow">
<img alt="${logo_description}" class="mr-2" height="56" src="${site_logo}" />
<#if show_site_name>
<h1 class="font-weight-bold h2 mb-0 text-dark">${site_name}</h1>
</#if>
</a>
<#include "${full_templates_path}/navigation.ftl" />
</div>
</div>
</header>
</#if>
<section class="${portal_content_css_class}" id="content">
<h1 class="sr-only">${the_title}</h1>
<#if selectable>
<@liferay_util["include"] page=content_include />
<#else>
${portletDisplay.recycle()}
${portletDisplay.setTitle(the_title)}
<@liferay_theme["wrap-portlet"] page="portlet.ftl">
<@liferay_util["include"] page=content_include />
</@>
</#if>
</section>
<#if show_footer>
<footer id="footer" role="contentinfo">
<div class="container">
<div class="row">
<div class="col-md-12 text-center text-md-left">
<@liferay.language key="powered-by" />
<a class="text-white" href="http://www.liferay.com" rel="external">Liferay</a>
</div>
</div>
</div>
</footer>
</#if>
</div>
<@liferay_util["include"] page=body_bottom_include />
<@liferay_util["include"] page=bottom_include />
</body>
</html>