Skip to content
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

Unify style in all action buttons #1110

Merged
merged 2 commits into from
Sep 14, 2023
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
2 changes: 2 additions & 0 deletions packages/playground/src/plugins/vuetify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const vuetify = createVuetify({
info: "#7de3c8",
warning: "#FFCC00",
link: "#5695ff",
anchor: "#ffffff",
},
},
light: {
Expand All @@ -31,6 +32,7 @@ const vuetify = createVuetify({
primary: "#1AA18F",
info: "#1AA18F",
secondary: "#14A1B8",
anchor: "#000000",
},
},
},
Expand Down
46 changes: 18 additions & 28 deletions packages/playground/src/weblets/tf_deployment_list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,11 @@
/>
<IconActionBtn
tooltip="Admin Panel"
color="white"
color="anchor"
icon="mdi-view-dashboard"
:href="'http://captain.' + item.value[0].env.CAPROVER_ROOT_DOMAIN"
/>
<IconActionBtn
icon="mdi-cog"
tooltip="Manage Workers"
color="white"
@click="dialog = item.value.deploymentName"
/>
<IconActionBtn icon="mdi-cog" tooltip="Manage Workers" @click="dialog = item.value.deploymentName" />

<ManageCaproverWorkerDialog
v-if="dialog === item.value.deploymentName"
Expand All @@ -71,8 +66,8 @@
/>
<IconActionBtn
tooltip="Visit"
color="white"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.PEERTUBE_WEBSERVER_HOSTNAME"
/>
</template>
Expand All @@ -85,8 +80,8 @@
/>
<IconActionBtn
tooltip="Visit"
color="white"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.FUNKWHALE_HOSTNAME"
/>
</template>
Expand All @@ -99,14 +94,14 @@
/>
<IconActionBtn
tooltip="Admin Panel"
color="white"
color="anchor"
icon="mdi-view-dashboard"
:href="'http://' + item.value[0].env.DOMAIN_NAME + '/admin/'"
/>
<IconActionBtn
tooltip="Visit"
color="white"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.DOMAIN_NAME"
/>
</template>
Expand All @@ -125,7 +120,7 @@
icon="mdi-eye-outline"
@click="openDialog(tabs[activeTab].value, item)"
/>
<IconActionBtn tooltip="Visit" color="white" icon="mdi-web" :href="item.value[0].env.SITE_URL" />
<IconActionBtn tooltip="Visit" color="anchor" icon="mdi-web" :href="item.value[0].env.SITE_URL" />
</template>

<template #Discourse-actions="{ item }">
Expand All @@ -136,8 +131,8 @@
/>
<IconActionBtn
tooltip="Visit"
color="white"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.DISCOURSE_HOSTNAME"
/>
</template>
Expand All @@ -150,8 +145,8 @@
/>
<IconActionBtn
tooltip="Visit"
color="white"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.DIGITALTWIN_APPID"
/>
</template>
Expand All @@ -164,8 +159,8 @@
/>
<IconActionBtn
tooltip="Visit"
color="white"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.CASPERLABS_HOSTNAME"
/>
</template>
Expand All @@ -178,8 +173,8 @@
/>
<IconActionBtn
tooltip="Visit"
color="white"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.OWNCLOUD_DOMAIN"
/>
</template>
Expand All @@ -192,8 +187,8 @@
/>
<IconActionBtn
tooltip="Open Nextcloud"
color="white"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.NEXTCLOUD_DOMAIN + ':8443'"
/>
</template>
Expand All @@ -206,8 +201,8 @@
/>
<IconActionBtn
tooltip="Visit"
color="white"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.SUBSQUID_WEBSERVER_HOSTNAME + '/graphql'"
/>
</template>
Expand All @@ -228,8 +223,8 @@
/>
<IconActionBtn
tooltip="Visit"
color="white"
icon="mdi-web"
color="anchor"
:href="
'http://' +
(item.value[0].publicIP?.ip
Expand All @@ -247,7 +242,7 @@
/>
<IconActionBtn
tooltip="Admin Panel"
color="white"
color="anchor"
icon="mdi-view-dashboard"
:href="
'http://' +
Expand All @@ -264,10 +259,10 @@
icon="mdi-eye-outline"
@click="openDialog(tabs[activeTab].value, item)"
/>
<IconActionBtn tooltip="Visit" color="white" icon="mdi-web" :href="'https://' + item.value[0].env.WP_URL" />
<IconActionBtn tooltip="Visit" color="anchor" icon="mdi-web" :href="'https://' + item.value[0].env.WP_URL" />
<IconActionBtn
tooltip="Admin Panel"
color="white"
color="anchor"
icon="mdi-view-dashboard"
:href="'https://' + item.value[0].env.WP_URL + '/wp-admin'"
/>
Expand All @@ -288,12 +283,7 @@
icon="mdi-eye-outline"
@click="openDialog(tabs[activeTab].value, item)"
/>
<IconActionBtn
icon="mdi-cog"
tooltip="Manage Workers"
color="white"
@click="dialog = item.value.deploymentName"
/>
<IconActionBtn icon="mdi-cog" tooltip="Manage Workers" @click="dialog = item.value.deploymentName" />

<ManageK8SWorkerDialog
v-if="dialog === item.value.deploymentName"
Expand Down
Loading