diff --git a/package.json b/package.json
index c00aab6..9fb1ed9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "cite-ui",
- "version": "1.6.1",
+ "version": "1.6.2",
"scripts": {
"ng": "ng",
"start": "ng serve",
diff --git a/src/app/components/home-app/home-app.component.html b/src/app/components/home-app/home-app.component.html
index e9a9b0d..940d6b0 100755
--- a/src/app/components/home-app/home-app.component.html
+++ b/src/app/components/home-app/home-app.component.html
@@ -174,10 +174,12 @@
Please contact the site administrator or your event facilator.
diff --git a/src/app/components/right-side-html/right-side-html.component.scss b/src/app/components/right-side-html/right-side-html.component.scss
index ce7b2de..0451834 100644
--- a/src/app/components/right-side-html/right-side-html.component.scss
+++ b/src/app/components/right-side-html/right-side-html.component.scss
@@ -9,8 +9,16 @@
align-self: flex-start;
text-align: left;
width: 99%;
- height: calc(100% - 53px);
overflow-y: auto;
margin-top: -6px;
margin-left: -2px;
}
+
+.in-player {
+ height: calc(100vh - 60px);
+}
+
+.out-of-player {
+ height: calc(100vh - 100px);
+}
+
diff --git a/src/app/components/right-side-html/right-side-html.component.ts b/src/app/components/right-side-html/right-side-html.component.ts
index 2ec484d..ae0fb67 100644
--- a/src/app/components/right-side-html/right-side-html.component.ts
+++ b/src/app/components/right-side-html/right-side-html.component.ts
@@ -3,7 +3,7 @@
// project root for license information or contact permission@sei.cmu.edu for full terms.
import { Component, Input, OnDestroy } from '@angular/core';
-import { Evaluation } from 'src/app/generated/cite.api/model/models';
+import { ScoringModel } from 'src/app/generated/cite.api';
import { SubmissionQuery } from 'src/app/data/submission/submission.query';
import { Subject, Observable } from 'rxjs';
import { AngularEditorConfig } from '@kolkov/angular-editor';
@@ -15,7 +15,8 @@ import { AngularEditorConfig } from '@kolkov/angular-editor';
})
export class RightSideHtmlComponent implements OnDestroy {
isLoading = false;
- @Input() evaluation$: Observable;
+ @Input() scoringModel$: Observable;
+ @Input() hideTopbar: boolean;
editorConfig: AngularEditorConfig = {
editable: false,
height: 'auto',
@@ -38,6 +39,14 @@ export class RightSideHtmlComponent implements OnDestroy {
private submissionQuery: SubmissionQuery
) {}
+ getTopClass() {
+ if (this.hideTopbar) {
+ return 'top-level-container in-player'
+ } else {
+ return 'top-level-container out-of-player'
+ }
+ }
+
ngOnDestroy() {
this.unsubscribe$.next(null);
this.unsubscribe$.complete();
diff --git a/src/app/components/right-side-iframe/right-side-iframe.component.html b/src/app/components/right-side-iframe/right-side-iframe.component.html
index 8d27499..1962b7f 100644
--- a/src/app/components/right-side-iframe/right-side-iframe.component.html
+++ b/src/app/components/right-side-iframe/right-side-iframe.component.html
@@ -4,7 +4,7 @@
project root for license information or contact permission@sei.cmu.edu for full terms.
-->
-