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.

...

HTML
<style>
button#deactivate-this {
    background: #dbecf1;
    color: black;
    font-weight: 700;
}

.profileBtnContainer {
    justify-content: flex-end;
    align-items: center;
}

button#go-to-profile {
    border-radius: 3px;
    border: unset;
    background: #fbbd28;
    height: 50px;
    padding: 0 20px;
    cursor: pointer;
}


button#go-to-profile:focus {
   outline: none;
}

@media only screen and (max-width: 600px) {
	.customCompaniesNumSeats {
    	margin-left: 0px !important;
	}
}

@media only screen and (max-width: 600px) {
	.companiesCustomSection {
		flex-direction: row !important;
		padding: 30px 0px !important;
	}
}
@media only screen and (max-width: 550px) {
	.dash-button-container {
		flex-wrap: wrap;
	}
	.back-to-dash-container {
		justify-content: center;
	}
	.deactivate-container {
		justify-content: center !important;
	}
	.title-container {
		justify-content: center;
	}
	.customCompaniesNumSeats {
		justify-content: center;
	}
}
</style>


HTML
<script>
let queryParams = new URLSearchParams(window.location.search);
let queryCompanyName = queryParams.get('company_name');
</script>

Refresh when dirty
UniqueIdentifierlistmembersrefreshoncompany
FunctionsToInvokegetCards('refresh', 'myCards-currentcompanycontainer');resetAdminNumSeatsusercontainer();

Show If
groupcompany-adminashk-admins, confluence-administrators


Custom section
CustomCSSpadding:30px; width: 80%; margin: 140px auto 40px auto; position: relative; box-shadow: 0 5px 20px 2px rgba(0,0,0,.3); border-radius: 10px !important; flex-wrap: wrap;
ClasscompaniesCustomSection


Custom section
CustomCSSmargin: 0px 30px;
Classdash-button-container


Custom section
Classback-to-dash-container

Custom button
CustomCSSborder: none; width: 135px; height: 35.5px; border-radius: 20px; font-family: Avenir-Roman; background-color: #2b4c7c; font-size: 15px; letter-spacing: -1px; color: #ffffff; margin: 10px; outline: none;
Typecustom-button
ButtonClassdashboardbutton
TextBack
Url/display/ASHKAD


Custom section
CustomCSSjustify-content: flex-end;
Classdeactivate-container

Admin remove
UniqueIdentifierremovecurrentcompany
Instanceashk
DeactivateButtontrue
FormTyperemovecompanyremoveUserScriptrunner
CupFieldcup.field-26





Custom section
CustomCSSmargin-left: 30px;
Classtitle-container

Admin dynamic title
Typecompany
UniqueIdentifiercompanytitle
TitleSrcurl:company_name
TitleSuffixTeam


Custom section
CustomCSSmargin: 0px 0px 30px 30px;
ClasscustomCompaniesNumSeats

 

Admin add
AddToQueryVariableGrouptrue
UniqueIdentifieraddUserForCompany
Instance

PROD_PASSPORT

ashk
Groupsashk-users,ashk-grantees
RefreshUserCardsUniqueIdentifierlistmembersrefreshoncompany
FormType

addUser

addUserScriptrunner
CupFieldcup.field-15
Admin num seats
ParentCompanycup.field-26
SeatsTotalcup.field-15
UniqueIdentifierusercontainer
SeatsAppendusers
SeatsUsedcurrent-users
CurrentCompanyURL
Seatstrue

Custom section
ClassprofileBtnContainer


HTML
<button id="go-to-profile" > Company Profile </button>




Admin list members
ButtonIconhttps://passport-media.s3-us-west-1.amazonaws.com/images/adminPanelTrashCan.png
GroupName[cup.field-26]url
Typenameandsubtitle
UniqueIdentifiercurrentcompanycontainer
Buttontrue
PreviousButtonTextPrevious
ButtonActionfunction:openRemoveModalremoveuserfromcompany(`removeuserfromcompany`, event, this);
Limit15
Link/display/ADASHKAD/Founders+Useruser?username=*username*
NextButtonTextNext
Paginatetrue


Admin remove
UniqueIdentifierremoveuserfromcompany
Instanceashk
RefreshUserCardsUniqueIdentifierlistmembersrefreshoncompany
FormTyperemoveuserremoveUserScriptrunner
CupFieldcup.field-26

HTML
<script>
// go to edit profile page
$('#go-to-profile').click(function() {
	window.location.href = `/display/AN/ORG+Page?username=${queryCompanyName}`
});

</script>