Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
97bbbb7e
Commit
97bbbb7e
authored
Dec 04, 2020
by
michael.simon
Browse files
leave admin pages unchanged with gray design
parent
eeec51f9
Changes
7
Hide whitespace changes
Inline
Side-by-side
bwreg-webapp/src/main/webapp/resources/css/std-admin.css
0 → 100644
View file @
97bbbb7e
html
{
height
:
100%
;
}
body
{
height
:
100%
;
background
:
white
;
}
*
{
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
margin
:
0
;
padding
:
0
;
}
h1
,
h2
{
margin-top
:
0
;
}
h1
{
font-size
:
1.6em
;
font-weight
:
normal
;
}
h2
{
font-size
:
1.6em
;
}
h3
{
font-size
:
1em
;
}
ul
{
margin
:
0
0
0
16px
;
padding
:
0
;
}
li
{
list-style-type
:
square
;
}
a
:hover
{
text-decoration
:
underline
;
}
a
img
{
border
:
none
;
}
.ui-widget
{
font-size
:
11px
!important
;
}
div
#wrapper
{
position
:
relative
;
width
:
1015px
;
margin
:
0
auto
;
min-height
:
100%
;
}
div
#container
{
width
:
979px
;
margin-left
:
16px
;
padding-bottom
:
53px
;
}
.clear
{
clear
:
both
;
height
:
0
;
overflow
:
hidden
;
}
#header
{
width
:
1015px
;
height
:
108px
;
margin
:
0
auto
;
background-color
:
#dddddd
;
}
div
#header-logo
{
float
:
left
;
height
:
108px
;
width
:
204px
;
}
div
#header-image
{
float
:
left
;
height
:
108px
;
width
:
811px
;
}
div
#header-right
{
float
:
right
;
height
:
108px
;
right
:
0
;
}
div
#header-text
{
float
:
left
;
}
div
#sidebar
{
float
:
left
;
width
:
183px
;
margin-right
:
5px
;
overflow
:
hidden
;
}
div
#sidebar
a
:link
,
div
#sidebar
a
:active
,
div
#sidebar
a
:visited
{
border
:
0
none
;
text-decoration
:
none
;
color
:
#000000
;
}
div
#sidebar
a
:hover
{
border
:
0
none
;
text-decoration
:
none
;
font-weight
:
bold
;
color
:
#000000
;
}
div
#sidebar
ul
li
{
list-style-type
:
none
;
font-size
:
10px
;
padding-bottom
:
3px
;
}
.submenu
{
font-size
:
10px
;
background-color
:
#dddddd
;
border-radius
:
4px
4px
4px
4px
;
-moz-border-radius
:
4px
4px
4px
4px
;
-webkit-border-radius
:
4px
4px
4px
4px
;
padding
:
2px
;
margin-top
:
6px
;
margin-bottom
:
6px
;
}
.submenu-content
{
color
:
#000000
;
background-color
:
#ffffff
;
}
.submenu-title
{
color
:
#000000
;
font-weight
:
bold
;
background-color
:
#dddddd
;
margin-bottom
:
2px
;
padding
:
3px
5px
3px
15px
;
}
div
#content
{
width
:
760px
;
float
:
left
;
padding
:
10px
;
margin
:
0
10px
10px
0
;
background-color
:
#ffffff
;
}
div
#footer-container
{
height
:
53px
;
left
:
0
;
position
:
absolute
;
width
:
1015px
;
background-color
:
#dddddd
;
bottom
:
0
;
}
div
#footer-content
{
font-size
:
9px
;
color
:
#b3b3b3
;
margin-left
:
204px
;
border-top
:
1px
#b3b3b3
solid
;
height
:
20px
;
width
:
780px
;
}
div
#owner
{
height
:
15px
;
text-align
:
left
;
margin
:
5px
auto
0
;
width
:
1015px
;
}
span
#owner-text
{
color
:
#4D4D4D
;
padding-left
:
32px
;
font-size
:
9px
;
}
div
.panelInline
{
display
:
inline-block
;
margin
:
4px
0
6px
0
;
}
div
.panel
{
margin
:
4px
0
6px
0
;
}
.value_bold
{
font-weight
:
bold
;
}
.value_normal
{
font-weight
:
normal
;
}
.pretext
{
white-space
:
pre
;
font-family
:
Courier
,
monospace
;
}
.errorColumn
{
}
.ui-panelgrid
tr
,
.ui-panelgrid
td
{
border
:
none
!important
;
}
.submenu-content
a
{
text-decoration
:
none
;
}
.language-label
.ui-selectonemenu-label
{
font-size
:
9px
;
text-align
:
left
;
}
.language-list
.ui-selectonemenu-list
{
font-size
:
9px
;
text-align
:
left
;
}
div
.serviceBlock
{
display
:
inline-block
;
width
:
31%
;
vertical-align
:
top
;
border
:
1px
#aaaaaa
solid
;
margin
:
4px
;
}
div
.serviceBlockHeader
{
background-color
:
#eeeeee
;
font-weight
:
bold
;
text-align
:
center
;
padding
:
2px
;
}
div
.serviceBlockImage
{
float
:
left
;
padding
:
4px
;
}
div
.serviceBlockDesc
{
padding
:
2px
;
}
div
.serviceBlockProblem
{
border
:
1px
dashed
red
;
color
:
red
;
padding
:
2px
;
}
div
.serviceBlockProblem
a
:link
,
div
.serviceBlockProblem
a
:active
,
div
.serviceBlockProblem
a
:visited
{
color
:
red
;
text-decoration
:
underline
;
padding
:
2px
;
}
div
.serviceBlockLink
a
:link
,
div
.serviceBlockLink
a
:active
,
div
.serviceBlockLink
a
:visited
{
border
:
0
none
;
text-decoration
:
none
;
color
:
#000000
;
}
div
.serviceBlockLink
{
margin-left
:
8px
;
}
.ui-panel
{
margin-bottom
:
16px
;
}
bwreg-webapp/src/main/webapp/service/index.xhtml
View file @
97bbbb7e
...
...
@@ -23,21 +23,22 @@
<ui:define
name=
"content"
>
<div
class=
"panel"
>
<p:panel
header=
"#{messages.service_desc}: #{showServiceDetailBean.serviceEntity.name}"
>
<h:outputText
value=
"#{showServiceDetailBean.serviceDescBB}"
escape=
"false"
/>
</p:panel>
</div>
<h3
class=
"full"
><h:outputText
value=
"#{messages.service_desc}: #{showServiceDetailBean.serviceEntity.name}"
/></h3>
<div
class=
"panel"
>
<p:panel
rendered=
"#{! authorizationBean.isUserInService(showServiceDetailBean.serviceEntity)}"
>
<span
class=
"ui-icon ui-icon-carat-1-e"
style=
"display:inline-block; vertical-align: bottom;"
/>
<h:link
outcome=
"/user/register-service.xhtml"
value=
"#{messages.register}"
>
<f:param
name=
"serviceId"
value=
"#{showServiceDetailBean.serviceEntity.id}"
/>
</h:link>
</p:panel>
<div
class=
"text full"
>
<h:outputText
value=
"#{showServiceDetailBean.serviceDescBB}"
escape=
"false"
/>
</div>
<h:panelGroup
rendered=
"#{! authorizationBean.isUserInService(showServiceDetailBean.serviceEntity)}"
>
<div
class=
"text full"
>
<span
class=
"ui-icon ui-icon-carat-1-e"
style=
"display:inline-block; vertical-align: bottom;"
/>
<h:link
outcome=
"/user/register-service.xhtml"
value=
"#{messages.register}"
>
<f:param
name=
"serviceId"
value=
"#{showServiceDetailBean.serviceEntity.id}"
/>
</h:link>
</div>
</h:panelGroup>
</ui:define>
</ui:composition>
</f:view>
...
...
bwreg-webapp/src/main/webapp/service/registry-detail.xhtml
View file @
97bbbb7e
...
...
@@ -25,73 +25,66 @@
<ui:define
name=
"content"
>
<h:form
id=
"form"
>
<div
class=
"full"
>
<p:panel
header=
"#{messages.registry_details}: #{registryDetailBean.entity.service.name}"
>
<p:panelGrid
id=
"baseData"
columns=
"2"
>
<h:outputText
value=
"#{messages.registered_time}:"
/>
<h:outputText
value=
"#{of:formatDate(registryDetailBean.entity.agreedTime, 'dd.MM.yyyy HH:mm')}"
/>
<h3
class=
"full"
><h:outputText
value=
"#{messages.registry_details}: #{registryDetailBean.entity.service.name}"
/></h3>
<h:outputText
value=
"#{messages.status}:"
/>
<h:outputText
value=
"#{registryDetailBean.entity.registryStatus}"
/>
</p:panelGrid>
<p:dataTable
id=
"attrData"
style=
"min-width: 500px;"
value=
"#{registryDetailBean.entity.registryValues.keySet().toArray()}"
var=
"key"
>
<p:column>
<f:facet
name=
"header"
>
<h:outputText
value=
"#{messages.name}"
/>
</f:facet>
<h:outputText
value=
"#{key}"
/>
</p:column>
<p:column>
<f:facet
name=
"header"
>
<h:outputText
value=
"#{messages.value}"
/>
</f:facet>
<h:outputText
value=
"#{registryDetailBean.entity.registryValues.get(key)}"
rendered=
"#{key != 'userPassword'}"
/>
<h:outputText
value=
"set"
rendered=
"#{key == 'userPassword'}"
/>
</p:column>
</p:dataTable>
</p:panel>
<p:panelGrid
id=
"baseData"
columns=
"2"
styleClass=
"full"
style=
"margin-top: 1em;"
>
<h:outputText
value=
"#{messages.registered_time}:"
/>
<h:outputText
value=
"#{of:formatDate(registryDetailBean.entity.agreedTime, 'dd.MM.yyyy HH:mm')}"
/>
<h:outputText
value=
"#{messages.status}:"
/>
<h:outputText
value=
"#{registryDetailBean.entity.registryStatus}"
/>
</p:panelGrid>
<p:dataTable
id=
"attrData"
style=
"min-width: 500px; margin-top: 1em;"
styleClass=
"full"
value=
"#{registryDetailBean.entity.registryValues.keySet().toArray()}"
var=
"key"
>
<p:column>
<f:facet
name=
"header"
>
<h:outputText
value=
"#{messages.name}"
/>
</f:facet>
<h:outputText
value=
"#{key}"
/>
</p:column>
<p:column>
<f:facet
name=
"header"
>
<h:outputText
value=
"#{messages.value}"
/>
</f:facet>
<h:outputText
value=
"#{registryDetailBean.entity.registryValues.get(key)}"
rendered=
"#{key != 'userPassword'}"
/>
<h:outputText
value=
"set"
rendered=
"#{key == 'userPassword'}"
/>
</p:column>
</p:dataTable>
<h3
class=
"full"
style=
"margin-top: 1em;"
><h:outputText
value=
"#{messages.more_properties}: #{registryDetailBean.entity.service.name}"
/></h3>
<div
class=
"firstline full"
style=
"margin-top: 1em;"
>
<h:outputText
value=
"#{registryDetailBean.infotainment.message}"
/>
</div>
<p:treeTable
rendered=
"#{not empty registryDetailBean.infotainmentRoot}"
styleClass=
"full"
style=
"margin-top: 0.5em;"
value=
"#{registryDetailBean.infotainmentRoot}"
var=
"node"
>
<p:column>
<f:facet
name=
"header"
>
Name
</f:facet>
<h:outputText
value=
"#{node.nodeName}"
/>
</p:column>
<p:column>
<f:facet
name=
"header"
>
Message
</f:facet>
<h:outputText
value=
"#{node.message}"
/>
</p:column>
</p:treeTable>
<p:panel
header=
"#{messages.more_properties}: #{registryDetailBean.entity.service.name}"
rendered=
"#{not empty registryDetailBean.infotainment}"
>
<div>
<h:outputText
value=
"#{registryDetailBean.infotainment.message}"
/>
</div>
<p:treeTable
rendered=
"#{not empty registryDetailBean.infotainmentRoot}"
value=
"#{registryDetailBean.infotainmentRoot}"
var=
"node"
>
<p:column>
<f:facet
name=
"header"
>
Name
</f:facet>
<h:outputText
value=
"#{node.nodeName}"
/>
</p:column>
<p:column>
<f:facet
name=
"header"
>
Message
</f:facet>
<h:outputText
value=
"#{node.message}"
/>
</p:column>
</p:treeTable>
</p:panel>
<h:panelGroup
rendered=
"#{registryDetailBean.entity.registryStatus == 'ACTIVE'}"
>
<h3
class=
"full"
style=
"margin-top: 1em;"
><h:outputText
value=
"#{messages.deregister}: #{registryDetailBean.entity.service.name}"
/></h3>
<div
class=
"firstline full"
style=
"margin-top: 1em;"
>
<h:outputText
value=
"#{messages.deregister_desc}"
/>
</div>
<div
class=
"text full"
>
<h:link
outcome=
"/user/deregister-service.xhtml"
value=
"#{messages.deregister}"
>
<f:param
name=
"regId"
value=
"#{registryDetailBean.entity.id}"
/>
</h:link>
</div>
</h:panelGroup>
<p:panel
header=
"#{messages.deregister}: #{registryDetailBean.entity.service.name}"
rendered=
"#{registryDetailBean.entity.registryStatus == 'ACTIVE'}"
>
<div>
<h:outputText
value=
"#{messages.deregister_desc}"
/>
</div>
<div>
<h:link
outcome=
"/user/deregister-service.xhtml"
value=
"#{messages.deregister}"
>
<f:param
name=
"regId"
value=
"#{registryDetailBean.entity.id}"
/>
</h:link>
</div>
</p:panel>
</div>
</h:form>
</ui:define>
</ui:composition>
...
...
bwreg-webapp/src/main/webapp/template/default-admin.xhtml
View file @
97bbbb7e
...
...
@@ -8,18 +8,18 @@
<title>
Default page
</title>
</head>
<body>
<ui:composition
template=
"
${bwreg.template}
"
>
<ui:composition
template=
"
layout-template-admin.xhtml
"
>
<ui:define
name=
"header"
>
<ui:include
src=
"
${bwreg.template.head-bar}
"
/>
<ui:include
src=
"
head-bar-admin.xhtml
"
/>
</ui:define>
<ui:define
name=
"left_sidebar"
>
<ui:include
src=
"
${bwreg.template.
left-side-bar-admin
}
"
/>
<ui:include
src=
"left-side-bar-admin
.xhtml
"
/>
</ui:define>
<ui:define
name=
"footer"
>
<ui:include
src=
"
${bwreg.template.footer}
"
/>
<ui:include
src=
"
footer-admin.xhtml
"
/>
</ui:define>
</ui:composition>
...
...
bwreg-webapp/src/main/webapp/template/footer-admin.xhtml
0 → 100644
View file @
97bbbb7e
<?xml version="1.0" encoding="UTF-8" ?>
<!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"
xmlns:f=
"http://java.sun.com/jsf/core"
xmlns:h=
"http://java.sun.com/jsf/html"
xmlns:ui=
"http://java.sun.com/jsf/facelets"
xmlns:p=
"http://primefaces.org/ui"
>
<head>
<title>
Footer
</title>
</head>
<body>
<ui:composition>
<div
id=
"footer-content"
>
${project.artifactId}${bwreg.name.suffix}-${project.version}
</div>
<div
id=
"owner"
>
<span
id=
"owner-text"
>
Text unten
</span>
</div>
</ui:composition>
</body>
</html>
\ No newline at end of file
bwreg-webapp/src/main/webapp/template/head-bar-admin.xhtml
0 → 100644
View file @
97bbbb7e
<?xml version="1.0" encoding="UTF-8" ?>
<!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"
xmlns:f=
"http://java.sun.com/jsf/core"
xmlns:h=
"http://java.sun.com/jsf/html"
xmlns:ui=
"http://java.sun.com/jsf/facelets"
xmlns:p=
"http://primefaces.org/ui"
>
<head>
<title>
Left side bar
</title>
</head>
<body>
<ui:composition>
<div
id=
"header-logo"
>
<h:graphicImage
value=
"#{resource['img/fels.png']}"
alt=
"Fels Logo"
/>
</div>
<div
id=
"header-image"
>
<div
id=
"header-right"
class=
"ui-widget"
>
Header rechts
</div>
<div
id=
"header-text"
class=
"ui-widget"
>
Federated Login Service Admin
</div>
</div>
</ui:composition>
</body>
</html>
\ No newline at end of file
bwreg-webapp/src/main/webapp/template/layout-template-admin.xhtml
0 → 100644
View file @
97bbbb7e
<?xml version="1.0" encoding="UTF-8"?>
<!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"
xmlns:f=
"http://java.sun.com/jsf/core"
xmlns:h=
"http://java.sun.com/jsf/html"
xmlns:ui=
"http://java.sun.com/jsf/facelets"
>
<f:view
contentType=
"text/html"
locale=
"#{sessionManager.locale != null ? sessionManager.locale : ''}"
>
<h:head>
<ui:insert
name=
"metadata"
/>
<f:facet
name=
"first"
>
<title>
#{title}
</title>
</f:facet>
<h:outputStylesheet
name=
"css/std-admin.css"
/>
<h:outputScript
library=
"javax.faces"
name=
"jsf.js"
target=
"head"
/>
</h:head>
<h:body>
<div
id=
"wrapper"
>
<div
id=
"header"
>
<ui:insert
name=
"header"
>
Default header
</ui:insert>
</div>
<div
class=
"spacer"
></div>
<div
id=
"container"
>
<div
id=
"sidebar"
>
<ui:insert
name=
"left_sidebar"
>
Default left side bar
</ui:insert>
</div>
<div
id=
"content"
class=
"ui-widget"
>
<ui:insert
name=
"content"
>
Default content
</ui:insert>
</div>
<div
class=
"clear"
></div>
<div
id=
"footer-container"
>
<div
class=
"spacer"
></div>
<ui:insert
name=
"footer"
>
Default footer
</ui:insert>
</div>
</div>
</div>
</h:body>
</f:view>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment