cartodb-4.42/lib/assets/javascripts/dashboard/views/api-keys/api-keys-list-item-regular.tpl
2024-04-06 05:25:13 +00:00

27 lines
923 B
Smarty

<section>
<h4 class="CDB-Text CDB-Size-medium is-semibold u-flex u-alignCenter u-actionTextColor">
<button class="js-edit"><%- name %></button>
<% apiGrants.forEach(function (apiGrant) { %>
<span class="CDB-Tag CDB-Text is-gray is-semibold CDB-Size-small u-iBlock u-lSpace--xl u-upperCase">
<%- apiGrant %>
</span>
<% }) %>
</h4>
<p class="CDB-Text CDB-Size-medium u-secondaryTextColor u-tSpace--m u-flex u-alignCenter">
<span class="js-token"><%- token %></span>
<button class="js-copy">
<i class="CDB-IconFont CDB-IconFont-anchor u-hintTextColor CDB-Size-large u-lSpace--xl"></i>
</button>
</p>
</section>
<ul class="u-flex">
<li>
<button class="CDB-Text CDB-Size-medium u-actionTextColor u-rSpace--m js-regenerate">Regenerate</button>
</li>
<li>
<button class="CDB-Text CDB-Size-medium u-errorTextColor js-delete">Delete</button>
</li>
</ul>