Commit a9ba1b17 authored by Elias Englmeier's avatar Elias Englmeier
Browse files

removed civitastheme form master

parent 4cde66be
.gradle/
.sass-cache/
build/
target/
\ No newline at end of file
buildscript {
dependencies {
classpath group: "com.liferay", name: "com.liferay.gradle.plugins.theme.builder", version: "2.0.2"
}
repositories {
maven {
url "https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public"
}
}
}
apply plugin: "com.liferay.portal.tools.theme.builder"
dependencies {
parentThemes group: "com.liferay", name: "com.liferay.frontend.theme.styled", version: "2.0.13"
parentThemes group: "com.liferay", name: "com.liferay.frontend.theme.unstyled", version: "2.0.13"
portalCommonCSS group: "com.liferay", name: "com.liferay.frontend.css.common", version: "2.0.3"
themeBuilder group: "com.liferay", name: "com.liferay.portal.tools.theme.builder", version: "1.1.3"
}
author=englmeier
change-log=
licenses=LGPL
liferay-versions=7.0.0+
long-description=
module-group-id=liferay
module-incremental-version=1
name=civitasTheme
page-url=http://www.liferay.com
#required-deployment-contexts=\
# resources-importer-web
resources-importer-developer-mode-enabled=true
short-description=
tags=
\ No newline at end of file
<?xml version="1.0"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
</web-app>
\ No newline at end of file
/* These inject tags are used for dynamically creating imports for themelet styles, you can place them where ever you like in this file. */
/* inject:imports */
/* endinject */
/* This file allows you to override default styles in one central location for easier upgrade and maintenance. */
\ No newline at end of file
AUI().ready(
/*
This function gets loaded when all the HTML, not including the portlets, is
loaded.
*/
function() {
}
);
Liferay.Portlet.ready(
/*
This function gets loaded after each and every portlet on the page.
portletId: the current portlet's id
node: the Alloy Node object of the current portlet
*/
function(portletId, node) {
}
);
Liferay.on(
'allPortletsReady',
/*
This function gets loaded when everything, including the portlets, is on
the page.
*/
function() {
}
);
\ No newline at end of file
<#-- ---------- Common variables ---------- -->
<#assign
theme_display = themeDisplay
portlet_display = portletDisplay
theme_timestamp = themeDisplay.getTheme().getTimestamp()
theme_settings = themeDisplay.getThemeSettings()
root_css_class = languageUtil.get(locale, "lang.dir")
css_class = htmlUtil.escape(bodyCssClass!)
css_class = css_class + " " + htmlUtil.escape(theme_display.getColorScheme().getCssClass()) + " yui3-skin-sam"
/>
<#if layout??>
<#assign page_group = layout.getGroup() />
</#if>
<#if layoutTypePortlet.hasStateMax()>
<#assign css_class = css_class + " page-maximized" />
</#if>
<#assign
css_folder = theme_display.getPathThemeCss()
images_folder = theme_display.getPathThemeImages()
javascript_folder = theme_display.getPathThemeJavaScript()
templates_folder = theme_display.getPathThemeTemplates()
full_css_path = fullCssPath
full_templates_path = fullTemplatesPath
/>
<#assign css_main_file = htmlUtil.escape(portalUtil.getStaticResourceURL(request, "${css_folder}/main.css")) />
<#assign js_main_file = htmlUtil.escape(portalUtil.getStaticResourceURL(request, "${javascript_folder}/main.js")) />
<#assign
company_id = company.getCompanyId()
company_name = company.getName()
company_logo = htmlUtil.escape(theme_display.getCompanyLogo())
company_logo_height = theme_display.getCompanyLogoHeight()
company_logo_width = theme_display.getCompanyLogoWidth()
company_url = theme_display.getURLHome()
/>
<#if !request.isRequestedSessionIdFromCookie()>
<#assign company_url = portalUtil.getURLWithSessionId(company_url, request.getSession().getId()) />
</#if>
<#-- ---------- LPS-66428 ---------- -->
<#assign
is_default_user = user.isDefaultUser()
is_female = user.isFemale()
is_male = user.isMale()
is_setup_complete = user.isSetupComplete()
language = locale.getLanguage()
language_id = user.getLanguageId()
time_zone = user.getTimeZoneId()
user_birthday = user.getBirthday()
user_comments = user.getComments()
user_email_address = user.getEmailAddress()
user_first_name = user.getFirstName()
user_greeting = htmlUtil.escape(user.getGreeting())
user_id = user.getUserId()
user_last_login_ip = user.getLastLoginIP()
user_last_name = user.getLastName()
user_login_ip = user.getLoginIP()
user_middle_name = user.getMiddleName()
user_name = user.getFullName()
w3c_language_id = localeUtil.toW3cLanguageId(theme_display.getLanguageId())
is_login_redirect_required = portalUtil.isLoginRedirectRequired(request)
is_signed_in = theme_display.isSignedIn()
group_id = theme_display.getScopeGroupId()
/>
<#-- ---------- URLs ---------- -->
<#assign show_control_panel = theme_display.isShowControlPanelIcon() />
<#if show_control_panel>
<#assign
control_panel_text = languageUtil.get(locale, "control-panel")
control_panel_url = htmlUtil.escape(theme_display.getURLControlPanel())
/>
</#if>
<#assign show_home = theme_display.isShowHomeIcon() />
<#if show_home>
<#assign
home_text = languageUtil.get(locale, "home")
home_url = htmlUtil.escape(theme_display.getURLHome())
/>
<#if !request.isRequestedSessionIdFromCookie()>
<#assign home_url = htmlUtil.escape(portalUtil.getURLWithSessionId(home_url, request.getSession().getId())) />
</#if>
</#if>
<#assign show_my_account = theme_display.isShowMyAccountIcon() />
<#if show_my_account>
<#assign my_account_text = languageUtil.get(locale, "my-account") />
<#if theme_display.getURLMyAccount()??>
<#assign my_account_url = htmlUtil.escape(theme_display.getURLMyAccount().toString()) />
</#if>
</#if>
<#assign show_sign_in = theme_display.isShowSignInIcon() />
<#if show_sign_in>
<#assign
sign_in_text = languageUtil.get(locale, "sign-in")
sign_in_url = htmlUtil.escape(theme_display.getURLSignIn())
/>
</#if>
<#assign show_sign_out = theme_display.isShowSignOutIcon() />
<#if show_sign_out>
<#assign
sign_out_text = languageUtil.get(locale, "sign-out")
sign_out_url = htmlUtil.escape(theme_display.getURLSignOut())
/>
</#if>
<#-- ---------- Page ---------- -->
<#assign
the_title = ""
selectable = theme_display.isTilesSelectable()
is_maximized = layoutTypePortlet.hasStateMax()
is_freeform = themeDisplay.isFreeformLayout()
page_javascript_1 = ""
page_javascript_2 = ""
page_javascript_3 = ""
/>
<#if layout??>
<#assign
page = layout
is_first_child = page.isFirstChild()
is_first_parent = page.isFirstParent()
the_title = languageUtil.get(locale, the_title, page.getName(locale))
is_portlet_page = false
/>
<#if page.getType() = "portlet">
<#assign is_portlet_page = true />
</#if>
<#assign typeSettingsProperties = layout.getTypeSettingsProperties() />
<#if typeSettingsProperties??>
<#assign page_javascript = typeSettingsProperties["javascript"]! />
</#if>
<#assign
site_name = htmlUtil.escape(page_group.getDescriptiveName())
community_name = site_name
is_guest_group = page_group.isGuest()
/>
<#if is_guest_group>
<#assign css_class = css_class + " guest-site" />
</#if>
<#if is_signed_in>
<#assign css_class = css_class + " signed-in" />
<#else>
<#assign css_class = css_class + " signed-out" />
</#if>
<#if layout.isPublicLayout()>
<#assign css_class = css_class + " public-page" />
<#else>
<#assign css_class = css_class + " private-page" />
</#if>
<#if page_group.isLayoutPrototype()>
<#assign css_class = css_class + " page-template" />
</#if>
<#if page_group.isLayoutSetPrototype()>
<#assign css_class = css_class + " site-template" />
</#if>
<#if page_group.isCompany()>
<#assign site_type = "company-site" />
<#elseif page_group.isOrganization()>
<#assign site_type = "organization-site" />
<#elseif page_group.isUser()>
<#assign site_type = "user-site" />
<#else>
<#assign site_type = "site" />
</#if>
<#assign
css_class = css_class + " " + site_type
site_default_public_url = htmlUtil.escape(page_group.getDisplayURL(theme_display, false))
community_default_public_url = site_default_public_url
site_default_private_url = htmlUtil.escape(page_group.getDisplayURL(theme_display, true))
community_default_private_url = site_default_private_url
site_default_url = site_default_public_url
community_default_url = site_default_url
/>
<#if layout.isPrivateLayout()>
<#assign
site_default_url = site_default_private_url
community_default_url = site_default_url
/>
</#if>
</#if>
<#assign the_title = "" />
<#if layout.getHTMLTitle(locale)??>
<#assign the_title = layout.getHTMLTitle(locale) />
</#if>
<#if pageTitle??>
<#assign the_title = pageTitle />
</#if>
<#if pageSubtitle??>
<#assign the_title = pageSubtitle + " - " + the_title />
</#if>
<#if tilesTitle?has_content>
<#assign the_title = languageUtil.get(locale, tilesTitle) />
</#if>
<#if page_group.isLayoutPrototype()>
<#assign the_title = page_group.getDescriptiveName(locale) />
</#if>
<#if !tilesTitle?has_content>
<#assign the_title = htmlUtil.escape(the_title) />
</#if>
<#if the_title ?has_content && company_name != site_name && !page_group.isLayoutPrototype()>
<#assign the_title = the_title + " - " + site_name />
</#if>
<#if layouts??>
<#assign pages = layouts />
</#if>
<#-- ---------- Logo ---------- -->
<#assign
logo_css_class = "logo"
use_company_logo = !layout.layoutSet.isLogo()
site_logo_height = company_logo_height
site_logo_width = company_logo_width
/>
<#if (company.getLogoId() == 0) && use_company_logo>
<#assign logo_css_class = logo_css_class + " default-logo" />
<#else>
<#assign logo_css_class = logo_css_class + " custom-logo" />
</#if>
<#assign
show_site_name_supported = getterUtil.getBoolean(theme_settings["show-site-name-supported"]!"", true)
show_site_name_default = getterUtil.getBoolean(theme_settings["show-site-name-default"]!"", show_site_name_supported)
show_site_name = getterUtil.getBoolean(layout.layoutSet.getSettingsProperty("showSiteName"), show_site_name_default)
site_logo = company_logo
logo_description = ""
/>
<#if !show_site_name>
<#assign logo_description = htmlUtil.escape(site_name) />
</#if>
<#-- ---------- Navigation ---------- -->
<#assign has_navigation = false />
<#if navItems??>
<#assign nav_items = navItems />
<#assign has_navigation = (nav_items?size > 0) />
</#if>
<#assign nav_css_class = "sort-pages modify-pages" />
<#if !has_navigation>
<#assign nav_css_class = nav_css_class + " hide" />
</#if>
<#-- ---------- My sites ---------- -->
<#assign
show_my_sites = user.hasMySites()
show_my_places = show_my_sites
/>
<#if show_my_sites>
<#assign
my_sites_text = languageUtil.get(locale, "my-sites")
my_places_text = my_sites_text
/>
</#if>
<#-- ---------- Includes ---------- -->
<#assign dir_include = "/html" />
<#assign body_bottom_include = "${dir_include}/common/themes/body_bottom.jsp" />
<#assign body_top_include = "${dir_include}/common/themes/body_top.jsp" />
<#assign bottom_include = "${dir_include}/common/themes/bottom.jsp" />
<#assign bottom_ext_include = bottom_include />
<#if tilesContent?has_content>
<#assign content_include = "${dir_include}${tilesContent}" />
</#if>
<#assign top_head_include = "${dir_include}/common/themes/top_head.jsp" />
<#assign top_messages_include = "${dir_include}/common/themes/top_messages.jsp" />
<#-- ---------- Date ---------- -->
<#assign
date = dateUtil
current_time = date.newDate()
the_year = current_time?date?string("yyyy")
/>
<#-- ---------- Custom init ---------- -->
<#include "${full_templates_path}/init_custom.ftl" />
\ No newline at end of file
<#--
This file allows you to override and define new FreeMarker variables.
-->
\ No newline at end of file
<nav class="${nav_css_class}" id="navigation" role="navigation">
<h1 class="hide-accessible"><@liferay.language key="navigation" /></h1>
<ul aria-label="<@liferay.language key="site-pages" />" role="menubar">
<#list nav_items as nav_item>
<#assign
nav_item_attr_has_popup = ""
nav_item_attr_selected = ""
nav_item_css_class = ""
nav_item_layout = nav_item.getLayout()
/>
<#if nav_item.isSelected()>
<#assign
nav_item_attr_has_popup = "aria-haspopup='true'"
nav_item_attr_selected = "aria-selected='true'"
nav_item_css_class = "selected"
/>
</#if>
<li ${nav_item_attr_selected} class="${nav_item_css_class}" id="layout_${nav_item.getLayoutId()}" role="presentation">
<a aria-labelledby="layout_${nav_item.getLayoutId()}" ${nav_item_attr_has_popup} href="${nav_item.getURL()}" ${nav_item.getTarget()} role="menuitem"><span><@liferay_theme["layout-icon"] layout=nav_item_layout /> ${nav_item.getName()}</span></a>
<#if nav_item.hasChildren()>
<ul class="child-menu" role="menu">
<#list nav_item.getChildren() as nav_child>
<#assign
nav_child_attr_selected = ""
nav_child_css_class = ""
/>
<#if nav_item.isSelected()>
<#assign
nav_child_attr_selected = "aria-selected='true'"
nav_child_css_class = "selected"
/>
</#if>
<li ${nav_child_attr_selected} class="${nav_child_css_class}" id="layout_${nav_child.getLayoutId()}" role="presentation">
<a aria-labelledby="layout_${nav_child.getLayoutId()}" href="${nav_child.getURL()}" ${nav_child.getTarget()} role="menuitem">${nav_child.getName()}</a>
</li>
</#list>
</ul>
</#if>
</li>
</#list>
</ul>
</nav>
\ No newline at end of file
<!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="container-fluid" id="wrapper">
<header id="banner" role="banner">
<div id="heading">
<h1 class="site-title">
<a class="${logo_css_class}" href="${site_default_url}" title="<@liferay.language_format arguments="${site_name}" key="go-to-x" />">
<img alt="${logo_description}" height="${site_logo_height}" src="${site_logo}" width="${site_logo_width}" />
</a>
<#if show_site_name>
<span class="site-name" title="<@liferay.language_format arguments="${site_name}" key="go-to-x" />">
${site_name}
</span>
</#if>
</h1>
</div>
<#if !is_signed_in>
<a data-redirect="${is_login_redirect_required?string}" href="${sign_in_url}" id="sign-in" rel="nofollow">${sign_in_text}</a>
</#if>
<#if has_navigation && is_setup_complete>
<#include "${full_templates_path}/navigation.ftl" />
</#if>
</header>
<section id="content">
<h1 class="hide-accessible">${the_title}</h1>
<nav id="breadcrumbs">
<@liferay.breadcrumbs />
</nav>
<#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>
<footer id="footer" role="contentinfo">
<p class="powered-by">
<@liferay.language key="powered-by" /> <a href="http://www.liferay.com" rel="external">Liferay</a>
</p>
</footer>
</div>
<@liferay_util["include"] page=body_bottom_include />
<@liferay_util["include"] page=bottom_include />
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<#include init />
<html class="${root_css_class}" dir="<@liferay.language key="lang.dir" />" lang="${w3c_language_id}">
<head>
<title>${the_title}</title>
<@liferay_util["include"] page=top_head_include />
</head>
<body class="portal-popup ${css_class}">
<@liferay_util["include"] page=content_include />
<@liferay_util["include"] page=bottom_ext_include />
</body>