repo
stringlengths
1
152
file
stringlengths
15
205
code
stringlengths
0
41.6M
file_length
int64
0
41.6M
avg_line_length
float64
0
1.81M
max_line_length
int64
0
12.7M
extension_type
stringclasses
90 values
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list/pool-list.component.html
<cd-table [data]="data" columnMode="flex" [columns]="columns" identifier="name" forceIdentifier="true" [autoReload]="-1" (fetchData)="refresh()" selectionType="single" (updateSelection)="updateSelection($event)" [status]="tableSta...
1,029
29.294118
75
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form/rbd-configuration-form.component.html
<fieldset #cfgFormGroup [formGroup]="form.get('configuration')"> <legend i18n>RBD Configuration</legend> <div *ngFor="let section of rbdConfigurationService.sections" class="col-12"> <h4 class="cd-header"> <span (click)="toggleSectionVisibility(section.class)" class="collapsi...
3,075
41.136986
132
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.html
<cd-table #poolConfTable [data]="data" [columns]="poolConfigurationColumns" identifier="name"> </cd-table> <ng-template #configurationSourceTpl let-value="value"> <div [ngSwitch]="value"> <span *ngSwitchCase="'global'" i18n>Global</span> <strong *ngSwitch...
887
28.6
83
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.html
<ng-template #usageNotAvailableTooltipTpl> <ng-container i18n>Only available for RBD images with <strong>fast-diff</strong> enabled</ng-container> </ng-template> <ng-container *ngIf="selection && selection.source !== 'REMOVING'"> <nav ngbNav #nav="ngbNav" class="nav-tabs" cdStatefulTab="rbd-de...
6,689
35.162162
183
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html
<div class="cd-col-form" *cdFormLoading="loading"> <form name="rbdForm" #formDir="ngForm" [formGroup]="rbdForm" novalidate> <div class="card"> <div i18n="form title" class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div> <div class="card-...
17,893
44.186869
348
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html
<cd-rbd-tabs></cd-rbd-tabs> <cd-table #table [data]="images" columnMode="flex" [columns]="columns" identifier="unique_id" [searchableObjects]="true" [serverSide]="true" [count]="count" forceIdentifier="true" selectionType="single...
4,692
31.365517
125
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form-modal.component.html
<cd-modal [modalRef]="activeModal"> <ng-container class="modal-title" i18n>Create Namespace</ng-container> <ng-container class="modal-content"> <form name="namespaceForm" #formDir="ngForm" [formGroup]="namespaceForm" novalidate> <div class="modal-body"> ...
3,012
36.6625
90
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list/rbd-namespace-list.component.html
<cd-rbd-tabs></cd-rbd-tabs> <cd-table [data]="namespaces" (fetchData)="refresh()" columnMode="flex" [columns]="columns" identifier="id" forceIdentifier="true" selectionType="single" (updateSelection)="updateSelection($event)"> <div class="table-ac...
572
29.157895
54
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.html
<cd-rbd-tabs></cd-rbd-tabs> <cd-grafana i18n-title title="RBD overview" [grafanaPath]="'rbd-overview?'" [type]="'metrics'" uid="41FrpeUiz" grafanaStyle="two"> </cd-grafana>
234
22.5
43
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-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 name="snapshotForm" #formDir="ngForm" [formGroup]="snapshotForm" n...
2,896
45.725806
151
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.html
<cd-table [data]="data" columnMode="flex" selectionType="single" (updateSelection)="updateSelection($event)" [columns]="columns"> <cd-table-actions class="table-actions" [permission]="permission" [selection]="selection" ...
557
30
61
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.html
<ul class="nav nav-tabs"> <li class="nav-item"> <a class="nav-link" routerLink="/block/rbd" routerLinkActive="active" ariaCurrentWhenActive="page" [routerLinkActiveOptions]="{exact: true}" i18n>Images</a> </li> <li class="nav-item"> <a class="nav-link" routerLink=...
1,026
27.527778
48
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.html
<cd-rbd-tabs></cd-rbd-tabs> <cd-table [data]="images" columnMode="flex" [columns]="columns" identifier="id" forceIdentifier="true" selectionType="single" [status]="tableStatus" [autoReload]="-1" (fetchData)="taskListService.fetch()" ...
1,558
28.415094
95
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.html
<cd-modal [modalRef]="activeModal"> <ng-container i18n class="modal-title">Move an image to trash</ng-container> <ng-container class="modal-content"> <form name="moveForm" class="form" #formDir="ngForm" [formGroup]="moveForm" novalidate> <div class=...
2,134
35.810345
104
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal/rbd-trash-purge-modal.component.html
<cd-modal [modalRef]="activeModal"> <ng-container i18n class="modal-title">Purge Trash</ng-container> <ng-container class="modal-content"> <form name="purgeForm" class="form" #formDir="ngForm" [formGroup]="purgeForm" novalidate> <div class="modal-bo...
1,525
31.468085
87
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.html
<cd-modal [modalRef]="activeModal"> <ng-container i18n class="modal-title">Restore Image</ng-container> <ng-container class="modal-content"> <form name="restoreForm" class="form" #formDir="ngForm" [formGroup]="restoreForm" novalidate> <div class="mo...
1,364
31.5
89
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.html
<div class="chart-container"> <canvas baseChart #chartCanvas [datasets]="chart.datasets" [options]="chart.options" [chartType]="chart.chartType"> </canvas> <div class="chartjs-tooltip" #chartTooltip> <table></table> </div> </div>
289
21.307692
40
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.html
<cd-table [data]="clients.data" [columns]="columns" [status]="clients.status" [autoReload]="-1" (fetchData)="triggerApiUpdate.emit()" selectionType="single" (updateSelection)="updateSelection($event)"> <cd-table-actions class="table-actions" ...
479
33.285714
54
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.html
<div class="row"> <div class="col-sm-6"> <legend i18n>Ranks</legend> <cd-table [data]="data.ranks" [columns]="columns.ranks" [toolHeader]="false"> </cd-table> <legend i18n>Standbys</legend> <cd-table-key-value [data]="standbys"> </cd-table-key-value> </div> <d...
1,172
25.659091
83
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.html
<div class="row"> <div class="col-sm-4 pe-0"> <div class="card"> <div class="card-header"> <button type="button" [class.disabled]="loadingIndicator" class="btn btn-light pull-right" (click)="refreshAllDirectories()"> <i [ngClass]="[icons.larg...
2,652
33.907895
71
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.html
<cd-table [data]="filesystems" columnMode="flex" [columns]="columns" (fetchData)="loadFilesystems($event)" identifier="id" forceIdentifier="true" selectionType="single" [hasDetails]="true" (setExpandedRow)="setExpandedRow($event)" ...
475
30.733333
54
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html
<ng-container *ngIf="selection"> <nav ngbNav #nav="ngbNav" (navChange)="softRefresh()" class="nav-tabs" cdStatefulTab="cephfs-tabs"> <ng-container ngbNavItem="details"> <a ngbNavLink i18n>Details</a> <ng-template ngbNavContent> <cd-cephfs-detail [data]="det...
1,639
31.156863
86
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.html
<cd-table [data]="data" (fetchData)="getConfigurationList($event)" [columns]="columns" [extraFilterableColumns]="filters" selectionType="single" [hasDetails]="true" (setExpandedRow)="setExpandedRow($event)" (updateSelection)="updateSelection($event)"...
911
32.777778
72
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-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.name }}</td> </tr> <tr> <td i18n class="bold">Description</td> <td>{{ select...
2,727
24.735849
79
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.html
<div class="cd-col-form" *cdFormLoading="loading"> <form name="configForm" #formDir="ngForm" [formGroup]="configForm" novalidate> <div class="card"> <div class="card-header"> <ng-container i18>Edit</ng-container> {{ configForm.getValue('name') }} </div> <div...
5,920
35.776398
108
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/create-cluster/create-cluster-review.component.html
<div class="row"> <div class="col-lg-3"> <fieldset> <legend class="cd-header" i18n>Cluster Resources</legend> <table class="table table-striped"> <tr> <td i18n class="bold">Hosts</td> <td>{{ hostsCount }}</td> </tr> <tr> ...
1,314
23.811321
56
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/create-cluster/create-cluster.component.html
<div class="container h-75" *ngIf="!startClusterCreation"> <div class="row h-100 justify-content-center align-items-center"> <div class="blank-page"> <!-- htmllint img-req-src="false" --> <img [src]="projectConstants.cephLogo" alt="Ceph" class="img-fluid mx-auto d-block"> ...
3,799
35.538462
104
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.html
<div class="row"> <div class="col-sm-12 col-lg-12"> <div class="card"> <div class="card-header" i18n>CRUSH map viewer</div> <div class="card-body"> <div class="row"> <div class="col-sm-6 col-lg-6 tree-container"> <i *ngIf="loadingIndicator" [ngCl...
1,534
35.547619
166
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.html
<nav ngbNav #nav="ngbNav" class="nav-tabs"> <ng-container ngbNavItem> <a ngbNavLink i18n>Hosts List</a> <ng-template ngbNavContent> <cd-table #table [data]="hosts" [columns]="columns" columnMode="flex" (fetchData)="getHosts...
2,920
29.113402
89
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.html
<ng-container *ngIf="selection"> <nav ngbNav #nav="ngbNav" class="nav-tabs" cdStatefulTab="host-details"> <ng-container ngbNavItem="devices"> <a ngbNavLink i18n>Devices</a> <ng-template ngbNavContent> <cd-device-list [hostname]="selection['hostname']"></cd-device-...
2,108
32.47619
85
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form/host-form.component.html
<cd-modal [pageURL]="pageURL" [modalRef]="activeModal"> <span class="modal-title" i18n>{{ action | titlecase }} {{ resource | upperFirst }}</span> <ng-container class="modal-content"> <div *cdFormLoading="loading"> <form name="hostForm" #formDir="ngForm" [formGr...
4,270
38.183486
159
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.html
<cd-orchestrator-doc-panel *ngIf="showDocPanel"></cd-orchestrator-doc-panel> <ng-container *ngIf="orchStatus?.available"> <legend i18n>Physical Disks</legend> <div class="row"> <div class="col-md-12"> <cd-inventory-devices [devices]="devices" [hiddenColumns]="hostname === undef...
575
37.4
88
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.html
<cd-table [data]="devices" [columns]="columns" identifier="uid" [forceIdentifier]="true" [selectionType]="selectionType" columnMode="flex" (fetchData)="getDevices()" [searchField]="false" (updateSelection)="updateSelection($event)" ...
596
34.117647
66
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.html
<div *ngIf="contentData"> <ng-container *ngTemplateOutlet="logFiltersTpl"></ng-container> <nav ngbNav #nav="ngbNav" class="nav-tabs" cdStatefulTab="logs"> <ng-container ngbNavItem="cluster-logs"> <a ngbNavLink i18n>Cluster Logs</a> <ng-template ngbNavContent> <...
6,308
32.737968
99
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details/mgr-module-details.component.html
<ng-container *ngIf="selection"> <cd-table-key-value [data]="module_config"> </cd-table-key-value> </ng-container>
119
23
45
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.html
<div class="cd-col-form" *cdFormLoading="loading"> <form name="mgrModuleForm" #frm="ngForm" [formGroup]="mgrModuleForm" novalidate> <div class="card"> <div class="card-header" i18n>Edit Manager module</div> <div class="card-body"> <div class="form-group ...
5,185
45.720721
120
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.html
<cd-table #table [autoReload]="false" [data]="modules" [columns]="columns" columnMode="flex" selectionType="single" [hasDetails]="true" (setExpandedRow)="setExpandedRow($event)" (updateSelection)="updateSelection($event)" identifi...
714
33.047619
53
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.html
<div class="row"> <div class="col-lg-4"> <fieldset> <legend class="cd-header" i18n>Status</legend> <table class="table table-striped" *ngIf="mon_status"> <tbody> <tr> <td i18n class="bold">Cluster ID</td> <td>{{ mon_s...
1,837
26.848485
68
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal/osd-creation-preview-modal.component.html
<cd-modal [modalRef]="activeModal"> <ng-container class="modal-title" i18n>OSD creation preview</ng-container> <ng-container class="modal-content"> <form #frm="ngForm" [formGroup]="formGroup" novalidate> <div class="modal-body"> <h4 i18n>DriveGroups</h4> ...
658
30.380952
87
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.html
<ng-container *ngIf="selection"> <nav ngbNav #nav="ngbNav" id="tabset-osd-details" class="nav-tabs" cdStatefulTab="osd-details"> <ng-container ngbNavItem="devices"> <a ngbNavLink i18n>Devices</a> <ng-template ngbNavContent> <cd-device-list [osdId]="osd?.id"...
2,524
33.589041
81
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/osd-devices-selection-groups.component.html
<!-- button --> <div class="form-group row"> <label class="cd-col-form-label" for="createDeleteButton"> <ng-container i18n>{{ name }} devices</ng-container> <cd-helper> <span i18n *ngIf="type === 'data'">The primary storage devices. These devices contain all OSD data.</span> <...
2,360
44.403846
365
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.html
<cd-modal [modalRef]="activeModal"> <ng-container class="modal-title" i18n>{{ deviceType }} devices</ng-container> <ng-container class="modal-content"> <form #frm="ngForm" [formGroup]="formGroup" novalidate> <div class="modal-body"> <cd-alert-panel *ngIf="!canS...
1,791
39.727273
110
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal/osd-flags-indiv-modal.component.html
<cd-modal [modalRef]="activeModal"> <ng-container class="modal-title" i18n>Individual OSD Flags</ng-container> <ng-container class="modal-content"> <form name="osdFlagsForm" #formDir="ngForm" [formGroup]="osdFlagsForm" novalidate> <div class="modal-body osd-m...
1,810
35.959184
88
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.html
<cd-modal [modalRef]="activeModal"> <ng-container class="modal-title" i18n>Cluster-wide OSD Flags</ng-container> <ng-container class="modal-content"> <form name="osdFlagsForm" #formDir="ngForm" [formGroup]="osdFlagsForm" novalidate cdFormScope="osd"> ...
1,484
34.357143
88
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html
<cd-orchestrator-doc-panel *ngIf="!hasOrchestrator"></cd-orchestrator-doc-panel> <div class="card" *cdFormLoading="loading"> <div i18n="form title|Example: Create Pool@@formTitle" class="card-header" *ngIf="!hideTitle">{{ action | titlecase }} {{ resource | upperFirst }}</div> <div class="card-b...
10,052
44.90411
109
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html
<nav ngbNav #nav="ngbNav" class="nav-tabs"> <ng-container ngbNavItem> <a ngbNavLink i18n>OSDs List</a> <ng-template ngbNavContent> <cd-table [data]="osds" (fetchData)="getOsdList()" [columns]="columns" selectionType="multiClick" ...
5,469
34.290323
99
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-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 #formDir="ngForm" [formGroup]="osdPgScrubForm" novalidate cdFormSc...
1,873
39.73913
103
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal/osd-recv-speed-modal.component.html
<cd-modal [modalRef]="activeModal"> <ng-container class="modal-title" i18n>OSD Recovery Priority</ng-container> <ng-container class="modal-content"> <form #formDir="ngForm" [formGroup]="osdRecvSpeedForm" novalidate cdFormScope="osd"> <div class="modal-body"> ...
4,085
42.935484
115
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal/osd-reweight-modal.component.html
<cd-modal [modalRef]="activeModal"> <ng-container class="modal-title" i18n>Reweight OSD: {{ osdId }}</ng-container> <ng-container class="modal-content"> <form [formGroup]="reweightForm"> <div class="modal-body"> <div class="row"> <label for="weight" clas...
1,367
34.076923
90
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal/osd-scrub-modal.component.html
<cd-modal [modalRef]="activeModal"> <span class="modal-title" i18n>OSDs {deep, select, true {Deep } other {}}Scrub</span> <ng-container class="modal-content"> <form name="scrubForm" #formDir="ngForm" [formGroup]="scrubForm" novalidate> <div class="modal-body"> ...
767
32.391304
88
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.html
<cd-prometheus-tabs></cd-prometheus-tabs> <cd-alert-panel *ngIf="!isAlertmanagerConfigured" type="info" i18n>To see all active Prometheus alerts, please provide the URL to the API of Prometheus' Alertmanager as described in the <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel...
1,501
34.761905
72
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/prometheus-tabs/prometheus-tabs.component.html
<ul class="nav nav-tabs"> <li class="nav-item"> <a class="nav-link" routerLink="/monitoring/active-alerts" routerLinkActive="active" ariaCurrentWhenActive="page" [routerLinkActiveOptions]="{exact: true}" i18n>Active Alerts <small *ngIf="prometheusAlertService.activeCriticalA...
1,087
34.096774
101
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html
<cd-prometheus-tabs></cd-prometheus-tabs> <cd-alert-panel *ngIf="!isPrometheusConfigured" type="info" i18n>To see all configured Prometheus alerts, please provide the URL to the API of Prometheus as described in the <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel> <cd-table...
851
36.043478
68
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.html
<ng-template #matcherTpl let-matcher="matcher" let-index="index"> <div class="input-group my-2"> <ng-container *ngFor="let config of matcherConfig"> <span class="input-group-text" *ngIf="config.attribute === 'isRegex'"> <i *ngIf="matcher[config.attribute]" ...
7,499
34.377358
123
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list/silence-list.component.html
<cd-prometheus-tabs></cd-prometheus-tabs> <cd-alert-panel *ngIf="!isAlertmanagerConfigured" type="info" i18n>To enable Silences, please provide the URL to the API of the Prometheus' Alertmanager as described in the <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel> <cd-table ...
1,296
36.057143
66
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal/silence-matcher-modal.component.html
<cd-modal [modalRef]="activeModal"> <span class="modal-title" i18n>{editMode, select, true {Edit} other {Add}} Matcher</span> <ng-container class="modal-content"> <form class="form" #formDir="ngForm" [formGroup]="form" novalidate> <div class="modal-body"> <!-...
3,139
35.511628
90
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.html
<cd-orchestrator-doc-panel *ngIf="showDocPanel"></cd-orchestrator-doc-panel> <ng-container *ngIf="orchStatus?.available"> <cd-table [data]="services" [columns]="columns" identifier="service_name" forceIdentifier="true" columnMode="flex" selectionType="single...
1,419
34.5
94
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.html
<cd-orchestrator-doc-panel *ngIf="showDocPanel"></cd-orchestrator-doc-panel> <div *ngIf="flag === 'hostDetails'; else serviceDetailsTpl"> <ng-container *ngTemplateOutlet="serviceDaemonDetailsTpl"></ng-container> </div> <ng-template #serviceDetailsTpl> <ng-container> <nav ngbNav #nav="ngbNav" ...
3,227
30.339806
83
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details/service-details.component.html
<ng-container *ngIf="selection"> <cd-service-daemon-list [serviceName]="selection['service_name']"> </cd-service-daemon-list> </ng-container>
146
28.4
68
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html
<cd-modal [pageURL]="pageURL" [modalRef]="activeModal"> <span class="modal-title" i18n>{{ action | titlecase }} {{ resource | upperFirst }}</span> <ng-container class="modal-content"> <form #frm="ngForm" [formGroup]="serviceForm" novalidate> <div class="modal-body"> ...
36,861
43.681212
191
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.html
<div class="cd-col-form" *cdFormLoading="loading"> <ng-container [ngSwitch]="step"> <!-- Configuration step --> <div *ngSwitchCase="1"> <form name="form" #formDir="ngForm" [formGroup]="configForm" novalidate> <div class="card"> <div class="card-...
15,628
44.17052
192
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/upgrade/upgrade.component.html
<ng-container *ngIf="{upgradeInfo: upgradeInfo$ | async, error: upgradeInfoError$ } as upgrade"> <div class="row h-25 ms-1" *ngIf="!upgrade.upgradeInfoError && upgrade.upgradeInfo as upgradeInfo; else checkUpgrade"> <ng-container *ngIf="healthData$ | async as healthData"> <div class="col-lg-3 h-50 d-...
3,993
38.156863
128
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/card-row/card-row.component.html
<div class="d-flex pl-1 pb-2 pt-2"> <div class="ms-2 me-auto"> <a [routerLink]="link" *ngIf="link && total > 0; else noLinkTitle" [ngPlural]="total" i18n> {{ total }} <ng-template ngPluralCase="=0">{{ title }}</ng-template> <ng-template ngPluralCase="=1">{{ title }}</ng-te...
4,450
25.494048
105
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/card/card.component.html
<div class="card shadow-sm flex-fill"> <h4 class="card-title mt-4 ms-4 mb-0"> {{ cardTitle }} </h4> <div class="card-body ps-0 pe-0"> <ng-content></ng-content> </div> </div>
190
20.222222
40
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard-area-chart/dashboard-area-chart.component.html
<div class="row"> <div class="col-3 center-text"> <br> <b class="chartTitle" i18n>{{ chartTitle }}</b> <br> <span [ngbTooltip]="label" i18n>{{currentData}} {{ currentDataUnits }}</span> <br> <span [ngbTooltip]="label2" i18n>{{currentData2}} {{ currentDataUnits2 }}</s...
610
24.458333
62
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard-pie/dashboard-pie.component.html
<div class="chart-container"> <canvas baseChart #chartCanvas [datasets]="chartConfig.dataset" [chartType]="chartConfig.chartType" [options]="chartConfig.options" [labels]="chartConfig.labels" [colors]="chartConfig.colors" [plugins]="doughnutChartPl...
460
26.117647
45
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard-time-selector/dashboard-time-selector.component.html
<div class="timeSelector"> <select id="timepicker" name="timepicker" [(ngModel)]="time" (ngModelChange)="emitTime()" class="form-select"> <option *ngFor="let key of times" [ngValue]="key.value">{{ key.name }} </option> </select> </div>
300
24.083333
48
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.html
<div class="container-fluid" *ngIf="healthData && enabledFeature$ | async as enabledFeature"> <div class="row mx-0"> <cd-card cardTitle="Details" i18n-title class="col-sm-3 px-3" [ngClass]="{'d-flex': flexHeight}" aria-label="Details card"> <dl class=...
11,511
39.251748
143
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.html
<main aria-label="Dashboard"> <a href="#main" class="sr-only">skip to content</a> <ng-container *ngIf="(enabledFeature$ | async)?.dashboard === false; else dashboardV3" class="main-padding"> <cd-refresh-selector></cd-refresh-selector> <cd-health id="main"></cd-health> </ng-container...
417
25.125
88
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.html
<div class="chart-container"> <canvas baseChart #chartCanvas [datasets]="chartConfig.dataset" [chartType]="chartConfig.chartType" [options]="chartConfig.options" [labels]="chartConfig.labels" [colors]="chartConfig.colors" [plugins]="doughnutChartPl...
440
26.5625
45
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html
<div *ngIf="healthData && enabledFeature$ | async as enabledFeature" class="container-fluid"> <cd-info-group groupTitle="Status" i18n-groupTitle *ngIf="healthData.health?.status || healthData.mon_status || healthData.osd_map || ...
9,536
38.572614
115
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.html
<div class="card shadow-sm" [ngClass]="cardClass"> <div class="card-body d-flex align-items-center justify-content-center"> <h4 class="card-title m-4"> <a *ngIf="link; else noLinkTitle" [routerLink]="link">{{ cardTitle }}</a> <ng-template #noLinkTitle> {{ cardTitle }} </ng...
475
24.052632
74
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.html
<div class="row"> <div class="info-group-title"> <span>{{ groupTitle }}</span> <cd-helper iconClass="fa fa-info-circle fa-2xs"> <div class="text-center" i18n>For an overview of {{ groupTitle|lowercase }} widgets click <cd-doc section="dashboard-landing-page-{{ groupTitle|lowercase }}"...
491
26.333333
75
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.html
<ng-container *ngIf="selection"> <nav ngbNav #nav="ngbNav" class="nav-tabs" cdStatefulTab="nfs-details"> <ng-container ngbNavItem="details"> <a ngbNavLink i18n>Details</a> <ng-template ngbNavContent> <cd-table-key-value [data]="data"> </cd-table-key-value>...
887
25.909091
48
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.html
<div class="form-group row"> <label class="cd-col-form-label" i18n>Clients</label> <div class="cd-col-form-input" [formGroup]="form" #formDir="ngForm"> <span *ngIf="form.get('clients').value.length === 0" class="no-border text-muted"> <span class="form-text text-muted" ...
4,119
36.454545
101
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html
<div class="cd-col-form" *cdFormLoading="loading"> <form name="nfsForm" #formDir="ngForm" [formGroup]="nfsForm" novalidate> <div class="card"> <div i18n="form title" class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div> <div class="card...
17,215
41.932668
147
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.html
<cd-table #table [data]="exports" columnMode="flex" [columns]="columns" identifier="id" forceIdentifier="true" selectionType="single" [hasDetails]="true" (setExpandedRow)="setExpandedRow($event)" (updateSelection)="updateSelection...
954
29.806452
54
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter/performance-counter.component.html
<legend>{{ serviceType }}.{{ serviceId }}</legend> <cd-table-performance-counter [serviceType]="serviceType" [serviceId]="serviceId"> </cd-table-performance-counter>
196
38.4
57
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.html
<cd-table *ngIf="counters; else warning" [data]="counters" [columns]="columns" columnMode="flex" [autoSave]="false" (fetchData)="getCounters($event)"> <ng-template #valueTpl let-row="row"> {{ row.value | dimless }} {{ row.unit }} </ng-template> </...
476
28.8125
74
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-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]="form" novalidate> <div class="modal-body"> ...
4,708
36.975806
121
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-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]="form" novalidate> <div class="modal-body"> ...
16,589
38.594272
121
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html
<ng-container *ngIf="selection" cdTableDetail> <nav ngbNav #nav="ngbNav" class="nav-tabs" cdStatefulTab="pool-details"> <ng-container ngbNavItem="details"> <a ngbNavLink i18n>Details</a> <ng-template ngbNavContent> <cd-table-key-value [renderObjects]...
1,848
32.618182
100
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html
<div class="cd-col-form" *cdFormLoading="loading"> <form name="form" #formDir="ngForm" [formGroup]="form" novalidate> <div class="card"> <div i18n="form title|Example: Create Pool@@formTitle" class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</di...
26,023
41.662295
113
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.html
<nav ngbNav #nav="ngbNav" class="nav-tabs"> <ng-container ngbNavItem> <a ngbNavLink i18n>Pools List</a> <ng-template ngbNavContent> <cd-table #table id="pool-list" [data]="pools" [columns]="columns" selectionType="single" ...
2,055
32.16129
82
html
null
ceph-main/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/create-rgw-service-entities/create-rgw-service-entities.component.html
<cd-modal [modalRef]="activeModal"> <ng-container i18n="form title" class="modal-title">Create Realm/Zonegroup/Zone </ng-container> <ng-container class="modal-content"> <form name="createMultisiteEntitiesForm" #formDir="ngForm" [formGroup]="createMultisiteEntitiesForm" ...
2,708
37.15493
109
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.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-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/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-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-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-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-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-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-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-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-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-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-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-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-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