This commit is contained in:
Florinda
2024-12-11 15:49:42 +01:00
14 changed files with 24 additions and 44 deletions

View File

@@ -3,9 +3,9 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="icon" href="/favicon.ico"> <link rel="icon" href="/olympus.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hermione</title> <title>WizardAI - Workflow</title>
<link href="https://cdn.jsdelivr.net/npm/@vetixy/circular-std@1.0.0/dist/index.min.css" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/@vetixy/circular-std@1.0.0/dist/index.min.css" rel="stylesheet">
</head> </head>

BIN
public/olympus.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

View File

@@ -23,7 +23,7 @@ a {
} }
h1 { h1 {
font-size: 1.5em !important; font-size: 1.4em !important;
font-weight: bold !important; font-weight: bold !important;
} }

View File

@@ -11,9 +11,9 @@ const logoUrl = computed(() => {
<template> <template>
<div class="layout-footer"> <div class="layout-footer">
HERMIONE WORKFLOW
by by
<span class="font-medium ml-2">OlympusAI</span> <span class="font-medium ml-2">WizardAI</span>
</div> </div>
</template> </template>
<style lang="scss" scoped></style> <style lang="scss" scoped></style>

View File

@@ -6,7 +6,7 @@
{{ user.name + " " + user.surname }} {{ user.name + " " + user.surname }}
</span> </span>
<!-- <button @click="redirectProject()" class="p-button p-button-outlined">Projects</button> --> <!-- <button @click="redirectProject()" class="p-button p-button-outlined">Projects</button> -->
<button @click="auth.logout()" class="p-button p-button-danger p-button-outlined">Logout</button> <button @click="auth.logout()" class="p-button p-button-outlined">Logout</button>
</div> </div>
</div> </div>
</template> </template>

View File

@@ -74,7 +74,7 @@ watch(() => userPrefStore.getSelApp, appUpdated, { immediate: true });
/> />
</svg> </svg>
<span>HERMIONE</span> <span>WizardAI - WORKFLOW</span>
</router-link> </router-link>
</div> </div>

View File

@@ -59,7 +59,9 @@ var auth = createAuth({
} }
}); });
axios.defaults.baseURL = import.meta.env.VITE_BACKEND_URL;//'http://localhost:8081'/// axios.defaults.baseURL = import.meta.env.VITE_BACKEND_URL;
//axios.defaults.baseURL ='http://localhost:8081';

View File

@@ -64,7 +64,7 @@
<Panel class="mt-6"> <Panel class="mt-6">
<template #header> <template #header>
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<span class="font-bold">Hermione Response</span> <span class="font-bold">Workflow Response</span>
</div> </div>
</template> </template>
<template #icons> <template #icons>

View File

@@ -48,7 +48,7 @@
<Panel class="mt-6"> <Panel class="mt-6">
<template #header> <template #header>
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<span class="font-bold">Hermione response</span> <span class="font-bold">Workflow response</span>
</div> </div>
</template> </template>
<template #icons> <template #icons>
@@ -69,30 +69,6 @@
</div> </div>
</Panel> </Panel>
<Panel class="mt-6">
<template #header>
<div class="flex items-center gap-2">
<span class="font-bold">Response of Execution ID {{execution_id}}</span>
</div>
</template>
<template #icons>
<div class="flex justify-end">
<Button severity="secondary" rounded @click="openDebug" v-tooltip.left="'View code'">
<i class="pi pi-code"></i>
</Button>
</div>
</template>
<div class="card flex flex-col gap-4 w-full">
<div v-if="scenario.outputType == 'ciaOutput'">
<ChangeImpactOutputViewer :scenario_output="scenario_output" />
</div>
<div v-else>
<MdPreview class="editor" v-model="scenario_output" language="en-US" />
</div>
</div>
</Panel>
<Dialog v-model:visible="debug_modal" maximizable modal :header="scenario.name" :style="{ width: '75%' }" :breakpoints="{ '1199px': '75vw', '575px': '90vw' }"> <Dialog v-model:visible="debug_modal" maximizable modal :header="scenario.name" :style="{ width: '75%' }" :breakpoints="{ '1199px': '75vw', '575px': '90vw' }">
<div class="flex"> <div class="flex">

View File

@@ -69,7 +69,7 @@
<Panel class="mt-6"> <Panel class="mt-6">
<template #header> <template #header>
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<span class="font-bold">Hermione Response</span> <span class="font-bold">Workflow Response</span>
</div> </div>
</template> </template>
<template #icons> <template #icons>

View File

@@ -45,9 +45,10 @@
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
{{ slotProps.data.scenario?.name }} {{ slotProps.data.scenario?.name }}
<i <i
class="pi pi-info-circle text-blue-500 cursor-pointer" class="pi pi-info-circle text-violet-600 cursor-pointer"
v-tooltip="slotProps.data.scenario.description" v-tooltip="slotProps.data?.scenario?.description || 'No description available'"
></i> ></i>
<!-- controllare il tooltip -->
</div> </div>
</template> </template>
<template #filter="{ filterModel, filterCallback }"> <template #filter="{ filterModel, filterCallback }">

View File

@@ -77,7 +77,8 @@ const login = async () => {
</svg> </svg>
</div> </div>
<div class="text-center mb-8"> <div class="text-center mb-8">
<h1>Welcome to HERMIONE</h1> <h1>Welcome to</h1>
<h1>WizardAI - WORKFLOW</h1>
</div> </div>
<div> <div>

View File

@@ -41,7 +41,7 @@ import { computed, onMounted, ref } from 'vue';
const menu = ref(); const menu = ref();
const currentSelection = ref(null); const currentSelection = ref(null);
const currentPosition = ref(null); const currentPosition = ref(null);
const content = ref('Welcome to Olympus Canvas....'); const content = ref('Welcome to WizardAI Canvas....');
const scenarios = ref([]); const scenarios = ref([]);
const items = ref([]); const items = ref([]);
const execScenarioDialogVisible = ref(false); const execScenarioDialogVisible = ref(false);
@@ -74,7 +74,7 @@ import { computed, onMounted, ref } from 'vue';
] ]
}else { }else {
items.value=[ items.value=[
{ label: 'Ask Hermione', icon: 'pi pi-language', command:()=>openAskDialog() }, { label: 'Ask Workflow', icon: 'pi pi-language', command:()=>openAskDialog() },
{ separator: true}, { separator: true},
{ label: 'Execute Scenario', icon: 'pi pi-volume-up',items: scenarioMenuItems} { label: 'Execute Scenario', icon: 'pi pi-volume-up',items: scenarioMenuItems}
] ]
@@ -137,7 +137,7 @@ import { computed, onMounted, ref } from 'vue';
execHermioneDialogVisible.value = true; execHermioneDialogVisible.value = true;
askDialog.value = true askDialog.value = true
dataLoaded.value = false dataLoaded.value = false
modalTitle.value = "Ask Hermione" modalTitle.value = "Ask Workflow"
userQuestion.value = '' userQuestion.value = ''
} }

View File

@@ -51,7 +51,7 @@ import 'md-editor-v3/lib/style.css';
import { computed, onMounted, ref } from 'vue'; import { computed, onMounted, ref } from 'vue';
const menu = ref(); const menu = ref();
const content = ref('# Welcome to Olympus Canvas....'); const content = ref('# Welcome to WizardAI Canvas....');
const scenarios = ref([]); const scenarios = ref([]);
const items = ref([]); const items = ref([]);
const execScenarioDialogVisible = ref(false); const execScenarioDialogVisible = ref(false);
@@ -89,7 +89,7 @@ import { computed, onMounted, ref } from 'vue';
] ]
}else { }else {
items.value=[ items.value=[
{ label: 'Ask Hermione', icon: 'pi pi-language', command:()=>openAskDialog()}, { label: 'Ask Workflow', icon: 'pi pi-language', command:()=>openAskDialog()},
{ separator: true}, { separator: true},
{ label: 'Execute Scenario', icon: 'pi pi-volume-up',items: scenarioMenuItems} { label: 'Execute Scenario', icon: 'pi pi-volume-up',items: scenarioMenuItems}
] ]
@@ -124,7 +124,7 @@ import { computed, onMounted, ref } from 'vue';
execHermioneDialogVisible.value = true; execHermioneDialogVisible.value = true;
askDialog.value = true askDialog.value = true
dataLoaded.value = false dataLoaded.value = false
modalTitle.value = "Ask Hermione" modalTitle.value = "Ask Workflow"
userQuestion.value = '' userQuestion.value = ''
} }