Skip to content

Commit

Permalink
beep boop Github Action Master Branch CI Prettier hard at work
Browse files Browse the repository at this point in the history
  • Loading branch information
I'm a Github Action committed Nov 13, 2023
1 parent ebaa66b commit da80d9b
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 47 deletions.
2 changes: 1 addition & 1 deletion src/web/src/pages/Admin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ export default {
return {};
},
};
</script>
</script>
2 changes: 1 addition & 1 deletion src/web/src/pages/EditProfessors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,4 @@ $primary: #007bff;
background-color: $primary;
}
}
</style>
</style>
20 changes: 10 additions & 10 deletions src/web/src/pages/ProfExplorer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
:fontSize="1.3"
loadingMessage="Professors"
:topSpacing="30"
/>
/>
</b-container>
</template>

Expand Down Expand Up @@ -194,28 +194,28 @@ export default {
var count = 0;
var departments = [];
var dept = "";
for (let i = 0; i < this.professors.length; i++){
for (let i = 0; i < this.professors.length; i++) {
dept = this.professors[i]["Department"];
if (dept == ""){
if (dept == "") {
dept = this.professors[i]["Portfolio"];
}
if (!departments.includes(dept)){
departments.push(dept)
if (!departments.includes(dept)) {
departments.push(dept);
}
}
departments.sort();
let ret = [];
let col1 = [];
let col2 = [];
for (var i = 0; i < departments.length; i++){
for (var i = 0; i < departments.length; i++) {
var tmp = {
"Department": departments[i],
"Professors": [],
Department: departments[i],
Professors: [],
};
for (var j = 0; j < this.professors.length; j++){
for (var j = 0; j < this.professors.length; j++) {
dept = this.professors[j]["Department"];
if (dept == ""){
if (dept == "") {
dept = this.professors[i]["Portfolio"];
}
var name = this.professors[j]["Name"];
Expand Down
2 changes: 1 addition & 1 deletion src/web/src/pages/ProfPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<b-row>
<b-col>
<br />
<h6 class="mb-1 d-inline">Department: {{prof.Department}}</h6>
<h6 class="mb-1 d-inline">Department: {{ prof.Department }}</h6>
</b-col>
</b-row>
<b-row>
Expand Down
66 changes: 33 additions & 33 deletions src/web/src/pages/UploadJson.vue
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
<template>
<b-container>
<section id="import-json">
<h2>Import Data</h2>
<div class="well well-sm">
Input professor data as JSON
<b-container>
<section id="import-json">
<h2>Import Data</h2>
<div class="well well-sm">
Input professor data as JSON
</div>
<form @submit.prevent="onSubmit" class="form-group">
<div class="input-group">
<label>
Upload JSON file
<input type="file" name="file" class="form-control-file" />
</label>
<br />
</div>
<form @submit.prevent="onSubmit" class="form-group">
<div class="input-group">
<label>
Upload JSON file
<input type="file" name="file" class="form-control-file" />
</label>
<br />
</div>
<div class="input-group">
<label>
<input type="checkbox" name="isPubliclyVisible" checked />
Make Public
</label>
</div>
<input
type="Submit"
label="submit"
class="btn btn-success btn-sm"
value="Submit"
/>
</form>
</section>
<b-spinner v-show="loading" />
</b-container>
</template>
<div class="input-group">
<label>
<input type="checkbox" name="isPubliclyVisible" checked />
Make Public
</label>
</div>
<input
type="Submit"
label="submit"
class="btn btn-success btn-sm"
value="Submit"
/>
</form>
</section>
<b-spinner v-show="loading" />
</b-container>
</template>

<script>
import { uploadJSON } from "@/services/AdminService";
Expand Down Expand Up @@ -95,8 +95,8 @@ export default {
back() {
window.history.back();
},
}
}
},
};
</script>

<style lang="scss" scoped></style>
<style lang="scss" scoped></style>
1 change: 0 additions & 1 deletion src/web/src/plugins/fontawesome-vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
faFileAlt,
} from "@fortawesome/free-solid-svg-icons";


library.add(
faPaperPlane,
faMoon,
Expand Down

0 comments on commit da80d9b

Please sign in to comment.