-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSCEXAM-1210 Restructuring question liberary actions
- Loading branch information
Matti Lupari
committed
Nov 26, 2023
1 parent
e817e4c
commit 74c8cf3
Showing
22 changed files
with
576 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 0 additions & 48 deletions
48
ui/src/app/question/library/export/library-file-export.component.ts
This file was deleted.
Oops, something went wrong.
47 changes: 47 additions & 0 deletions
47
ui/src/app/question/library/export/library-transfer-dialog.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<div id="sitnet-dialog" role="dialog" aria-modal="true" id="library"> | ||
<div class="modal-header"> | ||
<div class="student-enroll-dialog-wrap"> | ||
<h1 class="student-enroll-title">{{ 'sitnet_transfer_questions' | translate }}</h1> | ||
</div> | ||
</div> | ||
<div class="modal-body"> | ||
<div class="question-pick-organisation-box"> | ||
<!-- org pick TODO: make a component out of this--> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div ngbDropdown #orgPicker="ngbDropdown"> | ||
<button ngbDropdownToggle class="btn btn-outline-dark" type="button" id="dropDownToggle"> | ||
{{ 'sitnet_faculty_name' | translate }} | ||
<span class="caret"></span> | ||
</button> | ||
<ul ngbDropdownMenu aria-labelledby="dropDownMenu"> | ||
<li | ||
ngbDropdownItem | ||
*ngFor="let org of organisations" | ||
role="presentation" | ||
(click)="organisation = org" | ||
> | ||
<a role="menuitem">{{ org.code }} ({{ org.name }})</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row align-items-center"> | ||
<div class="col-12 mt-2"> | ||
<button class="btn green whitetext" [disabled]="!organisation" (click)="transfer()"> | ||
{{ 'sitnet_copy' | translate }} | ||
</button> | ||
<span *ngIf="organisation" class="padl10 vertm">({{ organisation.code }})</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<div class="student-message-dialog-button-save"> | ||
<button class="btn btn-sm btn-primary" (click)="activeModal.close()" autofocus> | ||
{{ 'sitnet_close' | translate }} | ||
</button> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
ui/src/app/question/library/export/library-transfer.component.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.