Skip to content

Commit

Permalink
Cosmetic improvments
Browse files Browse the repository at this point in the history
  • Loading branch information
sebt3 committed Jan 21, 2024
1 parent 8adfb5a commit d08c2ad
Show file tree
Hide file tree
Showing 74 changed files with 436 additions and 481 deletions.
10 changes: 5 additions & 5 deletions front/components/fluxcd/AlertView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import MetadataView from '../core/MetadataView.vue';
import OpenApiEdit from '../core/OpenApiEdit.vue';
import DefaultStatusView from '../core/DefaultStatusView.vue';
import MonacoViewer from '../core/MonacoViewer.vue';
import { ref, useQuery, useMutation, useAlert, getProperties } from './Alert.js'
import { useQuery, useMutation, useAlert, getProperties } from './Alert.js'
const { viewer, viewerUpdate, onErrorHandler, notifySuccess, notifyError, onNotAlertFound, navigation, setNamespacedItemFromRoute, toEdit, actionDelete } = useAlert();setNamespacedItemFromRoute();
const { result, loading, onResult, onError } = useQuery(fluxcdAlertQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotAlertFound(res);viewerUpdate(res, res.data.fluxcdAlert.metadata.obj)});
const { result, loading, onResult, onError } = useQuery(fluxcdAlertQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotAlertFound(res);viewerUpdate(res, res.loading?{}:res.data.fluxcdAlert.metadata.obj)});
const { mutate: deletor, onDone: onDeleteDone, onError: onDeleteError } = useMutation(alertDelete);
onDeleteDone(() => {
notifySuccess('Deletion proceded');
Expand All @@ -21,8 +21,8 @@ onDeleteError((err) => {
<div class="row q-mb-sm q-ml-sm">
<div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdAlert!=undefined && result.fluxcdAlert!=null" class="q-ma-sm">
<q-card-section>
<div class="text-h6 text-grey-8 q-mt-none q-mb-none q-pt-none q-pb-none">Alert
<q-card-section class="bg-primary text-grey-4">
<div class="text-h6 q-mt-none q-mb-none q-pt-none q-pb-none">Alert
<q-btn-group push class="float-right text-capitalize shadow-3">
<q-btn icon="edit" @click="toEdit(result.fluxcdAlert.metadata.namespace, result.fluxcdAlert.metadata.name)">
<q-tooltip>Edit</q-tooltip>
Expand All @@ -47,7 +47,7 @@ onDeleteError((err) => {
</q-card>
</div><div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdAlert!=undefined && result.fluxcdAlert!=null" class="q-ma-sm">
<q-tabs v-model="viewer.tab" class="bg-primary text-white">
<q-tabs v-model="viewer.tab" class="bg-primary text-grey-4" active-color="white">
<q-tab label="Options" name="simple" />
<q-tab label="Specifications" name="spec" />
<q-tab label="full Yaml" name="yaml" />
Expand Down
10 changes: 5 additions & 5 deletions front/components/fluxcd/BucketView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import MetadataView from '../core/MetadataView.vue';
import OpenApiEdit from '../core/OpenApiEdit.vue';
import DefaultStatusView from '../core/DefaultStatusView.vue';
import MonacoViewer from '../core/MonacoViewer.vue';
import { ref, useQuery, useMutation, useBucket, getProperties } from './Bucket.js'
import { useQuery, useMutation, useBucket, getProperties } from './Bucket.js'
const { viewer, viewerUpdate, onErrorHandler, notifySuccess, notifyError, onNotBucketFound, navigation, setNamespacedItemFromRoute, toEdit, actionDelete } = useBucket();setNamespacedItemFromRoute();
const { result, loading, onResult, onError } = useQuery(fluxcdBucketQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotBucketFound(res);viewerUpdate(res, res.data.fluxcdBucket.metadata.obj)});
const { result, loading, onResult, onError } = useQuery(fluxcdBucketQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotBucketFound(res);viewerUpdate(res, res.loading?{}:res.data.fluxcdBucket.metadata.obj)});
const { mutate: deletor, onDone: onDeleteDone, onError: onDeleteError } = useMutation(bucketDelete);
onDeleteDone(() => {
notifySuccess('Deletion proceded');
Expand All @@ -21,8 +21,8 @@ onDeleteError((err) => {
<div class="row q-mb-sm q-ml-sm">
<div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdBucket!=undefined && result.fluxcdBucket!=null" class="q-ma-sm">
<q-card-section>
<div class="text-h6 text-grey-8 q-mt-none q-mb-none q-pt-none q-pb-none">Bucket
<q-card-section class="bg-primary text-grey-4">
<div class="text-h6 q-mt-none q-mb-none q-pt-none q-pb-none">Bucket
<q-btn-group push class="float-right text-capitalize shadow-3">
<q-btn icon="edit" @click="toEdit(result.fluxcdBucket.metadata.namespace, result.fluxcdBucket.metadata.name)">
<q-tooltip>Edit</q-tooltip>
Expand All @@ -47,7 +47,7 @@ onDeleteError((err) => {
</q-card>
</div><div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdBucket!=undefined && result.fluxcdBucket!=null" class="q-ma-sm">
<q-tabs v-model="viewer.tab" class="bg-primary text-white">
<q-tabs v-model="viewer.tab" class="bg-primary text-grey-4" active-color="white">
<q-tab label="Options" name="simple" />
<q-tab label="Specifications" name="spec" />
<q-tab label="full Yaml" name="yaml" />
Expand Down
10 changes: 5 additions & 5 deletions front/components/fluxcd/GitRepositoryView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import MetadataView from '../core/MetadataView.vue';
import OpenApiEdit from '../core/OpenApiEdit.vue';
import DefaultStatusView from '../core/DefaultStatusView.vue';
import MonacoViewer from '../core/MonacoViewer.vue';
import { ref, useQuery, useMutation, useGitRepository, getProperties } from './GitRepository.js'
import { useQuery, useMutation, useGitRepository, getProperties } from './GitRepository.js'
const { viewer, viewerUpdate, onErrorHandler, notifySuccess, notifyError, onNotGitRepositoryFound, navigation, setNamespacedItemFromRoute, toEdit, actionDelete } = useGitRepository();setNamespacedItemFromRoute();
const { result, loading, onResult, onError } = useQuery(fluxcdGitRepositoryQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotGitRepositoryFound(res);viewerUpdate(res, res.data.fluxcdGitRepository.metadata.obj)});
const { result, loading, onResult, onError } = useQuery(fluxcdGitRepositoryQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotGitRepositoryFound(res);viewerUpdate(res, res.loading?{}:res.data.fluxcdGitRepository.metadata.obj)});
const { mutate: deletor, onDone: onDeleteDone, onError: onDeleteError } = useMutation(gitRepositoryDelete);
onDeleteDone(() => {
notifySuccess('Deletion proceded');
Expand All @@ -21,8 +21,8 @@ onDeleteError((err) => {
<div class="row q-mb-sm q-ml-sm">
<div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdGitRepository!=undefined && result.fluxcdGitRepository!=null" class="q-ma-sm">
<q-card-section>
<div class="text-h6 text-grey-8 q-mt-none q-mb-none q-pt-none q-pb-none">GitRepository
<q-card-section class="bg-primary text-grey-4">
<div class="text-h6 q-mt-none q-mb-none q-pt-none q-pb-none">GitRepository
<q-btn-group push class="float-right text-capitalize shadow-3">
<q-btn icon="edit" @click="toEdit(result.fluxcdGitRepository.metadata.namespace, result.fluxcdGitRepository.metadata.name)">
<q-tooltip>Edit</q-tooltip>
Expand All @@ -47,7 +47,7 @@ onDeleteError((err) => {
</q-card>
</div><div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdGitRepository!=undefined && result.fluxcdGitRepository!=null" class="q-ma-sm">
<q-tabs v-model="viewer.tab" class="bg-primary text-white">
<q-tabs v-model="viewer.tab" class="bg-primary text-grey-4" active-color="white">
<q-tab label="Options" name="simple" />
<q-tab label="Specifications" name="spec" />
<q-tab label="full Yaml" name="yaml" />
Expand Down
10 changes: 5 additions & 5 deletions front/components/fluxcd/HelmChartView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import MetadataView from '../core/MetadataView.vue';
import OpenApiEdit from '../core/OpenApiEdit.vue';
import DefaultStatusView from '../core/DefaultStatusView.vue';
import MonacoViewer from '../core/MonacoViewer.vue';
import { ref, useQuery, useMutation, useHelmChart, getProperties } from './HelmChart.js'
import { useQuery, useMutation, useHelmChart, getProperties } from './HelmChart.js'
const { viewer, viewerUpdate, onErrorHandler, notifySuccess, notifyError, onNotHelmChartFound, navigation, setNamespacedItemFromRoute, toEdit, actionDelete } = useHelmChart();setNamespacedItemFromRoute();
const { result, loading, onResult, onError } = useQuery(fluxcdHelmChartQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotHelmChartFound(res);viewerUpdate(res, res.data.fluxcdHelmChart.metadata.obj)});
const { result, loading, onResult, onError } = useQuery(fluxcdHelmChartQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotHelmChartFound(res);viewerUpdate(res, res.loading?{}:res.data.fluxcdHelmChart.metadata.obj)});
const { mutate: deletor, onDone: onDeleteDone, onError: onDeleteError } = useMutation(helmChartDelete);
onDeleteDone(() => {
notifySuccess('Deletion proceded');
Expand All @@ -21,8 +21,8 @@ onDeleteError((err) => {
<div class="row q-mb-sm q-ml-sm">
<div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdHelmChart!=undefined && result.fluxcdHelmChart!=null" class="q-ma-sm">
<q-card-section>
<div class="text-h6 text-grey-8 q-mt-none q-mb-none q-pt-none q-pb-none">HelmChart
<q-card-section class="bg-primary text-grey-4">
<div class="text-h6 q-mt-none q-mb-none q-pt-none q-pb-none">HelmChart
<q-btn-group push class="float-right text-capitalize shadow-3">
<q-btn icon="edit" @click="toEdit(result.fluxcdHelmChart.metadata.namespace, result.fluxcdHelmChart.metadata.name)">
<q-tooltip>Edit</q-tooltip>
Expand All @@ -47,7 +47,7 @@ onDeleteError((err) => {
</q-card>
</div><div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdHelmChart!=undefined && result.fluxcdHelmChart!=null" class="q-ma-sm">
<q-tabs v-model="viewer.tab" class="bg-primary text-white">
<q-tabs v-model="viewer.tab" class="bg-primary text-grey-4" active-color="white">
<q-tab label="Options" name="simple" />
<q-tab label="Specifications" name="spec" />
<q-tab label="full Yaml" name="yaml" />
Expand Down
10 changes: 5 additions & 5 deletions front/components/fluxcd/HelmReleaseView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import MetadataView from '../core/MetadataView.vue';
import OpenApiEdit from '../core/OpenApiEdit.vue';
import DefaultStatusView from '../core/DefaultStatusView.vue';
import MonacoViewer from '../core/MonacoViewer.vue';
import { ref, useQuery, useMutation, useHelmRelease, getProperties } from './HelmRelease.js'
import { useQuery, useMutation, useHelmRelease, getProperties } from './HelmRelease.js'
const { viewer, viewerUpdate, onErrorHandler, notifySuccess, notifyError, onNotHelmReleaseFound, navigation, setNamespacedItemFromRoute, toEdit, actionDelete } = useHelmRelease();setNamespacedItemFromRoute();
const { result, loading, onResult, onError } = useQuery(fluxcdHelmReleaseQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotHelmReleaseFound(res);viewerUpdate(res, res.data.fluxcdHelmRelease.metadata.obj)});
const { result, loading, onResult, onError } = useQuery(fluxcdHelmReleaseQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotHelmReleaseFound(res);viewerUpdate(res, res.loading?{}:res.data.fluxcdHelmRelease.metadata.obj)});
const { mutate: deletor, onDone: onDeleteDone, onError: onDeleteError } = useMutation(helmReleaseDelete);
onDeleteDone(() => {
notifySuccess('Deletion proceded');
Expand All @@ -21,8 +21,8 @@ onDeleteError((err) => {
<div class="row q-mb-sm q-ml-sm">
<div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdHelmRelease!=undefined && result.fluxcdHelmRelease!=null" class="q-ma-sm">
<q-card-section>
<div class="text-h6 text-grey-8 q-mt-none q-mb-none q-pt-none q-pb-none">HelmRelease
<q-card-section class="bg-primary text-grey-4">
<div class="text-h6 q-mt-none q-mb-none q-pt-none q-pb-none">HelmRelease
<q-btn-group push class="float-right text-capitalize shadow-3">
<q-btn icon="edit" @click="toEdit(result.fluxcdHelmRelease.metadata.namespace, result.fluxcdHelmRelease.metadata.name)">
<q-tooltip>Edit</q-tooltip>
Expand All @@ -47,7 +47,7 @@ onDeleteError((err) => {
</q-card>
</div><div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdHelmRelease!=undefined && result.fluxcdHelmRelease!=null" class="q-ma-sm">
<q-tabs v-model="viewer.tab" class="bg-primary text-white">
<q-tabs v-model="viewer.tab" class="bg-primary text-grey-4" active-color="white">
<q-tab label="Options" name="simple" />
<q-tab label="Specifications" name="spec" />
<q-tab label="full Yaml" name="yaml" />
Expand Down
10 changes: 5 additions & 5 deletions front/components/fluxcd/HelmRepositoryView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import MetadataView from '../core/MetadataView.vue';
import OpenApiEdit from '../core/OpenApiEdit.vue';
import DefaultStatusView from '../core/DefaultStatusView.vue';
import MonacoViewer from '../core/MonacoViewer.vue';
import { ref, useQuery, useMutation, useHelmRepository, getProperties } from './HelmRepository.js'
import { useQuery, useMutation, useHelmRepository, getProperties } from './HelmRepository.js'
const { viewer, viewerUpdate, onErrorHandler, notifySuccess, notifyError, onNotHelmRepositoryFound, navigation, setNamespacedItemFromRoute, toEdit, actionDelete } = useHelmRepository();setNamespacedItemFromRoute();
const { result, loading, onResult, onError } = useQuery(fluxcdHelmRepositoryQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotHelmRepositoryFound(res);viewerUpdate(res, res.data.fluxcdHelmRepository.metadata.obj)});
const { result, loading, onResult, onError } = useQuery(fluxcdHelmRepositoryQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotHelmRepositoryFound(res);viewerUpdate(res, res.loading?{}:res.data.fluxcdHelmRepository.metadata.obj)});
const { mutate: deletor, onDone: onDeleteDone, onError: onDeleteError } = useMutation(helmRepositoryDelete);
onDeleteDone(() => {
notifySuccess('Deletion proceded');
Expand All @@ -21,8 +21,8 @@ onDeleteError((err) => {
<div class="row q-mb-sm q-ml-sm">
<div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdHelmRepository!=undefined && result.fluxcdHelmRepository!=null" class="q-ma-sm">
<q-card-section>
<div class="text-h6 text-grey-8 q-mt-none q-mb-none q-pt-none q-pb-none">HelmRepository
<q-card-section class="bg-primary text-grey-4">
<div class="text-h6 q-mt-none q-mb-none q-pt-none q-pb-none">HelmRepository
<q-btn-group push class="float-right text-capitalize shadow-3">
<q-btn icon="edit" @click="toEdit(result.fluxcdHelmRepository.metadata.namespace, result.fluxcdHelmRepository.metadata.name)">
<q-tooltip>Edit</q-tooltip>
Expand All @@ -47,7 +47,7 @@ onDeleteError((err) => {
</q-card>
</div><div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdHelmRepository!=undefined && result.fluxcdHelmRepository!=null" class="q-ma-sm">
<q-tabs v-model="viewer.tab" class="bg-primary text-white">
<q-tabs v-model="viewer.tab" class="bg-primary text-grey-4" active-color="white">
<q-tab label="Options" name="simple" />
<q-tab label="Specifications" name="spec" />
<q-tab label="full Yaml" name="yaml" />
Expand Down
10 changes: 5 additions & 5 deletions front/components/fluxcd/ImagePolicyView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import MetadataView from '../core/MetadataView.vue';
import OpenApiEdit from '../core/OpenApiEdit.vue';
import DefaultStatusView from '../core/DefaultStatusView.vue';
import MonacoViewer from '../core/MonacoViewer.vue';
import { ref, useQuery, useMutation, useImagePolicy, getProperties } from './ImagePolicy.js'
import { useQuery, useMutation, useImagePolicy, getProperties } from './ImagePolicy.js'
const { viewer, viewerUpdate, onErrorHandler, notifySuccess, notifyError, onNotImagePolicyFound, navigation, setNamespacedItemFromRoute, toEdit, actionDelete } = useImagePolicy();setNamespacedItemFromRoute();
const { result, loading, onResult, onError } = useQuery(fluxcdImagePolicyQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotImagePolicyFound(res);viewerUpdate(res, res.data.fluxcdImagePolicy.metadata.obj)});
const { result, loading, onResult, onError } = useQuery(fluxcdImagePolicyQuery, {"namespace": navigation.currentNamespace, "name": navigation.currentItem }, { pollInterval: 500 });onError(onErrorHandler); onResult(res => {onNotImagePolicyFound(res);viewerUpdate(res, res.loading?{}:res.data.fluxcdImagePolicy.metadata.obj)});
const { mutate: deletor, onDone: onDeleteDone, onError: onDeleteError } = useMutation(imagePolicyDelete);
onDeleteDone(() => {
notifySuccess('Deletion proceded');
Expand All @@ -21,8 +21,8 @@ onDeleteError((err) => {
<div class="row q-mb-sm q-ml-sm">
<div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdImagePolicy!=undefined && result.fluxcdImagePolicy!=null" class="q-ma-sm">
<q-card-section>
<div class="text-h6 text-grey-8 q-mt-none q-mb-none q-pt-none q-pb-none">ImagePolicy
<q-card-section class="bg-primary text-grey-4">
<div class="text-h6 q-mt-none q-mb-none q-pt-none q-pb-none">ImagePolicy
<q-btn-group push class="float-right text-capitalize shadow-3">
<q-btn icon="edit" @click="toEdit(result.fluxcdImagePolicy.metadata.namespace, result.fluxcdImagePolicy.metadata.name)">
<q-tooltip>Edit</q-tooltip>
Expand All @@ -47,7 +47,7 @@ onDeleteError((err) => {
</q-card>
</div><div class="col-md-6">
<q-card bordered v-if="!loading && result!=undefined && result.fluxcdImagePolicy!=undefined && result.fluxcdImagePolicy!=null" class="q-ma-sm">
<q-tabs v-model="viewer.tab" class="bg-primary text-white">
<q-tabs v-model="viewer.tab" class="bg-primary text-grey-4" active-color="white">
<q-tab label="Options" name="simple" />
<q-tab label="Specifications" name="spec" />
<q-tab label="full Yaml" name="yaml" />
Expand Down
Loading

0 comments on commit d08c2ad

Please sign in to comment.