From 3101686e4940daa070c503e8a52dc4daddb1aebd Mon Sep 17 00:00:00 2001 From: pnogal <paulina.nogal@wisc.edu> Date: Thu, 25 Oct 2018 10:10:36 -0500 Subject: [PATCH] Add files --- angular.json | 1 + src/app/app.module.ts | 7 +++++-- src/app/core/models/courses.ts | 33 +++++++++++++++++++++++++++++++++ src/assets/sass/general.scss | 11 +++++++++++ src/styles.css | 5 +---- 5 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 src/app/core/models/courses.ts create mode 100644 src/assets/sass/general.scss diff --git a/angular.json b/angular.json index 222a0fa..9d3fdad 100644 --- a/angular.json +++ b/angular.json @@ -24,6 +24,7 @@ ], "styles": [ "src/assets/material-theme.scss", + "src/assets/sass/general.scss", "src/styles.css" ], "scripts": [ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 08abb98..26971d6 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,12 +1,14 @@ import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; +import { HttpClientModule } from '@angular/common/http'; import { AppRoutingModule } from './app.routing.module'; import { AppComponent } from './app.component'; import { CoreModule } from './core/core.module'; import { SharedModule } from './shared/shared.module'; import { DegreePlannerModule } from './degree-planner/degree-planner.module'; +import { ConfigService } from './core/config.service'; @NgModule({ imports: [ @@ -15,10 +17,11 @@ import { DegreePlannerModule } from './degree-planner/degree-planner.module'; DegreePlannerModule, CoreModule, SharedModule, - AppRoutingModule + AppRoutingModule, + HttpClientModule ], declarations: [ - AppComponent, + AppComponent ], providers: [], bootstrap: [ AppComponent ], diff --git a/src/app/core/models/courses.ts b/src/app/core/models/courses.ts new file mode 100644 index 0000000..3dcfcfa --- /dev/null +++ b/src/app/core/models/courses.ts @@ -0,0 +1,33 @@ +export interface Course { + id: number; + courseId: string; + termCode: string; + topicId: number; + title: string; + subjectCode: string; + catalogNumber: string; + credits: number; + creditMin: number; + creditMax: number; + grade: any; + classNumber: string; + courseOrder: number; + honors: string; + waitlist: string; + relatedClassNumber1: any; + relatedClassNumber2: any; + classPermissionNumber: any; + sessionCode: any; + validationResults: any[]; + enrollmentResults: any[]; + pendingEnrollments: any[]; + details: any; + classMeetings: any; + enrollmentOptions: any; + packageEnrollmentStatus?: any; + creditRange: any; +} + +export interface TermContainer { + termCode: string; +} diff --git a/src/assets/sass/general.scss b/src/assets/sass/general.scss new file mode 100644 index 0000000..97b6720 --- /dev/null +++ b/src/assets/sass/general.scss @@ -0,0 +1,11 @@ +body { + margin: 0px; +} + +.text-right { + text-align: right; +} + +.semi-bold { + font-weight: 700; +} \ No newline at end of file diff --git a/src/styles.css b/src/styles.css index 63a3f47..e50a47e 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1,4 +1 @@ -/* You can add global styles to this file, and also import other style files */ -body { - margin: 0px; -} +/* You can add global styles to this file, and also import other style files */ \ No newline at end of file -- GitLab