Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
Hide Cell ID editor
Browse files Browse the repository at this point in the history
  • Loading branch information
gzuidhof committed Mar 31, 2021
1 parent b33b031 commit 1be7ffe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions src/cellType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@ export class GraderCellHandler implements CellHandler {
</button>`)}
</div>
<small>${DEFINITIONS[this.graderType].description}</small>
<p style="opacity: 0.8"><small>${DEFINITIONS[this.graderType].description}</small></p>
${DEFINITIONS[this.graderType].hasPoints ?
html`
<hr>
<div class="row">
Expand All @@ -208,13 +211,14 @@ export class GraderCellHandler implements CellHandler {
: undefined
}
</div>
<div class="col-auto">
<!-- <div class="col-auto">
<div class="input-group input-group-sm mb-3">
<span class="input-group-text">Cell ID</span>
<input @input="${(e: any) => this.changeCellId(e)}" class="form-control" name="grader-id" type="text" min="1" max="128" placeholder="Unique alphanumerical ID" value="${md.grade_id || this.cell.id}">
</div>
</div>
</div> -->
</div>
` : undefined }
`
return html`
<div class="grader-cell grader-cell-top-bar">
Expand Down
2 changes: 1 addition & 1 deletion src/elements/codeRunnerFeedback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class CodeRunnerFeedbackElement extends LitElement.LitElement {
}
case("running-setup"): {
return html`<div>
⚙️ Cell is running.. <small>(for the first time, setup will take some extra time)</small>
⚙️ Cell is running.. <small>(First time setup will take some extra time)</small>
</div>`
}
}
Expand Down

0 comments on commit 1be7ffe

Please sign in to comment.