-
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.
Merge pull request #29 from appventure-nush/student-auth
add authorisation frontend
- Loading branch information
Showing
19 changed files
with
8,537 additions
and
22,480 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 |
---|---|---|
|
@@ -9,7 +9,7 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
node-version: [16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
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,4 +1,4 @@ | ||
FROM node:14-alpine | ||
FROM node:16-alpine | ||
|
||
RUN adduser -S nush-link | ||
USER nush-link | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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
Empty file.
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,47 @@ | ||
<template> | ||
<v-card> | ||
<!-- Loading --> | ||
<v-card-title v-if="!success && !error"> | ||
Authorising... | ||
<v-spacer/> | ||
<v-progress-circular | ||
indeterminate | ||
color="primary" | ||
/> | ||
</v-card-title> | ||
<!-- Link created --> | ||
<v-card-title v-if="success"> | ||
Student Authorised! | ||
<v-spacer/> | ||
<v-btn icon color="primary" @click="$emit('close')"> | ||
<v-icon>mdi-close</v-icon> | ||
</v-btn> | ||
</v-card-title> | ||
<!-- Error occurred --> | ||
<v-card-title v-if="!success && error.length"> | ||
Oops, an error occurred! | ||
<v-spacer/> | ||
<v-btn icon color="primary" @click="$emit('close')"> | ||
<v-icon>mdi-close</v-icon> | ||
</v-btn> | ||
</v-card-title> | ||
<v-card-text v-if="!success && error.length"> | ||
<v-row style="font-size: 1.25em"> | ||
<v-col align="center" class="error--text"> | ||
{{ error }} | ||
</v-col> | ||
</v-row> | ||
</v-card-text> | ||
</v-card> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import Vue from "vue"; | ||
export default Vue.extend({ | ||
props: { | ||
success: Boolean, | ||
error: String, | ||
} | ||
}); | ||
</script> |
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
Empty file.
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
Oops, something went wrong.