Skip to content

Merge Testnet into Main Branch #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions public/themes/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ justify-content-end {
z-index: 9999; /* Adjust this value to be higher than the modal's z-index */
max-width: 200px; /* Optional: Adjust max width of the tooltip */
}

.p-dialog-mask {
z-index: 1101 !important;
}
58 changes: 39 additions & 19 deletions src/views/PKI/PKI.vue
Original file line number Diff line number Diff line change
Expand Up @@ -503,36 +503,36 @@ export default {
<Button @click="showCertificateDialog('propose-root')"
:disabled="!isSignedIn"
icon="pi pi-plus-circle"
label="Propose Root Cert"
label="Propose Attestation Root CA"
class="mr-3 p-button-primary"
v-tooltip.top="'Propose a new root certificate'"
v-tooltip.top="'Propose a new Attestation Root CA'"
/>
<Button @click="showCertificateDialog('add-leaf')"
:disabled="!isSignedIn"
icon="pi pi-file"
label="Add Leaf Cert"
label="Add Attestation Leaf Certificate"
class="mr-3 p-button-primary"
v-tooltip.top="'Add a new leaf certificate'"
v-tooltip.top="'Add a New Attestation Leaf Certificate'"
/>
<Button @click="showCertificateDialog('add-noc-root')"
:disabled="!isSignedIn"
icon="pi pi-sitemap"
label="Add NOC Root Cert"
label="Add NOC Root CA (RCAC)"
class="mr-3 p-button-primary"
v-tooltip.top="'Add a new NOC root certificate'"
v-tooltip.top="'Add a new NOC Root CA (RCAC)'"
/>
<Button @click="showCertificateDialog('add-noc-ica')"
:disabled="!isSignedIn"
icon="pi pi-server"
label="Add NOC ICA Cert"
label="Add NOC Intermediate CA (ICAC)"
class="p-button-primary"
v-tooltip.top="'Add a new NOC ICA certificate'"
v-tooltip.top="'Add a new NOC Intermediate CA (ICAC)'"
/>
</div>
<ConfirmDialog></ConfirmDialog>
<Message :closable="false" v-if="error" severity="error">{{ errorMessage() }}</Message>
<TabView>
<TabPanel header="All Approved Certificates">
<TabView :scrollable="true">
<TabPanel header="All Attestation Certificates">
<DataTable responsiveLayout="stack" :value="allApprovedRootCertificates" :auto-layout="true" :paginator="true" :rows="10"
v-model:filters="filters" v-model:expandedRows="expandedRows" filterDisplay="row" showGridlines :tableStyle="{ minWidth: '50rem' }"
stripedRows>
Expand All @@ -551,7 +551,11 @@ export default {
<Column field="vid" header="Vendor ID" :sortable="true" />
<Column field="certificateType" header="Certificate Type" :sortable="true" />
<Column field="subjectAsText" header="Subject" :sortable="true" />
<Column field="subjectKeyId" header="Subject Key ID"></Column>
<Column field="subjectKeyId" header="Subject Key ID">
<template #body="slotProps">
<span style="word-break: break-all;">{{slotProps.data.subjectKeyId}}</span>
</template>
</Column>
<Column field="approvals" header="Approvals">
<template #body="row">
<ol>
Expand Down Expand Up @@ -606,7 +610,7 @@ export default {
</DataTable>
</TabPanel>

<TabPanel header="All Noc Certificates">
<TabPanel header="All NOC Certificates">
<DataTable responsiveLayout="stack" :value="allNocRootCertificates" :auto-layout="true" :paginator="true" :rows="10"
v-model:filters="filters" v-model:expandedRows="expandedRows" filterDisplay="row" showGridlines :tableStyle="{ minWidth: '50rem' }"
stripedRows>
Expand All @@ -625,7 +629,11 @@ export default {
<Column field="vid" header="Vendor ID" :sortable="true" />
<Column field="certificateType" header="Certificate Type" :sortable="true" />
<Column field="subjectAsText" header="Subject" :sortable="true" />
<Column field="subjectKeyId" header="Subject Key ID"></Column>
<Column field="subjectKeyId" header="Subject Key ID">
<template #body="slotProps">
<span style="word-break: break-all;">{{slotProps.data.subjectKeyId}}</span>
</template>
</Column>
<Column field="approvals" header="Approvals">
<template #body="row">
<ol>
Expand Down Expand Up @@ -719,7 +727,7 @@ export default {
</DataTable>
</TabPanel>

<TabPanel header="All Proposed Certificates">
<TabPanel header="All Proposed Attestation Certificates">
<DataTable :value="allProposedCertificates" :auto-layout="true" :paginator="true" :rows="10"
v-model:filters="filters" filterDisplay="row" showGridlines stripedRows>
<template #header>
Expand All @@ -735,7 +743,11 @@ export default {

<Column field="subjectAsText" header="Subject" :sortable="true"></Column>

<Column field="subjectKeyId" header="Subject Key ID" :sortable="true"></Column>
<Column field="subjectKeyId" header="Subject Key ID">
<template #body="slotProps">
<span style="word-break: break-all;">{{slotProps.data.subjectKeyId}}</span>
</template>
</Column>
<Column field="approvals" header="Approvals">
<template #body="row">
<ol>
Expand Down Expand Up @@ -778,7 +790,7 @@ export default {
</DataTable>
</TabPanel>

<TabPanel header="All Proposed Revoked Certificates">
<TabPanel header="All Proposed Revoked Attestation Certificates">
<DataTable :value="allProposedCertificateRevocation" :auto-layout="true" :paginator="true" :rows="10"
v-model:filters="filters" filterDisplay="row" showGridlines stripedRows>
<template #header>
Expand All @@ -792,7 +804,11 @@ export default {
</div>
</template>
<Column field="subjectAsText" header="Subject" :sortable="true" />
<Column field="subjectKeyId" header="Subject Key ID" :sortable="true"></Column>
<Column field="subjectKeyId" header="Subject Key ID">
<template #body="slotProps">
<span style="word-break: break-all;">{{slotProps.data.subjectKeyId}}</span>
</template>
</Column>
<Column field="approvals" header="Revokes">
<template #body="row">
<ol>
Expand All @@ -815,7 +831,7 @@ export default {
</DataTable>
</TabPanel>

<TabPanel header="All Revoked Certificates">
<TabPanel header="All Revoked Attestation Certificates">
<DataTable :value="allRevokedCertificates" :auto-layout="true" :paginator="true" :rows="10"
v-model:filters="filters" filterDisplay="row" showGridlines stripedRows>
<template #header>
Expand All @@ -829,7 +845,11 @@ export default {
</div>
</template>
<Column class="subject" field="subjectAsText" header="Subject" :sortable="true"></Column>
<Column field="subjectKeyId" header="Subject Key ID" :sortable="true"></Column>
<Column field="subjectKeyId" header="Subject Key ID">
<template #body="slotProps">
<span style="word-break: break-all;">{{slotProps.data.subjectKeyId}}</span>
</template>
</Column>
<Column field="approvals" header="Revokes">
<template #body="row">
<ol>
Expand Down