Search is not available for this dataset
repo stringlengths 2 152 ⌀ | file stringlengths 15 239 | code stringlengths 0 58.4M | file_length int64 0 58.4M | avg_line_length float64 0 1.81M | max_line_length int64 0 12.7M | extension_type stringclasses 364
values |
|---|---|---|---|---|---|---|
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-capabilities.ts | export enum RgwUserAvailableCapability {
USERS = 'users',
BUCKETS = 'buckets',
METADATA = 'metadata',
USAGE = 'usage',
ZONE = 'zone'
}
export class RgwUserCapabilities {
static readonly capabilities = RgwUserAvailableCapability;
static getAll(): string[] {
return Object.values(RgwUserCapabilities.ca... | 339 | 20.25 | 60 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-capability.ts | export class RgwUserCapability {
type: string;
perm: string;
}
| 67 | 12.6 | 32 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-s3-key.ts | export class RgwUserS3Key {
user: string;
generate_key?: boolean;
access_key: string;
secret_key: string;
}
| 116 | 15.714286 | 27 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-subuser.ts | export class RgwUserSubuser {
id: string;
permissions: string;
generate_secret?: boolean;
secret_key?: string;
}
| 121 | 16.428571 | 29 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-swift-key.ts | export class RgwUserSwiftKey {
user: string;
secret_key: string;
}
| 71 | 13.4 | 30 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-multisite-zone-deletion-form/rgw-multisite-zone-deletion-form.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">Delete Zone</ng-container>
<ng-container class="modal-content">
<form name="zoneForm"
[formGroup]="zoneForm"
novalidate>
<div class="modal-body ms-4">
<label i18n>
... | 2,032 | 35.963636 | 111 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-multisite-zone-deletion-form/rgw-multisite-zone-deletion-form.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { ToastrModule } from 'ngx-toastr';
import { Share... | 1,271 | 37.545455 | 101 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-multisite-zone-deletion-form/rgw-multisite-zone-deletion-form.component.ts | import { AfterViewInit, Component, OnInit } from '@angular/core';
import { FormControl } from '@angular/forms';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { PoolService } from '~/app/shared/api/pool.service';
import { RgwZoneService } from '~/app/shared/api/rgw-zone.service';
import { ActionLab... | 3,282 | 31.83 | 100 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-multisite-zonegroup-deletion-form/rgw-multisite-zonegroup-deletion-form.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">Delete Zonegroup</ng-container>
<ng-container class="modal-content">
<form name="zonegroupForm"
[formGroup]="zonegroupForm"
novalidate>
<div class="modal-body ms-4">
<label ... | 2,844 | 36.434211 | 131 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-multisite-zonegroup-deletion-form/rgw-multisite-zonegroup-deletion-form.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { ToastrModule } from 'ngx-toastr';
import { Share... | 1,321 | 39.060606 | 111 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-multisite-zonegroup-deletion-form/rgw-multisite-zonegroup-deletion-form.component.ts | import { AfterViewInit, Component, OnInit } from '@angular/core';
import { FormControl } from '@angular/forms';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { PoolService } from '~/app/shared/api/pool.service';
import { RgwZoneService } from '~/app/shared/api/rgw-zone.service';
import { RgwZonegr... | 3,742 | 33.981308 | 92 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html | <ng-container *ngIf="selection">
<table class="table table-striped table-bordered">
<tbody>
<tr>
<td i18n
class="bold w-25">Name</td>
<td class="w-75">{{ selection.bid }}</td>
</tr>
<tr>
<td i18n
class="bold">ID</td>
<td>{{ selection.id }}<... | 3,545 | 25.661654 | 82 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { of } from 'rxjs';
import { RgwBucketService } from '~/app/shared/api/rgw-bucket.service';
import { CdTableSelection } from '~/app/shared/models/cd-table-selection';
impor... | 1,527 | 34.534884 | 75 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.ts | import { Component, Input, OnChanges } from '@angular/core';
import { RgwBucketService } from '~/app/shared/api/rgw-bucket.service';
@Component({
selector: 'cd-rgw-bucket-details',
templateUrl: './rgw-bucket-details.component.html',
styleUrls: ['./rgw-bucket-details.component.scss']
})
export class RgwBucketDet... | 722 | 27.92 | 89 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html | <div class="cd-col-form"
*cdFormLoading="loading">
<form name="bucketForm"
#frm="ngForm"
[formGroup]="bucketForm"
novalidate>
<div class="card">
<div i18n="form title"
class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
<div class="ca... | 17,243 | 42.326633 | 177 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, fakeAsync, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { Router } from '@angular/router';
import { RouterTestingModule } from '@angular/router/testing';
import _ f... | 9,833 | 31.671096 | 99 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.ts | import { AfterViewChecked, ChangeDetectorRef, Component, OnInit } from '@angular/core';
import { AbstractControl, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import _ from 'lodash';
import { forkJoin } from 'rxjs';
import { RgwBucketService } from '~/app/shared/api/rg... | 12,000 | 34.193548 | 99 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.html | <cd-table #table
[autoReload]="false"
[data]="buckets"
[columns]="columns"
columnMode="flex"
selectionType="multiClick"
[hasDetails]="true"
(setExpandedRow)="setExpandedRow($event)"
(updateSelection)="updateSelection($event)"
iden... | 1,507 | 32.511111 | 104 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbNavModule } from '@ng-boo... | 5,723 | 30.977654 | 101 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts | import { Component, NgZone, OnInit, TemplateRef, ViewChild } from '@angular/core';
import _ from 'lodash';
import { forkJoin as observableForkJoin, Observable, Subscriber } from 'rxjs';
import { RgwBucketService } from '~/app/shared/api/rgw-bucket.service';
import { ListWithDetails } from '~/app/shared/classes/list-w... | 6,803 | 35 | 143 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-config-modal/rgw-config-modal.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">Update RGW Encryption Configurations</ng-container>
<ng-container class="modal-content">
<form name="configForm"
#frm="ngForm"
[formGroup]="configForm">
<div class="modal-body">
... | 9,675 | 40 | 125 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-config-modal/rgw-config-modal.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
im... | 1,203 | 29.871795 | 71 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-config-modal/rgw-config-modal.component.ts | import { Component, EventEmitter, OnInit, Output } from '@angular/core';
import { AbstractControl, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import _ from 'lodash';
import { RgwBucketService } from '~/app/shared/api/rgw-b... | 4,432 | 31.357664 | 93 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.html | <ng-container *ngIf="selection">
<nav ngbNav
#nav="ngbNav"
class="nav-tabs"
cdStatefulTab="rgw-daemon-details">
<ng-container ngbNavItem="details">
<a ngbNavLink
i18n>Details</a>
<ng-template ngbNavContent>
<cd-table-key-value [data]="metadata"
... | 1,386 | 32.02381 | 95 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
import { PerformanceCounterModule } from '~/app/ceph/performance-counter/performance-counter.module';
import { RgwDaemon... | 1,512 | 34.186047 | 101 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.ts | import { Component, Input, OnChanges } from '@angular/core';
import _ from 'lodash';
import { RgwDaemon } from '~/app/ceph/rgw/models/rgw-daemon';
import { RgwDaemonService } from '~/app/shared/api/rgw-daemon.service';
import { Permission } from '~/app/shared/models/permissions';
import { AuthStorageService } from '~... | 1,277 | 26.191489 | 80 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.html | <nav ngbNav
#nav="ngbNav"
class="nav-tabs">
<ng-container ngbNavItem>
<a ngbNavLink
i18n>Gateways List</a>
<ng-template ngbNavContent>
<cd-table [data]="daemons"
[columns]="columns"
columnMode="flex"
[hasDetails]="true"
(se... | 1,574 | 28.716981 | 62 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from ... | 3,791 | 34.111111 | 101 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts | import { Component, OnInit } from '@angular/core';
import { RgwDaemon } from '~/app/ceph/rgw/models/rgw-daemon';
import { RgwDaemonService } from '~/app/shared/api/rgw-daemon.service';
import { RgwSiteService } from '~/app/shared/api/rgw-site.service';
import { ListWithDetails } from '~/app/shared/classes/list-with-de... | 2,531 | 27.772727 | 90 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-details/rgw-multisite-details.component.html | <div class="row">
<div class="col-sm-12 col-lg-12">
<div>
<cd-alert-panel *ngIf="!rgwModuleStatus"
type="info"
spacingClass="mb-3"
i18n>You need to enable the rgw module to access the import/export feature.
<a class="text-deco... | 4,566 | 39.776786 | 99 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-details/rgw-multisite-details.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { DebugElement } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { TreeModule } from '@circlon/angular-tree-component';
import { ToastrModule } from 'ngx-toastr';
import { SharedModule } from '... | 1,472 | 31.733333 | 81 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-details/rgw-multisite-details.component.ts | import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';
import {
TreeComponent,
ITreeOptions,
TreeModel,
TreeNode,
TREE_ACTIONS
} from '@circlon/angular-tree-component';
import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
import _ from 'lodash';
import { forkJoin, Subscription, timer a... | 20,218 | 33.800344 | 157 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-export/rgw-multisite-export.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">Export Multi-site Realm Token</ng-container>
<ng-container class="modal-content">
<form name="exportTokenForm"
#frm="ngForm"
[formGroup]="exportTokenForm">
<span *ngIf="loading"
... | 2,175 | 31.969697 | 80 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-export/rgw-multisite-export.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
imp... | 1,262 | 31.384615 | 79 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-export/rgw-multisite-export.component.ts | import { AfterViewChecked, ChangeDetectorRef, Component, OnInit } from '@angular/core';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { RgwRealmService } from '~/app/shared/api/rgw-realm.service';
import { ActionLabelsI18n } from '~/app/shared/constants/app.constants';
import { CdFormGroup } from ... | 1,936 | 29.746032 | 90 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-import/rgw-multisite-import.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">Import Multi-site Token</ng-container>
<ng-container class="modal-content">
<form name="importTokenForm"
#frm="ngForm"
[formGroup]="importTokenForm">
<div class="modal-body">
<c... | 2,234 | 38.210526 | 170 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-import/rgw-multisite-import.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
imp... | 1,262 | 31.384615 | 79 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-import/rgw-multisite-import.component.ts | import { Component, OnInit } from '@angular/core';
import { FormControl, Validators } from '@angular/forms';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { RgwRealmService } from '~/app/shared/api/rgw-realm.service';
import { ActionLabelsI18n } from '~/app/shared/constants/app.constants';
import ... | 2,684 | 33.423077 | 110 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">Migrate Single Site to Multi-site
<cd-helper>
<span>Migrate from a single-site deployment with a default zonegroup and zone to a multi-site system</span>
</cd-helper>
</ng-container>
<ng-containe... | 6,007 | 40.434483 | 113 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.spec.ts | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RgwMultisiteMigrateComponent } from './rgw-multisite-migrate.component';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angula... | 1,269 | 31.564103 | 81 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.ts | import { Component, EventEmitter, OnInit, Output } from '@angular/core';
import { FormControl, Validators } from '@angular/forms';
import { NgbActiveModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
import _ from 'lodash';
import { RgwMultisiteService } from '~/app/shared/api/rgw-multisite.service';
import { RgwR... | 7,081 | 35.132653 | 110 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-realm-form/rgw-multisite-realm-form.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
<ng-container class="modal-content">
<form name="multisiteRealmForm"
#formDir="ngForm"
[formGroup]="multisiteRealmForm"... | 2,554 | 42.305085 | 124 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-realm-form/rgw-multisite-realm-form.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { Router } from '@angular/router';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModa... | 3,337 | 33.770833 | 86 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-realm-form/rgw-multisite-realm-form.component.ts | import { Component, OnInit } from '@angular/core';
import { FormControl, Validators } from '@angular/forms';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { RgwRealmService } from '~/app/shared/api/rgw-realm.service';
import { ActionLabelsI18n } from '~/app/shared/constants/app.constants';
import ... | 4,600 | 33.856061 | 100 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zone-form/rgw-multisite-zone-form.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
<ng-container class="modal-content">
<form name="multisiteZoneForm"
#formDir="ngForm"
[formGroup]="multisiteZoneForm"
... | 11,731 | 41.507246 | 124 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zone-form/rgw-multisite-zone-form.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
imp... | 1,277 | 31.769231 | 84 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zone-form/rgw-multisite-zone-form.component.ts | import { Component, OnInit } from '@angular/core';
import { FormControl, Validators } from '@angular/forms';
import { NgbActiveModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
import _ from 'lodash';
import { RgwMultisiteService } from '~/app/shared/api/rgw-multisite.service';
import { RgwUserService } from '~/a... | 13,110 | 37.675516 | 110 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zonegroup-form/rgw-multisite-zonegroup-form.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
<ng-container class="modal-content">
<form name="multisiteZonegroupForm"
#formDir="ngForm"
[formGroup]="multisiteZonegr... | 9,054 | 42.956311 | 198 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zonegroup-form/rgw-multisite-zonegroup-form.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { Router } from '@angular/router';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModa... | 3,867 | 36.192308 | 94 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zonegroup-form/rgw-multisite-zonegroup-form.component.ts | import { Component, OnInit } from '@angular/core';
import { FormArray, FormBuilder, FormControl, NgForm, Validators } from '@angular/forms';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import _ from 'lodash';
import { RgwZonegroupService } from '~/app/shared/api/rgw-zonegroup.service';
import { ActionL... | 11,715 | 35.842767 | 110 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-system-user/rgw-system-user.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">Create System User</ng-container>
<ng-container class="modal-content">
<form name="multisiteSystemUserForm"
#formDir="ngForm"
[formGroup]="multisiteSystemUserForm"
novalidate>
... | 1,465 | 37.578947 | 94 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-system-user/rgw-system-user.component.spec.ts | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RgwSystemUserComponent } from './rgw-system-user.component';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ReactiveFormsModule } from '@angular/for... | 1,227 | 30.487179 | 71 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-system-user/rgw-system-user.component.ts | import { Component, EventEmitter, Output } from '@angular/core';
import { FormControl, Validators } from '@angular/forms';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { RgwZoneService } from '~/app/shared/api/rgw-zone.service';
import { ActionLabelsI18n } from '~/app/shared/constants/app.constan... | 1,678 | 31.921569 | 100 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
<ng-container class="modal-content">
<form #frm="ngForm"
[formGroup]="formGroup"
novalidate>
<div class="modal-bo... | 2,605 | 35.704225 | 121 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.spec.ts | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { SharedModule } from '~/app/shared/shared.module';
import { confi... | 1,060 | 33.225806 | 88 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.ts | import { Component, EventEmitter, Output } from '@angular/core';
import { Validators } from '@angular/forms';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import _ from 'lodash';
import { ActionLabelsI18n } from '~/app/shared/constants/app.constants';
import { CdFormBuilder } from '~/app/shared/forms/... | 2,625 | 27.236559 | 80 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.html | <ng-container *ngIf="selection">
<div *ngIf="user">
<div *ngIf="keys.length">
<legend i18n>Keys</legend>
<div>
<cd-table [data]="keys"
[columns]="keysColumns"
columnMode="flex"
selectionType="multi"
forceIdenti... | 5,489 | 32.072289 | 88 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
import { SharedModule } from '~/app/shar... | 2,227 | 30.828571 | 91 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.ts | import { Component, Input, OnChanges, OnInit, TemplateRef, ViewChild } from '@angular/core';
import _ from 'lodash';
import { RgwUserService } from '~/app/shared/api/rgw-user.service';
import { Icons } from '~/app/shared/enum/icons.enum';
import { CdTableColumn } from '~/app/shared/models/cd-table-column';
import { C... | 3,573 | 28.53719 | 111 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html | <div class="cd-col-form"
*cdFormLoading="loading">
<form #frm="ngForm"
[formGroup]="userForm"
novalidate>
<div class="card">
<div i18n="form title"
class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
<div class="card-body">
<!-- User ... | 26,814 | 40.190476 | 128 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
import { FormControl, ReactiveFormsModule } from '@angular/forms';
import { Router } from '@angular/router';
import { RouterTestingModule } from '@angular/router/te... | 11,227 | 32.023529 | 100 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.ts | import { Component, OnInit } from '@angular/core';
import { AbstractControl, ValidationErrors, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import _ from 'lodash';
import { concat as observableConcat, forkJoin as observableForkJoin, Observable } from 'rxjs';
import { R... | 26,255 | 33.68428 | 115 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.html | <cd-rgw-user-tabs></cd-rgw-user-tabs>
<cd-table #table
[autoReload]="false"
[data]="users"
[columns]="columns"
columnMode="flex"
selectionType="multiClick"
[hasDetails]="true"
(setExpandedRow)="setExpandedRow($event)"
(updateSelection)="up... | 1,532 | 31.617021 | 100 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/route... | 5,276 | 30.598802 | 101 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.ts | import { Component, NgZone, OnInit, TemplateRef, ViewChild } from '@angular/core';
import { forkJoin as observableForkJoin, Observable, Subscriber } from 'rxjs';
import { RgwUserService } from '~/app/shared/api/rgw-user.service';
import { ListWithDetails } from '~/app/shared/classes/list-with-details.class';
import {... | 6,171 | 33.099448 | 143 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
<ng-container class="modal-content">
<form #frm="ngForm"
[formGroup]="formGroup"
novalidate>
<div class="modal-bo... | 4,615 | 36.836066 | 103 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.spec.ts | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { SharedModule } from '~/app/shared/shared.module';
import { confi... | 1,026 | 32.129032 | 79 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.ts | import { Component, EventEmitter, Output } from '@angular/core';
import { Validators } from '@angular/forms';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import _ from 'lodash';
import { ActionLabelsI18n } from '~/app/shared/constants/app.constants';
import { CdFormBuilder } from '~/app/shared/forms/... | 2,476 | 28.141176 | 83 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.html | <cd-modal [modalRef]="bsModalRef">
<ng-container i18n="form title"
class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
<ng-container class="modal-content">
<form #frm="ngForm"
[formGroup]="formGroup"
novalidate>
<div class="modal-body... | 4,714 | 36.125984 | 121 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.spec.ts | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { FormControl, ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { SharedModule } from '~/app/shared/shared.module';
i... | 2,381 | 32.083333 | 82 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.ts | import { Component, EventEmitter, Output } from '@angular/core';
import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import _ from 'lodash';
import { ActionLabelsI18n } from '~/app/shared/constants/app.constants';
im... | 3,886 | 28.671756 | 92 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.html | <cd-modal [modalRef]="activeModal">
<ng-container i18n="form title"
class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
<ng-container class="modal-content">
<div class="modal-body">
<form novalidate>
<!-- Username -->
<div class="form-gr... | 1,714 | 31.358491 | 103 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.spec.ts | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { ToastrModule } from 'ngx-toastr';
import { SharedModule } from '~/app/sh... | 1,098 | 33.34375 | 86 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.ts | import { Component } from '@angular/core';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { ActionLabelsI18n } from '~/app/shared/constants/app.constants';
@Component({
selector: 'cd-rgw-user-swift-key-modal',
templateUrl: './rgw-user-swift-key-modal.component.html',
styleUrls: ['./rgw-use... | 827 | 25.709677 | 90 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-tabs/rgw-user-tabs.component.html | <ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link"
routerLink="/rgw/user"
routerLinkActive="active"
ariaCurrentWhenActive="page"
[routerLinkActiveOptions]="{exact: true}"
i18n>Users</a>
</li>
<li class="nav-item">
<a class="nav-link"
routerLink="/... | 485 | 24.578947 | 48 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-tabs/rgw-user-tabs.component.spec.ts | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RgwUserTabsComponent } from './rgw-user-tabs.component';
describe('RgwUserTabsComponent', () => {
let component: RgwUserTabsComponent;
let fixture: ComponentFixture<RgwUserTabsComponent>;
beforeEach(async () => {
await TestBed.conf... | 656 | 25.28 | 66 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-tabs/rgw-user-tabs.component.ts | import { Component } from '@angular/core';
@Component({
selector: 'cd-rgw-user-tabs',
templateUrl: './rgw-user-tabs.component.html',
styleUrls: ['./rgw-user-tabs.component.scss']
})
export class RgwUserTabsComponent {}
| 226 | 24.222222 | 48 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/ceph-shared.module.ts | import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
import { NgxPipeFunctionModule } from 'ngx-pipe-function';
import { DataTableModule } from '~/app/shared/datatable/datatable.module';
import { SharedModule } from '~/app... | 747 | 40.555556 | 94 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.model.ts | export class PgCategory {
static readonly CATEGORY_CLEAN = 'clean';
static readonly CATEGORY_WORKING = 'working';
static readonly CATEGORY_WARNING = 'warning';
static readonly CATEGORY_UNKNOWN = 'unknown';
static readonly VALID_CATEGORIES = [
PgCategory.CATEGORY_CLEAN,
PgCategory.CATEGORY_WORKING,
... | 1,709 | 22.75 | 61 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.service.spec.ts | import { TestBed } from '@angular/core/testing';
import { configureTestBed } from '~/testing/unit-test-helper';
import { PgCategory } from './pg-category.model';
import { PgCategoryService } from './pg-category.service';
describe('PgCategoryService', () => {
let service: PgCategoryService;
configureTestBed({
... | 1,734 | 29.438596 | 85 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.service.ts | import { Injectable } from '@angular/core';
import _ from 'lodash';
import { CephSharedModule } from './ceph-shared.module';
import { PgCategory } from './pg-category.model';
@Injectable({
providedIn: CephSharedModule
})
export class PgCategoryService {
private categories: object;
constructor() {
this.cat... | 1,611 | 24.1875 | 87 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.html | <cd-table *ngIf="hostname || osdId !== null"
[data]="devices"
[columns]="columns"></cd-table>
<cd-alert-panel type="warning"
*ngIf="hostname === '' && osdId === null"
i18n>Neither hostname nor OSD ID given</cd-alert-panel>
<ng-template #deviceLocation
l... | 1,779 | 31.962963 | 109 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SharedModule } from '~/app/shared/shared.module';
import { configureTestBed } from '~/testing/unit-test-helper';
import { DeviceListComponent } from './device-list.compone... | 817 | 29.296296 | 71 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.ts | import { DatePipe } from '@angular/common';
import { Component, Input, OnChanges, OnInit, TemplateRef, ViewChild } from '@angular/core';
import { HostService } from '~/app/shared/api/host.service';
import { OsdService } from '~/app/shared/api/osd.service';
import { CellTemplate } from '~/app/shared/enum/cell-template.... | 2,974 | 32.055556 | 94 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/feedback/feedback.component.html | <cd-modal [modalRef]="activeModal">
<div class="modal-title"
i18n>Report an issue</div>
<div class="modal-content">
<form name="feedbackForm"
[formGroup]="feedbackForm"
#formDir="ngForm">
<div class="modal-body">
<cd-alert-panel *ngIf="!isFeedbackEnabled"
... | 4,717 | 37.991736 | 137 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/feedback/feedback.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
im... | 2,454 | 32.175676 | 87 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/feedback/feedback.component.ts | import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormControl, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { Subscription } from 'rxjs';
import { FeedbackService } from '~/app/shared/ap... | 3,362 | 29.572727 | 168 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.html | <ng-container *ngIf="!loading; else isLoading">
<cd-alert-panel *ngIf="error"
type="error"
i18n>Failed to retrieve SMART data.</cd-alert-panel>
<cd-alert-panel *ngIf="incompatible"
type="warning"
i18n>The data received has the JSON format versi... | 5,596 | 49.423423 | 155 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { SimpleChange, SimpleChanges } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/anima... | 8,773 | 32.109434 | 120 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.ts | import { Component, Input, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular/core';
import { NgbNav } from '@ng-bootstrap/ng-bootstrap';
import _ from 'lodash';
import { HostService } from '~/app/shared/api/host.service';
import { OsdService } from '~/app/shared/api/osd.service';
import { CdTableColumn } f... | 6,773 | 30.802817 | 103 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/core/core.module.ts | import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
import { BlockUIModule } from 'ng-block-ui';
import { ContextComponent } from '~/app/core/context/context.component'... | 1,140 | 31.6 | 97 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/core/auth/auth.module.ts | import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router';
import { NgbNavModule, NgbPopoverModule } from '@ng-bootstrap/ng-bootstrap';
import { NgxPipeFunctionModul... | 2,655 | 29.181818 | 97 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.html | <div>
<h2 i18n>Please set a new password.</h2>
<h4 i18n>You will be redirected to the login page afterwards.</h4>
<form #frm="ngForm"
[formGroup]="userForm"
novalidate>
<!-- Old password -->
<div class="form-group has-feedback">
<div class="input-group">
<input class="form-c... | 3,523 | 38.155556 | 93 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.spec.ts | import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { Router } from '@angular/router';
import { RouterTestingModule } from '@angular/router/testing';... | 2,755 | 34.333333 | 94 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.ts | import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { AuthService } from '~/app/shared/api/auth.service';
import { UserService } from '~/app/shared/api/user.service';
import { ActionLabelsI18n } from '~/app/shared/constants/app.constants';
import { CdFormBuilder } from '~/app/sh... | 1,840 | 34.403846 | 95 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html | <div class="container"
*ngIf="isLoginActive">
<h1 class="sr-only">Ceph login</h1>
<form name="loginForm"
(ngSubmit)="login()"
#loginForm="ngForm"
novalidate>
<!-- Username -->
<div class="form-group has-feedback d-flex flex-column py-3">
<label class="placeholder ps-3"
... | 2,219 | 32.134328 | 82 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { Router } from '@angular/router';
import { RouterTestingModule } from '@angular/router/testing';
import { of } from 'rxjs';
import { AuthService } from '~/app/shared/api/a... | 2,013 | 33.135593 | 88 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.ts | import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import _ from 'lodash';
import { AuthService } from '~/app/shared/api/auth.service';
import { Credentials } from '~/app/shared/models/credentials';
import { AuthStorageService } from '~/app/shared/services/aut... | 2,501 | 31.493506 | 97 | ts |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.html | <ng-container *ngIf="selection">
<cd-table [data]="scopes_permissions"
[columns]="columns"
columnMode="flex"
[toolHeader]="false"
[autoReload]="false"
[autoSave]="false"
[footer]="false"
[limit]="0">
</cd-table>
</ng-container>
| 316 | 25.416667 | 39 | html |
null | ceph-main/src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
import { SharedModule } from '~/app/shared/shared.module'... | 2,304 | 32.897059 | 88 | ts |