This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
components/views: move buttons to the right places
- Loading branch information
Showing
13 changed files
with
134 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<script setup></script> | ||
|
||
<template> | ||
<div class="bottom-bar"><slot /></div> | ||
</template> | ||
|
||
<style scoped> | ||
.bottom-bar { | ||
display: flex; | ||
column-gap: 0.5rem; | ||
position: absolute; | ||
bottom: 0; | ||
margin-bottom: 1rem; | ||
width: 100%; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template> | ||
<div class="button-group"> | ||
<slot></slot> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
.button-group { | ||
float: right; | ||
display: flex; | ||
align-items: flex-end; | ||
column-gap: 0.5rem; | ||
position: absolute; | ||
right: 0; | ||
bottom: 0; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<script setup> | ||
import DKBottomRightButtons from "./DKBottomRightButtons.vue"; | ||
</script> | ||
|
||
<template> | ||
<DKBottomRightButtons> | ||
<button class="button">Previous</button> | ||
<button class="button">Next</button> | ||
</DKBottomRightButtons> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
<script setup></script> | ||
<script setup> | ||
import DKBottomActions from "@/components/DKBottomActions.vue"; | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<h1>Abort?</h1> | ||
<p> | ||
Do you really want to abort installation? Doing so will result in an | ||
<strong>incomplete or corrupted</strong> AOSC OS installationin the target | ||
partition you specified. | ||
<strong>incomplete or corrupted</strong> AOSC OS installation in the | ||
target partition you specified. | ||
</p> | ||
<p> | ||
Would you like to save your current installation configuration? When you | ||
return, by selecting the original installation partition, installer will | ||
restart based on your previous configuration. | ||
</p> | ||
</div> | ||
<DKBottomActions> | ||
<button class="button" @click="$router.back()">Resume</button> | ||
<button class="button">Quit & Save Configuration</button> | ||
<button class="button">Quit</button> | ||
</DKBottomActions> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script setup> | ||
import DKBottomActions from "@/components/DKBottomActions.vue"; | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<h1>Download Source</h1> | ||
<section> | ||
<p> | ||
Below are a list of available mirrors to download AOSC OS from. You may | ||
make selection based on the mirror's locationor by benchmarking them | ||
using the "Benchmark..." button. | ||
</p> | ||
<div></div> | ||
</section> | ||
</div> | ||
<DKBottomActions> | ||
<button class="button">Benchmark...</button> | ||
</DKBottomActions> | ||
</template> | ||
|
||
<style scoped> | ||
.error-msg { | ||
color: var(--dk-accent); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters