Skip to content

Commit

Permalink
progressbar color changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Gadorek committed Nov 20, 2024
1 parent 35858b3 commit cfe3e6b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/components/GlobalProgress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<script>
import { NProgress } from 'naive-ui'
import { listen } from '@tauri-apps/api/event'
import { useThemeVars } from "naive-ui";
export default {
name: 'GlobalProgress',
Expand All @@ -28,6 +30,7 @@ export default {
targets: [],
display_progress: false,
unlisten: undefined,
themeVars: useThemeVars()
}),
methods: {
startListening: async function () {
Expand Down
15 changes: 11 additions & 4 deletions src/components/wizard_steps/InstalationProgress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,17 @@
</div>
</div>
<!-- todo replace with complete instalation button -->
<n-button @click="startInstalation()" type="error" size="large" :loading="instalation_running"
:disabled="instalation_running">
{{ instalation_running ? 'Installing...' : 'Start Installation' }}
</n-button>
<div v-if="instalation_finished">
<n-button @click="nextstep" type="error" size="large">
Complete Installation
</n-button>
</div>
<div v-else>
<n-button @click="startInstalation()" type="error" size="large" :loading="instalation_running"
:disabled="instalation_running">
{{ instalation_running ? 'Installing...' : 'Start Installation' }}
</n-button>
</div>
</div>

<div v-if="instalation_running || instalation_finished" class="status-section">
Expand Down

0 comments on commit cfe3e6b

Please sign in to comment.