Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<app-nav></app-nav>
<router-outlet></router-outlet>
<router-outlet></router-outlet>
6 changes: 1 addition & 5 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { HighchartsChartModule} from 'highcharts-angular';
import { HttpClientModule } from '@angular/common/http';
import { HttpModule } from '@angular/http';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { NavModule } from './nav.module';
import { Ng5SliderModule } from 'ng5-slider';
import { NgModule } from '@angular/core';

// Importing the routes from app routes
Expand Down Expand Up @@ -113,13 +111,11 @@ import { RoleGuard } from './role-guard';
BrowserAnimationsModule,
BrowserModule,
FormsModule,
HighchartsChartModule,
HttpClientModule,
HttpClientModule,
HttpModule,
NavModule,
NgbModule.forRoot(),
NgxPaginationModule,
Ng5SliderModule,
ReactiveFormsModule,
RouterModule.forRoot(routes, { useHash: true }),
],
Expand Down
5 changes: 5 additions & 0 deletions src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { PassFailComponent } from './components/pass-fail/pass-fail.component';
import { ScreeningConfigComponent } from './components/screening-config/screening-config.component';
import { ScreeningComponent } from './components/screening/screening.component';
import { QuestionComponent } from './components/question/question.component';
import { HardestQuestionsComponent } from './components/reports/hardest-questions/hardest-questions.component';
import { AverageSkillComponent } from './components/reports/average-skill/average-skill.component';
import { MasterReportComponent } from './components/reports/master-report/master-report.component';

Expand All @@ -21,6 +22,10 @@ export const routes: Routes = [
path: 'reports',
component: MasterReportComponent
},
{
path:'reports',
component: HardestQuestionsComponent,
},
{
path: 'screening',
component: ScreeningComponent,
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/question/question.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class QuestionComponent implements OnInit {
public tagsCollapsed = true;



ngOnInit() {
this.currentBucket = this.bucketService.getCurrentBucket();
this.question = new Question();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
article {
border: 1px solid black;
font-family: "Helvetica Neue", Helvetica, sans-serif;
}

h1 {
margin: 5px;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Component, OnInit, Input } from '@angular/core';
//import { reportsService} from 'services/reports' ;

@Component({
selector: 'app-hardest-questions',
Expand Down
96 changes: 96 additions & 0 deletions src/app/components/reports/hardest-questions/hqlist.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
export class hqlist implements OnInit {


// [
// "What are the sublanguages of SQL?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];
// [
// "What is the difference betwwen JRE, JDK, and JVM?",
// "What are the sublanguages of SQL?",
// "What is the doctype declaration in HTML?",
// "What is ECMA script?",
// "What are template literals and arrow notation?"
// ];
// [
// "What is the purpose of angular?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];
// [
// "What are the sublanguages of SQL?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];
// [
// "What are the sublanguages of SQL?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];
// [
// "What are the sublanguages of SQL?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];
// [
// "What are the sublanguages of SQL?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];
// [
// "What are the sublanguages of SQL?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];
// [
// "What are the sublanguages of SQL?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];
// [
// "What are the sublanguages of SQL?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];
// [
// "What are the sublanguages of SQL?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];
// [
// "What are the sublanguages of SQL?",
// "What are the primary JDBC interfaces?",
// "What is the difference between statements and prepared statements and why would we prefer one over the other?",
// "What values are falsey in JavaScript?",
// "What is SOAP?"
// ];

constructor() {

}

ngOnInit() {
}

}