x
x
x
x
Only portrait mode is currently supported - please rotate your device.
HTML |
---|
<script type="text/javascript" src="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/js/All+Stars/eventsDashboardScript_ASHK.js"></script> |
HTML |
<link rel="stylesheet" type="text/css" href="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/stylesheets/All+Stars+Helping+Kids/eventsDashboardStylesheet_ASHK.css" /> <style> .eventCategories p { font-size: 12px<style> body[data-site-id="49"] .program { display: unset; } body[data-site-id="49"] .program a span { color: var(--primary-color) !important; fonttext-weightdecoration: 500underline; } body[data-site-id="49"] .program :after { font-stretch: normal; font-style background: normalunset; line-height: 1.33; color: var(--secondary-font-color); } .eventcard .heading } .ev-cards-section-scrollable .scrolling-ev-cards-wrapper{ padding-top: 15px!important; } div#main { background-image: var(--primary-color); color: var(--secondary-color)linear-gradient(top, #67bac0, #67bac0 420px, transparent 420px, transparent 100%) !important; fontbackground-family: Karla; font-size: 14px; image: -webkit-linear-gradient(top, #67bac0, #67bac0 420px, transparent 420px, transparent 100%) !important; /* fontpadding-stretchtop: normal; font-style: normal;50px; */ } .back-btn-container { line-heightwidth: normal90%; letter-spacingmargin: 1.5pxauto; display:flex;} .back-btn-container .back-btn { justify-contentcolor: centerblack; padding: 8px 0; } .eventcard .top .dates {font-family: var(--main-font-family); font-size: 14px; displayfont-weight: nonebold; } .eventcard .dates {display: none; line-height: 1.07; } .dateInputContainer imgpage-banner { filterwidth: invert(0%) sepia(0%) saturate(7462%) hue-rotate(122deg) brightness(94%) contrast(101%) !important; } a#resetFilter { color: var(--primary-color) !important; } .eventcard .title { color: var(--secondary-font-color) !important; } div#no-upcoming-yet-message { width: max-content !important90%; margin: auto; background-image: url(https://passport.theonevalley.com/download/attachments/50559836/banner.jpg); display: flex; height: 450px; background-repeat: no-repeat; background-size: cover; textmargin-aligntop: center20px; } .banner-content { font-sizedisplay: 16pxflex; lineflex-heightdirection: 1.8column; margin: 0 auto; } .tabs { margin-topdisplay: 20px;flex; } .tabs p { paddingmargin: 20px 25pxunset; } .banner-content .title p background-color{ font-family: #ffffff14Arimo; /* colorfont-size: white57px; */ } div#no-private-yet-message { font-weight: bold; widthfont-stretch: max-content !importantnormal; text-aligncolor: center#dbecf1; font-sizestyle: 16pxnormal; line-height: 10.87; marginletter-spacing: 0 auto.32px; margintext-topalign: 20pxcenter; padding: 20px 25px text-transform: uppercase; } div#no-private-yet-message pdiv#maincontainer .page-banner .overlay { font-sizedisplay: 16px; } div#no-events-yet-message {unset; width: max-content !important100%; text-aligndisplay: centerflex; font-sizebackground: 16pxblack; line-heightopacity: 10.8; } margin: 0 auto;.banner-content { marginalign-topitems: 20pxcenter; padding: 20px 25px; } div#no-events-yet-message p { } .banner-content .tabs .tab { font-family: Poppins; font-size: 16px14px; } div#no-watchlist-yet-message p { font-weight: bold; color: var(--primary-font-color); } #ui-datepicker-div .ui-datepicker-today a {#fbbd28; border-bottom-width: 3px; backgroundborder-colorradius: var(--primary-color) !important; } .events-search-main #events-search-container img {5%; filtercursor: invert(0%) sepia(0%) saturate(7462%) hue-rotate( 122deg ) brightness(94%) contrast(101%); } .program :after { content : ""; position : absolute; z-index : 1; bottom : 35px; left : 0; pointer-events : none; background-image : linear-gradient(to bottom, rgba(255,255,255, 0), rgba(255,255,255, .9) 100%); width : 100%; height : 1em; } div#rw_theme_header pointer; line-height: 1.71; letter-spacing: 1.39px; text-align: center; text-transform: uppercase; } #grantees-tab{ border-bottom-style: solid; } .tabs { justify-content: space-between; width: 120%; margin-top: 50px; } div.filter-row { width: 90%; margin: auto; margin-top: 50px; } div.filter-row .left { opacity: 0.5; font-family: Arimo; font-size: 15.3px; line-height: 1.57; letter-spacing: 0.5px; color: #555555; width: 8%; } .filter-row .right input { backgrounddisplay: #ffffff !importantnone; } #location-clear-button.filter-row .right label { display: flex background: rgba(251, 189, 40, 0.2); positionborder-radius: absolute2px; rightborder: solid 1px 0px#fbbd28; cursormargin-right: pointer10px; heightpadding: 0 12px25px; widthfont-family: 12pxArimo; marginfont-size: 12px 10px15.3px; } /* Page Title */ .general-text-container { display: flexline-height: 1.57; flexletter-directionspacing: column0.5px; width cursor: 40%pointer; } .filter-row padding: 100px 0px 0px 31px !important.right input[type="radio"]:checked+label{ background: #fbbd28; } /* My Events Container */ #my-events-container div.filter-row .right button:focus { outline: none; } div.cardSectionStyle { flex-direction: column; margin-top: 50px; } div.cardSection1{ display: none; } /* Event Date */ .bigTimeContainer.cardSectionStyle .largeimagewithtextbelow-listmempag img { heightwidth: auto50%; widthheight: auto 54px;!important; } .cardSectionStyle .largeimagewithtextbelow-listmempag { background: unset white!important; box-shadow: 1px 2px 11px 0 rgba(0, 0, 0} .cardSectionStyle .largeimagewithtextbelow-listmempag .image-container { border: solid 1px rgba(51, 51, 51, 0.125); } .cardSectionStyle .largeimagewithtextbelow-listmempag .card-text-container display: flex;.card-title { flex-directionpadding: columnunset; /* justify-content: space-evenly; */ alignfont-itemssize: center16px; paddingfont-bottomweight: 5pxbold; borderline-height: solid 1px #979797;1.5; } .bigTimeDate { color: var(--primary-font-color);cardSectionStyle .largeimagewithtextbelow-listmempag .card-text-container .card-subtitle { font-sizepadding: 25pxunset; } .bigTimeMonth { font-size: 14px15.3px; widthline-height: 100%1.31; displayletter-spacing: flex; justify-content: center;0.5px; } .cardSectionStyle .largeimagewithtextbelow-listmempag .card-text-container { backgroundmargin-top: var(--secondary-color);25px; } .ov-logo-container { color: var(--secondary-font-color) !important; } /* Event Program Card Styling */ .program spandisplay: flex; align-items: center; justify-content: space-between; } .ov-logo-container p.site-tagline { backgroundfont-family: transparent !important; Arimo; color: var(--primary-font-color) !important; font-weight: 100; font-size: 14px !important; } .program { 18px; color: var(--primary-font-color) !importantweight: normal; font-familystretch: unset !importantnormal; font-sizestyle: 14px !importantnormal; textline-alignheight: start1.33; marginletter-leftspacing: 13px0.45px; margin-rightcolor: 13px#fffdfd; margin-top width: 10px; overflow-y: auto; height: auto; font-weight: normal; padding-bottom: 14px; } br80%; } .ov-logo-container p.site-tagline .is-bold {font-weight: bold;} @media only screen and (max-width: 480px) and (min-width: 320px){ .ov-logo-container { display: flex none; } .program h1 { margin: 0; color align-items: var(--primary-font-color) !important; font-size: 14pxflex-start; flex-direction: column; } .program .p1 { font-size: 14pxov-logo-container img{ width: 50% !important; } .program div div#maincontainer .page-banner .overlay { font-sizeposition: 14px !importantunset; font-weightvisibility: normal !important; } / * Location search bar */ .wiki-content #events-search-container { min-width: 280px;unset; overflow: unset; /* opacity: unset; */ widthheight: 25%unset; max-widthtransition: unset; z-index: 320px10; } #location-search-container img { position: relative !important; left: 0px !important; height: 12px !important; } </style> |
Custom section | ||||||
---|---|---|---|---|---|---|
| ||||||
|
HTML |
---|
<script type="text/javascript" src="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/js/All+Stars/eventsDashboardScript_ASHK.js"></script> |
HTML |
---|
<link rel="stylesheet" type="text/css" href="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/stylesheets/All+Stars+Helping+Kids/eventsDashboardStylesheet_ASHK.css" /> <style> .events-search-main #events-search-container img { filter: unset; } #ui-datepicker-div .ui-datepicker-today a { background: var(--secondary-color) !important; } div#ev-main-content { width: 90%; margin: auto; } .scroll-buttons-container .scroll-button img{ filter: unset; } .filtersContainer input { font-family: var(--main-font-family); font-size: 15.3px !important; width: 12px !important; opacity: 0.7; cursor: pointer; } #location-search-container img:hover { filter: invert(0%) sepia(80%) saturate(588%) hue-rotate(349deg) brightness(98%) contrast(94%); } .wiki-content #location-searchbar { background: var(--secondary-color); color: var(--secondary-font-color); box-shadow: none; font-size: 13px; width: calc(100% - 40px); height: 15px; padding: 15px 20px; border: none; } /* Create Event Button */ a.createEventButton { display: none; box-sizing: border-box; transition: background-color .1s ease-out; border-radius: 3.01px; border-style: solid; border-width: 1px; cursor: pointer; font-family: inherit; font-size: 14px; font-variant: normal; font-weight: 400; background-image: none; background-color: rgba(9,30,66,0.08); border-color: transparent; color: #344563; text-decoration: none; height: 2.14285714em; line-height: 1.42857143em57; marginletter-spacing: 0.5px; paddingcolor: 4pxblack 10px!important; } vertical-align: baseline; .scroll-buttons-container .scroll-button { white-spacebackground: nowrapvar(--secondary-color); border-color: black !IMPORTANT; var(--secondary-color); } div#ev-main-content { border-radiusbackground: unset 6px!important; } .createEventContainerbigTimeMonth { display: flex; justify-content: flex-end;background: var(--secondary-color) !important; } .eventcard .title { margincolor: 10px 26px 0 0#052468!important; } /* Dashboard Banner */ img.events-dashboard-banner.program :after { content width: 100%""; position height: autoabsolute; margin-bottom z-index : -20px1; } .events-dashboard-banner-container { bottom margin: 0 0 -5px 0; } .countryFilterContainer #cc-placeholder { left height: 45px0; pointer-events min-height: 45pxnone; background-image : margin: 0px; linear-gradient(to bottom, text-align: left; width: calc(100% - 40px); justify-content: space-between; rgba(255,255,255, 0), padding: 0px 20px; cursor: text; position: relative; align-items: center; background: var(--secondary-colorrgba(255,255,255, .9) 100%); width border: 1px solid: #ddd100%; height box-shadow: none2em; } .wiki-content .ev-cards-section .ev-cards-section-title { color: #000000 !important; } .wiki-content .ev-cards-outer-container {background-image: unsetdiv#rw_theme_header { background: #ffffff !important; } .countryFilterContainer#location-clear-button { justify-content: center !important; } .custom-section-container{ flex-direction: column !important; } .countryFilterContainer #country-clear-button {display: flex; position: absolute; right: 0px; } @media screen and (max-width: 640px) { .filtersContainer { justify-content: center; } } </style> |
HTML |
<style> div#maincursor: pointer; height: 12px; width: 12px; margin: 12px 10px; } /* Page Title */ .general-text-container { background-imagedisplay: linear-gradient(top, #67bac0, #67bac0 420px, transparent 420px, transparent 100%) !importantflex; flex-direction: column; width: 40%; background-imagepadding: -webkit-linear-gradient(top, #67bac0, #67bac0 420px, transparent 420px, transparent 100%)100px 0px 0px 31px !important; } /* My Events padding-top: 50px; Container */ } .back-btn#my-events-container { width display: 90%none; } /* Event margin: auto; } .back-btn-container .back-btn { color: black; font-family: var(--main-font-family); font-size: 14px; font-weight: bold; line-height: 1.07Date */ .eventcard{ width: 220px!important; height: 482px!important; box-shadow: none!important; } .eventcard .bottom{ height: 200px!important; background: transparent; } .page-bannereventcard .top{ width height: 90%282px!important; margin padding: auto0!important; } background-image: url(https://passport.theonevalley.com/download/attachments/50559836/banner.jpg); display: flex; height: 450px; background-repeat: no-repeat; background-size: cover .eventcard .img-container{ width: 282px!important; height: 282px!important; box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 15%)!important; } .bigTimeContainer { height: 54px; margin-topwidth: 20px54px; } .banner-content { padding-top: 10px; displaybackground: flexwhite!important; flexbox-directionshadow: column; margin: auto; } .tabs { 1px 2px 11px 0 rgba(0, 0, 0, 0.12); display: flex; } .tabs p { marginflex-direction: unsetcolumn; } .banner-content .title p { /* fontjustify-familycontent: Arimo;space-evenly; */ fontalign-sizeitems: 57pxflex-start; fontpadding-weightbottom: bold5px; font-stretch: normal;/* border: solid 1px #979797; */ } .bigTimeDate { color: #dbecf1var(--secondary-font-color); font-stylesize: normal24px; margin: 0 0 line-height: 0.7;0 10px; } .bigTimeMonth { letterfont-spacingsize: 0.32px14px; text-alignwidth: center30%; text-transform: uppercase; } div#maincontainer .page-banner .overlay { display: unsetflex; widthjustify-content: 100%center; displaybackground: flexwhite!important; backgroundcolor: blackvar(--secondary-font-color)!important; margin: 0 0 opacity: 0.8; } .banner-content { align-items: center0 10px; border-bottom: 1px solid #8eaadb; text-indent: 10px; } .banner-content .tabs .tab/* Event Program Card Styling */ .program span { font-familybackground: transparent Poppins!important; color: var(--primary-font-size: 14pxcolor) !important; font-weight: bold100; font-size: 14px color: #fbbd28;!important; } .program { border-bottom-width: 3pxcolor: var(--primary-font-color) !important; borderfont-radiusfamily: unset 5%!important; borderfont-bottom-stylesize: 14px solid!important; linetext-heightalign: 1.71start; lettermargin-spacingleft: 1.39px13px; textmargin-alignright: center13px; } .tabs { justify-content: space-between margin-top: 10px; overflow-y: auto; widthheight: 120%auto; margin-top font-weight: 50pxnormal; } div.filter-row { /* padding-bottom: 14px;*/ display: -webkit-box; width-webkit-line-clamp: 90%3; margin-webkit-box-orient: autovertical; } br { margin-topdisplay: 50pxnone; } div.filter-row .leftprogram h1 { opacitymargin: 0.5; color: var(--primary-font-family: Arimocolor) !important; font-size: 15.3px; line-height: 1.57;14px; } .program .p1 { letter-spacing: 0.5px; color: #555555; width: 8% font-size: 14px !important; } .filter-row .right labelprogram div { backgroundfont-size: rgba(251, 189, 40, 0.2)14px !important; borderfont-radiusweight: normal 2px!important; } / * Location search border: solid 1px #fbbd28;bar */ .wiki-content #events-search-container { marginmin-rightwidth: 10px280px; paddingwidth: 0 25px25%; fontmax-familywidth: Arimo;320px; } #location-search-container img { font-sizeposition: 15.3px relative !important; line-heightleft: 1.57 0px !important; letter-spacingheight: 0.5px; cursor: pointer; } .filter-row .right input[type="radio"]:checked+label{ background: #fbbd28 12px !important; width: 12px !important; opacity: 0.7; cursor: pointer; } .filter-row .right input { display: none; } div.filter-row .right button:focus { outline: none; } /* ====================================== FILTERS ====================================== */ input { outline: none; } .filtersContainer { display: flex; flex-wrap: wrap; } ::-webkit-scrollbar-thumb { background: var(--primary-color) !important; } .filtersContainer div { margin: 10px; position: relative; display: flex; justify-content: center; height: max-content; } .countryFilterContainer { /* display: none !important; */ } .dateFilterContainer { display: flex; } .dateFilterContainer .dateFilter { align-items: center; } #startdate, #enddate { background: var(--secondary-color); border: 1px solid #ddd; box-shadow: none; color: var(--secondary-font-color); font-size: 13px; width: 200px; height: 15px; padding: 15px 20px; } #startdate::placeholder, #enddate::placeholder { color: var(--secondary-font-color); } .hasDatepicker { background: #f6f6f6; border: 1px solid #ddd; box-shadow: none; color: var(--primary-font-color); font-size: 13px; width: 200px; height: 15px; padding: 15px 20px; } #enddate { margin-right: 0px; } .dateFilterContainer { margin: 0px; } .dateFilter { color: var(--primary-font-color); font-family: var(--main-font-family); font-size: 16px; } #countryFilter { background: #f6f6f6; border: 1px solid #ddd; box-shadow: none; color: var(--primary-font-color); font-size: 13px; width: 300px; padding: 15px 20px; } #resetFilter { font-family: var(--main-font-family); font-size: 16px; } #resetFilter:hover { cursor: pointer; } </style>#location-search-container img:hover { filter: invert(62%) sepia(80%) saturate(588%) hue-rotate(349deg) brightness(98%) contrast(94%); } .wiki-content #location-searchbar { background: var(--secondary-color); color: var(--secondary-font-color); box-shadow: none; font-size: 13px; width: calc(100% - 40px); height: 15px; padding: 15px 20px; border: none; } /* Create Event Button */ a.createEventButton { display: none; box-sizing: border-box; transition: background-color .1s ease-out; border-radius: 3.01px; border-style: solid; border-width: 1px; cursor: pointer; font-family: inherit; font-size: 14px; font-variant: normal; font-weight: 400; background-image: none; background-color: rgba(9,30,66,0.08); border-color: transparent; color: #344563; text-decoration: none; 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 { width: 100%; height: auto; margin-bottom: -20px; } .events-dashboard-banner-container { margin: 0 0 -5px 0; } .countryFilterContainer #cc-placeholder { height: 45px; 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: var(--secondary-color); 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; } } div#ev-main-content { background: unset !important; } input#cc-placeholder { background: black; } .filtersContainer div { background: unset !important; } .countryFilterContainer #cc-placeholder { background: rgba(251, 189, 40, 0.2); border-radius: 5px; border: solid 1px #fbbd28 ; } #startdate, #enddate { background: unset; border: unset; border-bottom: solid 1px #ededed; letter-spacing: 3.6px; } .filtersContainer.events-search-main { justify-content: space-between; } .wiki-content input#events-searchbar { background: unset; border: unset; border-bottom: solid 1px #ededed; } a.imgLinkContainer.eventCardLink {position: unset;} .eventcard .img-container { width: 220px !important; height: 220px !important; } .eventcard .text-container { width: 220px; } .eventcard .top { height: 220px !important; } @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { div#additional-filters-button { display: none !important; } div#additional-filters-button { display: none !important; } .filtersContainer.events-search-main { overflow: unset; height: auto; } div#ui-datepicker-div { z-index: 1000 !important; } } </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;
}
.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> |
Custom section | ||
---|---|---|
| ||
|
HTML |
---|
<div id="ev-main-content"> |
Custom section | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
| ||||||||
Custom section | ||||||||
| ||||||||
|
HTML |
---|
<div class="createEventContainer">
<a class="createEventButton" href="/display/ MSEVAE/Create create+Event event">Create Event</a> </div> |
HTML |
---|
<script> /*window.addEventListener('load', () => { document.getElementById("cc-placeholder").disabled = false; });*/ $('.countryFilterContainer').click(()=>{ $('.countryFilterContainer')[0].classList.toggle("select-arrow-active"); }) </script> |
Custom section | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
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"> |
Custom section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
|
HTML |
---|
</span> |
HTML |
---|
<script>
getUpcomingEvents().then(() => showOrHideScrollButtons(0));
</script> |
HTML |
---|
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section"> |
Custom section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
|
HTML |
---|
</span> |
HTML |
---|
</div> |
HTML |
---|
<style>
.eventcard .dates {
color: white;
}
.eventcard .attendees {
color: #3ddeed;
}
</style> |
Show If | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| morganstanley
| admins
| |||||||||||||
|
Show If | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| , morganstanley-admins|||||||||||||||||||
|
HTML |
---|
<span class="conf-macro output-inline" data-hasbody="true" data-macro-name="custom-section"> |
Custom section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
|
Custom section | ||||||
---|---|---|---|---|---|---|
| ||||||
|
HTML |
---|
<script>
getAllEvents();
</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;
}
window.addEventListener('load', () => {
let upcomingEvents = document.getElementById('scroll-section-1');
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);
}
}
});
</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> |
OneValley