NYBU#25028NYBU#25028 Implementatie
svn path=/Website/trunk/; revision=17454
BIN
CUST/NYBU/banner.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
383
CUST/NYBU/cust.css
Normal file
@@ -0,0 +1,383 @@
|
||||
/*
|
||||
* $Revision$
|
||||
* $Modtime: 6-10-10 12:23 $
|
||||
*
|
||||
* basiskleur: #c40f2e (rood)
|
||||
* #004589 (blauw)
|
||||
*/
|
||||
/* Titelbalk */
|
||||
#headerblok {
|
||||
background: url(banner.jpg) no-repeat;
|
||||
background-color: #fff;
|
||||
background-position: 0px 0px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* Links & highlights */
|
||||
#loggedinuser span:hover,
|
||||
#headerhelp:hover,
|
||||
#headerlogout:hover,
|
||||
a.newstextFresh:hover,
|
||||
a.newstext:hover,
|
||||
#showbody input.details:hover,
|
||||
span.ia:hover,
|
||||
label.cadselect:hover,
|
||||
#buttons ul li:hover,
|
||||
table.filter td:hover p,
|
||||
span.pscapt:hover,
|
||||
#facforum #container a:hover {
|
||||
text-decoration: none;
|
||||
color: #c40f2e;
|
||||
}
|
||||
tr.flexcollapsable td:hover span,
|
||||
.more:hover {
|
||||
color: #c40f2e;
|
||||
}
|
||||
.ui-datepicker-calendar .ui-state-hover {
|
||||
border: 1px solid #c40f2e;
|
||||
}
|
||||
|
||||
/* Portal */
|
||||
html, body, #editbody, #showbody, #listbody {
|
||||
background-image: none;
|
||||
background-color: #fff;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
}
|
||||
.ui-corner-all {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#mynewsframe {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#facforum {
|
||||
background-color: #fff;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#mywelcome,
|
||||
#myactions,
|
||||
#mymessages {
|
||||
margin: 10px 4px 0px 4px;
|
||||
padding: 0;
|
||||
background: none;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
#mywelcometitle {
|
||||
background: url(images/gradient_red.png) #fff repeat-x left top;
|
||||
color: #fff;
|
||||
padding: 0 0 3px 0;
|
||||
|
||||
}
|
||||
#mywelcometitle strong {
|
||||
color: #fff;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#mywelcometitle sup {
|
||||
color: #fff;
|
||||
}
|
||||
#mywelcomeinfo {
|
||||
background-color: #f1f1f1;
|
||||
color: #000;
|
||||
padding: 4px;
|
||||
float: none;
|
||||
font-style: normal;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
#mywelcomeframe {
|
||||
height: auto;
|
||||
}
|
||||
#nieuwsbody {
|
||||
background-color: #fff;
|
||||
margin: 0;
|
||||
border: none;
|
||||
width: 100%;
|
||||
}
|
||||
.nieuwstitel {
|
||||
color: #000;
|
||||
}
|
||||
.nieuwstekst {
|
||||
border-bottom: none;
|
||||
}
|
||||
.listbody#usermessbody .fcltframeheader,
|
||||
#listbody .fcltframeheader {
|
||||
border: none;
|
||||
}
|
||||
.listbody table {
|
||||
background-color: #fff;
|
||||
}
|
||||
#collapseblock table {
|
||||
border: none;
|
||||
border-bottom: 1px solid #ccc;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.fcltframe {
|
||||
background: none;
|
||||
background-color: #fff;
|
||||
border: 0px solid #ccc;
|
||||
border: none;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
/* Titels */
|
||||
.fcltframeheader,
|
||||
#search div.fcltblockhead {
|
||||
background: url(images/gradient_red.png) #fff repeat-x left top;
|
||||
xpadding: 3px 5px 1px 5px;
|
||||
}
|
||||
|
||||
/* Tekst van titels (overzichten, mijn facilitor, etc */
|
||||
.fcltframeheader,
|
||||
#search div.fcltblockhead,
|
||||
.fcltframeheader span,
|
||||
#search div.fcltblockhead span,
|
||||
#iframerextratitle {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Kaders om invulvelden */
|
||||
body.modal .fcltblock,
|
||||
#showbody .fcltblock,
|
||||
#editbody .fcltblock {
|
||||
border: none;
|
||||
}
|
||||
.fcltblock {
|
||||
margin: 3px 0 3px 0;
|
||||
}
|
||||
.fcltblock .inside {
|
||||
margin: 0px;
|
||||
padding: 2px 3px;
|
||||
}
|
||||
#show, #edit {
|
||||
padding: 0;
|
||||
}
|
||||
#showbody .fcltblock .inside {
|
||||
background-color: #f1f1f1;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
#showbody .fcltblockhead {
|
||||
background-color: #f1f1f1;
|
||||
color: #004589;
|
||||
border-bottom: 1px solid #ccc;
|
||||
padding: 1px 0 1px 5px;
|
||||
}
|
||||
#editbody .fcltblock .inside {
|
||||
background-color: #f1f1f1;
|
||||
border: 1px solid #ccc;
|
||||
border-top: none;
|
||||
}
|
||||
body.modal .fcltblockhead,
|
||||
#editbody .fcltblockhead {
|
||||
background: url(images/gradient_blue.png) #003353 repeat-x left top;
|
||||
color: #fff;
|
||||
border-bottom: 1px solid #004589;
|
||||
padding: 1px 0 1px 5px;
|
||||
}
|
||||
|
||||
#showbody label,
|
||||
#showbody input {
|
||||
color: #222;
|
||||
}
|
||||
#showbody .details {
|
||||
color: #22c;
|
||||
}
|
||||
|
||||
#showbody td,
|
||||
#editbody td,
|
||||
#searchbody td {
|
||||
line-height:1.7em;
|
||||
}
|
||||
|
||||
/* Flexvelden type label */
|
||||
td.flexlabel,
|
||||
#showbody td.flexlabel label {
|
||||
background: url(images/gradient_red.png) #fff repeat-x left top;
|
||||
color: #fff;
|
||||
border: none;
|
||||
padding: 1px 0px 3px 2px;
|
||||
}
|
||||
tr.flexcollapsed td {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Selectiescherm */
|
||||
#search {
|
||||
background-image: none;
|
||||
border: 1px solid #ccc;
|
||||
background-color: #f1f1f1;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
#search div.fcltblock {
|
||||
/*background-color: #fff;*/
|
||||
}
|
||||
#search div.fcltblockhead {
|
||||
background-color: #c40f2e;
|
||||
color: #fff;
|
||||
padding-top: 1px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
#search div.fcltblock label {
|
||||
color: #000;
|
||||
}
|
||||
#buttons ul li {
|
||||
color: #c40f2e;
|
||||
}
|
||||
|
||||
.rstable thead th,
|
||||
.rstable tfoot td,
|
||||
.sortable.rstable tfoot td,
|
||||
.modal th {
|
||||
background-color: #f1f1f1;
|
||||
color: #000;
|
||||
border-right: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
/* Verplichte velden */
|
||||
* html .required, .required {
|
||||
border-left: 3px solid red;
|
||||
}
|
||||
input[type=text].required,
|
||||
input[type=password].required,
|
||||
select.required, option.required,
|
||||
textarea.required {
|
||||
border-left: 3px solid red;
|
||||
}
|
||||
|
||||
/* Menu */
|
||||
.ui-layout-content {
|
||||
background-color: #fff;
|
||||
}
|
||||
div#ProfFAC,
|
||||
div#PersFAC,
|
||||
div#MgtFAC {
|
||||
background-color: #fff;
|
||||
}
|
||||
div#ProfFAC .menukop {
|
||||
color: #c40f2e;
|
||||
}
|
||||
div#ProfFAC ul li,
|
||||
div#PersFAC ul li,
|
||||
div#MgtFAC ul li {
|
||||
background-color: #fff;
|
||||
}
|
||||
li.mk {
|
||||
border-bottom: none;
|
||||
border-top: 1px solid #ccc;
|
||||
margin-top: 1px;
|
||||
}
|
||||
div#ProfFAC ul li li,
|
||||
div#PersFAC ul li li {
|
||||
border-bottom: none;
|
||||
border-top: 1px solid #aaa;
|
||||
margin-left: 5px;
|
||||
}
|
||||
div#PersFAC ul li li a,
|
||||
div#ProfFAC ul li li a {
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
div#PersFAC ul li li a:hover,
|
||||
div#ProfFAC ul li li a:hover {
|
||||
color: #c40f2e;
|
||||
}
|
||||
div#PersFAC ul li span.menukop {
|
||||
color: #c40f2e;
|
||||
}
|
||||
span.menukop {
|
||||
background-image:url(images/nyenrode_pointer-blue-right.gif);
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
/* Portal (loketten) */
|
||||
#portalbody {
|
||||
background-color: white;
|
||||
text-align: center;
|
||||
}
|
||||
#portalmenu h2 {
|
||||
color: #c40f2e;
|
||||
padding: 0;
|
||||
}
|
||||
#portalmenu table {
|
||||
margin: auto;
|
||||
}
|
||||
#portalmenu table tr td {
|
||||
width: 250px;
|
||||
background-color: white;
|
||||
border: 0px solid #ddd;
|
||||
padding: 2px 4px 0px 0px;
|
||||
}
|
||||
#portalmenu span.menuimg {
|
||||
width: 90px;
|
||||
float: left;
|
||||
margin: 0;
|
||||
display: block;
|
||||
}
|
||||
#portalmenu span.menukop {
|
||||
color: #c40f2e;
|
||||
text-align: left;
|
||||
width: 140px;
|
||||
padding: 0;
|
||||
margin: 2px 0 4px 0;
|
||||
display: block;
|
||||
float: right;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
#portalmenu ul {
|
||||
text-align: left;
|
||||
width: 140px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: block;
|
||||
float: right;
|
||||
}
|
||||
#widgetportalbody #portalmenu li.mi {
|
||||
color: #c40f2e;
|
||||
font-size: 1.0em;
|
||||
}
|
||||
#portalmenu .more {
|
||||
color: #c40f2e;
|
||||
}
|
||||
#portalmenu .more:hover {
|
||||
color: #000;
|
||||
}
|
||||
#portalmenu a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
#portalmenu a:hover {
|
||||
color: #c40f2e;
|
||||
}
|
||||
#portalmenu table tr td {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Widgets */
|
||||
div.widget,
|
||||
div.widgettitle {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Search */
|
||||
table.filter {
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
table.filter th {
|
||||
background-color: #c40f2e;
|
||||
}
|
||||
|
||||
/* Kalender */
|
||||
.ui-datepicker-header.ui-widget-header,
|
||||
.ui-dialog-titlebar.ui-widget-header {
|
||||
background: url(images/gradient_red.png) #fff repeat-x left top;
|
||||
color: #fff;
|
||||
}
|
||||
.ui-datepicker-calendar th {
|
||||
background-color: #ccc;
|
||||
}
|
||||
BIN
CUST/NYBU/flexfiles/menu/bestellen_rood.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
CUST/NYBU/flexfiles/menu/bezoekers_rood.jpg
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
CUST/NYBU/flexfiles/menu/meldingen_rood.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
CUST/NYBU/flexfiles/menu/reserveren_rood.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
CUST/NYBU/flexfiles/menu/servicedesk_rood.jpg
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
CUST/NYBU/images/gradient_blue.png
Normal file
|
After Width: | Height: | Size: 149 B |
BIN
CUST/NYBU/images/gradient_red.png
Normal file
|
After Width: | Height: | Size: 153 B |
BIN
CUST/NYBU/images/nyenrode_pointer-blue-right.gif
Normal file
|
After Width: | Height: | Size: 124 B |
BIN
CUST/NYBU/oracle.udl
Normal file
113
CUST/NYBU/sso/sso.asp
Normal file
@@ -0,0 +1,113 @@
|
||||
<%@language="VBScript"%>
|
||||
<%
|
||||
'*******************************************************************
|
||||
'Script: SSO.ASP
|
||||
'
|
||||
' $Revision$
|
||||
' $Modtime: 18-03-09 14:51 $
|
||||
'
|
||||
'Doel: SSO bewerkstelligen voor FACILITOR SaaS
|
||||
'
|
||||
'*******************************************************************
|
||||
'* declare *********************************************************
|
||||
Dim strGUID, strCTID, strUserName, strKey, strASPUrl, strSharedKey
|
||||
Dim strEncryptedCode, strControlEncryptedCode
|
||||
'* variables *******************************************************
|
||||
strASPUrl = "https://nybu.facilitor.nl/?sso=1" 'HTTPS URL adres van ASP
|
||||
strSharedKey = "zaVFQZGktrzMFSEkSuUHbJqJgHnAHSFP" 'Sharedkey - Should be the same at target side
|
||||
'*******************************************************************
|
||||
response.Buffer=true
|
||||
%>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
function fnSubmit() {
|
||||
window.document.form.submit();
|
||||
return;
|
||||
}
|
||||
</SCRIPT>
|
||||
</HEAD>
|
||||
<BODY LANGUAGE="javascript" onload="return fnSubmit()">
|
||||
Een moment aub.
|
||||
<form action='<%=strASPUrl%>' method="post" name="form" ID="Form1">
|
||||
<input type="hidden" name="returnurl" value="<%="http://" & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("SCRIPT_NAME")%>" ID="Hidden1">
|
||||
<%
|
||||
'* request action = requestid ***************************************
|
||||
strGUID = Request.form("guid")
|
||||
strCTID = Request.form("ctid")
|
||||
if strGUID = "" or strCTID = "" then
|
||||
'* first flow: requestid ****************************************
|
||||
%>
|
||||
<input type="hidden" name="action" value="requestid" ID="Hidden2">
|
||||
<input type="hidden" name="jumpTo" value="<%=Request.Querystring("jumpTo")%>" ID="jumpTo">
|
||||
<%
|
||||
else
|
||||
'* second flow: create code *************************************
|
||||
strUserName = Request.ServerVariables("LOGON_USER")
|
||||
if strUserName = "" then
|
||||
strUserName = Request.ServerVariables("REMOTE_USER")
|
||||
if strUserName = "" then
|
||||
strUserName = Request.ServerVariables("HTTP_USER")
|
||||
if strUserName = "" then
|
||||
strUserName = Request.ServerVariables("HTTP_LOGIN")
|
||||
if strUserName = "" then
|
||||
'Forse user to authenticate
|
||||
response.Clear
|
||||
response.Status = 401
|
||||
response.Flush
|
||||
response.End
|
||||
end if
|
||||
end if
|
||||
end if
|
||||
end if
|
||||
|
||||
' * Strip domain name
|
||||
Do While instr(strUserName, "\")>0
|
||||
strUserName = Mid(strUserName, instr(strUserName, "\") + 1)
|
||||
Loop
|
||||
'* crypt ********************************************************
|
||||
'First coding phase
|
||||
strKey = mid(strSharedKey & strGUID,1,Len(strUserName))
|
||||
strEncryptedCode = EnCrypt(strUserName)
|
||||
'Second coding phase
|
||||
strKey = mid(strGUID,1,Len(strEncryptedCode))
|
||||
strEncryptedCode = EnCrypt(strEncryptedCode)
|
||||
'* crypt Controlkey *********************************************
|
||||
'First coding phase
|
||||
strKey = mid(strSharedKey & strCTID,1,Len(strCTID))
|
||||
strControlEncryptedCode = EnCrypt("http://" & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("SCRIPT_NAME"))
|
||||
'Second coding phase
|
||||
strKey = mid(strCTID,1,Len(strControlEncryptedCode))
|
||||
strControlEncryptedCode = EnCrypt(strControlEncryptedCode)
|
||||
%>
|
||||
<input type="hidden" name="action" value="processcode" ID="Hidden3">
|
||||
<input type="hidden" name="code" value="<%=ConvertToAsc(strEncryptedCode)%>" ID="Hidden4">
|
||||
<input type="hidden" name="ctcode" value="<%=ConvertToAsc(strControlEncryptedCode)%>" ID="Hidden5">
|
||||
<input type="hidden" name="ltcode" value="<%=len(strUserName)%>" ID="Hidden6">
|
||||
<%
|
||||
end if
|
||||
'* Functions ********************************************************
|
||||
Function EnCrypt(strCryptThis)
|
||||
Dim strChar, iKeyChar, iStringChar, i
|
||||
for i = 1 to Len(strCryptThis)
|
||||
iKeyChar = Asc(mid(strKey,i,1))
|
||||
iStringChar = Asc(mid(strCryptThis,i,1))
|
||||
iCryptChar = iKeyChar Xor iStringChar
|
||||
strEncrypted = strEncrypted & Chr(iCryptChar)
|
||||
next
|
||||
EnCrypt = strEncrypted
|
||||
End Function
|
||||
Function ConvertToAsc(strAsc)
|
||||
Dim iCount
|
||||
Dim strTemp
|
||||
ConvertToAsc = ""
|
||||
for iCount = 1 to len(strAsc)
|
||||
strTemp = (asc(mid(strAsc,iCount,1)))
|
||||
ConvertToAsc = ConvertToAsc & len(strTemp) & strTemp
|
||||
next
|
||||
End Function
|
||||
'*********************************************************************
|
||||
%>
|
||||
</form>
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
CUST/NYBU/tmpl_logo.gif
Normal file
|
After Width: | Height: | Size: 6.4 KiB |