Skip to content

Commit

Permalink
clean fullWidthEmpty.xhtml layout
Browse files Browse the repository at this point in the history
  • Loading branch information
socheatsok78 committed Mar 18, 2020
1 parent 92750f1 commit 02b4fd3
Showing 1 changed file with 139 additions and 147 deletions.
286 changes: 139 additions & 147 deletions src/identity/custom/pages/WEB-INF/incl/layout/fullWidthEmpty.xhtml
@@ -1,13 +1,10 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<f:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:b="http://bootsfaces.net/ui" xmlns:a="http://richfaces.org/a4j"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:gluufn="http://www.gluu.org/jsf/functions"
contenttype="text/html" locale="#{language.localeCode}">
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:b="http://bootsfaces.net/ui" xmlns:a="http://richfaces.org/a4j"
xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:gluufn="http://www.gluu.org/jsf/functions" contenttype="text/html"
locale="#{language.localeCode}">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>#{organizationService.organization.organizationTitle}</title>
Expand All @@ -23,169 +20,164 @@
</script>

<link rel="icon" href="#{request.contextPath}/servlet/favicon" />
<link
href="#{oxTrustConfigurationService.cssLocation}/../theme/bootstrap/css/bootstrap.min.css"
<link href="#{oxTrustConfigurationService.cssLocation}/../theme/bootstrap/css/bootstrap.min.css"
rel="stylesheet" type="text/css" />
<link
href="#{oxTrustConfigurationService.cssLocation}/../theme/dist/css/gas-AdminLTE.min.css"
<link href="#{oxTrustConfigurationService.cssLocation}/../theme/dist/css/gas-AdminLTE.min.css" rel="stylesheet"
type="text/css" />
<link href="#{oxTrustConfigurationService.cssLocation}/../theme/dist/css/skins/gas-skin-green.min.css"
rel="stylesheet" type="text/css" />
<link
href="#{oxTrustConfigurationService.cssLocation}/../theme/dist/css/skins/gas-skin-green.min.css"
rel="stylesheet" type="text/css" />
<link
href="#{oxTrustConfigurationService.cssLocation}/../theme/plugins/iCheck/square/blue.css"
rel="stylesheet" type="text/css" />
<link
href="#{oxTrustConfigurationService.cssLocation}/../theme/plugins/morris/morris.css"
rel="stylesheet" type="text/css" />
<link
href="#{oxTrustConfigurationService.cssLocation}/../theme/plugins/datepicker/datepicker3.css"
rel="stylesheet" type="text/css" />
<link
href="#{oxTrustConfigurationService.cssLocation}/../theme/dist/css/custom.css"
<link href="#{oxTrustConfigurationService.cssLocation}/../theme/plugins/iCheck/square/blue.css" rel="stylesheet"
type="text/css" />
<link href="#{oxTrustConfigurationService.cssLocation}/../theme/plugins/morris/morris.css" rel="stylesheet"
type="text/css" />
<link href="#{oxTrustConfigurationService.cssLocation}/../theme/plugins/datepicker/datepicker3.css"
rel="stylesheet" type="text/css" />
<link href="#{oxTrustConfigurationService.cssLocation}/../theme/dist/css/custom.css" rel="stylesheet"
type="text/css" />
<ui:insert name="head" />
<ui:param name="themeColor"
value="#{organizationService.organization.themeColor}" />
<ui:param name="themeColor" value="#{organizationService.organization.themeColor}" />
<ui:fragment rendered="#{not empty themeColor}">
<style type="text/css">
.rf-tb-itm, .rf-tb-emp {
height: 33px;
background-color: #{gluufn:getColor(themeColor, "00ff00")
}
</style>
.rf-tb-itm,
.rf-tb-emp {
height: 33px;
background-color: #{gluufn:getColor(themeColor, "00ff00")

}
</style>
</ui:fragment>
<style>
input[type=text], input[type=email], input[type=password], input[autocomplete=off],
input[type=url] {
padding: 5px;
border: 2px solid #ccc;
margin-left: 2px !important;
border-radius: 5px !important;
}

input[type=text]:focus, input[type=email]:focus, input[type=password]:focus,
input[autocomplete=off]:focus, input[type=url] {
border-radius: 5px !important;
border: 1px solid #ccc;
}

input[type=checkbox] {
border-radius: 5O% !important;
border: 2px solid #ccc !important;
}

input[type=checkbox]:focus {
border-radius: 5O% !important;
border: none;
}

textarea:focus {
border-radius: 5px !important;
margin-left: 2px !important;
border: 2px solid #ccc;
}

textarea {
padding: 5px;
margin-left: 2px !important;
border-radius: 5px !important;
}

input[type=submit] {
padding: 5px 15px;
cursor: pointer;
border-radius: 5px !important;
}

.btn-primary, .btn-success, .btn-danger {
border: 0 none;
cursor: pointer;
border-radius: 5px !important;
}

.icheckbox_square-blue {
border-radius: 50% !important;
border: 1px solid #ccc !important
}

.icheckbox_square-blue:focus {
border-radius: 50% !important;
border: none;
}

select {
border-radius: 5px !important;
}

.roundedSelectBox {
border: 2px solid #ccc;
border-radius: 5px !important;
}

.footer {
position: fixed;
margin-top: 4%;
bottom: 0;
width: 100%;
color: white;
height: 55px;
background-color: #00BE79;
height: 55px;
}

a {
color: white;
}
</style>
input[type=text],
input[type=email],
input[type=password],
input[autocomplete=off],
input[type=url] {
padding: 5px;
border: 2px solid #ccc;
margin-left: 2px !important;
border-radius: 5px !important;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[autocomplete=off]:focus,
input[type=url] {
border-radius: 5px !important;
border: 1px solid #ccc;
}

input[type=checkbox] {
border-radius: 5O% !important;
border: 2px solid #ccc !important;
}

input[type=checkbox]:focus {
border-radius: 5O% !important;
border: none;
}

textarea:focus {
border-radius: 5px !important;
margin-left: 2px !important;
border: 2px solid #ccc;
}

textarea {
padding: 5px;
margin-left: 2px !important;
border-radius: 5px !important;
}

input[type=submit] {
padding: 5px 15px;
cursor: pointer;
border-radius: 5px !important;
}

.btn-primary,
.btn-success,
.btn-danger {
border: 0 none;
cursor: pointer;
border-radius: 5px !important;
}

.icheckbox_square-blue {
border-radius: 50% !important;
border: 1px solid #ccc !important
}

.icheckbox_square-blue:focus {
border-radius: 50% !important;
border: none;
}

select {
border-radius: 5px !important;
}

.roundedSelectBox {
border: 2px solid #ccc;
border-radius: 5px !important;
}

.footer {
position: fixed;
margin-top: 4%;
bottom: 0;
width: 100%;
color: white;
height: 55px;
background-color: #00BE79;
height: 55px;
}

a {
color: white;
}
</style>
</h:head>
<h:body styleClass="login-page" style="background:white !important;">
<a href="#{request.contextPath}/home.htm" class="logo"
style="margin-left: 2% !important;"> <span class="logo-large"
style="height: 70px;"> <img
src="#{request.contextPath}/servlet/logo?scale=large"
style="height: 70px; max-height: 70px; padding-bottom: 2px;" />
</span>
<a href="#{request.contextPath}/home.htm" class="logo" style="margin-left: 2% !important;"> <span
class="logo-large" style="height: 70px;"> <img src="#{request.contextPath}/servlet/logo?scale=large"
style="height: 70px; max-height: 70px; padding-bottom: 2px;" />
</span>
</a>
<div class="bs-docs-section"
style="border-top: 2px solid #1ab26b !important; margin-bottom: 5px !important; margin-top: 1px !important; padding-top: 1px !important;"></div>
style="border-top: 2px solid #1ab26b !important; margin-bottom: 5px !important; margin-top: 1px !important; padding-top: 1px !important;">
</div>
<div class="wrapper">
<div>
<b:growl id="growlMsg" globalOnly="true" placementFrom="top"
show-detail="true" show-summary="false" allowDismiss="true"
severity="info,warn,error,fatal" delay="3000" escape="false"
<b:growl id="growlMsg" globalOnly="true" placementFrom="top" show-detail="true" show-summary="false"
allowDismiss="true" severity="info,warn,error,fatal" delay="3000" escape="false"
auto-update="true" />
<ui:insert name="body" />
</div>
</div>
<!-- Scripts -->
<script
src='#{oxTrustConfigurationService.cssLocation}/../theme/dist/js/jquery-1.12.4.min.js'
<script src='#{oxTrustConfigurationService.cssLocation}/../theme/dist/js/jquery-1.12.4.min.js'
type="text/javascript"></script>
<script
src="#{oxTrustConfigurationService.cssLocation}/../theme/bootstrap/js/bootstrap.min.js"
<script src="#{oxTrustConfigurationService.cssLocation}/../theme/bootstrap/js/bootstrap.min.js"
type="text/javascript"></script>
<script
src="#{oxTrustConfigurationService.cssLocation}/../theme/dist/js/app.min.js"
<script src="#{oxTrustConfigurationService.cssLocation}/../theme/dist/js/app.min.js"
type="text/javascript"></script>
<script
src="#{oxTrustConfigurationService.cssLocation}/../theme/plugins/iCheck/icheck.min.js"
<script src="#{oxTrustConfigurationService.cssLocation}/../theme/plugins/iCheck/icheck.min.js"
type="text/javascript"></script>

</h:body>
<footer class="footer">
<div class="container">
<p
style="margin-right: 30%; margin-left: 30%; padding: 20px; color: white;">
&copy; <a target="_blank"
href="https://github.com/GluuFederation/oxAuth/blob/master/LICENSE"><h:outputText
value="#{msg['common.gluuInc']}" escape="false" /></a> | <a
target="_blank" href="#{client.policyUri}"><h:outputText
value="#{msg['common.privacyPolicy']}" escape="false" /></a> | <a
target="_blank" href="#{client.tosUri}"><h:outputText
value="#{msg['common.termsOfService']}" escape="false" /></a>
</p>
</div>
<div class="container">
<p style="margin-right: 30%; margin-left: 30%; padding: 20px; color: white;">
&copy; <a target="_blank" href="https://github.com/GluuFederation/oxAuth/blob/master/LICENSE">
<h:outputText value="#{msg['common.gluuInc']}" escape="false" /></a> | <a target="_blank"
href="#{client.policyUri}">
<h:outputText value="#{msg['common.privacyPolicy']}" escape="false" /></a> | <a target="_blank"
href="#{client.tosUri}">
<h:outputText value="#{msg['common.termsOfService']}" escape="false" /></a>
</p>
</div>
</footer>
</f:view>
</html>

</html>

0 comments on commit 02b4fd3

Please sign in to comment.