x
x
x
x
Only portrait mode is currently supported - please rotate your device.
...
HTML |
---|
<style>
.wiki-content .ev-cards-outer-container {
background-image: url("https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/images/EWC+2020/gradient-vertical.jpg");
background-size: cover;
background-repeat: no-repeat;
}
#announcements-wrapper > span.conf-macro {
height: 100%;
}
#additional-filters-button {
width: 280px;
}
.zran-event {
display: none;
}
.countryFilterContainer #cc-placeholder {
color: black;
font-family: var(--main-font-family);
font-size: 15.3px;
line-height: 1.57;
letter-spacing: 0.5px;
cursor: pointer;
}
.countryFilterContainer ul#countryFilter li {
color: black;
font-family: var(--main-font-family);
font-size: 15.3px;
line-height: 1.57;
letter-spacing: 0.5px;
border: 1px solid transparent;
border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
cursor: pointer;
}
.countryFilterContainer ul#countryFilter {
border: unset;
/* overflow-y: hidden; */
}
.countryFilterContainer:after {
position: absolute;
top: 20px;
right: 10px;
width: 0;
height: 0;
border: 6px solid transparent;
border-color: black transparent transparent transparent;
content: '';
}
.countryFilterContainer .select-arrow-active:after {
border-color: transparent transparent black transparent;
top: 7px;
}
@media only screen and (max-width: 480px) {
.events-search-main {
flex-direction: column;
align-items: center;
height: 75px;
flex-wrap: nowrap;
justify-content: flex-start;
padding-bottom: 0px;
overflow: hidden;
align-self: center;
padding-top: 70px;
}
.wiki-content .ev-search-container {
padding-bottom: 45px;
}
.countryFilterContainer {
height: 49px !important;
min-height: 49px;
}
.countryFilterContainer #cc-placeholder {
font-size: 14px;
}
.program {
flex-shrink: 7;
}
}
</style>
<script>
// New Version of Format Date (Asynchronous)
async function formatDate2(d) {
const monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
var hh = d.getHours();
var m = d.getMinutes();
var s = d.getSeconds();
var dd = "am";
var h = hh;
if (h >= 12) {
h = hh-12;
dd = "pm";
}
if (h == 0) {
h = 12;
}
m = m<10?"0"+m:m;
s = s<10?"0"+s:s;
var strTime = h+":"+m+" "+dd
return strTime + " on " + monthNames[d.getMonth()] + " " + d.getDate();
// return dayNames[d.getDay()] + ", " + monthNames[d.getMonth()] + " " + d.getDate() + " " + d.getFullYear() + ", " + strTime;
}
</script>
<script>
/* Allow Admins to Create Events */
var isAdmin = false;
var userGroups = [];
if (AJS.params.remoteUser) {
// Group Data
jQuery.ajax({
url: "/rest/api/user/memberof?username=" + AJS.params.remoteUser,
type: "get",
dataType: 'json',
async: false,
success: function (data) {
var res = data.results;
for (var i = 0; i < res.length; i++) {
var groupName = res[i].name;
userGroups.push(groupName);
if (groupName === 'confluence-administrators') {
isAdmin = true;
}
if (groupName === 'ashk-admins') {
isContentAdmin = true;
}
}
}
});
}
if(isAdmin || isContentAdmin) {
console.log("Showing Create Event Button");
$('.createEventButton').waitUntilExists(() => {
$('.createEventButton').show();
});
}
</script> |
...
OneValley