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: giving smith admins access to see private events

...

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

<style>
div#rw_theme_header.program
:after {
  content  background: #ffffff !important;
}
#location-clear-button {
	display: flex"";
  position : absolute;
  z-index  position: absolute1;
  bottom  right : 0px0;
  left   cursor  : pointer0;
  pointer-events   height: 12pxnone;
  background-image  width: 12px;: linear-gradient(to bottom, 
    margin:  12px 10px;
}
/* Page Title */
.general-text-container {
          display: flex;
    flex-direction: column;rgba(255,255,255, 0), 
    width: 40%;
    padding: 100px 0px 0px 31px !important;
}

/* My Events Container */
#my-events-container {
	display: none;
}

/* Event Date */
.bigTimeContainer {
    height: auto rgba(255,255,255, .9) 100%);
  width    : 100%;
  height  width : 54px;2em;
}
div#rw_theme_header {
    background: white#ffffff !important;
}
#location-clear-button {
	display: flex;
  box-shadow: 1px 2px 11px 0 rgba(0, 0, 0, 0.12)position: absolute;
    right: 0px;
    displaycursor: flexpointer;
    flex-directionheight: column12px;
    /* justify-contentwidth: space-evenly; */12px;
    align-itemsmargin: 12px center10px;
}
/* Page   padding-bottom: 5px;Title */
.general-text-container {
    borderdisplay: solid 1px #979797;
}

.bigTimeDate {flex;
    flex-direction: column;
    colorwidth: var(--primary-font-color)40%;
    font-sizepadding: 25px 100px 0px 0px 31px !important;
}

.bigTimeMonth {
    font-size: 14px;
    width: 100%;/* My Events Container */
#my-events-container {
	display: none;
}

/* Event Date */
.bigTimeContainer {
    displayheight: flexauto;
    justify-contentwidth: center54px;
    background: var(--secondary-color)white;
    colorbox-shadow: var(--secondary-font-color) !important;
}

/* Event Program Card Styling */
.program span { 1px 2px 11px 0 rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    /* justify-content: space-evenly; */
    align-items: center;
    padding-bottom: 5px;
    backgroundborder: transparent !important;
 solid 1px #979797;
}

.bigTimeDate {
    color: var(--primary-font-color) !important;
	font-weight: 100;
	    font-size: 14px !important25px;
}

.programbigTimeMonth {
    color: var(--primary-font-color) !importantsize: 14px;
    font-familywidth: unset !important100%;
    font-sizedisplay: 14px !importantflex;
    textjustify-aligncontent: startcenter;
    margin-leftbackground: 16px;
	margin-top: 10px;
	overflow-y: auto;
    height: auto;
	font-weight: normal;
}
br {
    display: none;
}
.program h1var(--secondary-color);
    color: var(--secondary-font-color) !important;
}

/* Event Program Card Styling */
.program span {
    marginbackground: transparent 0!important;
    color: var(--primary-font-color) !important;
    	font-weight: 100;
	font-size: 14px !important;
}
.program .p1 {
    font-sizecolor: 14pxvar(--primary-font-color) !important;
}
.program div {
    font-sizefamily: 14pxunset !important;
    font-weightsize: normal14px !important;
}
/ * Location search bar */
.wiki-content #events-search-container {text-align: start;
    minmargin-widthleft: 280px13px;
    widthmargin-right: 25%13px;
    max-width	margin-top: 320px10px;
}

#location-search-container img	overflow-y: auto;
    height: auto;
	font-weight: normal;
	padding-bottom: 14px;
}
br {
    position: relative !important;display: none;
}
.program h1 {
    leftmargin: 0px !important0;
    heightcolor: 12pxvar(--primary-font-color) !important;
    width: 12px !important;font-size: 14px;
}
.program .p1 {
    opacityfont-size: 0.7;
	cursor: pointer14px !important;
}

#location-search-container img:hover.program div {
	filter: invert(62%) sepia(80%) saturate(588%) hue-rotate(349deg) brightness(98%) contrast(94%);
}
font-size: 14px !important;
    font-weight: normal !important;
}
/ * Location search bar */
.wiki-content #location#events-search-searchbarcontainer {
	background: var(--secondary-color)    min-width: 280px;
    colorwidth: var(--secondary-font-color)25%;
    	boxmax-shadowwidth: none320px;
	font-size: 13px;
	width: calc(100% - 40px);	
	height: 15px;
	padding: 15px 20px;
	border: none;
}

/* Create Event Button */
a.createEventButton {
	display: none}

#location-search-container img {
    position: relative !important;
    left: 0px !important;
    box-sizingheight: border-box12px !important;
    transitionwidth: background-color .1s ease-out12px !important;
    border-radiusopacity: 30.01px7;
    border-style	cursor: solidpointer;
}

    border-width: 1px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px#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-variant: normalcolor);
    font-weight	box-shadow: 400none;
    background-image	font-size: none13px;
    background-color: rgba(9,30,66,0.08);
    border-color: transparent;
    color: #344563	width: calc(100% - 40px);	
	height: 15px;
	padding: 15px 20px;
	border: none;
}

/* Create Event Button */
a.createEventButton {
	display: none;
    textbox-decorationsizing: noneborder-box;
    heighttransition: 2.14285714embackground-color .1s ease-out;
    lineborder-heightradius: 13.42857143em01px;
    marginborder-style: 0solid;
    paddingborder-width: 4px 10px1px;
    vertical-aligncursor: baselinepointer;
    whitefont-spacefamily: nowrapinherit;
    colorfont-size: black !IMPORTANT14px;
    borderfont-radiusvariant: 6pxnormal;
}
.createEventContainer {
    displayfont-weight: flex400;
    justifybackground-contentimage: flex-endnone;
    margin: 10px 26px 0 0;
}

/* Dashboard Banner */
img.events-dashboard-banner {background-color: rgba(9,30,66,0.08);
    border-color: transparent;
    color: #344563;
    text-decoration: none;
    widthheight: 100%2.14285714em;
    line-height: auto1.42857143em;
	margin-bottom    margin: -20px0;
}
.events-dashboard-banner-container {
    marginpadding: 0 0 -5px 0;
}
.countryFilterContainer #cc-placeholder {4px 10px;
    heightvertical-align: 45pxbaseline;
    minwhite-heightspace: 45pxnowrap;
    margincolor: 0pxblack !IMPORTANT;
    textborder-alignradius: left6px;
}
.createEventContainer {
    widthdisplay: calc(100% - 40px)flex;
    justify-content: spaceflex-betweenend;
    paddingmargin: 0px10px 20px;
26px    cursor: text;
    position: relative;
    align-items: center;0 0;
}

/* Dashboard Banner */
img.events-dashboard-banner {
    backgroundwidth: var(--secondary-color)100%;
  	border: 1px solidheight: #dddauto;
  	boxmargin-shadowbottom: none-20px;
}
.wiki-content .ev-cards-section .ev-cards-section-title {
	color: #000000 !importantevents-dashboard-banner-container {
    margin: 0 0 -5px 0;
}
.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: absolutecountryFilterContainer #cc-placeholder {
    height: 45px;
    min-height: 45px;
    margin: 0px;
    text-align: left;
    width: calc(100% - 40px);
    justify-content: space-between;
    rightpadding: 0px 20px;
}

@media  screen and (max-width: 640px) {
.filtersContainer {
	justify-content: center;
}
}
</style>
HTML
<style>
cursor: text;
    position: relative;
    align-items: center;
    background: var(--secondary-color);
  	border: 1px solid #ddd;
  	box-shadow: none;
}
.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: nonesection .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 only screen and (max-width: 480px640px) {
  .events-search-main.filtersContainer {
    flex-direction	justify-content: columncenter;
}
}
</style>


HTML
<style>
.wiki-content .ev-cards-outer-container {
    align-items: center;
    height: 75px;
    flex-wrap: nowrap;
    justifybackground-content: flex-startimage: url("https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/images/EWC+2020/gradient-vertical.jpg");
    paddingbackground-bottomsize: 0pxcover;
    overflowbackground-repeat: hiddenno-repeat;
	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'
}
#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  isAdmin = truedata.results;
        for (var i }
		  if (groupName === 'smith-administrators'= 0; i < res.length; i++) {
          var groupName isContentAdmin = trueres[i].name;
          }
userGroups.push(groupName);
          if (groupName === 'confluence-administrators') {
            } isAdmin = true;
      }
    });
}
if(isAdmin || isContentAdmin) {
	console.log("Showing Create Event Button");
	$('.createEventButton').waitUntilExists(() => {
 		$('.createEventButton').show();
	});
}
<
		  if (groupName === 'smith-administrators') {
            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>


...

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 idclass="location-search-container">
		<input id="location-searchbar" type="text" autocomplete="false" placeholder="Location" />
	</div>

	<div class="dateFilterContainer">
        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>


...

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>



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


Show If
groupconfluence-administrators, smith-administrators


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


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


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



HTML
<script>

getUnpublishedEvents();

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



Show If
groupgsvlabsconfluence-adminsadministrators, smith-administrators


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


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


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


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



HTML
</span>


HTML
<script>

getUnpublishedEventsgetPrivateEvents();

</script>



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

...