This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
review-management.component.html 2.18 KiB
Newer Older
<div>
  <h2>
    <span id="user-management-page-heading" data-cy="userManagementPageHeading">Review Management</span>

    <div class="d-flex justify-content-end">
      <button
        class="btn btn-primary jh-create-entity"
        type="button"
        style="margin-top: 20px"
        data-toggle="modal"
        data-target="#detailModal"
        (click)="(true)"
      >
        <fa-icon icon="plus"></fa-icon> <span>Create a new review</span>
      </button>
    </div>
  </h2>
  <div>
    <div class="modal fade" id="detailModal">
      <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
          <!-- Modal Header -->
          <div class="modal-header">
            Create a new review
            <button type="button" class="close" data-dismiss="modal">&times;</button>
          </div>

          <!-- Modal body -->
          <div class="modal-body">
            <div class="form-group">
              <label for="users">Select users:</label>
              <app-multi-select-dropdown [list]="users" (shareCheckedList)="shareCheckedUserList($event)"> </app-multi-select-dropdown>
            </div>

            <div class="form-group">
              <label for="users">Select exercise:</label>
              <jhi-multi-select-dropdown-exercise [list]="results" (shareExercise)="shareExercise($event)">
              </jhi-multi-select-dropdown-exercise>
            </div>
          </div>

          <!-- Modal footer -->
          <div class="modal-footer">
            <button
              [disabled]="selectedExercise === undefined || selectedUsers === undefined"
              type="button"
              class="btn btn-success"
              (click)="submitReview()"
            >
              Create
            </button>
          </div>
        </div>
      </div>
    </div>
  </div>
  <jhi-alert-error></jhi-alert-error>

  <jhi-alert></jhi-alert>
</div>

<!-- Create review button -->

<!-- Open DIalogue where Exercise can be selected and users to be notified -->

<!-- List active review processes -->

<!-- Possibility to exchange user -->

<!-- List requested reviews -->

<!-- Resolve request -->

<!-- List completed reviews -->

<!-- Delete reviews -->