updated css and gcube context's override of the XMLHttpRequest's send method to support EDISON case
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/liferay62-plugins/generic-configurable-theme@141819 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
53dc3f17f2
commit
6745fae9fa
|
@ -12,13 +12,13 @@ $dockbarGradientStart: #FFF;
|
||||||
$dockbarOpenGradientEnd: #0993DD;
|
$dockbarOpenGradientEnd: #0993DD;
|
||||||
$dockbarOpenGradientStart: #0EA6F9;
|
$dockbarOpenGradientStart: #0EA6F9;
|
||||||
|
|
||||||
$navbarGradientStart: #918f90;
|
$navbarGradientStart: #0271BE;
|
||||||
$navbarGradientEnd: #918f90;
|
$navbarGradientEnd: #0271BE;
|
||||||
|
|
||||||
$footerFontColor: #FFF;
|
$footerFontColor: #FFF;
|
||||||
|
|
||||||
$navbarSelected: #f6871b;
|
$navbarSelected: #019AD3;
|
||||||
$navbarHover: green;
|
$navbarHover: #4CB5D2;
|
||||||
$dockbarCustomColor: #FFF;
|
$dockbarCustomColor: #FFF;
|
||||||
|
|
||||||
/* --- Hide the My Calendars section in Calendar portlet **/
|
/* --- Hide the My Calendars section in Calendar portlet **/
|
||||||
|
@ -39,7 +39,7 @@ div#_1_WAR_calendarportlet_calendarListContainer > div:last-child {
|
||||||
/* --- Custom vars, styles and mixins **/
|
/* --- Custom vars, styles and mixins **/
|
||||||
|
|
||||||
@mixin navbarGradient($start, $end) {
|
@mixin navbarGradient($start, $end) {
|
||||||
background: #918f90;
|
background: #0271BE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin navbar-border-radius($radius) {
|
@mixin navbar-border-radius($radius) {
|
||||||
|
|
|
@ -18,14 +18,17 @@ function injectClientContext() {
|
||||||
//console.log('Not logged in, injecting groupId only');
|
//console.log('Not logged in, injecting groupId only');
|
||||||
}
|
}
|
||||||
|
|
||||||
XMLHttpRequest.prototype.realSend = XMLHttpRequest.prototype.send;
|
var send = window.XMLHttpRequest.prototype.send;
|
||||||
var newSend = function(vData) {
|
function sendReplacement(data) {
|
||||||
this.setRequestHeader("gcube-userId", userId);
|
this.setRequestHeader("gcube-userId", userId);
|
||||||
this.setRequestHeader("gcube-vreid", groupId);
|
this.setRequestHeader("gcube-vreid", groupId);
|
||||||
this.setRequestHeader("gcube-request-url", location.href);
|
this.setRequestHeader("gcube-request-url", location.href);
|
||||||
this.realSend(vData);
|
if(this.onreadystatechange) {
|
||||||
};
|
this._onreadystatechange = this.onreadystatechange;
|
||||||
XMLHttpRequest.prototype.send = newSend;
|
}
|
||||||
|
return send.apply(this, arguments);
|
||||||
|
}
|
||||||
|
window.XMLHttpRequest.prototype.send = sendReplacement;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue