Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- google analytics - Lookup Tables example for empl-type - Projects to LDAP - Orgs to LDAP - fix fullname generation to 'null null'
- Loading branch information
Showing
14 changed files
with
753 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright (c) 2010-2013 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | ||
"http://www.w3.org/TR/html4/loose.dtd"> | ||
<html xmlns:wicket="http://wicket.apache.org"> | ||
<body> | ||
<wicket:extend> | ||
|
||
<div class="row"> | ||
<div class="col-md-offset-2 col-md-8 col-lg-offset-4 col-lg-4"> | ||
<div class="panel panel-default" style="margin-top: 120px;"> | ||
<div class="panel-body"> | ||
<form wicket:id="loginForm" class="form-horizontal"> | ||
|
||
|
||
<!-- begin changes --> | ||
<div class="form-group"> | ||
<div class="col-md-4 col-lg-12 text-center"> | ||
<a href="https://wiki.evolveum.com/display/midPoint/Live+Demo" target="_blank">Live demo documentation</a> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-md-4 col-lg-12 text-center"> | ||
Demo credentials: <strong>administrator</strong> / <strong>5ecr3t</strong> | ||
</div> | ||
</div> | ||
<!-- end changes --> | ||
|
||
|
||
<div class="form-group"> | ||
<label class="col-md-4 col-lg-4 control-label"> | ||
<wicket:message key="PageLogin.username"/> | ||
</label> | ||
|
||
<div class="col-md-8 col-lg-8"> | ||
<input wicket:id="username" type="text" class="form-control input-sm focus-username" | ||
wicket:message="placeholder:PageLogin.username"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-md-4 col-lg-4 control-label"> | ||
<wicket:message key="PageLogin.password"/> | ||
</label> | ||
|
||
<div class="col-md-8 col-lg-8"> | ||
<input wicket:id="password" type="password" class="form-control input-sm value-password" | ||
wicket:message="placeholder:PageLogin.password"> | ||
</div> | ||
</div> | ||
<wicket:link ><a href="forgetpassword" wicket:id="forgetpassword"> <wicket:message key="PageLogin.forgetPassword"/></a></wicket:link> | ||
|
||
<input type="submit" class="btn btn-primary pull-right" wicket:message="value:PageLogin.signIn"/> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<script type="text/javascript"> | ||
$(".focus-username").focus(); | ||
</script> | ||
</wicket:extend> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
<!DOCTYPE html> | ||
<!-- | ||
~ Copyright (c) 2010-2015 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<html xmlns:wicket="http://wicket.apache.org" lang="en" class="no-js"> | ||
<head> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | ||
<title> | ||
<span wicket:id="title"/> | ||
</title> | ||
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico"/> | ||
|
||
<!-- TO BE REMOVED START --> | ||
<link type="text/css" rel="stylesheet" href="css/evolveum.css"/> | ||
<link rel="stylesheet" type="text/css" href="css/css-fixed-nonIE.css"/> | ||
<!--[if IE]> | ||
<link rel="stylesheet" type="text/css" href="css/css-fixed-IE.css"/> | ||
<![endif]--> | ||
<!--[if lt IE 7]> | ||
<link rel="stylesheet" type="text/css" href="css/css-fixed-IE.css?444"/> | ||
<![endif]--> | ||
|
||
<script type="text/javascript" src="js/evolveum.js"></script> | ||
<!-- TO BE REMOVED END --> | ||
|
||
|
||
<link type="text/css" rel="stylesheet" href="wro/all.css"/> | ||
|
||
<!-- BOOTSTRAP RESOURCES START --> | ||
<link type="text/css" rel="stylesheet" href="wro/bootstrap.css"/> | ||
|
||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
<script src="js/support/html5shiv.js"></script> | ||
<script src="js/support/respond.min.js"></script> | ||
<![endif]--> | ||
|
||
<link type="text/css" rel="stylesheet" href="wro/bootstrap-override.css"/> | ||
|
||
<link type="text/css" rel="stylesheet" href="css/easy-pie-chart/jquery.easypiechart.css"/> | ||
|
||
<!--https://github.com/silviomoreto/bootstrap-select/releases--> | ||
<link rel="stylesheet" type="text/css" href="css/bootstrap-select/bootstrap-multiselect.css"/> | ||
<link rel="stylesheet" type="text/css" href="css/bootstrap-select/bootstrap-select.css"/> | ||
|
||
<link rel="stylesheet" type="text/css" href="css/pnotify/jquery.pnotify.default.css"/> | ||
|
||
<link type="text/css" rel="stylesheet" href="css/silk.css"/> | ||
<link type="text/css" rel="stylesheet" href="css/flag.css"/> | ||
<link type="text/css" rel="stylesheet" href="css/font-awesome.css"/> | ||
<link type="text/css" rel="stylesheet" href="wro/midpoint.css"/> | ||
|
||
<script type="text/javascript" src="js/easy-pie-chart/jquery.easypiechart.js"></script> | ||
<script type="text/javascript" src="wro/bootstrap.js"></script> | ||
|
||
<!--https://github.com/silviomoreto/bootstrap-select/releases--> | ||
<script type="text/javascript" src="js/bootstrap-select/bootstrap-multiselect.js"></script> | ||
<script type="text/javascript" src="js/bootstrap-select/bootstrap-select.js"></script> | ||
|
||
<script type="text/javascript" src="js/ace/ace.js" charset="utf-8"></script> | ||
|
||
<script type="text/javascript" src="js/pnotify/jquery.pnotify.js" charset="utf-8"></script> | ||
|
||
<script type="text/javascript" src="wro/midpoint.js"></script> | ||
<!-- BOOTSTRAP RESOURCES END --> | ||
</head> | ||
<body> | ||
<div id="blackWindow"></div> | ||
<div id="xmlExport"> | ||
<span id="xmlExportContent"></span> | ||
</div> | ||
|
||
<div wicket:id="topMenu" /> | ||
|
||
<div wicket:id="version" class="pull-right version-info"> | ||
<wicket:message key="pageBase.midPointVersion"/> | ||
</div> | ||
<img id="ajax_busy" class="pull-right version-info" src="img/ajax-loader.gif"/> | ||
|
||
<div class="mp-main-container"> | ||
<div class="row mainContainer"> | ||
<div class="page-header" wicket:id="pageTitleContainer"> | ||
<h1 wicket:id="pageTitle"> | ||
<span wicket:id="pageTitleReal"></span> | ||
<small wicket:id="pageSubtitle"></small> | ||
</h1> | ||
</div> | ||
|
||
<!--<div wicket:id="feedbackList"/>--> | ||
<!--<div wicket:id="feedbackDetails"/>--> | ||
|
||
<div wicket:id="feedbackContainer" class="feedbackContainer"> | ||
<div wicket:id="feedback" class="messagePanel"/> | ||
<div wicket:id="tempFeedback" class="tempMessage"/> | ||
</div> | ||
<wicket:child/> | ||
|
||
</div> | ||
|
||
<div class="wicket-debug-buttons" wicket:id="debugBar"> | ||
<a wicket:id="clearCssCache">Clear css cache</a> | ||
</div> | ||
<div wicket:id="debugPanel" style="z-index: 10000;"/> | ||
</div> | ||
|
||
<!-- Footer --> | ||
<div class="mp-footer"> | ||
Thank you for using <a href="http://midpoint.evolveum.com">midPoint</a>, developed by | ||
<a href="https://www.evolveum.com/">Evolveum</a> and partners, © 2010-2015 | ||
</div> | ||
|
||
|
||
<!-- begin changes --> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | ||
|
||
ga('create', 'UA-26112360-4', 'auto'); | ||
ga('send', 'pageview'); | ||
|
||
</script> | ||
<!-- end changes --> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright (c) 2015 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<lookupTable oid="5783c174-d141-11e4-bb29-001e8c717e5b" | ||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | ||
xmlns='http://midpoint.evolveum.com/xml/ns/public/common/common-3' | ||
xmlns:c='http://midpoint.evolveum.com/xml/ns/public/common/common-3' | ||
xmlns:t='http://prism.evolveum.com/xml/ns/public/types-3' | ||
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" | ||
xmlns:piracy='http://midpoint.evolveum.com/xml/ns/samples/piracy'> | ||
|
||
<name>Emp type</name> | ||
|
||
<row> | ||
<key>FTE</key> | ||
<label>Full-time employee</label> | ||
</row> | ||
<row> | ||
<key>PTE</key> | ||
<label>Part-time employee</label> | ||
</row> | ||
<row> | ||
<key>CONTRACTOR</key> | ||
<label>Contractor</label> | ||
</row> | ||
<row> | ||
<key>RETIRED</key> | ||
<label>Retired</label> | ||
</row> | ||
|
||
</lookupTable> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<role xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" | ||
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" | ||
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" | ||
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" | ||
oid="bcf00adb-67c6-43be-bf60-3e6e1a52db25" | ||
version="1"> | ||
<name>LDAP Orgs MetaRole</name> | ||
<description>using to push new Orgs to LDAP automatically</description> | ||
<metadata> | ||
<createTimestamp>2015-05-28T13:46:18.239+02:00</createTimestamp> | ||
<creatorRef oid="00000000-0000-0000-0000-000000000002" type="c:UserType"><!-- administrator --></creatorRef> | ||
<createChannel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</createChannel> | ||
<modifyTimestamp>2015-05-28T13:46:37.489+02:00</modifyTimestamp> | ||
<modifierRef xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
oid="00000000-0000-0000-0000-000000000002" | ||
type="tns:UserType"><!-- administrator --></modifierRef> | ||
<modifyChannel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</modifyChannel> | ||
</metadata> | ||
<activation> | ||
<administrativeStatus>enabled</administrativeStatus> | ||
<effectiveStatus>enabled</effectiveStatus> | ||
<enableTimestamp>2015-05-28T13:46:17.908+02:00</enableTimestamp> | ||
</activation> | ||
<iteration>0</iteration> | ||
<iterationToken/> | ||
<inducement id="10"> | ||
<construction> | ||
<resourceRef oid="12c78a70-76b7-11e2-9cb3-001e8c717e5b" type="c:ResourceType"><!-- LDAP Server (OpenDJ) --></resourceRef> | ||
<kind>generic</kind> | ||
<intent>ou</intent> | ||
</construction> | ||
<order>1</order> | ||
</inducement> | ||
<requestable>false</requestable> | ||
</role> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<objectTemplate xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" | ||
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" | ||
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" | ||
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" | ||
oid="3ffe38cb-f43f-4ae6-98ed-2bc9aaf171ce" | ||
version="3"> | ||
<name>Default Project and Org Template</name> | ||
<metadata> | ||
<createTimestamp>2015-05-28T13:51:43.010+02:00</createTimestamp> | ||
<creatorRef oid="00000000-0000-0000-0000-000000000002" type="c:UserType"><!-- administrator --></creatorRef> | ||
<createChannel>http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport</createChannel> | ||
</metadata> | ||
<!-- two object templates with the same type are not supported yet | ||
when using Projects & Orgs you need to disable 'projects-objectTemplate.xml' and enable 'orgs-objectTemplate.xml' --> | ||
<mapping> | ||
<description>A hack to avoid feedback to HR feed - deleting accounts because they are not assigned</description> | ||
<source> | ||
<c:path>orgType</c:path> | ||
</source> | ||
<expression> | ||
<value> | ||
<targetRef oid="bcf00adb-67c6-43be-bf60-3e6e1a52db25" type="c:RoleType"/> | ||
</value> | ||
</expression> | ||
<target> | ||
<c:path>assignment</c:path> | ||
</target> | ||
<condition> | ||
<script> | ||
<code>orgType == 'functional'</code> | ||
</script> | ||
</condition> | ||
</mapping> | ||
<mapping> | ||
<description>A hack to avoid feedback to HR feed - deleting accounts because they are not assigned</description> | ||
<source> | ||
<c:path>orgType</c:path> | ||
</source> | ||
<expression> | ||
<value> | ||
<targetRef oid="3154fafb-9f9f-4c3b-93ae-7fffd43796bf" type="c:RoleType"/> | ||
</value> | ||
</expression> | ||
<target> | ||
<c:path>assignment</c:path> | ||
</target> | ||
<condition> | ||
<script> | ||
<code>orgType == 'project'</code> | ||
</script> | ||
</condition> | ||
</mapping> | ||
</objectTemplate> |
Oops, something went wrong.