Created
December 17, 2021 10:52
-
-
Save ktskumar/20097983b194bc6ba73fa15677651a3b to your computer and use it in GitHub Desktop.
HTML snippet for render groups in a responsive table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mgt-get resource="/groups" version="v1.0" scopes="group.read" max-pages="2"> | |
<template> | |
<div class="get-wrapper"> | |
<div class="table"> | |
<div class="row header"> | |
<div class="cell"> | |
Name | |
</div> | |
<div class="cell"> | |
</div> | |
<div class="cell"> | |
Privacy | |
</div> | |
<div class="cell" style="text-align:right"> | |
Created On | |
</div> | |
</div> | |
<div class="row" data-for="grp in value"> | |
<div class="cell" data-title="Name"> | |
{{grp.displayName}} | |
</div> | |
<div class="cell" data-title="Email"> | |
{{grp.mail}} | |
</div> | |
<div class="cell" data-title="Privacy"> | |
{{grp.visibility}} | |
</div> | |
<div class="cell" data-title="CreatedOn" style="text-align:right"> | |
{{grp.createdDateTime}} | |
</div> | |
</div> | |
</div> | |
</div> | |
</template> | |
<template data-type="loading"> | |
loading | |
</template> | |
<template data-type="error"> | |
{{ this }} | |
</template> | |
</mgt-get> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment