x x x
x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated with dashboard from passport


HTML
<script type="text/javascript" src="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/js/Smith/eventsDashboardScript_SMITH.js"></script>


HTML
<link rel="stylesheet" type="text/css" href="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/stylesheets/Passport/eventsDashboardStylesheet.css" />

<style>
div#rw_theme_header {
    background: #ffffff<!-- REBRAND STYLING -->
<style>

.wiki-content #announcementcontainer {
  background-color: #f3f1eb !important;
}

.wiki-content #announcementcontainer .announcementcard .card-subtitle {
  color: black !important;
}

.wiki-content #announcementcontainer .announcementcard .card-description {
  color: black !important;
}

.wiki-content #announcementcontainer .announcementcard a {
  color: black !important;
  border: none !important;
  border-bottom: 1px solid black !important;
  padding: 0 !important;
  width: auto !important;
}

.wiki-content .ev-cards-section .ev-cards-section-title {
  color: black !important;
}

.change-slide-button {
  border: none !important;
}

div#my-watchlist-container {
  background: #f2b006 !important;
}

div#all-events {
  background: #006920#location-clear-button {
	display: flex;
    position: absolute;
    right: 0px;
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 12px 10px;
}
/* Page Title */
.general-text-container {
    display: flex;
    flex-direction: column;
    width: 40%;
    padding: 100px 0px 0px 31px !important;
}


h2#Dashboard-AllEvents/* My Events Container */
#my-events-container {
  color	display: white !importantnone;
}

.active, .cdot:hover/* Event Date */
.bigTimeContainer {
  background-color  height: #1c662e !important;
}

.wiki-content .ev-search-container {
  background-color: #6797f3 !important;
}

.wiki-content #events-searchbar {
auto;
    width: 54px;
    background: #113867 !importantwhite;
  border  box-shadow: 1px solid2px #113867 !important;
}

.countryFilterContainer {
  border: 1px solid #113867 !important;
}

.countryFilterContainer #country-placeholder {
  background: #113867 !important;
}

#startdate, #enddate {
  background: #113867 !important;
  border: 1px solid #113867 !important;
}

.dateFilter {
  color: #113867 !important;
}

.wiki-content .ev-cards-outer-container {
  padding: 0px !important11px 0 rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    /* justify-content: space-evenly; */
    align-items: center;
    padding-bottom: 5px;
    border: solid 1px #979797;
}

.eventcardbigTimeDate {
  border: 1px solid #113867 !important  color: var(--primary-font-color);
    font-size: 25px;
}

div#my-watchlist-container.bigTimeMonth {
  background: #f2b006 !important;
}

div#all-events {
  background: #006920 !important;
}

h2#CopyofDashboardRebrand-AllEvents {
  color: white font-size: 14px;
    width: 100%;
    display: flex;
    justify-content: center;
    background: #1f2833;
    color: var(--secondary-font-color) !important;
}

#my-watchlist-container #no-watchlist-yet-message {
  background-color: #113867/* Event Program Card Styling */
.program span {
    background: transparent !important;
}
</style>
HTML
<link rel="stylesheet" type="text/css" href="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/stylesheets/ESG/eventsDashboardStylesheet.css" />

<script type="text/javascript" src="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/js/Smith/eventsDashboardScript_SMITH.js"></script>

<style>
.wiki-content .ev-banner-container .ev-banner-title .card-title {
	background-image: unset !important;
	-webkit-background-clip: unset !important;
	background-clip: unset !important;
	color: black !important;
}

.countryFilterContainer #country-placeholder {    color: var(--primary-font-color) !important;
	font-weight: 100;
	font-size: 14px !important;
}
.program {
    color: var(--primary-font-color) !important;
    font-family: unset !important;
    font-size: 14px !important;
    text-align: start;
    margin-left: 16px;
	margin-top: 10px;
	overflow-y: auto;
    height: 45pxauto;
    min-height	font-weight: 45px;normal;
}
br {
    margindisplay: 0pxnone;
}
.program h1 {
  text-align  margin: left0;
    widthcolor: calcvar(100% - 40px)--primary-font-color) !important;
    justifyfont-contentsize: space-between;14px;
}
.program .p1 {
    colorfont-size: rgba(255, 255, 255, 0.69);14px !important;
}
.program div {
    paddingfont-size: 0px14px 20px!important;
    cursorfont-weight: textnormal !important;
}
/ * Location  position: relative;search bar */
.wiki-content #events-search-container {
    alignmin-itemswidth: center280px;
    backgroundwidth: #1f1f1f25%;
    bordermax-width: none320px;
}
.countryFilterContainer {
	justify-content: center !important;
}
.countryFilterContainer #country-clear-button 
#location-search-container img {
    position: relative absolute!important;
    rightleft: 0px !important;
}

.attendees {
	display: none;
}

@media screen and (max-width: 640px) {
.filtersContainer {
	justify-content: center;
}
}
</style>
HTML
<style>
.wiki-content .ev-cards-outer-container {
    background-image: none;
    background-size: cover    height: 12px !important;
    width: 12px !important;
    opacity: 0.7;
	cursor: pointer;
}

#location-search-container img:hover {
	filter: invert(62%) sepia(80%) saturate(588%) hue-rotate(349deg) brightness(98%) contrast(94%);
}

.wiki-content #location-searchbar {
	background: #1f2833;
    background-repeatcolor: no-repeatvar(--secondary-font-color);
  	backgroundbox-colorshadow: #f3f1ebnone;
}
#announcements-wrapper > span.conf-macro {	font-size: 13px;
	width: calc(100% - 40px);	
	height: 100%15px;
}

#additional-filters-button {
	width: 280px	padding: 15px 20px;
	border: none;
}

/* Create Event Button */
a.zran-eventcreateEventButton {
	display: none;
}

@media only screen and (maxbox-widthsizing: 480px) {border-box;
  .events-search-main {  transition: background-color .1s ease-out;
    border-radius: 3.01px;
    flexborder-directionstyle: columnsolid;
    alignborder-itemswidth: center1px;
    heightcursor: 75pxpointer;
    flexfont-wrapfamily: nowrapinherit;
    justifyfont-contentsize: flex-start14px;
    paddingfont-bottomvariant: 0pxnormal;
    overflowfont-weight: hidden400;
  }
  .wikibackground-content .ev-search-container {image: none;
    paddingbackground-bottomcolor: 45pxrgba(9,30,66,0.08);
  }
  .countryFilterContainer {
	height: 49px !important;
	min-height: 49pxborder-color: transparent;
    color: #344563;
  }
  .countryFilterContainer #country-placeholder {
	font-sizetext-decoration: 14pxnone;
  }
}
</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)  height: 2.14285714em;
    line-height: 1.42857143em;
    margin: 0;
    padding: 4px 10px;
    vertical-align: baseline;
    white-space: nowrap;
    color: black !IMPORTANT;
    border-radius: 6px;
}
.createEventContainer {
    display: flex;
    justify-content: flex-end;
    margin: 10px 26px 0 0;
}

/* Dashboard Banner */
img.events-dashboard-banner {
    h = hh-12width: 100%;
    dd = "pm";
  }height: auto;
	margin-bottom: -20px;
}
.events-dashboard-banner-container {
  if (h ==margin: 0) {
0    h = 12;
  }-5px 0;
}
.countryFilterContainer #cc-placeholder {
  m = m<10?"0"+m:m height: 45px;
  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>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

ContainerIDannouncementcontainer
Classev-banner-container

...

groupconfluence-administrators
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">
Custom section
CustomCSSheight:none; justify-content:flex-end;
Classadd-announcement-container

Custom button
Typecustom-button
FontColor#000000
TextCreate / Edit Announcements
Url/display/SDEV/Events+Dashboard+Announcements

HTML
</span>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

CustomCSSflex-direction: column; width: 100%; max-width: 100%;
ContainerIDannouncements-wrapper
Classev-banner
ConfiForms PlainView
pageTitleEvents Dashboard Announcements
formNameeventsdashboardannouncements
sortcreated DESC
<div class="announcementcard fade">
	<div class="imgalign"> 
		<img class="announcement-image" src="/download/attachments/95587037/[entry.image.asAttachment]"></img>
 	</div>
	<div class="text-encompasser">
		<div class="change-slide-buttons-container">
			<div class="change-slide-button" onclick="plusSlides(-1)"><img src="/download/attachments/50533066/chev-left.png?api=v2" /></div>
			<div class="change-slide-button" onclick="plusSlides(1)"><img src="/download/attachments/50533066/chev-right.png?api=v2" /></div>
		</div>
		<div class="text-container ev-banner-title">
			<p class="card-title">[entry.title] </p>
		</div>
		<div class="text-container">
			<font class="card-subtitle">[entry.subtitle] </font>
		</div>
		<div class="text-container">
			<font class="card-description">[entry.description] </font>
		</div>
		<div class="announcement-links-container">
			<a class="buttonHref" href="[entry.cardLink]" rel="nofollow" target="_blank" onclick="handleEventCardClick(this);" data-cardtype="announcement" data-cardurl="[entry.cardLink]" data-entryid="[entry.id]" data-cardtitle="[entry.title]">
				[entry.cardButtonText]
			</a>
		</div>
	</div>
</div>
HTML
</span>

Carousel

 min-height: 45px;
    margin: 0px;
    text-align: left;
    width: calc(100% - 40px);
    justify-content: space-between;
    padding: 0px 20px;
    cursor: text;
    position: relative;
    align-items: center;
    background: #1f2833;
  	border: 1px solid #ddd;
  	box-shadow: none;
}
.wiki-content .ev-cards-section .ev-cards-section-title {
	color: #000000 !important;
}
.wiki-content .ev-cards-outer-container {background-image: unset !important;}
.countryFilterContainer {
	justify-content: center !important;
}
.custom-section-container{
 flex-direction: column !important;
}
.countryFilterContainer #country-clear-button {
    position: absolute;
    right: 0px;
}

@media screen and (max-width: 640px) {
.filtersContainer {
	justify-content: center;
}
}
</style>


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 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 === 'gsvlabs-admins') {
            isContentAdmin = true;
          }
          
        }
      }
    });
}
if(isAdmin || isContentAdmin) {
	console.log("Showing Create Event Button");
	$('.createEventButton').waitUntilExists(() => {
 		$('.createEventButton').show();
	});
}
</script>


Custom section
Classev-banner-container


HTML
<div class="events-dashboard-banner-container">
	
</div>



HTML
<div id="ev-main-content">


Custom section
Classev-search-container


HTML
<div class="filtersContainer events-search-main">
    <div id="events-search-container">
		<img src="/download/attachments/46334146/searchicon.png?api=v2" />
		<input id="events-searchbar" type="text" autocomplete="off" placeholder="Search for a Specific Event" />
	</div>

    <div class="countryFilterContainer">  
		<input type='text' id='cc-placeholder' autocomplete="off" placeholder='Categories' onkeyup='handleCountrySearch(this, event)' />
        <ul id="countryFilter">
        </ul>
    </div>

	<div id="location-search-container">
		<input id="location-searchbar" type="text" autocomplete="false" placeholder="Location" />
	</div>

	<div class="dateFilterContainer">
        <div class="dateFilter">
			<p class="dateInputContainer"><input type="text" placeholder="Start Date" id="startdate"></p>      <span>↔</span>      <p class="dateInputContainer"><input type="text" placeholder="End Date" id="enddate"></p>
		</div>
    </div>

	<div class="resetFilterContainer">
    	<a id="resetFilter">Clear All Filters</a>
	</div>
</div>

<div id="additional-filters-button" style="display: none;">
	<img src="/download/attachments/46334146/addfilters.png?api=v2" />
	<span>Additional Filters</span>
</div>



HTML
<div class="createEventContainer">
	<a class="createEventButton" href="/display/EVE/Create+Event">Create Event</a>
</div>


HTML
<script>
/*window.addEventListener('load', () => {
	document.getElementById("cc-placeholder").disabled = false;
});*/
</script>


Custom section
CustomCSSflex-direction: column;
ContainerIDevent-search-result-cards
Classev-cards-section


HTML
<h2 class="ev-cards-section-title">Search Results</h2>


Custom section
Classevents-container




HTML
<div class="ev-cards-outer-container">
	<div id="ev-cards-main-view">
HTML
</span>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

Classev-search-container
HTML
<div class="filtersContainer events-search-main">
    <div id="events-search-container">
		<img src="/download/attachments/50533066/searchicon.png?api=v2" />
		<input id="events-searchbar" type="text" autocomplete="off" placeholder="SEARCH FOR A SPECIFIC EVENT" />
	</div>
    <div class="countryFilterContainer">  
		<input type='text' id='country-placeholder' placeholder='Country' onkeyup='handleCountrySearch(this, event)' />
        <ul id="countryFilter">
        </ul>
		<div id='country-clear-button' style="display:none;"><img src="/download/attachments/50533066/closeicon.png?api=v2" onclick="event.stopPropagation();clearFilter('countryFilter')" /></div>
    </div>
	<div class="dateFilterContainer">
        <div class="dateFilter">
			<p class="dateInputContainer"><input type="text" placeholder="Start Date" id="startdate"></p>      <span>↔</span>      <p class="dateInputContainer"><input type="text" placeholder="End Date" id="enddate"></p>
		</div>
    </div>

	<div class="resetFilterContainer">
    	<a id="resetFilter">Clear All Filters</a>
	</div>
</div>

<div id="additional-filters-button" style="display: none;">
	<img src="/download/attachments/50533066/addfilters.png?api=v2" />
	<span>Additional Filters</span>
</div>
HTML
</span>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

CustomCSSflex-direction: column;
ContainerIDevent-search-result-cards
Classev-cards-section
HTML
<h2 class="ev-cards-section-title">Search Results</h2>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

Classevents-container
HTML
</span>
HTML
</span>
HTML
<div class="ev-cards-outer-container">
	<div id="ev-cards-main-view">
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

CustomCSSdisplay:none;
ContainerIDmy-events-scrolly
Classev-cards-section ev-cards-section-scrollable
HTML
<h2 class="ev-cards-section-title">My Events</h2>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

Classscrolling-ev-cards-wrapper

...

filterownedBy:[entry._user]
pageTitleCreate Event
formNamecreateEvent
sortstartDate asc
HTML
</span>
HTML
</span>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

ContainerIDupcoming-events-section
Classev-cards-section ev-cards-section-scrollable
HTML
<h2 class="ev-cards-section-title">Upcoming Events</h2>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

Classscrolling-ev-cards-wrapper

...

filterendDate:>=[now] AND publish:true
pageTitleCreate Event
formNamecreateEvent
sortstartDate asc
HTML
</span>
HTML
</span>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

ContainerIDmy-watchlist-container
Classev-cards-section ev-cards-section-scrollable
HTML
<h2 class="ev-cards-section-title">My Watchlist</h2>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">

...

Classscrolling-ev-cards-wrapper
HTML
<div class="conf-macro output-block fullSite" data-hasbody="true" data-macro-name="confiform-cleanview"></div>
HTML
</span>
HTML
</span>
HTML
</div>
HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">
<h2 class="ev-cards-section-title">Past Events</h2>
Custom section
ContainerIDpast-events-section
Classev-cards-section ev-cards-section-scrollable
HTML


HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">


Class
Custom section
ContainerID
scrolling-ev-cards-wrapper
ConfiForms CleanView
filterendDate:<[now] AND publish:true
pageTitleCreate Event
formNamecreateEvent
sortstartDate desc
HTML
</span>
HTML
upcoming-events-container
Classev-cards-section ev-cards-section-scrollable


HTML
<h2 class="ev-cards-section-title">Upcoming Events</h2>
</span>


HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">


Custom section
CustomCSSflex-direction: column; ContainerIDall-events
Classscrolling-
Class
ev-cards-
section
wrapper


HTML
<h2
<div class="
ev-cards-section-title" style="margin-bottom: 60px;">All Events</h2>
ConfiForms CleanView
filterpublish:true
pageTitleCreate Event
formNamecreateEvent
sortstartDate ASC
conf-macro output-block fullSite" data-hasbody="true" data-macro-name="confiform-cleanview"> </div>



HTML
</span>



HTML
</span>
Show If


confluence-administrators
HTML
<script>

getUpcomingEvents().then(() => showOrHideScrollButtons(0));

</script>
group


HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">


flex-direction: column; unpublished
Custom section
CustomCSS
ContainerID
livestream-events-container
Classev-cards-section ev-cards-section-scrollable


HTML
<h2 class="ev-cards-section-title"
style="margin-bottom: 60px;">Unpublished Events</h2>
ConfiForms CleanView
filterpublish:false
pageTitleCreate Event
formNamecreateEvent
sortstartDate ASC
HTML
</span>
HTML
	</div>
</div>
>Live Stream Events</h2>


HTML
<span class="conf-macro output-inline" data-hasbody="true" 
HTML
<style> #unpublished-events .conf-macro.output-block[
data-macro-name=
confiform-cleanview] { padding: 0px 35px; display: grid; grid-template-columns: repeat(auto-fill, 280px); grid-gap: 20px; height: auto !important; justify-content: space-evenly; } </style>
"custom-section">


Custom section
Classscrolling-ev-cards-wrapper


HTML
<div class="conf-macro output-block fullSite" data-hasbody="true" data-macro-name="confiform-cleanview"> </div>



HTML
</span>



HTML
</span>


HTML
<script>

getLiveStreamEvents().then(() => showOrHideScrollButtons(4));

</script>


HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">


Custom section
ContainerIDmy-watchlist-container
Classev-cards-section ev-cards-section-scrollable


HTML
<h2 class="ev-cards-section-title">My Events</h2>


HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">


Custom section
Classscrolling-ev-cards-wrapper


HTML
<div class="conf-macro output-block fullSite" data-hasbody="true" data-macro-name="confiform-cleanview"> </div>



HTML
</span>



HTML
</span>


HTML
</div>


Custom section
CustomCSSflex-direction: column;
ContainerIDall-events
Classev-cards-section


HTML
<h2 class="ev-cards-section-title" style="margin-bottom: 60px;">All Events</h2>


HTML
<div class="conf-macro output-block fullSite" data-hasbody="true" data-macro-name="confiform-cleanview"> </div>



HTML
<script>

getAllEvents();

</script>


HTML
<style>
.eventcard .dates {
    color: white;
}
.eventcard .attendees {
	color: #3ddeed;
}
</style>


Show If
groupgsvlabs-admins


Custom section
CustomCSSflex-direction: column;
ContainerIDunpublished-events
Classev-cards-section


HTML
<h2 class="ev-cards-section-title" style="margin-bottom: 60px;">Unpublished Events</h2>


HTML
<div class="conf-macro output-block fullSite" data-hasbody="true" data-macro-name="confiform-cleanview"> </div>



HTML
<script>

getUnpublishedEvents();

</script>



HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">


Custom section
ContainerIDmy-events-container
Classev-cards-section ev-cards-section-scrollable


HTML
<h2 class="ev-cards-section-title">My Created Events</h2>


HTML
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section">


Custom section
Classscrolling-ev-cards-wrapper


HTML
<div class="conf-macro output-block fullSite" data-hasbody="true" data-macro-name="confiform-cleanview"> </div>



HTML
</span>


Show If
special@authenticated


HTML
<script>

getMyEvents().then(() => showOrHideScrollButtons(2));

</script>





HTML
</span>


HTML
</div>	
</div>
</div>
</div>


HTML
<script>
$('#ev-cards-sidebar ul').on('click', function(){
    $("#ev-cards-sidebar ul").removeClass("ev-cards-active-sidebar");
    $(this).addClass("ev-cards-active-sidebar");
});
</script>


HTML
<style>
#unpublished-events .conf-macro.output-block[data-macro-name=confiform-cleanview] {
    padding: 0px 35px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 280px);
    grid-gap: 40px;
    height: auto !important;
    justify-content: left;
}
</style>


HTML
 <script>

  const getMinutesUntilEventStart = (startDate) => {
    let nowDate = new Date();
    let eventStartDate = new Date(startDate);

    let diffMilliseconds = eventStartDate.getTime() - nowDate.getTime();
    let diffMinutes =  (diffMilliseconds / 60000);

    return diffMinutes;
  }

  const getMinutesUntilEventEnd = (endDate) => {
    let nowDate = new Date();
    let eventEndDate = new Date(endDate);

    let diffMilliseconds = eventEndDate.getTime() - nowDate.getTime();
    let diffMinutes =  (diffMilliseconds / 60000);

    return diffMinutes;
HTML
 <script>

  const getMinutesUntilEventStart = (startDate) => {
    let nowDate = new Date();
    let eventStartDate = new Date(startDate);

    let diffMilliseconds = eventStartDate.getTime() - nowDate.getTime();
    let diffMinutes =  (diffMilliseconds / 60000);

    return diffMinutes;
  }

  const getMinutesUntilEventEnd = (endDate) => {
    let nowDate = new Date();
    let eventEndDate = new Date(endDate);

    let diffMilliseconds = eventEndDate.getTime() - nowDate.getTime();
    let diffMinutes =  (diffMilliseconds / 60000);

    return diffMinutes;
  }

  const showPastWatchIndicators = () => {
	let pastEvents = document.getElementById('scroll-section-3');
    let pastCards = Array.from(pastEvents.getElementsByClassName('eventcard'));

	for (let i = 0; i < pastCards.length; i++) {
      let currCard = pastCards[i];
	
	  // Check if event was offline 
	  if (currCard.dataset.offline == "true") {
		continue
	  }

      let liveEl = document.createElement("div");
      liveEl.classList.add('watch-indicator');
      liveEl.innerHTML = "<img class='watch-indicator-icon' src='/download/attachments/50533066/playicon.png?api=v2' /> RECORDED";
      currCard.insertAdjacentElement('afterbegin', liveEl);
    }

	let allEvents = document.getElementById('all-events');
	let allCards = Array.from(allEvents.getElementsByClassName('eventcard'));

	for (let i = 0; i < allCards.length; i++) {
	  let currCard = allCards[i];
      let currCardEnd = currCard.dataset.enddate;
      let minsTilEnd = getMinutesUntilEventEnd(currCardEnd);
	  if (minsTilEnd < 0) {
		// Check if event was offline 
	    if (currCard.dataset.offline == "true") {
		  continue
	    }
		let liveEl = document.createElement("div");
		liveEl.classList.add('watch-indicator');
		liveEl.innerHTML = "<img class='watch-indicator-icon' src='/download/attachments/50533066/playicon.png?api=v2' /> RECORDED";
		currCard.insertAdjacentElement('afterbegin', liveEl);
	  } else {
		// Live now or upcoming (show live indicator if minsTilStart <= 0)
		let currCardStart = currCard.dataset.startdate;
		let minsTilStart = getMinutesUntilEventStart(currCardStart);
		if (minsTilStart <= 0) {
			// Check if event is offline 
	    	if (currCard.dataset.offline == "true") {
		  		continue;
	    	}
			let liveEl = document.createElement("div");
        	liveEl.classList.add('live-circle');
        	liveEl.innerText = "LIVE";
        	currCard.insertAdjacentElement('afterbegin', liveEl);
		}
	  }
	}
  }

  window.addEventListener('load', () => {
    let upcomingEvents = document.getElementById('upcomingscroll-eventssection-section1');
    let upcomingCards = Array.from(upcomingEvents.getElementsByClassName('eventcard'));

    for (let i = 0; i < upcomingCards.length; i++) {
      let currCard = upcomingCards[i];
      let currCardStart = currCard.dataset.startdate;
      let minsTilStart = getMinutesUntilEventStart(currCardStart);

      if (minsTilStart <= 0) {
		// Check if event is offline 
	    if (currCard.dataset.offline == "true") {
		  	continue;
	    }
        let liveEl = document.createElement("div");
        liveEl.classList.add('live-circle');
        liveEl.innerText = "LIVE";
        currCard.insertAdjacentElement('afterbegin', liveEl);
      }  
    }
	
	//if (AJS.params.remoteUser == "alex@gsvlabs.com") {
		showPastWatchIndicators()
	//}
  });
</script>script>

<script>


<style>
  .live-circle {
    font-size: 13px;
    padding: 3px 18px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #cc1f1f;
    color: white;
    position: absolute;
    z-index: 2;
    margin: 8px 8px;
    box-shadow: 1px 1px 5px #00000054;
  }
</style>

<style>
  .watch-indicator {
    font-size: 12px;
    padding: 3px 10px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #036bc4;
    color: white;
    position: absolute;
    z-index: 2;
    margin: 8px 8px;
    box-shadow: 1px 1px 5px #00000054;
	border-radius: 3px;
	display: flex;
	justify-content: center;
	align-items: center;
  }
  .watch-indicator-icon {
	display: block;
    width: 14px !important;
    height: 14px !important;
    margin-right: 6px;
    padding-bottom: 2px;
  }
</style>
HTML
<style>

.wiki-content #announcementcontainer .announcementcard a {
  color: black !important;
  border: none;
  border-bottom: 1px solid black !important;
  padding: 0;
  width: auto;
}

</style>