x
x
x
x
Only portrait mode is currently supported - please rotate your device.
...
HTML | ||
---|---|---|
<script>
var Arrive=function(e,t,n){"use strict";function r(e,t,n){l.addMethod(t,n,e.unbindEvent),l.addMethod(t,n,e.unbindEventWithSelectorOrCallback),l.addMethod(t,n,e.unbindEventWithSelectorAndCallback)}function i(e){e.arrive=f.bindEvent,r(f,e,"unbindArrive"),e.leave=d.bindEvent,r(d,e,"unbindLeave")}if(e.MutationObserver&&"undefined"!=typeof HTMLElement){var o=0,l=function(){var t=HTMLElement.prototype.matches||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector;return{matchesSelector:function(e,n){return e instanceof HTMLElement&&t.call(e,n)},addMethod:function(e,t,r){var i=e[t];e[t]=function(){return r.length==arguments.length?r.apply(this,arguments):"function"==typeof i?i.apply(this,arguments):n}},callCallbacks:function(e,t){t&&t.options.onceOnly&&1==t.firedElems.length&&(e=[e[0]]);for(var n,r=0;n=e[r];r++)n&&n.callback&&n.callback.call(n.elem,n.elem);t&&t.options.onceOnly&&1==t.firedElems.length&&t.me.unbindEventWithSelectorAndCallback.call(t.target,t.selector,t.callback)},checkChildNodesRecursively:function(e,t,n,r){for(var i,o=0;i=e[o];o++)n(i,t,r)&&r.push({callback:t.callback,elem:i}),i.childNodes.length>0&&l.checkChildNodesRecursively(i.childNodes,t,n,r)},mergeArrays:function(e,t){var n,r={};for(n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);for(n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return r},toElementsArray:function(t){return n===t||"number"==typeof t.length&&t!==e||(t=[t]),t}}}(),c=function(){var e=function(){this._eventsBucket=[],this._beforeAdding=null,this._beforeRemoving=null};return e.prototype.addEvent=function(e,t,n,r){var i={target:e,selector:t,options:n,callback:r,firedElems:[]};return this._beforeAdding&&this._beforeAdding(i),this._eventsBucket.push(i),i},e.prototype.removeEvent=function(e){for(var t,n=this._eventsBucket.length-1;t=this._eventsBucket[n];n--)if(e(t)){this._beforeRemoving&&this._beforeRemoving(t);var r=this._eventsBucket.splice(n,1);r&&r.length&&(r[0].callback=null)}},e.prototype.beforeAdding=function(e){this._beforeAdding=e},e.prototype.beforeRemoving=function(e){this._beforeRemoving=e},e}(),a=function(t,r){var i=new c,o=this,a={fireOnAttributesModification:!1};return i.beforeAdding(function(n){var i,l=n.target;(l===e.document||l===e)&&(l=document.getElementsByTagName("html")[0]),i=new MutationObserver(function(e){r.call(this,e,n)});var c=t(n.options);i.observe(l,c),n.observer=i,n.me=o}),i.beforeRemoving(function(e){e.observer.disconnect()}),this.bindEvent=function(e,t,n){t=l.mergeArrays(a,t);for(var r=l.toElementsArray(this),o=0;o<r.length;o++)i.addEvent(r[o],e,t,n)},this.unbindEvent=function(){var e=l.toElementsArray(this);i.removeEvent(function(t){for(var r=0;r<e.length;r++)if(this===n||t.target===e[r])return!0;return!1})},this.unbindEventWithSelectorOrCallback=function(e){var t,r=l.toElementsArray(this),o=e;t="function"==typeof e?function(e){for(var t=0;t<r.length;t++)if((this===n||e.target===r[t])&&e.callback===o)return!0;return!1}:function(t){for(var i=0;i<r.length;i++)if((this===n||t.target===r[i])&&t.selector===e)return!0;return!1},i.removeEvent(t)},this.unbindEventWithSelectorAndCallback=function(e,t){var r=l.toElementsArray(this);i.removeEvent(function(i){for(var o=0;o<r.length;o++)if((this===n||i.target===r[o])&&i.selector===e&&i.callback===t)return!0;return!1})},this},s=function(){function e(e){var t={attributes:!1,childList:!0,subtree:!0};return e.fireOnAttributesModification&&(t.attributes=!0),t}function t(e,t){e.forEach(function(e){var n=e.addedNodes,i=e.target,o=[];null!==n&&n.length>0?l.checkChildNodesRecursively(n,t,r,o):"attributes"===e.type&&r(i,t,o)&&o.push({callback:t.callback,elem:i}),l.callCallbacks(o,t)})}function r(e,t){return l.matchesSelector(e,t.selector)&&(e._id===n&&(e._id=o++),-1==t.firedElems.indexOf(e._id))?(t.firedElems.push(e._id),!0):!1}var i={fireOnAttributesModification:!1,onceOnly:!1,existing:!1};f=new a(e,t);var c=f.bindEvent;return f.bindEvent=function(e,t,r){n===r?(r=t,t=i):t=l.mergeArrays(i,t);var o=l.toElementsArray(this);if(t.existing){for(var a=[],s=0;s<o.length;s++)for(var u=o[s].querySelectorAll(e),f=0;f<u.length;f++)a.push({callback:r,elem:u[f]});if(t.onceOnly&&a.length)return r.call(a[0].elem,a[0].elem);setTimeout(l.callCallbacks,1,a)}c.call(this,e,t,r)},f},u=function(){function e(){var e={childList:!0,subtree:!0};return e}function t(e,t){e.forEach(function(e){var n=e.removedNodes,i=[];null!==n&&n.length>0&&l.checkChildNodesRecursively(n,t,r,i),l.callCallbacks(i,t)})}function r(e,t){return l.matchesSelector(e,t.selector)}var i={};d=new a(e,t);var o=d.bindEvent;return d.bindEvent=function(e,t,r){n===r?(r=t,t=i):t=l.mergeArrays(i,t),o.call(this,e,t,r)},d},f=new s,d=new u;t&&i(t.fn),i(HTMLElement.prototype),i(NodeList.prototype),i(HTMLCollection.prototype),i(HTMLDocument.prototype),i(Window.prototype);var h={};return r(f,h,"unbindAllArrive"),r(d,h,"unbindAllLeave"),h}}(window,"undefined"==typeof jQuery?null:jQuery,void 0);
$(document).arrive("#custom-user-search-results-table a", link => {
if (link.href.includes("/~")) {
let email = link.href.split("/~").pop();
link.href = "/display/PN/Mentor+Profile?mentor=" + email;
}
});
console.log("mazin")
</script> | ||
Show If | ||
| ||
HTML | <style> a{ text-decoration: none!important; } #startup-card-container{ margin-top: 50px; } .startup-card {color display:#3a3a3a !important flex;} #categories img { flex-direction: column;filter width:grayscale(1) 280px;} .card-perks-subtitle {
colorheight:var(--secondary-color) !important; } .announcementcard { 350px;padding min-left height:0px !important 350px;background min-color width:#ffffff 280px;border-radius position:15px relative;width: 750px margin: 0 40px 40px 0;height background:250px white;box-shadow padding:-2.9px 4px 2.4px 0.2px rgba(0, 0, 0, 0.08) 20px 20px 60px 20px;cursor box-sizing:pointer; margin-bottom: 20px !important; border-box; } .startup-card::after {justify-content position:center !important absolute;margin- left: 0px !important0;} .card-description{ colorbottom:black !important 20px;font-color: 14px !important;
}
.announcementcard img {
width: inherit !important100%; height:inherit !important 50%;object-fit content:cover !important '';border: none !important; border-radius: 0px !important; margin: 5px !important background: linear-gradient( 0deg , white, transparent); } .imgalign startup-card-title {display font-size:flex !important 21px;flex margin-direction bottom:column !important 20px;align font-items weight:center !important bold;width color:unset !important; height: 120px !important #333333; }div . textstartup-card-encompasser summary {display font-size:flex !important 18px;width overflow:70% !important hidden;flex-direction color:column !important #757575;padding: 0px 0px 0px 25px !important; border-top: none !important letter-spacing: .8px; }
.prev, .next .startup-card-summary::after {top content:39% !important; } .automated-cards { 'READ MORE'; font-weight: bold;justify-content background:left !important; } .nextprevbutton.grey-pagination-button{ transparent;width color:200px!important #333;max-width: 200px!important; height position:40px!important absolute;border-radius bottom:0px!important 20px;background font-size:white!important 17px;color left:#3a3a3a!important 20px;border z-color index:#3a3a3a!important; margin: 40px auto 0 0!important 10; }. </style> |
show-if | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
HTML |
---|
<script>
// Load startup cards
var data = await jQuery.ajax({
url: "/rest/scriptrunner/latest/custom/searchJiraTicketsPaginated",
headers: {
'X-Atlassian-Token' : 'nocheck',
'Content-type' : 'application/json'
},
type: "POST",
dataType: 'json',
data: JSON.stringify({
"jql": "project = PGH AND status = Submitted AND resolution = Unresolved AND cf[10634] ~ 'approved' ORDER BY priority DESC, updated DESC",
"startAt": 0,
"maxResults": 4
})
}).then(res => res);
console.log("mazin")
for(let i = 0; i < data.issues.length; i++){
let title = data.issues[i]['fields']['customfield_10108'];
let summary = data.issues[i]['fields']['customfield_10226'];
console.log(title, summary)
}
// ANALYTICS
const trackPerksCardClicked = (perkCategory, perkTitle) => {
analytics.track("perksCardClicked", {perkCategory, perkTitle});
}
const trackPerkCategoryClicked = (perkCategory) => {
analytics.track("PerksCategoryClicked", {perkCategory});
}
$("#myCards-passportproperks .custom-card-container").each(function() {
this.addEventListener("click", () => {
let title = this.getElementsByClassName("card-title")[0];
let titleText = title.innerHTML.trim();
let category = this.getElementsByClassName("card-subtitle")[0];
let categoryText = category.innerHTML.trim();
trackPerksCardClicked(categoryText, titleText);
});
});
$("#myCards-popularperks .custom-card-container").each(function() {
this.addEventListener("click", () => {
let title = this.getElementsByClassName("card-title")[0];
let titleText = title.innerHTML.trim();
let category = this.getElementsByClassName("card-subtitle")[0];
let categoryText = category.innerHTML.trim();
trackPerksCardClicked(categoryText, titleText);
});
});
$("#myCards-newestperks .custom-card-container").each(function() {
this.addEventListener("click", () => {
let title = this.getElementsByClassName("card-title")[0];
let titleText = title.innerHTML.trim();
let category = this.getElementsByClassName("card-subtitle")[0];
let categoryText = category.innerHTML.trim();
trackPerksCardClicked(categoryText, titleText);
});
});
$("#categories .custom-card-container").each(function() {
this.addEventListener("click", () => {
let category = this.getElementsByClassName("card-title")[0];
let categoryText = category.innerHTML.trim();
categoryText = categoryText.split('&').join("&");
trackPerkCategoryClicked(categoryText);
});
});
</script> |
|
HTML |
---|
<script>
// ANALYTICS
const trackPerksCardClicked = (perkCategory, perkTitle) => {
analytics.track("perksCardClicked", {perkCategory, perkTitle});
}
const trackPerkCategoryClicked = (perkCategory) => {
analytics.track("PerksCategoryClicked", {perkCategory});
}
$("#myCards-passportproperks .custom-card-container").each(function() {
this.addEventListener("click", () => {
let title = this.getElementsByClassName("card-title")[0];
let titleText = title.innerHTML.trim();
let category = this.getElementsByClassName("card-subtitle")[0];
let categoryText = category.innerHTML.trim();
trackPerksCardClicked(categoryText, titleText);
});
});
$("#myCards-popularperks .custom-card-container").each(function() {
this.addEventListener("click", () => {
let title = this.getElementsByClassName("card-title")[0];
let titleText = title.innerHTML.trim();
let category = this.getElementsByClassName("card-subtitle")[0];
let categoryText = category.innerHTML.trim();
trackPerksCardClicked(categoryText, titleText);
});
});
$("#myCards-newestperks .custom-card-container").each(function() {
this.addEventListener("click", () => {
let title = this.getElementsByClassName("card-title")[0];
let titleText = title.innerHTML.trim();
let category = this.getElementsByClassName("card-subtitle")[0];
let categoryText = category.innerHTML.trim();
trackPerksCardClicked(categoryText, titleText);
});
});
$("#categories .custom-card-container").each(function() {
this.addEventListener("click", () => {
let category = this.getElementsByClassName("card-title")[0];
let categoryText = category.innerHTML.trim();
categoryText = categoryText.split('&').join("&");
trackPerkCategoryClicked(categoryText);
});
});
</script> |
HTML |
---|
<style>
div#user-search-bar-container{
border-color: #ccc!important;
border-radius: 0!important;
width: 300px!important;
min-width: 250px !important;
}
@media only screen and (max-width: 920px) and (min-width: 320px) {
#filters-list{
width: 80%;
top: calc(100% + 5px);
left: 10%;
}
#filter-container{
margin: 30px 0!important;
flex-direction: column!important;
}
.dropdown{
width: 100%!important;
}
div#user-search-module,div#user-search-bar-container{
width: 100%!important;
margin: 0!important;
}
#main-content div#ui-tabs-buttons-ui-tab-container{
width: 80%!important;
max-width: 80%!important;
padding: 0!important;
right: 10%!important;
top: 100px!important;
}
div#ui-tabs-buttons-ui-tab-container button {
margin: 0 10px !important;
}
#profile_header_container{
flex-direction: column!important;
margin: 10px 0 0 0 !important;
}
#profile_header_text{
margin: 0 auto 0 0!important;
padding: 0!important;
font-size: 35px!important;
}
div#featured-mentors-container {
margin-left: 0 !important;
}
#user-search-results {
width: 80% !important;
}
.startup-card {
width: 100%;
margin: 40px 0 0 0;
}
#startup-card-container {
margin: 0 !important;
}
}
.userLogo {
height: 100% !important;
width: 100% !important;
}
.list-member-paginated-cards{
justify-content: flex-start!important;
}
.profilecard.custom-card-container{
border-radius: 0!important;
box-shadow: none!important;
width: 300px!important;
height: 450px!important;
margin: 0 20px 20px 0!important;
padding: 0!important;
}
.profilecard img {
width: 100%!important;
height: 100%!important;
border-radius: 0!important;
margin: 0!important;
object-fit: cover!important;
padding: 0!important;
}
.profilecard .image-container {
display: flex!important;
padding: 0!important;
margin: 0!important;
width: 100%!important;
height: 320px!important;
}
.profilecard .card-text-container {
display: flex!important;
flex-direction: column |
HTML |
<style> .list-member-paginated-cards{ justify-content: flex-start!important; } .profilecard.custom-card-container{ border-radius: 0!important; box-shadow: none!important; width: 300px!important; height: 450px!important; margin: 0 20px 20px 0!important; padding: 0!important; } .profilecard img { width: 100%!important; height: 100%!important; border-radiuswidth: 0100%!important; } .profilecard .card-title{ margincolor: 0#333!important; objectfont-fitweight: coverbold!important; paddingfont-size: 022px!important; } .profilecard .imagecard-container subtitle{ display color: flex#333!important; padding font-size: 016px!important; } div#main-content { marginbackground: 0!important#eeeeee; } .rw_formatting_item>.rw_background_image { widthbackground: 100%!important#e9eae9; } .rw_search_item.rw_formatting_item .rw_search_module_container>div .rw_search_item { height background: 320px!important#e9eae9; } .profilecard .card-text-containerroundedborderlayered-autocards.cardstyle { display background: flexnone!important; flex-directionwidth: column300px!important; height: 100%450px!important; margin: 0 20px width: 100%20px 0!important; } .custom-card-link-styling{ border-radius: 0px!important; } .profilecardroundedborderlayered-autocards.cardstyle .card-titletext-container{ color width: #333100%!important; font-weight height: bold210px!important; font-size: 22px margin: 20px 0!important; } .roundedborderlayered-autocards.profilecardcardstyle .cardimage-subtitlecontainer{ colorwidth: #333100%!important; font-sizeheight: 16px200px!important; } div#main-content { background: #eeeeee; } .rw_formatting_item>.rw_background_image { background: #e9eae9; } .rw_search_item.rw_formatting_item .rw_search_module_container>div .rw_search_item { background: #e9eae9 padding: 0!important; border: 1px solid #ccc; box-sizing: border-box; } .roundedborderlayered-autocards.cardstyle .prof-container{ backgroundwidth: none100%!important;; width height: 300px200px!important; heightmargin: 450px0!important; } .roundedborderlayered-autocards.cardstyle a { margin: 0 20px 20px 0!important!important; box-shadow: none!important; width: 100%; height: 100%; } .custom-roundedborderlayered-autocards.cardstyle p.card-linkperks-stylingsubtitle { border-radius: 0px background: var(--primary-color); color: var(--secondary-color) !important; } .roundedborderlayered-autocards.cardstyle .card-text-container .card-title { width: 100%!important color: #333; padding-left: 30px; heighttext-align: 210px!importantleft; marginfont-weight: 20px 0bold; font-size: 22px!important; } .roundedborderlayered-autocards.cardstyle .imagecard-text-container .card-subtitle { width color: 100%!importantgray; heightpadding-left: 200px!important30px; paddingtext-align: 0!importantleft; borderfont-weight: 1px solid #cccnormal; boxfont-sizingsize: border-box15px!important; } .roundedborderlayered-autocardscc.cardstyle .prof-container{ width: 100%!important;; height: 200px!important; margin: 0!important; } .roundedborderlayered-autocards.cardstyle a { margin: 0!important; box-shadow: none!important; width: 100%; height: 100%; } .roundedborderlayered-autocards.cardstyle p.card-perks-subtitle { background: var(--primary-color); color: var(--secondary-color) !important; } .roundedborderlayered-autocards.cardstyle .card-text-container .card-title { color: #333; padding-left: 30px; text-align: left; font-weight: bold; font-size: 22px!important; } .roundedborderlayered-autocards.cardstyle .card-text-container .card-subtitle { color: gray; padding-left: 30px; text-align: left; font-weight: normal; font-size: 15px!important; } .roundedborderlayered-cc.cardstyle { box-shadow: 0px 15px 0 var(--secondary-color), 0px -15px 0 var(--secondary-color), -2px 3px 10px 0 rgb(0 0 0 / 16%), 2px -3px 10px 0 rgb(0 0 0 / 16%); } .rw_search_item.rw_formatting_item .rw_search_module_container>div .rw_search_item { width: max-content; } .rw_search_item.rw_formatting_item .rw_search_module_container>div .rw_search_item .rw_search_icon { left: 0px; } .rw_searchsimple_module { margin: 30px auto; margin-bottom: 60px; width: 85%; } .rw_cell.rw_search_module_container { margin-left: 0px; } /* MOBILE STYLING */ @media screen and (max-width: 930px) { .main-header-container h1 { font-size: 35px; } .custom-section-container.titlecontainer { font-size: 22px; width: 85%; margin: 40px auto !important; } } @media screen and (max-width: 700px) { .mostpopular, #newest-perks-container { width: 85%; margin: 0 auto !important; } .rw_searchsimple_module { width: 80%; } #myCards-passportproperks, #myCards-popularperks, #categories, #myCards-newestperks { justify-content: center !important; align-items: center !important; margin: 0 auto !important; } } </style> box-shadow: 0px 15px 0 var(--secondary-color), 0px -15px 0 var(--secondary-color), -2px 3px 10px 0 rgb(0 0 0 / 16%), 2px -3px 10px 0 rgb(0 0 0 / 16%); } .rw_search_item.rw_formatting_item .rw_search_module_container>div .rw_search_item { width: max-content; } .rw_search_item.rw_formatting_item .rw_search_module_container>div .rw_search_item .rw_search_icon { left: 0px; } .rw_searchsimple_module { margin: 30px auto; margin-bottom: 60px; width: 85%; } .rw_cell.rw_search_module_container { margin-left: 0px; } /* MOBILE STYLING */ @media screen and (max-width: 930px) { .main-header-container h1 { font-size: 35px; } .custom-section-container.titlecontainer { font-size: 22px; width: 85%; margin: 40px auto !important; } .profilecard.custom-card-container { margin: 0 0 20px 0 !important; width: 100% !important; } } @media screen and (max-width: 700px) { .mostpopular, #newest-perks-container { width: 85%; margin: 0 auto !important; } .rw_searchsimple_module { width: 80%; } #myCards-passportproperks, #myCards-popularperks, #categories, #myCards-newestperks { justify-content: center !important; align-items: center !important; margin: 0 auto !important; } } </style> <script> /* console.log("this is running"); var data = await jQuery.ajax({ url: "/rest/scriptrunner/latest/custom/searchJiraTicketsPaginated", headers: { 'X-Atlassian-Token' : 'nocheck', 'Content-type' : 'application/json' }, type: "POST", dataType: 'json', data: JSON.stringify({ "jql": "project = PGH AND status = Submitted AND resolution = Unresolved AND cf[10634] ~ 'approved' ORDER BY priority DESC, updated DESC", "startAt": 0, "maxResults": 4 }) }).then(res => res); for(let i = 0; i < data.issues.length; i++){ console.log("found..."); let title = data.issues[i]['fields']['customfield_10108']; let summary = data.issues[i]['fields']['customfield_10226']; container.innerHTML = container.innerHTML + `<div class='startup-card'> <div class='startup-card-title'>`+title+`</div> <div class='startup-card-summary'>`+summary+`</div> </div>`; } */ </script> |
OneValley