b004a24cdf
* add placeholder for Key actions tab * navigate to key items by default * add placeholder key actions list page * remove extra whitespace from component blueprint * add SelectableCard * move key actions from side nav to top nav * make tabs active * remove toolbar from key actions pages * add divs to link to each key action on key actions page * move preview-head to gitignore * use selectable card css * remove key actions * use css grid * update selectable card styling * update Key Actions page header * make cards clickable * refactor supportedActions to include glyph * make header black on hover * rename selectable-card transit card and update styling * add description and glyph for other key types * use human readable titles for key action names * update tests; still need to fix failing ones * use datakey instead of data-key * fix some failing tests * fix more tests * remove extra chevron from rotate button * remove whitespace * remove pauseTest * use rename export to export key in the template instead of the model * fix last few failing tests * WIP * link to key actions page by default * test for transit action title * only add query params when viewing a transit secret * update structure icons * add missing structure icons * resolve merge conflicts from rebase * use filter and map for supported actions * only add query params for transit secrets
21 lines
823 B
Handlebars
21 lines
823 B
Handlebars
{{!-- conditional to check if SelectableCard is apart of a CSS Grid, if yes return grid item class --}}
|
|
{{#if gridContainer}}
|
|
<div class="selectable-card is-rounded is-grid-container">
|
|
<div class="selectable-card-title">
|
|
<h2 class="title-number">{{format-number total}}</h2>
|
|
<h3 class="title is-5" data-test-selectable-card-title={{formattedCardTitle}}>{{formattedCardTitle}}</h3>
|
|
<p class="has-text-grey is-size-8">{{subText}}</p>
|
|
</div>
|
|
{{yield}}
|
|
</div>
|
|
{{else}}
|
|
<div class="selectable-card is-rounded">
|
|
<div>
|
|
<h2 class="title-number">{{format-number total}}</h2>
|
|
<h3 class="title is-5" data-test-selectable-card-title={{formattedCardTitle}}>{{formattedCardTitle}}</h3>
|
|
<p class="has-text-grey is-size-8">{{subText}}</p>
|
|
</div>
|
|
{{yield}}
|
|
</div>
|
|
{{/if}}
|