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; } @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 y = d.getFullYear(); 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 monthNames[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear() + " at " + strTime; // 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 === 'pittsburgheit-administratorsadmins') { isContentAdmin = true; } } } }); } if(isAdmin || isContentAdmin) { console.log("Showing Create Event Button"); $('.createEventButton').waitUntilExists(() => { $('.createEventButton').show(); }); } </script> |
...
HTML |
---|
<div class="createEventContainer"> <a class="createEventButton" href="/display/PEVEEV/Create+Event">Create Event</a> </div> |
...
OneValley