Skip to content

Commit

Permalink
add new back button
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed May 21, 2024
1 parent 40bdedd commit fcfcec0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/routes/(app)/register/views/Selection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Select from "$lib/components/app/Select.svelte";
let buttonMessage = 'Submit';
let buttonMessage = 'Next';
let areas = {};
Expand Down
27 changes: 25 additions & 2 deletions src/routes/(app)/register/views/View1.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
}
}
function back(){
//todo make this move page back to prev screen
}
let gradeCanRegister = false;
// updated to include prereg, todo change this later if needed
Expand Down Expand Up @@ -273,7 +277,13 @@
/*!*}*!*/
.submit {
width: 100%;
}
.nav-btn{
flex: 1;
height: 35px;
background-color: #0082ff;
border: none;
Expand All @@ -285,6 +295,15 @@
color: var(--text);
}
.button-cont{
height: 35px;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
}
.submit:hover {
background-color: #577db2;
}
Expand Down Expand Up @@ -357,7 +376,11 @@
type="text"
/>
{/if}
<button class="submit" type="submit">Next</button>

<div class="button-cont">
<button class="submit nav-btn" type="submit">Next</button>
<button class="submit nav-btn" on:click={back}>Next</button>
</div>
</form>
</div>
</div>
Expand Down

0 comments on commit fcfcec0

Please sign in to comment.