dashboard.component.html 11.1 KB
Newer Older
1
<div class="body">
2 3 4
  <div class="mat-h3 mat-tittle">Dashboard</div>

  <mat-divider></mat-divider>
rajkumar's avatar
rajkumar committed
5

Rajkumar-D's avatar
Rajkumar-D committed
6 7 8 9 10 11 12 13 14
  <div class="dashboard-content">
    <div fxLayout="row wrap" fxLayoutGap="30px" fxLayoutAlign="start start">
      <mat-card class="dashboard-welcome-card mat-elevation-z0">
        <mat-card-title>Welcome to the Webin Submissions Portal</mat-card-title>
        <div>
          <mat-card-subtitle *ngIf="!isEga()" style="text-align: left;">
            <p>You can use this service for a range of submission activities as well as reports
              on your submissions. For help with submitting your data, including the use of
              this interface, please refer to our <a href="https://ena-docs.readthedocs.io/en/latest/index.html">Help
Rajkumar-D's avatar
Rajkumar-D committed
15
                Guides.</a>Please familiarise yourself with
Rajkumar-D's avatar
Rajkumar-D committed
16 17 18
              the different submission interfaces and what can be submitted through each by
              reading our <a href="https://ena-docs.readthedocs.io/en/latest/submit/general-guide.html">General Guide on
                ENA Data
Rajkumar-D's avatar
Rajkumar-D committed
19
                Submission.</a>All users are advised to take a
Rajkumar-D's avatar
Rajkumar-D committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33
              moment to understand the <a
                href="https://ena-docs.readthedocs.io/en/latest/submit/general-guide/metadata.html">ENA Metadata
                Model.</a> You may also like to review how the release
              of data is managed in our <a href="https://ena-docs.readthedocs.io/en/latest/faq/release.html">Data
                Release
                FAQ.</a></p>

            <p>A dedicated submission API for COVID-19 genomes is available <a
                href="https://www.ebi.ac.uk/ena/submit/webin-cli">here.</a> </p>
          </mat-card-subtitle>
          <mat-card-subtitle *ngIf="isEga()" style="text-align: left;">
            <p>You can use this service for a range of submission activities as well as reports
              on your submissions. </p>
          </mat-card-subtitle>
34
        </div>
35
      </mat-card>
Rajkumar-D's avatar
Rajkumar-D committed
36 37 38 39 40

      <mat-card class="dashboard-image-card mat-elevation-z0">
        <div class="metadataImage" routerLink="">
          <img *ngIf="isEga()" src="assets/ega_metadata_model_lite.png" alt="ENA Logo">
          <img *ngIf="!isEga()" src="assets/ena_metadata_model_lite.png" alt="ENA Logo">
rajkumar's avatar
rajkumar committed
41 42
        </div>
      </mat-card>
Rajkumar-D's avatar
Rajkumar-D committed
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179




      <ng-container>
        <mat-card class="mat-elevation-z8 mat-card-css">
          <mat-card-title class="cardTitle"> Studies (Projects) </mat-card-title>
          <div class="cat-element">
            <div class="cat-column1">
              <span *ngIf="isSuperUser()" [routerLink]="['/umbrella']">
                <mat-icon class="note_add icon-yellow">add_box</mat-icon>
                <p class="mat-small mat-caption">Register Umbrella Project</p>
              </span>
              <span [routerLink]="['/study']">
                <mat-icon class="note_add icon-yellow">add_box</mat-icon>
                <p class="mat-small mat-caption">Register Study</p>
              </span>
              <span [routerLink]="['/app-submit']">
                <mat-icon class="note_add icon-yellow">add_box</mat-icon>
                <p class="mat-small mat-caption">Submit XMLs (advanced)</p>
              </span>
            </div>
            <div class="cat-column2">
              <span [routerLink]="['/report',ReportType.studies,{defaultSearch: true}]">
                <mat-icon class="insert_chart icon-yellow">insert_chart</mat-icon>
                <p class="mat-small mat-caption">Studies Report</p>
              </span>
            </div>
          </div>
        </mat-card>
      </ng-container>

      <ng-container>
        <mat-card class="mat-elevation-z8 mat-card-css">
          <mat-card-title class="cardTitle"> Samples </mat-card-title>
          <div class="cat-element">
            <div class="cat-column1">
              <span [routerLink]="['/app-checklist','sample',true]">
                <mat-icon class="note_add icon-green">add_box</mat-icon>
                <p class="mat-small mat-caption">Register Samples</p>
              </span>
              <span *ngIf="!isEga()" [routerLink]="['/taxonomy']">
                <mat-icon class="note_add icon-green">add_box</mat-icon>
                <p class="mat-small mat-caption">Register Novel Taxonomy</p>
              </span>
              <span [routerLink]="['/app-submit']">
                <mat-icon class="note_add icon-green">add_box</mat-icon>
                <p class="mat-small mat-caption">Submit XMLs (advanced)</p>
              </span>
            </div>
            <div class="cat-column2">
              <span [routerLink]="['/report',ReportType.samples,{defaultSearch: true}]">
                <mat-icon class="insert_chart icon-green">insert_chart</mat-icon>
                <p class="mat-small mat-caption">Samples Report</p>
              </span>
            </div>
          </div>
        </mat-card>
      </ng-container>

      <!-- EGA links-->
      <ng-container *ngIf="isEga()">
        <mat-card class="mat-elevation-z8 mat-card-css">
          <mat-card-title class="cardTitle"> Data Access </mat-card-title>
          <div class="cat-element">

            <div class="cat-column1">
              <span [routerLink]="['/dac']">
                <mat-icon class="note_add icon-gray">add_box</mat-icon>
                <p class="mat-small mat-caption">Register Dacs</p>
              </span>
              <span [routerLink]="['/dac-policy']">
                <mat-icon class="note_add icon-gray">add_box</mat-icon>
                <p class="mat-small mat-caption">Register Policy</p>
              </span>
              <span [routerLink]="['/dac-dataset']">
                <mat-icon class="note_add icon-gray">add_box</mat-icon>
                <p class="mat-small mat-caption">Register Dataset</p>
              </span>
              <span [routerLink]="['/app-submit']">
                <mat-icon class="note_add icon-gray">add_box</mat-icon>
                <p class="mat-small mat-caption">Submit XMLs (advanced)</p>
              </span>
            </div>
            <div class="cat-column2">

              <span [routerLink]="['/report',ReportType.dacs,{defaultSearch: true}]">
                <mat-icon class="insert_chart icon-gray">insert_chart</mat-icon>
                <p class="mat-small mat-caption">Dacs Report</p>
              </span>
              <span [routerLink]="['/report',ReportType.policies,{defaultSearch: true}]">
                <mat-icon class="insert_chart icon-gray">insert_chart</mat-icon>
                <p class="mat-small mat-caption">Policies Report</p>
              </span>
              <span [routerLink]="['/report',ReportType.datasets,{defaultSearch: true}]">
                <mat-icon class="insert_chart icon-gray">insert_chart</mat-icon>
                <p class="mat-small mat-caption">Datasets Report</p>
              </span>
            </div>
          </div>
        </mat-card>
      </ng-container>


      <ng-container>
        <mat-card class="mat-elevation-z8  mat-card-css">
          <mat-card-title class="cardTitle"> Raw Reads (Experiments and Runs)</mat-card-title>
          <mat-card-subtitle class="cardSubTitle">Raw reads can also be submitted using <a
              href="https://ena-docs.readthedocs.io/en/latest/reads/webin-cli.html">Webin-CLI</a>.</mat-card-subtitle>
          <div class="cat-element">
            <div class="cat-column1">
              <span [routerLink]="['/read-submission']">
                <mat-icon class="note_add icon-safron">add_box</mat-icon>
                <p class="mat-small mat-caption">Submit Reads</p>
              </span>
              <span [routerLink]="['/app-submit']">
                <mat-icon class="note_add icon-safron">add_box</mat-icon>
                <p class="mat-small mat-caption">Submit XMLs (advanced)</p>
              </span>
            </div>
            <div class="cat-column2">
              <span [routerLink]="['/report',ReportType.runs,{defaultSearch: true}]">
                <mat-icon class="insert_chart icon-safron">insert_chart</mat-icon>
                <p class="mat-small mat-caption">Runs Report</p>
              </span>
              <span *ngIf="!isEga()" [routerLink]="['/report',ReportType.runFiles,{defaultSearch: true}]">
                <mat-icon class="insert_chart icon-safron">insert_chart</mat-icon>
                <p class="mat-small mat-caption">Run Files Report</p>
              </span>

              <span *ngIf="!isEga()" [routerLink]="['/report',ReportType.runProcess,{defaultSearch: true}]">
                <mat-icon class="insert_chart icon-safron">insert_chart</mat-icon>
                <p class="mat-small mat-caption">Run Processing Report</p>
              </span>

              <span *ngIf="!isEga()" [routerLink]="['/report',ReportType.unsubmittedFiles,{defaultSearch: true}]">
                <mat-icon class="insert_chart icon-safron">insert_chart</mat-icon>
Rajkumar-D's avatar
Rajkumar-D committed
180
                <p class="mat-small mat-caption">Unsubmitted Files Report
Rajkumar-D's avatar
Rajkumar-D committed
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
                </p>
              </span>
            </div>
          </div>
        </mat-card>
      </ng-container>

      <ng-container>
        <mat-card *ngIf="!isEga()" class="mat-elevation-z8 mat-card-css">
          <mat-card-title class="cardTitle"> Data Analyses</mat-card-title>
          <mat-card-subtitle class="cardSubTitle">Assemblies and annotated sequences must be submitted with <a
              href="https://ena-docs.readthedocs.io/en/latest/reads/webin-cli.html">Webin-CLI</a>. Other analyses can be
            submitted as XMLs.
          </mat-card-subtitle>
          <div class="cat-element">
            <div class="cat-element">
              <div class="cat-column1">
                <span [routerLink]="['/app-checklist','sequence',true]">
                  <mat-icon class="note_add icon-blue">add_box</mat-icon>
                  <p class="mat-small mat-caption">Generate Annotated Sequence Spreadsheet</p>
                </span>
                <span [routerLink]="['/app-submit']">
                  <mat-icon class="note_add icon-blue">add_box</mat-icon>
                  <p class="mat-small mat-caption">Submit XMLs (advanced)</p>
                </span>
              </div>
              <div class="cat-column2">
                <span [routerLink]="['/report',ReportType.analyses,{defaultSearch: true}]">
                  <mat-icon class="insert_chart icon-blue">insert_chart</mat-icon>
                  <p class="mat-small mat-caption">Analyses Report</p>
                </span>

                <ng-container *ngIf="!isEga()">
                  <span [routerLink]="['/report',ReportType.analysisFiles,{defaultSearch: true}]">
                    <mat-icon class="insert_chart icon-blue">insert_chart</mat-icon>
                    <p class="mat-small mat-caption">Analysis File Report</p>
                  </span>

                  <span [routerLink]="['/report',ReportType.analysisProcess,{defaultSearch: true}]">
                    <mat-icon class="insert_chart icon-blue">insert_chart</mat-icon>
                    <p class="mat-small mat-caption">Analysis Processing Report</p>
                  </span>

                </ng-container>
              </div>
            </div>
          </div>
        </mat-card>
      </ng-container>


    </div>