x
x
x
x
Only portrait mode is currently supported - please rotate your device.
...
HTML |
---|
<link rel="stylesheet" href="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/stylesheets/EWC/eventsPlatformStyleesheetEWC.css"> <style> div#entryStartups.disableChatContainer { flex-directionheight: 14px column!important; } .currentOrganizer { display: none !important display: flex; margin: 8px 0; } div#uploadButton4input#i_disableChat { font-family: unset; color: var(--cb-font); background: var(--cb-fill) position: relative; borderz-radiusindex: 6px1; } textarea#iinput#i_locationtopicId { backgroundwidth: unset10%; } input#i_locationnotify { minz-widthindex: 0 100%!important; } div#entryLocationlabel { displaycolor: flexvar(--primary-color); flex-direction: column; } div#select2-drop { background-image: unset !important; background: white !important; } #main-content { background-image: unset !important; } .my-button { background-image: unset !important; } div.display-none { display: none; } span.i_holdingrow_currentName { display: none; } span.i_holdingrow_name { /*display: none;*/ } #entryName{ /*margin: 0 0 10px 0;*/ } .nameSubtextborder: 1px solid var(--s-tab-outline) !important; font-size: var(--font-size-s); width: 150px; background-color: transparent; padding: 5px 10px; margin: 5px; line-height: 45px; cursor: pointer; } .radio { position: absolute; z-index: -10; } #entryStartups .cf_textarea { displaybackground: nonetransparent !important; heightcolor: autovar(--secondary-font-color); } #entryStartups span { margin: 0 0px 0 0px; color: white;} div#entryStartups { objectflex-fitdirection: containcolumn; } .currentOrganizer { display: none !important; } div#uploadButton4 { font-family: Ralewayunset; font-size: 9px color: var(--cb-font); background: var(--cb-fill); fontborder-weightradius: bold6px; } textarea#i_location { font-stretchbackground: normal;unset; } input#i_location { fontmin-stylewidth: normal100%; } div#entryLocation { line-height display: 1.91flex; letterflex-spacingdirection: 0.6pxcolumn; } p.auto-cursor-targetdiv#select2-drop { marginbackground-image: 0pxunset !important; } .my-button { border background: 1px solid var(--cb-outline); /* margin-right: 10px; */ white !important; } #main-content { background-image: linear-gradient(to right, #26c9b7 , #23c3ad); border-radius: 6px; margin-top: 5px; } div#orguploadunset !important; } .my-button { background-image: unset !important; } div.display-none { margindisplay: 15px 0 0 5px !importantnone; } .sponsorImage1span.i_holdingrow_currentName { justify-contentdisplay: startnone; } flex-wrap: wrap;span.i_holdingrow_name { /*display: none;*/ } #orgupload#entryName{ height: unset !important;/*margin: 0 0 10px 0;*/ } img.uploadImagenameSubtext { widthdisplay: 30pxnone; height: 45pxauto; margin: 0 auto; } .uploadButton {0px 0 0px; color: white; widthobject-fit: 85%contain; borderfont-family: 1pxRaleway; solid var(--cb-outline)font-size: 9px; /* margin-rightfont-weight: 10pxbold; */ backgroundfont-imagestretch: linear-gradient(to right, #26c9b7 , #23c3ad)normal; font-familystyle: Ralewaynormal; fontline-sizeheight: 15px1.91; fontletter-weightspacing: bold0.6px; } p.auto-cursor-target { margin: font-stretch: normal; font-style: normal0px !important; } .my-button { border: 1px solid var(--cb-outline); line-height/* margin-right: 1.75;10px; */ letterbackground-spacingimage: normal; color: #ffffff; margin: 8px auto;linear-gradient(to right, #26c9b7 , #23c3ad); border-radius: 6px; margin-top: 5px; } div#orgupload { cursormargin: pointer; 15px 0 0 max-width: 130px; height: 40px;5px !important; } .sponsorImage1{ justify-content: start; flex-wrap: wrap; } #orgupload{ height: unset !important; } img.uploadImage { displaywidth: flex30px; align-itemsheight: center45px; justify-contentmargin: 0 centerauto; } .fileUploadContaineruploadButton { margin: 9px 8px 9px 0; min-width: 190px85%; flex-direction: column; border: 1px solid var(--cb-outline); /* textmargin-alignright: center10px; */ width: 30%background-image: linear-gradient(to right, #26c9b7 , #23c3ad); borderfont-radiusfamily: 3pxRaleway; paddingfont-size: 5px15px; colorfont-weight: whitebold; displayfont-stretch: flexnormal; border: solid 1px rgba(300,300,300,0.51); } input#i_currentSponsorimage1 { margin: 0 0 0px -5px; } input#i_currentSponsorimage3 { margin: 0 0 0px -5px; } label#i_labelfor_currentSponsorimage3 { font-style: normal; line-height: 1.75; letter-spacing: normal; color: #ffffff; margin: 8px 0auto; 0px 12px -5px; } button.clearButton { cursor: pointer; max-width: fit-content130px; /* margin-bottomheight: 9px40px; */ /* margin-topdisplay: 10pxflex; */ borderalign-items: transparentcenter; marginjustify-rightcontent: 10pxcenter; } .fileUploadContainer{ margin: 9px 8px 9px background-image0; min-width: transparent190px; font-family flex-direction: Ralewaycolumn; fonttext-sizealign: 13pxcenter; font-weightwidth: normal30%; fontborder-stretchradius: normal3px; font-stylepadding: normal5px; line-heightcolor: 1.75white; letter-spacingdisplay: normalflex; colorborder: #ffffff; solid background: transparent; } .select2-container-multi .select2-choices .select2-search-field input.select2-active1px rgba(300,300,300,0.51); } input#i_currentSponsorimage1 { backgroundmargin: 0 transparent !important0 0px -5px; } form.aui .text[disabled], form.aui .password[disabled], form.aui .textarea[disabled], form.aui .select[disabled], form.aui .multi-select[disabled] { background: transparent; } div#entrySponsorsinput#i_currentSponsorimage3 { margin: 0 0 0px -5px; } label#i_labelfor_currentSponsorimage3 { widthmargin: 0 50% !important0px 12px -5px; } input#i_sponsors {button.clearButton { cursor: pointer; max-width: 500px !importantfit-content; /* widthmargin-bottom: 100% !important9px; */ } #entrySponsors .auto-cursor-target { width/* margin-top: 100% !important; } span.i_holdingrow_sponsors {max-width: 100% !important;} input#i_addImage1-yes { display: none; } input#i_removeImage1-no { display: none; } input#i_addImage2-yes {10px; */ border: transparent; margin-right: 10px; background-image: transparent; displayfont-family: none; } input#i_removeImage2-no {Raleway; displayfont-size: none; } label {13px; colorfont-weight: var(--primary-color)normal; borderfont-stretch: var(--border)normal; font-sizestyle: var(--font-size-s)normal; widthline-height: 150px1.75; backgroundletter-colorspacing: transparentnormal; paddingcolor: 5px 10px#ffffff; marginbackground: 5px 0 5px 0transparent; } .select2-container-multi .select2-choices line-height: 45px !important;.select2-search-field input.select2-active { cursorbackground: pointertransparent !important; } input:checked + label { background: var(--us-tab-outline); color: #ffffff!important; box-shadow: none; } textarea#i_agendaform.aui .text[disabled], form.aui .password[disabled], form.aui .textarea[disabled], form.aui .select[disabled], form.aui .multi-select[disabled] { background: transparent; } div#entrySponsors { max-width: 100%50% !important; } a#saveFormButtoninput#i_sponsors { margin-left: auto; width: 170px; } div#entryAgenda { max-width: 500px !important; /* width: 100% !important; */ } textarea#i_program#entrySponsors .auto-cursor-target { max-width: 100% !important; } select#i_countryspan.i_holdingrow_sponsors { max-width: 100% !important; } select#i_roundinput#i_addImage1-yes { max-widthdisplay: 100%none; } input#i_startDateremoveImage1-no { max-widthdisplay: 100% !important;none; } input#i_addImage2-yes { paddingdisplay: 0 10px 0 !importantnone; } textarea#i_agenda input#i_removeImage2-no { backgrounddisplay: transparent;none; } label { color: white !IMPORTANT; } textarea#i_program {var(--primary-color); backgroundborder: transparentvar(--border); color: white !IMPORTANT; } span.i_holdingrow_agenda { display: flexfont-size: var(--font-size-s); width: 150px; flexbackground-directioncolor: columntransparent; } .saveFormContainer { padding: display:5px flex10px; text-align: rightmargin: 5px 0 5px 0; widthline-height: 95.5%45px !important; margincursor: -10px 0 10px 0pointer; } .confiFormsFormFooterinput:checked + label { displaybackground: none; } .jqte_toolbar.unselectable {var(--us-tab-outline); color: #ffffff!important; heightbox-shadow: 27pxnone; } .jqte * { color: white !important; } div.jqte_editor * textarea#i_agenda { backgroundmax-colorwidth: transparent100% !important; } span.i_holdingrow_agenda a#saveFormButton { margin-left: auto; width: inherit170px; } span.i_holdingrow_name div#entryAgenda { width: inherit100%; } span.i_holdingrow_cohoststextarea#i_program { max-width: 100% inherit!important; } span.i_holdingrow_rsvpselect#i_country { max-width: inherit100%; } span.i_holdingrow_sponsorsselect#i_round { max-width: inherit100%; } span.i_holdingrow_typeinput#i_startDate { max-width: inherit100% !important; } select#i_type padding: 0 10px 0 !important; } textarea#i_agenda { max-widthbackground: unsettransparent; } input#i_startDate { max-widthcolor: unsetwhite !importantIMPORTANT; } input#itextarea#i_endDateprogram { max-widthbackground: unset !important; } p.auto-cursor-target { transparent; color: width:white inherit!IMPORTANT; } span.conf-macro.output-inlinei_holdingrow_agenda { widthdisplay: inheritflex; justify-content: flex-end flex-direction: column; } .saveFormContainer { /* Styling for uploading pictures button */ input[type="file" i]::-webkit-file-upload-button { height: 40pxdisplay: flex; text-align: right; padding width: 10px 20px95.5% !important; background: transparent; bordermargin: var(--border); color: white; font-size: var(--font-size-xs); cursor: pointer; text-transform: uppercase; } input#i_name-10px 0 10px 0; } .confiFormsFormFooter { display: none; } .jqte_toolbar.unselectable { widthheight: 100% !important27px; } .jqte max-width* { color: unsetwhite !important; } input#i_image, input#i_sponsorimage1, input#i_sponsorimage2, input#i_sponsorimage3, input#i_imageOrganizer { color: whitediv.jqte_editor * { background-color: transparent !important; } span.confiFormsFormBorderi_holdingrow_agenda { border width: none !importantinherit; } .cf-calendar-timespan.i_holdingrow_name { display width: none !importantinherit; } div {} li.select2-search-choice div span.i_holdingrow_cohosts { colorwidth: whiteinherit; } span.output-inlinei_holdingrow_rsvp { marginwidth: 5pxinherit; display: flex;} span.i_holdingrow_sponsors { flex-directionwidth: columninherit; } div#s2idspan.i_iholdingrow_cohoststype { /*max-width: 285pxinherit !important;*/ } .questionContainer select#i_type { backgroundmax-width: #172b4dunset; } input#i_startDate { border max-radiuswidth: unset 9px!important; } input#i_endDate { padding: 30px; max-width: 80%unset !important; } p.auto-cursor-target { marginwidth: auto;inherit; } span.conf-macro.output-inline { align-itemswidth: centerinherit; justify-content: flex-end; } form.aui legend, form.aui label {object-fit: contain;font-family: Raleway;font-size: 11px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: 1.91;letter-spacing: 0.6px;color: #fafafa;} form.aui .text, form.aui .password, form.aui .select, form.aui .aui-select2-container .select2-choices/* Styling for uploading pictures button */ input[type="file" i]::-webkit-file-upload-button { height: 40px; padding: 10px 20px; background: transparent; border: var(--border); color: white; font-size: var(--font-size-xs); cursor: pointer; text-transform: uppercase; } input#i_name { backgroundwidth: transparent100% !important; opacitymax-width: 0.75; border-radius: 3px; border: solid 1px rgba(300,300,300,0.51) unset !important; } input#i_image, input#i_sponsorimage1, input#i_sponsorimage2, input#i_sponsorimage3, input#i_imageOrganizer { color: white; } .confiFormsFormBorder { border: none !important; min-height: 40px} .cf-calendar-time { display: none !important; color:white; } div {} li.ffi input[type="file"]select2-search-choice div { backgroundcolor: transparent !important; white; } span.output-inline { opacitymargin: 5px; display: .21flex; borderflex-radiusdirection: 3pxcolumn; } div#s2id_i_cohosts { border: solid 1px rgba(300,300,300,0.51); } #i_holdingrow_image label /*max-width: 285px !important;*/ } .questionContainer { background: transparent !important; opacity: 0.75#172b4d; border-radius: 3px9px; borderpadding: solid 1px #ffffff; } .jqte_editor, .jqte_source {30px; width: 80% !important; backgroundmargin: transparentauto; color align-items: white !importantcenter; } form.jqte_toolbar { background: rgba(300,300,300,0.5); } .jqte_tool, .jqte_tool_icon, .jqte_tool_label { /* opacity: 0.21; */ border-radius: 3px; border: solid 0px #ffffff; } .desc{ object-fit: contain; aui legend, form.aui label {object-fit: contain;font-family: Raleway;font-size: 11px; font-weight: boldnormal; font-stretch: normal; font-style: normal; line-line-height: 1.91; letter-spacing: 0.6px; color: #fafafa;} } .questionwrapper { height: auto !important; } #entryNameInput { flex-direction: column; } #entryCountry { flex-direction: column; } #entryCategory { flex-direction: column; } #entryRound { flex-direction: column; } div#entryCatLoc { flex-direction: row; } div#entryLocation { margin-bottom: 5px; } div#entryType { flex-direction: column; } div#entrySponsorsform.aui .text, form.aui .password, form.aui .select, form.aui .aui-select2-container .select2-choices { background: transparent; opacity: 0.75; border-radius: 3px; border: solid 1px rgba(300,300,300,0.51) !important; min-height: 40px !important; color:white; } .ffi input[type="file"] { flex-directionbackground: transparent column!important; } div#entryEndTime { flex-directionopacity: column.21; } div#entryStartTime { flexborder-directionradius: column3px; } div.entryInput { flex-direction: column; } #entrySummary { flex-wrap: wrap border: solid 1px rgba(300,300,300,0.51); } div#action-errors-confiform#i_holdingrow_image label { background: rgba(0,0,0,0.5) transparent !important; borderopacity: none0.75; border-radius: 9px3px; paddingborder: 25pxsolid 25px1px !important#ffffff; } .jqte_editor, width: 80% !important;.jqte_source { marginbackground: autotransparent; color: align-items: centerwhite !important; } #action-errors-confiform ul li.jqte_toolbar { background: rgba(300,300,300,0.5); } .jqte_tool, .jqte_tool_icon, .jqte_tool_label { color: var(--primary-font-color);/* opacity: 0.21; */ fontborder-sizeradius: var(--font-size-m)3px; paddingborder: 5pxsolid 0px #ffffff; } .aui-message::after {.desc{ object-fit: contain; displayfont-size: none11px; } @media only screen and (min-width: 320px) and (max-width: 480px) { .custom-section-container { width: 100%; max-width: 100; } .questionContainer { padding: 12px; width: 88% !important; margin: 0 auto !important; } p.auto-cursor-target { width: 100% !important; } span.conf-macro.output-inline { width: 100%; margin: 7px 0px !important; } .confiFormsFormContent { padding: 0px; } input#i_sponsors { max-width: 100% !IMPORTANT; width: 100%; } div#orgupload { margin: 15px 0 0 0px !important; } a#saveFormButton { margin: 0 auto; width: 100%; } .saveFormContainer .my-button { margin: 0 auto; display: flex; text-align: center; align-items: center; justify-content: space-around; } .saveFormContainer { width: 100% !important; } .questionwrapper.question-mobile { display: flex; align-self: flex-start; margin-left: 6%; } div#entryStartTime .questionwrapper.question-mobile { height: auto !important; margin-bottom: -10px; } div#entryEndTime .questionwrapper.question-mobile { height: auto !important; margin-bottom: -10px; } .fileUploadContainer { min-width: 95%; } div#entrySponsors { width: 100% !important; } } </style> <script type="text/javascript" src="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/js/ewc/createEventScript.js"></script> <script> if (AJS.params.remoteUser === '') { window.location.replace("/display/EV/Dashboard"); } </script> |
Is in group | ||||||
---|---|---|---|---|---|---|
|
Is in event cohost list | ||||
---|---|---|---|---|
|
HTML |
---|
<script>
function addEventExistsGroup(event_exists_group) {
jQuery.ajax({
url: "/rest/scriptrunner/latest/custom/addGroup",
headers: {
"X-Atlassian-Token": "nocheck",
"Content-type": "application/json",
},
type: "POST",
dataType: "text",
data: JSON.stringify({
group: [event_exists_group],
}),
success: function (text) {
console.log("Response: " + text);
},
error: function (err) {
console.log(err);
},
});
}
</script> |
font-weight: bold;
font-stretch: normal;
font-style: normal;
line-height: 1.91;
letter-spacing: 0.6px;
color: #fafafa;
}
.questionwrapper {
height: auto !important;
}
#entryNameInput {
flex-direction: column;
}
#entryCountry {
flex-direction: column;
}
#entryCategory {
flex-direction: column;
}
#entryRound {
flex-direction: column;
}
div#entryCatLoc {
flex-direction: row;
}
div#entryLocation {
margin-bottom: 5px;
}
div#entryType {
flex-direction: column;
}
div#entrySponsors {
flex-direction: column;
}
div#entryEndTime {
flex-direction: column;
}
div#entryStartTime {
flex-direction: column;
}
div.entryInput {
flex-direction: column;
}
#entrySummary {
flex-wrap: wrap;
}
div#action-errors-confiform {
background: rgba(0,0,0,0.5);
border: none;
border-radius: 9px;
padding: 25px 25px !important;
width: 80% !important;
margin: auto;
align-items: center;
}
#action-errors-confiform ul li {
color: var(--primary-font-color);
font-size: var(--font-size-m);
padding: 5px 0px;
}
.aui-message::after {
display: none;
}
@media only screen and (min-width: 320px) and (max-width: 480px) {
.custom-section-container {
width: 100%;
max-width: 100;
}
.questionContainer {
padding: 12px;
width: 88% !important;
margin: 0 auto !important;
}
p.auto-cursor-target {
width: 100% !important;
}
span.conf-macro.output-inline {
width: 100%;
margin: 7px 0px !important;
}
.confiFormsFormContent {
padding: 0px;
}
input#i_sponsors {
max-width: 100% !IMPORTANT;
width: 100%;
}
div#orgupload {
margin: 15px 0 0 0px !important;
}
a#saveFormButton {
margin: 0 auto;
width: 100%;
}
.saveFormContainer .my-button {
margin: 0 auto;
display: flex;
text-align: center;
align-items: center;
justify-content: space-around;
}
.saveFormContainer {
width: 100% !important;
}
.questionwrapper.question-mobile {
display: flex;
align-self: flex-start;
margin-left: 6%;
}
div#entryStartTime .questionwrapper.question-mobile {
height: auto !important;
margin-bottom: -10px;
}
div#entryEndTime .questionwrapper.question-mobile {
height: auto !important;
margin-bottom: -10px;
}
.fileUploadContainer {
min-width: 95%;
}
div#entrySponsors {
width: 100% !important;
}
}
</style>
<script type="text/javascript" src="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/js/ewc/createEventScript.js"></script>
<script>
if (AJS.params.remoteUser === '') {
window.location.replace("/display/EV/Dashboard");
}
</script> |
Is in group | ||||||
---|---|---|---|---|---|---|
|
Is in event cohost list | ||||
---|---|---|---|---|
|
HTML |
---|
<script>
function addEventExistsGroup(event_exists_group) {
jQuery.ajax({
url: "/rest/scriptrunner/latest/custom/addGroup",
headers: {
"X-Atlassian-Token": "nocheck",
"Content-type": "application/json",
},
type: "POST",
dataType: "text",
data: JSON.stringify({
group: [event_exists_group],
}),
success: function (text) {
console.log("Response: " + text);
},
error: function (err) {
console.log("Response: it's not working. ", err);
},
});
}
</script> |
ConfiForms (FormView) Registrations Control | ||||||
---|---|---|---|---|---|---|
| ||||||
HTML | ||||||
---|---|---|---|---|---|---|
<script>
/* Makes the fields for the dates larger */
$('#i_endDate').attr('style', '');
$('#i_startDate').attr('style', '') | ||||||
ConfiForms (FormView) Registrations Control | ||||||
| ||||||
HTML | ||||||
<script> /* Makes the fields for the dates larger */ $('#i_endDate').attr('style', ''); $('#i_startDate').attr('style', ''); </script> <script> $("#saveFormButton .my-button").on("click", function(){ var original_name = $("#i_name").val(); $("#i_currentName").val(original_name); $('.my-button').prop('disabled', true); $("button.my-create-dialog-create-button.aui-button.aui-button-primary.save-cf-btn").click(); $("#action-errors-confiform").waitUntilExists(function () { $('.my-button').prop('disabled', false); window.scrollTo({top: 0, behavior: 'smooth'}); }); return false; }); </script> <script> // Adding Placeholder to Location Input Field let locationPlaceholder = $('#i_location')[0]; locationPlaceholder.placeholder = "e.g. San Francisco, CA"; </script> <script> $("#i_RSVPCount#saveFormButton .my-button").waitUntilExists(on("click", function(){ var original_name => { $("#i_RSVPCountname").val(0); }) $("#i_sequencecurrentName").waitUntilExistsval(() => { console.log("setting sequence val to 0"original_name); $('.my-button').prop('disabled', true); $("#i_sequencebutton.my-create-dialog-create-button.aui-button.aui-button-primary.save-cf-btn").valclick(0); }) </script> <script> const calendar = { 'January':'Jan', 'February':'Feb', 'March':'Mar', 'April':'Apr', 'May':'May', 'June':'Jun', 'July':'Jul', 'August':'Aug', 'September':'Sep', 'October':'Oct', 'November':'Nov', 'December':'Dec' } const formatDateLong = d => { const monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; const dayNames = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; 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 dayNames[d.getDay()] + ", " + monthNames[d.getMonth()] + " " + d.getDate() + " " + d.getFullYear() + ", " + strTime; } </script> $("#action-errors-confiform").waitUntilExists(function () { $('.my-button').prop('disabled', false); window.scrollTo({top: 0, behavior: 'smooth'}); }); return false; }); </script> <script> // Adding Placeholder to Location Input Field let locationPlaceholder = $('#i_location')[0]; locationPlaceholder.placeholder = "e.g. San Francisco, CA"; </script> <script> $("#i_RSVPCount").waitUntilExists(() => { $("#i_RSVPCount").val(0); }) $("#i_sequence").waitUntilExists(() => { console.log("setting sequence val to 0"); $("#i_sequence").val(0); }) </script> <script> const calendar = { 'January':'Jan', 'February':'Feb', 'March':'Mar', 'April':'Apr', 'May':'May', 'June':'Jun', 'July':'Jul', 'August':'Aug', 'September':'Sep', 'October':'Oct', 'November':'Nov', 'December':'Dec' } const formatDateLong = d => { const monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; const dayNames = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; 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 dayNames[d.getDay()] + ", " + monthNames[d.getMonth()] + " " + d.getDate() + " " + d.getFullYear() + ", " + strTime; } </script> |
HTML |
---|
<script>
$(window).on('load', function(){
$("#uploadButton4").click(() => {
|
HTML |
<script> $(window).on('load', function(){ $("#uploadButton4").click(() => { $("#i_imageOrganizer").click(); }) $("#i_currentImageOrganizer").waitUntilExists(() => { setTimeout(function(){ var currentimgorg = $('#i_currentImageOrganizer').val(); if(currentimgorg !== ""){ $( "#currentimgorg-insert" ).remove() var d4 = document.getElementById('uploadButton4'); d4.insertAdjacentHTML('afterend', `<div class="file-upload-name" id="currentimgorg-insert">${currentimgorg}</div>`); } }, 1200); }); $("#i_imageOrganizer").change(function(){ click(); }) $( "#currentimgorg-insert" "#i_currentImageOrganizer").removewaitUntilExists(() => { setTimeout(function(){ var logo4 var currentimgorg = document.getElementsByClassName("up-file")[0].value.split("\\").pop(); $('#i_currentImageOrganizer').val(); if(currentimgorg !== ""){ $( "#currentimgorg-insert" ).remove() var d4 = document.getElementById('uploadButton4'); d4.insertAdjacentHTML('afterend', `<div class="file-upload-name" id="currentimgorg-insert">${logo4currentimgorg}</div>`); } }, 1200); }); </script> $("#i_imageOrganizer").change(function(){ $( "#currentimgorg-insert" ).remove() var logo4 = document.getElementsByClassName("up-file")[0].value.split("\\").pop(); var d4 = document.getElementById('uploadButton4'); d4.insertAdjacentHTML('afterend', `<div class="file-upload-name" id="currentimgorg-insert">${logo4}</div>`); }); }); </script> |
ConfiForms Form Definition | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
ConfiForms Form Definition | ||||||||
| ||||||||
<!-- Startup Add/Remove Rules → <!--Load the current field values--> <!--Load the current field values (ADMIN)--> <!--Don't allow events in the past--> <!--Don't allow end date earlier than start date--> <!--Add cohosts to ownedBy list on new entry--> !cohosts:[empty] AND formId:[empty]Create ConfiForms EntryonCreatedentryId=[entry.id]&ownedBy=[entry.createdBy],[entry.cohosts.asList]<!--Update cohosts to ownedBy list on existing entry--> !cohosts:[empty] AND !formId:[empty]Create ConfiForms EntryonCreatedentryId=[entry.formId]&ownedBy=[entry.createdBy],[entry.cohosts.asList]<!--Update currentName from currentName on existing entry→ !currentName=name AND !formId:[empty]Create ConfiForms EntryonCreatedentryId=[entry.formId]¤tName=[entry.currentName]<!--Update the organizer image if changed--> !imageOrganizer:[empty] AND !formId:[empty]Create ConfiForms Entry25657553onCreatedentryId=[entry.formId]&imageOrganizer=[entry.imageOrganizer.asAttachment.displayTitle]¤tImageOrganizer=[entry.imageOrganizer.asAttachment.displayTitle]<!--Set current attachment name on new entry--> formId:[empty] AND PEANUTStrueCreate ConfiForms EntryonCreatedentryId=[entry.id]& currentImageOrganizer = imageOrganizer<!--Update fields upon edit--> !formId:[empty]Create ConfiForms EntryonCreatedentryId=[entry.formId]&name=[entry.name]¤tName=[entry.currentName]&pageName=[entry.pageName]¤tImage=[entry.currentImage]&startDate=[entry.startDate]&endDate=[entry.endDate]&agenda=[entry.agenda]&program=[entry.program]&cohosts=[entry.ownedBy]&createdPage=[entry.createdPage]&publish=[entry.publish]&RSVPCount=[entry.RSVPCount]&location=[entry.location]&category=[entry.category]&watchLiveEvent=[entry.watchLiveEvent]&streamLink=[entry.streamLink]&toggleStartups=[entry.toggleStartups]createdBy:[entry._user]createEvent:46334144<!--Redirect on update--> !formId:[empty]Redirect to URLonCreated/display/EV/[entry.pageName]<!-- Create group when event is created send analytics Event--> formId:[empty]Run JavaScriptonCreated<!–TODO - Set page name from title→ formId:[empty]trueCreate ConfiForms EntryonCreatedentryId=[entry.id]&pageName=[entry.name]<!–Create new page--> formId:[empty]Create PageonCreated[entry.pageName]eventPCid:[entry.id]createEvent1<!--Redirect new entry--> formId:[empty]Redirect to URLonCreated/display/EVE/[entry.pageName]<!–Update entry with created page url--> formId:[empty]Create ConfiForms EntryonCreatedentryId=[entry.id]&createdPage=${iftttResult_PC.id}<!-- Copy Organizer image to attachments bank --> !imageOrganizer:[empty]Copy Attachment[entry.createdPage]onCreated[entry.imageOrganizer.asAttachment.id]<!–Update entry with created page update url--> !currentName:[entry.name] AND !currentName:[empty]Create ConfiForms EntryonCreatedentryId=[entry.id]&createdPage=${iftttResult_PCU.id}<!--Delete update entry reference--> !formId:[empty]Delete ConfiForms EntryonCreatedid:[entry.id]5<!--Send email to new co-hosts--> notify:true AND !cohosts:[empty]Send Emailproduct@gsvlabs.comonCreatedUpdates made to the [entry.name] event[entry.cohosts.asList]Hello, You receiving this message because you are listed as a cohost on the [entry.name] event. To view changes, edit, or publish the event, go <a href="[entry.createdPage.urlPath]">here</a>. Thank you, Product OneValley Team |
HTML |
---|
<script>
$(".jqte_editor").append("<p id='agendaText'>Tell us about your Event here...</p>");
</script> |
<!-- Startup Add/Remove Rules → <!--Load the current field values→ <!--Don't allow end date earlier than start date--> <!--Add cohosts to ownedBy list on new entry--> <!--Update cohosts to ownedBy list on existing entry--> <!--Update currentName from currentName on existing entry→ <!--Update the organizer image if changed--> <!--Set current attachment name on new entry--> <!--Update fields upon edit--> <!--Redirect on update--> <!-- Create group when event is created send analytics Event--> <!–TODO - Set page name from title→ <!–Create new page--> <!--Redirect new entry--> <!–Update entry with created page url--> <!-- Copy Organizer image to attachments bank --> <!–Update entry with created page update url--> <!--Delete update entry reference--> <!--Send email to new co-hosts--> Hello, You receiving this message because you are listed as a cohost on the [entry.name] event. To view changes, edit, or publish the event, go <a href="[entry.createdPage.urlPath]">here</a>. Thank you, Product OneValley Team |
HTML |
---|
<script>
$(".jqte_editor").append("<p id='agendaText'>Tell us about your Event here...</p>");
</script> |
HTML |
---|
<script>
//GET AND SET FORM ID TO CONFIFORMS FIELD FROM URL
function getParameter(paramName) {
var searchString = window.location.search.substring(1),
i, val, params = searchString.split("&");
for (i=0;i<params.length;i++) {
val = params[i].split("=");
if (val[0] == paramName) {
console.log("val[1]", val[1]);
return val[1];
}
console.log(paramName);
}
return null;
}
var formIdInput = document.getElementById('i_formId');
console.log("formIdInput", formIdInput);
formIdInput.value = getParameter('entry_id');
console.log("formIdInput after", formIdInput);
//HIDE CONFIFORMS DROPDOWN FOR NON ADMINS
if (!(AJS.params.isConfluenceAdmin)) {
$('.aui-button.aui-style-default.aui-dropdown2-trigger').hide()
}
</script>
<script>
$(document).ready(function () {
$(".startDateLabel").text("Start Date (Time Zone: " + Intl.DateTimeFormat().resolvedOptions().timeZone + ")");
$(".startEndLabel").text("End Date (Time Zone: " + Intl.DateTimeFormat().resolvedOptions().timeZone + ")");
});
</script> |
HTML |
---|
<script>
function getQueryVariableFromUrl(variable){
var query |
HTML |
<script> //GET AND SET FORM ID TO CONFIFORMS FIELD FROM URL function getParameter(paramName) { var searchString = window.location.search.substring(1),; i, val, paramsvar vars = searchStringquery.split("&"); for (var i=0;i<paramsi<vars.length;i++) { var pair val = paramsvars[i].split("="); if (val[0] == paramName) { console.log("val[1]", val[1]); return valpair[0] == variable){return pair[1];} } } console.logreturn(paramNamefalse); } var entry_id = getQueryVariableFromUrl('entry_id'); var startDate; var startDateLocalTime return= null''; var startDateFixed = } ''; var endDate; var formIdInputendDateLocalTime = document.getElementById('i_formId'); var console.log("formIdInput", formIdInput); formIdInput.value = getParameter('entry_id'); console.log("formIdInput after", formIdInput); //HIDE CONFIFORMS DROPDOWN FOR NON ADMINS if (!(AJS.params.isConfluenceAdmin)) endDateFixed = ''; const getTimeStamps = async (entry_id) => { let eventData = await jQuery.ajax({ url: $('.aui-button.aui-style-default.aui-dropdown2-trigger').hide() } </script> <script> $(document).ready(function () { $(".startDateLabel").text("Start Date (Time Zone: " + Intl.DateTimeFormat().resolvedOptions().timeZone + ")"); $(".startEndLabel").text("End Date (Time Zone: " + Intl.DateTimeFormat().resolvedOptions().timeZone + ")"); }); </script> |
HTML |
<script> function getQueryVariableFromUrl(variable){ var query = window.location.search.substring(1); var vars = query.split("&"); for (var i=0;i<vars.length;i++) { var pair = vars[i].split("="); if(pair[0] == variable){return pair[1];}'/ajax/confiforms/rest/filter.action?pageId=46334144&f=createEvent&q=id:' + entry_id, type: "get", dataType: 'json', async: true }).then(res => res); return eventData; } const formatDates = async (startDateLocalTime, endDateLocalTime) => { for (var month in calendar) { if (startDateLocalTime.includes(month)) { console.log("about to do start Date Fixed") startDateFixed = `${startDateLocalTime.replace(month, calendar[month])} ${new Date().toString().match(/([-\+][0-9]+)\s/)[1]}`; console.log("did start Date Fixed") } return(false); } var entry_id = getQueryVariableFromUrl('entry_id'); var startDate; var startDateLocalTime = ''; var startDateFixed = ''; var endDate; var endDateLocalTime = ''; var endDateFixed = ''; const getTimeStamps = async (entry_id) => { let eventData = await jQuery.ajax({ url: '/ajax/confiforms/rest/filter.action?pageId=46334144&f=createEvent&q=id:' + entry_id, type: "get", dataType: 'json', async: true }).then(res => res); return eventData; } const formatDates = async (startDateLocalTime, endDateLocalTime) => { for (var month in calendar) { if (startDateLocalTime.includes(month)) { console.log("about to do start Date Fixed") startDateFixed = `${startDateLocalTime.replace(month, calendar[month])} ${new Date().toString().match(/([-\+][0-9]+)\s/)[1]}`; console.log("did start Date Fixed") } if (endDateLocalTime.includes(month)) { console.log("about to do end Date Fixed") endDateFixed = `${endDateLocalTime.replace(month, calendar[month])} ${new Date().toString().match(/([-\+][0-9]+)\s/)[1]}`; console.log("did end Date Fixed") } } } async function formatDateLong2(d) { const monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; const dayNames = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; 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 dayNames[d.getDay()] + ", " + monthNames[d.getMonth()] + " " + d.getDate() + " " + d.getFullYear() + ", " + strTime; } $("#i_startDateTimestamp").waitUntilExists(() => { getTimeStamps(entry_id).then((data) => { startDate = new Date(data.list.entry[0].fields.startDate); endDate = new Date(data.list.entry[0].fields.endDate); formatDateLong2(startDate).then((startDateFormatted) => { startDateLocalTime = startDateFormatted; formatDateLong2(endDate).then((endDateFormatted) => { endDateLocalTime = endDateFormatted; formatDates(startDateLocalTime, endDateLocalTime).then(() => { $("#i_startDate").val(startDateFixed); if (endDateLocalTime.includes(month)) { console.log("about to do end Date Fixed") endDateFixed = `${endDateLocalTime.replace(month, calendar[month])} ${new Date().toString().match(/([-\+][0-9]+)\s/)[1]}`; console.log("did end Date Fixed") } } } async function formatDateLong2(d) { const monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; const dayNames = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; 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 dayNames[d.getDay()] + ", " + monthNames[d.getMonth()] + " " + d.getDate() + " " + d.getFullYear() + ", " + strTime; } getTimeStamps(entry_id).then((data) => { startDate = new Date(data.list.entry[0].fields.startDate); endDate = new Date(data.list.entry[0].fields.endDate); formatDateLong2(startDate).then((startDateFormatted) => { startDateLocalTime = startDateFormatted; formatDateLong2(endDate).then((endDateFormatted) => { endDateLocalTime = endDateFormatted; console.log(`startDateFormatted: ${startDateFormatted}`); console.log(`endDateFormatted: ${endDateFormatted}`); formatDates(startDateLocalTime, endDateLocalTime).then(() => { $("#i_startDate").val(startDateFixed); $("#i_endDate").val(endDateFixed); }) }) }) }) </script> |
HTML |
---|
<script type="text/javascript" src="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/js/ewc/eventsCreateEventScript.js"></script> <script> /*$(document).ready(() => { $("#i_name").keydown(function(e){ var ingnore_key_codes = [55]; if ($.inArray(e.keyCode, ingnore_key_codes) >= 0){ e.preventDefault(); } }); $("#i_agenda").keydown(function(e){ var ingnore_key_codes = [55]; if ($.inArray(e.keyCode, ingnore_key_codes) >= 0){ e.preventDefault(); } }); $("#i_program").keydown(function(e){ var ingnore_key_codes = [55]; if ($.inArray(e.keyCode, ingnore_key_codes) >= 0){ e.preventDefault(); } }); $("#i_startDate").keydown(function(e){ var ingnore_key_codes = [55]; if ($.inArray(e.keyCode, ingnore_key_codes) >= 0){ e.preventDefault(); } }); $("#i_endDate").valkeydown(function(endDateFixede);{ var ingnore_key_codes }) })= [55]; }) }) }) </script> |
HTML |
<script type="text/javascript" src="https://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/js/ewc/eventsCreateEventScript.js"></script> <script> /*$(document).ready(() => {if ($.inArray(e.keyCode, ingnore_key_codes) >= 0){ e.preventDefault(); } }); $("#i#s2id_nameautogen1").keydown(function(e){ var ingnore_key_codes = [55]; if ($.inArray(e.keyCode, ingnore_key_codes) >= 0){ e.preventDefaultpreventDefault(); } }); });*/ </script> |
HTML |
---|
<script> $("#i_addStartup1-yes").click(() => { var y = $(window).scrollTop(); setTimeout(function(){$(window).scrollTop(y+700)},300); }); $("#i_agendaaddStartup2-yes").keydownclick(function(e) => { var ingnore_key_codesy = [55]; $(window).scrollTop(); if ($.inArray(e.keyCode, ingnore_key_codes) >= 0)setTimeout(function(){$(window).scrollTop(y+700)},300); }) $("#i_addStartup3-yes").click(() => { var y e.preventDefault= $(window).scrollTop(); setTimeout(function(){$(window).scrollTop(y+700)},300); }); $("#i_programaddStartup4-yes").keydownclick(function(e) => { var ingnore_key_codesy = [55]; $(window).scrollTop(); if ($.inArray(e.keyCode, ingnore_key_codes) >= 0)setTimeout(function(){$(window).scrollTop(y+700)},300); }) $("#i_addStartup5-yes").click(() => { var y e.preventDefault= $(window).scrollTop(); setTimeout(function(){$(window).scrollTop(y+700)},300); }); $("#i_startDateaddStartup6-yes").keydownclick(function(e) => { var ingnore_key_codesy = [55]; $(window).scrollTop(); if ($.inArray(e.keyCode, ingnore_key_codes) >= 0)setTimeout(function(){$(window).scrollTop(y+700)},300); }) $("#i_addStartup7-yes").click(() => { var y e.preventDefault= $(window).scrollTop(); setTimeout(function(){$(window).scrollTop(y+700)},300); }); $("#i_endDateaddStartup8-yes").keydownclick(function(e) => { var ingnore_key_codesy = [55]; $(window).scrollTop(); if ($.inArray(e.keyCode, ingnore_key_codes) >= 0){ e.preventDefault(); } }); $("#s2id_autogen1").keydown(function(e){ var ingnore_key_codes = [55]; if ($.inArray(e.keyCode, ingnore_key_codes) >= 0){ e.preventDefault(); } }); });*/setTimeout(function(){$(window).scrollTop(y+700)},300); }) $("#i_addStartup9-yes").click(() => { var y = $(window).scrollTop(); setTimeout(function(){$(window).scrollTop(y+700)},300); }) $("#i_addStartup10-yes").click(() => { var y = $(window).scrollTop(); setTimeout(function(){$(window).scrollTop(y+700)},300); }) </script> |
OneValley