mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-08-13 22:22:59 +02:00
feat: move tag management to new job view header
This commit is contained in:
@@ -233,7 +233,7 @@
|
||||
</script>
|
||||
|
||||
<Row class="mb-0 mb-xxl-2">
|
||||
<!-- Column 1: Job Info, Concurrent Jobs, Admin Message if found-->
|
||||
<!-- Column 1: Job Info, Job Tags, Concurrent Jobs, Admin Message if found-->
|
||||
<Col xs={12} md={6} xl={3} class="mb-3 mb-xxl-0">
|
||||
{#if $initq.error}
|
||||
<Card body color="danger">{$initq.error.message}</Card>
|
||||
@@ -245,6 +245,11 @@
|
||||
<JobInfo job={$initq.data.job} {jobTags} />
|
||||
</CardBody>
|
||||
</TabPane>
|
||||
<TabPane tabId="job-tags" tab="Job Tags">
|
||||
<CardBody>
|
||||
<TagManagement job={$initq.data.job} {username} {authlevel} {roles} bind:jobTags renderModal={false}/>
|
||||
</CardBody>
|
||||
</TabPane>
|
||||
{#if $initq.data.job.concurrentJobs != null && $initq.data.job.concurrentJobs.items.length != 0}
|
||||
<TabPane tabId="shared-jobs">
|
||||
<span slot="tab">
|
||||
@@ -321,15 +326,10 @@
|
||||
<hr/>
|
||||
|
||||
<Row class="mb-2">
|
||||
<Col xs="auto">
|
||||
{#if $initq.data}
|
||||
<TagManagement job={$initq.data.job} {username} {authlevel} {roles} bind:jobTags />
|
||||
{/if}
|
||||
</Col>
|
||||
<Col xs="auto">
|
||||
{#if $initq.data}
|
||||
<Button outline on:click={() => (isMetricsSelectionOpen = true)}>
|
||||
<Icon name="graph-up" /> Metrics
|
||||
<Icon name="graph-up" /> Select Metrics
|
||||
</Button>
|
||||
{/if}
|
||||
</Col>
|
||||
|
Reference in New Issue
Block a user