1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 15:25:22 +02:00

chore(prettier): add tailwind prettier plugin [EE-4809] (#8221)

* add prettier plugin

* apply tailwind prettier formatting
This commit is contained in:
Ali 2023-02-13 10:04:24 +13:00 committed by GitHub
parent 9f6702d0b8
commit 58d66d3142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
226 changed files with 704 additions and 699 deletions

View file

@ -1,4 +1,4 @@
<a class="ml-5 vertical-center be-indicator" href="{{ $ctrl.url }}" target="_blank" rel="noopener" ng-if="$ctrl.limitedToBE">
<a class="vertical-center be-indicator ml-5" href="{{ $ctrl.url }}" target="_blank" rel="noopener" ng-if="$ctrl.limitedToBE">
<ng-transclude></ng-transclude>
<pr-icon icon="'briefcase'" class-name="'space-right be-indicator-icon'"></pr-icon>
<span class="be-indicator-label">Business Edition Feature</span>

View file

@ -32,7 +32,7 @@
</div>
</div>
<div class="mx-4 mb-4 small text-muted">
<div class="small text-muted mx-4 mb-4">
<div class="" ng-if="$ctrl.inheritFrom">
Access tagged as <code>inherited</code> are inherited from the group access. They cannot be removed or modified at the environment level but they can be overridden.
</div>
@ -40,7 +40,7 @@
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -86,10 +86,10 @@
<td>{{ item.Type }}</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="4" class="text-center text-muted">Loading...</td>
<td colspan="4" class="text-muted text-center">Loading...</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0">
<td colspan="4" class="text-center text-muted">No authorized users or teams.</td>
<td colspan="4" class="text-muted text-center">No authorized users or teams.</td>
</tr>
</tbody>
</table>

View file

@ -1,5 +1,5 @@
<div class="datatable">
<table class="table table-hover">
<table class="table-hover table">
<div class="col-sm-12">
<pr-icon icon="'search'" class-name="'searchIcon'"></pr-icon>
<input
@ -47,15 +47,15 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="2" class="text-center text-muted">Loading...</td>
<td colspan="2" class="text-muted text-center">Loading...</td>
</tr>
<tr
ng-if="
$ctrl.dataset.length === 0 ||
($ctrl.dataset | filter: $ctrl.state.textFilter | orderBy: $ctrl.state.orderBy:$ctrl.state.reverseOrder | itemsPerPage: $ctrl.state.paginatedItemLimit).length === 0
($ctrl.dataset | filter : $ctrl.state.textFilter | orderBy : $ctrl.state.orderBy : $ctrl.state.reverseOrder | itemsPerPage : $ctrl.state.paginatedItemLimit).length === 0
"
>
<td colspan="2" class="text-center text-muted">{{ $ctrl.emptyDatasetMessage }}</td>
<td colspan="2" class="text-muted text-center">{{ $ctrl.emptyDatasetMessage }}</td>
</tr>
</tbody>
</table>

View file

@ -31,8 +31,8 @@
class="form-group mt-4"
ng-if="$ctrl.formData.AccessControlEnabled && $ctrl.formData.Ownership === $ctrl.RCO.RESTRICTED && ($ctrl.isAdmin || (!$ctrl.isAdmin && $ctrl.availableTeams.length > 1))"
>
<div class="w-full vertical-center">
<label for="group-access" class="control-label text-left col-sm-3 col-lg-2 !pt-0">
<div class="vertical-center w-full">
<label for="group-access" class="control-label col-sm-3 col-lg-2 !pt-0 text-left">
Authorized teams
<portainer-tooltip
ng-if="$ctrl.isAdmin && $ctrl.availableTeams.length > 0"
@ -62,8 +62,8 @@
<!-- !authorized-teams -->
<!-- authorized-users -->
<div class="form-group" ng-if="$ctrl.formData.AccessControlEnabled && $ctrl.formData.Ownership === $ctrl.RCO.RESTRICTED && $ctrl.isAdmin">
<div class="w-full vertical-center">
<label for="group-access" class="control-label text-left col-sm-3 col-lg-2 !pt-0">
<div class="vertical-center w-full">
<label for="group-access" class="control-label col-sm-3 col-lg-2 !pt-0 text-left">
Authorized users
<portainer-tooltip
ng-if="$ctrl.isAdmin && $ctrl.availableUsers.length > 0"

View file

@ -1,7 +1,7 @@
<ng-form name="commonCustomTemplateForm">
<!-- title-input -->
<div class="form-group mb-0">
<label for="template_title" class="col-sm-3 col-lg-2 control-label text-left required"> Title </label>
<label for="template_title" class="col-sm-3 col-lg-2 control-label required text-left"> Title </label>
<div class="col-sm-8">
<input
type="text"
@ -16,7 +16,7 @@
/>
<span class="help-block">
<div ng-show="commonCustomTemplateForm.template_title.$invalid">
<div class="mt-2 small text-warning">
<div class="small text-warning mt-2">
<div ng-messages="commonCustomTemplateForm.template_title.$error">
<p class="vertical-center" ng-message="required"> <pr-icon icon="'alert-triangle'" mode="'warning'"></pr-icon> Title is required. </p>
<p class="vertical-center" ng-message="pattern">
@ -33,11 +33,11 @@
<!-- description-input -->
<div class="form-group mb-0">
<label for="description" class="col-sm-3 col-lg-2 control-label text-left required">Description</label>
<label for="description" class="col-sm-3 col-lg-2 control-label required text-left">Description</label>
<div class="col-sm-8">
<input type="text" class="form-control" id="description" ng-model="$ctrl.formValues.Description" name="description" required />
<span class="help-block">
<div class="mt-2 small text-warning">
<div class="small text-warning mt-2">
<div ng-show="commonCustomTemplateForm.description.$invalid">
<div ng-messages="commonCustomTemplateForm.description.$error">
<p class="vertical-center" ng-message="required"> <pr-icon icon="'alert-triangle'" mode="'warning'"></pr-icon> Description is required.</p>

View file

@ -1,7 +1,7 @@
<div class="datatable">
<rd-widget>
<rd-widget-body classes="no-padding">
<div class="toolBar vertical-center !gap-x-5 !gap-y-1 flex-wrap">
<div class="toolBar vertical-center flex-wrap !gap-x-5 !gap-y-1">
<div class="toolBarTitle vertical-center">
<div class="widget-icon space-right">
<pr-icon icon="$ctrl.titleIcon"></pr-icon>
@ -28,7 +28,7 @@
</div>
</div>
<div class="blocklist !px-[20px] gap-y-2 !pb-[20px]">
<div class="blocklist gap-y-2 !px-[20px] !pb-[20px]">
<template-item
ng-repeat="template in $ctrl.templates | filter:$ctrl.state.textFilter"
model="template"
@ -48,8 +48,8 @@
</div>
</template-item-actions>
</template-item>
<div ng-if="!$ctrl.templates" class="text-center text-muted"> Loading... </div>
<div ng-if="($ctrl.templates | filter: $ctrl.state.textFilter).length === 0" class="text-center text-muted"> No templates available. </div>
<div ng-if="!$ctrl.templates" class="text-muted text-center"> Loading... </div>
<div ng-if="($ctrl.templates | filter : $ctrl.state.textFilter).length === 0" class="text-muted text-center"> No templates available. </div>
</div>
</rd-widget-body>
</rd-widget>

View file

@ -37,7 +37,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -107,7 +107,7 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="3" class="text-center text-muted">Loading...</td>
<td colspan="3" class="text-muted text-center">Loading...</td>
</tr>
</tbody>
</table>

View file

@ -40,7 +40,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells" data-cy="endpoint-endpointTable">
<table class="table-hover nowrap-cells table" data-cy="endpoint-endpointTable">
<thead>
<tr>
<th>
@ -122,10 +122,10 @@
</td>
</tr>
<tr ng-if="$ctrl.state.loading">
<td colspan="5" class="text-center text-muted">Loading...</td>
<td colspan="5" class="text-muted text-center">Loading...</td>
</tr>
<tr ng-if="!$ctrl.state.loading && $ctrl.state.filteredDataSet.length === 0">
<td colspan="5" class="text-center text-muted">No environment available.</td>
<td colspan="5" class="text-muted text-center">No environment available.</td>
</tr>
</tbody>
</table>

View file

@ -38,7 +38,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells" data-cy="endpointGroup-endpointGroupTable">
<table class="table-hover nowrap-cells table" data-cy="endpointGroup-endpointGroupTable">
<thead>
<tr>
<th>
@ -83,10 +83,10 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="3" class="text-center text-muted">Loading...</td>
<td colspan="3" class="text-muted text-center">Loading...</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0">
<td colspan="3" class="text-center text-muted">No group available.</td>
<td colspan="3" class="text-muted text-center">No group available.</td>
</tr>
</tbody>
</table>

View file

@ -25,20 +25,20 @@
<button
ng-if="!$ctrl.endpointType"
type="button"
class="btn btn-sm btn-dangerlight h-fit vertical-center !ml-0"
class="btn btn-sm btn-dangerlight vertical-center !ml-0 h-fit"
ng-disabled="$ctrl.state.selectedItemCount === 0"
ng-click="$ctrl.removeAction($ctrl.state.selectedItems)"
data-cy="registry-removeRegistryButton"
>
<pr-icon icon="'trash-2'"></pr-icon>Remove
</button>
<button type="button" class="btn btn-sm btn-primary h-fit vertical-center !ml-0" ui-sref="portainer.registries.new" data-cy="registry-addRegistryButton">
<button type="button" class="btn btn-sm btn-primary vertical-center !ml-0 h-fit" ui-sref="portainer.registries.new" data-cy="registry-addRegistryButton">
<pr-icon icon="'plus'"></pr-icon>Add registry
</button>
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -103,7 +103,7 @@
<td>
<button
type="button"
class="btn btn-link hover:no-underline !ml-0 px-0 vertical-center"
class="btn btn-link vertical-center !ml-0 px-0 hover:no-underline"
ng-if="$ctrl.canManageAccess(item)"
ng-click="$ctrl.redirectToManageAccess(item)"
>
@ -117,7 +117,7 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="3" class="text-center text-muted">Loading...</td>
<td colspan="3" class="text-muted text-center">Loading...</td>
</tr>
</tbody>
</table>

View file

@ -1,7 +1,7 @@
<div class="datatable">
<rd-widget>
<rd-widget-body classes="no-padding" ng-if="$ctrl.createEnabled">
<div class="toolBar vertical-center !gap-x-5 !gap-y-1 flex-wrap">
<div class="toolBar vertical-center flex-wrap !gap-x-5 !gap-y-1">
<div class="toolBarTitle vertical-center">
<div class="widget-icon space-right">
<pr-icon icon="'layers'"></pr-icon>
@ -24,7 +24,7 @@
<div class="actionBar !gap-3" authorization="PortainerStackCreate, PortainerStackDelete">
<button
type="button"
class="btn btn-sm btn-dangerlight h-fit vertical-center !ml-0"
class="btn btn-sm btn-dangerlight vertical-center !ml-0 h-fit"
authorization="PortainerStackDelete"
ng-disabled="!$ctrl.createEnabled || $ctrl.state.selectedItemCount === 0"
ng-click="$ctrl.removeAction($ctrl.state.selectedItems)"
@ -35,7 +35,7 @@
<button
ng-disabled="!$ctrl.createEnabled"
type="button"
class="btn btn-sm btn-primary h-fit vertical-center !ml-0"
class="btn btn-sm btn-primary vertical-center !ml-0 h-fit"
ui-sref="docker.stacks.newstack"
authorization="PortainerStackCreate"
data-cy="stack-addStackButton"
@ -87,11 +87,11 @@
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells" data-cy="stack-stackTable">
<table class="table-hover nowrap-cells table" data-cy="stack-stackTable">
<thead>
<tr>
<th uib-dropdown dropdown-append-to-body auto-close="disabled" is-open="$ctrl.filters.state.open">
<div class="flex flex-row flex-no-wrap gap-1">
<div class="flex-no-wrap flex flex-row gap-1">
<span class="md-checkbox" authorization="PortainerStackCreate, PortainerStackDelete">
<input id="select_all" type="checkbox" ng-model="$ctrl.state.selectAll" ng-change="$ctrl.selectAll()" />
<label for="select_all"></label>
@ -228,10 +228,10 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset" data-cy="stacks-loadingTableRow">
<td colspan="6" class="text-center text-muted">Loading...</td>
<td colspan="6" class="text-muted text-center">Loading...</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0" data-cy="stacks-noStackTableRow">
<td colspan="6" class="text-center text-muted">No stack available.</td>
<td colspan="6" class="text-muted text-center">No stack available.</td>
</tr>
</tbody>
</table>

View file

@ -1,6 +1,6 @@
<div class="datatable">
<rd-widget>
<div class="toolBar vertical-center !gap-x-5 !gap-y-1 flex-wrap w-full relative">
<div class="toolBar vertical-center relative w-full flex-wrap !gap-x-5 !gap-y-1">
<div class="toolBarTitle vertical-center">
<div class="widget-icon space-right">
<pr-icon icon="$ctrl.titleIcon"></pr-icon>
@ -32,7 +32,7 @@
</div>
<rd-widget-body classes="no-padding">
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -73,7 +73,7 @@
</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0">
<td class="text-center text-muted">{{ $ctrl.emptyDatasetMessage }}</td>
<td class="text-muted text-center">{{ $ctrl.emptyDatasetMessage }}</td>
</tr>
</tbody>
</table>

View file

@ -26,7 +26,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -60,10 +60,10 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="1" class="text-center text-muted">Loading...</td>
<td colspan="1" class="text-muted text-center">Loading...</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0">
<td colspan="1" class="text-center text-muted">No tag available.</td>
<td colspan="1" class="text-muted text-center">No tag available.</td>
</tr>
</tbody>
</table>

View file

@ -1,7 +1,7 @@
<div class="datatable">
<rd-widget>
<rd-widget-body classes="no-padding">
<div class="toolBar vertical-center !gap-x-5 !gap-y-1 flex-wrap">
<div class="toolBar vertical-center flex-wrap !gap-x-5 !gap-y-1">
<div class="toolBarTitle vertical-center">
<div class="widget-icon space-right">
<pr-icon icon="$ctrl.titleIcon"></pr-icon>
@ -24,7 +24,7 @@
<div class="actionBar !gap-3" ng-show="$ctrl.isAdmin">
<button
type="button"
class="btn btn-sm btn-dangerlight h-fit vertical-center !ml-0"
class="btn btn-sm btn-dangerlight vertical-center !ml-0 h-fit"
ng-disabled="$ctrl.state.selectedItemCount === 0"
ng-click="$ctrl.removeAction($ctrl.state.selectedItems)"
data-cy="user-removeUserButton"
@ -35,7 +35,7 @@
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells" data-cy="user-userTable">
<table class="table-hover nowrap-cells table" data-cy="user-userTable">
<thead>
<tr>
<th>
@ -101,10 +101,10 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="3" class="text-center text-muted">Loading...</td>
<td colspan="3" class="text-muted text-center">Loading...</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0">
<td colspan="3" class="text-center text-muted">No user available.</td>
<td colspan="3" class="text-muted text-center">No user available.</td>
</tr>
</tbody>
</table>

View file

@ -15,7 +15,7 @@
<div ng-if="$ctrl.mode == 'advanced'" class="environment-variables-panel--advanced">
<div class="col-sm-12 text-clickable">
<button type="button" class="btn btn-link btn-sm hover:no-underline !ml-0 p-0 vertical-center" ng-click="$ctrl.switchEnvMode()">
<button type="button" class="btn btn-link btn-sm vertical-center !ml-0 p-0 hover:no-underline" ng-click="$ctrl.switchEnvMode()">
<pr-icon icon="'list'"></pr-icon> Simple mode
</button>
</div>

View file

@ -26,7 +26,7 @@
</div>
</div>
<div class="col-sm-6">
<div class="w-full env-item-value">
<div class="env-item-value w-full">
<div class="input-group input-group-sm">
<span class="input-group-addon">value</span>
<input

View file

@ -1,6 +1,6 @@
<div class="environment-variables-simple-mode">
<div class="col-sm-12">
<button type="button" class="btn btn-link btn-sm hover:no-underline !ml-0 p-0" ng-click="$ctrl.onSwitchModeClick()"> <pr-icon icon="'edit'"></pr-icon> Advanced mode </button>
<button type="button" class="btn btn-link btn-sm !ml-0 p-0 hover:no-underline" ng-click="$ctrl.onSwitchModeClick()"> <pr-icon icon="'edit'"></pr-icon> Advanced mode </button>
</div>
<div class="col-sm-12 small text-muted">
<pr-icon icon="'alert-circle'" mode="'primary'"></pr-icon>

View file

@ -17,7 +17,7 @@
</div>
<div ng-if="$ctrl.model.RepositoryAuthentication" class="row">
<div class="form-group">
<label for="repository_username" class="col-lg-2 col-sm-3 control-label text-left required"> Username </label>
<label for="repository_username" class="col-lg-2 col-sm-3 control-label required text-left"> Username </label>
<div class="col-sm-8">
<input
type="text"
@ -31,7 +31,7 @@
</div>
</div>
<div class="form-group flex">
<label for="repository_password" class="col-lg-2 col-sm-3 control-label text-left !pt-0">
<label for="repository_password" class="col-lg-2 col-sm-3 control-label !pt-0 text-left">
<div class="required"> Personal Access Token </div>
<portainer-tooltip message="'Provide a personal access token or password'"></portainer-tooltip>
</label>

View file

@ -61,7 +61,7 @@
</div>
</div>
<div class="form-group" ng-if="$ctrl.model.RepositoryAutomaticUpdates && $ctrl.model.RepositoryMechanism === 'Interval'">
<label for="repository_fetch_interval" class="col-sm-3 col-lg-2 control-label text-left required">
<label for="repository_fetch_interval" class="col-sm-3 col-lg-2 control-label required text-left">
Fetch interval
<portainer-tooltip
message="'Specify how frequently polling occurs using syntax such as, 5m = 5 minutes, 24h = 24 hours, 6h40m = 6 hours and 40 minutes.'"

View file

@ -12,7 +12,7 @@
</span>
</div>
<div class="form-group">
<label for="stack_repository_path" class="col-lg-2 col-sm-3 control-label text-left required">{{ $ctrl.deployMethod == 'compose' ? 'Compose' : 'Manifest' }} path</label>
<label for="stack_repository_path" class="col-lg-2 col-sm-3 control-label required text-left">{{ $ctrl.deployMethod == 'compose' ? 'Compose' : 'Manifest' }} path</label>
<div class="col-sm-8">
<input
type="text"

View file

@ -2,7 +2,7 @@
<span class="col-sm-12 text-muted small"> You can use the URL of a git repository. </span>
</div>
<div class="form-group">
<label for="stack_repository_url" class="col-lg-2 col-sm-3 control-label text-left required">Repository URL</label>
<label for="stack_repository_url" class="col-lg-2 col-sm-3 control-label required text-left">Repository URL</label>
<div class="col-sm-8">
<input
type="text"

View file

@ -1,7 +1,7 @@
<form class="form-horizontal" name="endpointGroupForm">
<!-- name-input -->
<div class="form-group">
<label for="group_name" class="col-sm-3 col-lg-2 control-label text-left required">Name</label>
<label for="group_name" class="col-sm-3 col-lg-2 control-label required text-left">Name</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" name="group_name" ng-model="$ctrl.model.Name" placeholder="e.g. my-group" required auto-focus />
<div class="help-block" ng-show="endpointGroupForm.group_name.$invalid">

View file

@ -11,7 +11,7 @@
<!-- name-input -->
<div class="form-group">
<label for="registry_name" class="col-sm-3 col-lg-2 control-label text-left required">Name</label>
<label for="registry_name" class="col-sm-3 col-lg-2 control-label required text-left">Name</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_name" name="registry_name" ng-model="$ctrl.model.Name" placeholder="my-ecr-registry" required auto-focus />
<div class="help-block" ng-show="$ctrl.registryFormEcr.registry_name.$invalid">
@ -81,7 +81,7 @@
<div ng-if="$ctrl.model.Authentication">
<!-- aws-access-key -->
<div class="form-group">
<label for="registry_access_key" class="col-sm-3 col-lg-2 control-label text-left required">AWS Access Key</label>
<label for="registry_access_key" class="col-sm-3 col-lg-2 control-label required text-left">AWS Access Key</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_access_key" name="registry_access_key" ng-model="$ctrl.model.Username" required />
<div class="help-block" ng-show="$ctrl.registryFormEcr.registry_access_key.$invalid">
@ -100,7 +100,7 @@
<!-- aws-secret-access-key -->
<div class="form-group">
<label for="registry_secret_access_key" class="col-sm-3 col-lg-2 control-label text-left required">AWS Secret Access Key</label>
<label for="registry_secret_access_key" class="col-sm-3 col-lg-2 control-label required text-left">AWS Secret Access Key</label>
<div class="col-sm-9 col-lg-10">
<input type="password" class="form-control" id="registry_secret_access_key" name="registry_secret_access_key" ng-model="$ctrl.model.Password" required />
<div class="help-block" ng-show="$ctrl.registryFormEcr.registry_secret_access_key.$invalid">
@ -119,7 +119,7 @@
<!-- region -->
<div class="form-group">
<label for="registry_region" class="col-sm-3 col-lg-2 control-label text-left required">Region</label>
<label for="registry_region" class="col-sm-3 col-lg-2 control-label required text-left">Region</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_region" name="registry_region" placeholder="us-west-1" ng-model="$ctrl.model.Ecr.Region" required />
<div class="help-block" ng-show="$ctrl.registryFormEcr.registry_region.$invalid">

View file

@ -2,7 +2,7 @@
<div class="col-sm-12 form-section-title"> Azure registry details </div>
<!-- name-input -->
<div class="form-group">
<label for="registry_name" class="col-sm-3 col-lg-2 control-label text-left required">Name</label>
<label for="registry_name" class="col-sm-3 col-lg-2 control-label required text-left">Name</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_name" name="registry_name" ng-model="$ctrl.model.Name" placeholder="my-azure-registry" required auto-focus />
<div class="help-block" ng-show="$ctrl.registryFormAzure.registry_name.$invalid">
@ -45,7 +45,7 @@
<!-- url-input -->
<!-- credentials-user -->
<div class="form-group">
<label for="registry_username" class="col-sm-3 col-lg-2 control-label text-left required">Username</label>
<label for="registry_username" class="col-sm-3 col-lg-2 control-label required text-left">Username</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_username" name="registry_username" ng-model="$ctrl.model.Username" required />
<div class="help-block" ng-show="$ctrl.registryFormAzure.registry_username.$invalid">
@ -63,7 +63,7 @@
<!-- !credentials-user -->
<!-- credentials-password -->
<div class="form-group">
<label for="registry_password" class="col-sm-3 col-lg-2 control-label text-left required">Password</label>
<label for="registry_password" class="col-sm-3 col-lg-2 control-label required text-left">Password</label>
<div class="col-sm-9 col-lg-10">
<input type="password" class="form-control" id="registry_password" name="registry_password" ng-model="$ctrl.model.Password" required />
<div class="help-block" ng-show="$ctrl.registryFormAzure.registry_password.$invalid">

View file

@ -9,7 +9,7 @@
<div class="col-sm-12 form-section-title"> Custom registry details </div>
<!-- name-input -->
<div class="form-group">
<label for="registry_name" class="col-sm-3 col-lg-2 control-label text-left required">Name</label>
<label for="registry_name" class="col-sm-3 col-lg-2 control-label required text-left">Name</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_name" name="registry_name" ng-model="$ctrl.model.Name" placeholder="my-custom-registry" required auto-focus />
<div class="help-block" ng-show="$ctrl.registryFormCustom.registry_name.$invalid">
@ -31,7 +31,7 @@
<!-- !name-input -->
<!-- url-input -->
<div class="form-group">
<label for="registry_url" class="col-sm-3 col-lg-2 control-label text-left required">
<label for="registry_url" class="col-sm-3 col-lg-2 control-label required text-left">
Registry URL
<portainer-tooltip message="'URL or IP address of a Docker registry. Any protocol and trailing slash will be stripped if present.'"></portainer-tooltip>
</label>
@ -68,7 +68,7 @@
<div ng-if="$ctrl.model.Authentication">
<!-- credentials-user -->
<div class="form-group">
<label for="registry_username" class="col-sm-3 col-lg-2 control-label text-left required">Username</label>
<label for="registry_username" class="col-sm-3 col-lg-2 control-label required text-left">Username</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_username" name="registry_username" ng-model="$ctrl.model.Username" required />
<div class="help-block" ng-show="$ctrl.registryFormCustom.registry_username.$invalid">
@ -86,7 +86,7 @@
<!-- !credentials-user -->
<!-- credentials-password -->
<div class="form-group">
<label for="registry_password" class="col-sm-3 col-lg-2 control-label text-left required">Password</label>
<label for="registry_password" class="col-sm-3 col-lg-2 control-label required text-left">Password</label>
<div class="col-sm-9 col-lg-10">
<input type="password" class="form-control" id="registry_password" name="registry_password" ng-model="$ctrl.model.Password" required />
<div class="help-block" ng-show="$ctrl.registryFormCustom.registry_password.$invalid">

View file

@ -11,7 +11,7 @@
<div class="col-sm-12 form-section-title"> DockerHub account details </div>
<!-- name-input -->
<div class="form-group">
<label for="registry_name" class="col-sm-3 col-lg-2 control-label text-left required">Name</label>
<label for="registry_name" class="col-sm-3 col-lg-2 control-label required text-left">Name</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_name" name="registry_name" ng-model="$ctrl.model.Name" placeholder="dockerhub-prod-us" required />
<div class="help-block" ng-show="$ctrl.registryFormDockerhub.registry_name.$invalid">
@ -33,7 +33,7 @@
<!-- !name-input -->
<!-- credentials-user -->
<div class="form-group">
<label for="registry_username" class="col-sm-3 col-lg-2 control-label text-left required">DockerHub username</label>
<label for="registry_username" class="col-sm-3 col-lg-2 control-label required text-left">DockerHub username</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_username" name="registry_username" ng-model="$ctrl.model.Username" required />
<div class="help-block" ng-show="$ctrl.registryFormDockerhub.registry_username.$invalid">
@ -51,7 +51,7 @@
<!-- !credentials-user -->
<!-- credentials-password -->
<div class="form-group">
<label for="registry_password" class="col-sm-3 col-lg-2 control-label text-left required">DockerHub access token</label>
<label for="registry_password" class="col-sm-3 col-lg-2 control-label required text-left">DockerHub access token</label>
<div class="col-sm-9 col-lg-10">
<input type="password" class="form-control" id="registry_password" name="registry_password" ng-model="$ctrl.model.Password" required />
<div class="help-block" ng-show="$ctrl.registryFormDockerhub.registry_password.$invalid">

View file

@ -12,7 +12,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -76,7 +76,7 @@
</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0">
<td colspan="3" class="text-center text-muted">No projects available.</td>
<td colspan="3" class="text-muted text-center">No projects available.</td>
</tr>
</tbody>
</table>

View file

@ -11,7 +11,7 @@
<div class="col-sm-12 form-section-title"> Gitlab registry connection details </div>
<!-- credentials-user -->
<div class="form-group">
<label for="registry_username" class="col-sm-3 col-lg-2 control-label text-left required">Username</label>
<label for="registry_username" class="col-sm-3 col-lg-2 control-label required text-left">Username</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_username" name="registry_username" ng-model="$ctrl.model.Username" required />
<div class="help-block" ng-show="registryFormGitlab.registry_username.$invalid">
@ -29,7 +29,7 @@
<!-- !credentials-user -->
<!-- credentials-pat -->
<div class="form-group">
<label for="registry_perso_acc_token" class="col-sm-3 col-lg-2 control-label text-left required">Personal Access Token </label>
<label for="registry_perso_acc_token" class="col-sm-3 col-lg-2 control-label required text-left">Personal Access Token </label>
<div class="col-sm-9 col-lg-10">
<input type="password" class="form-control" id="registry_perso_acc_token" name="registry_perso_acc_token" ng-model="$ctrl.model.Token" required />
<div class="help-block" ng-show="registryFormGitlab.registry_perso_acc_token.$invalid">
@ -50,7 +50,7 @@
<div class="col-sm-12">
<button
type="button"
class="btn btn-link btn-sm hover:no-underline !ml-0 p-0"
class="btn btn-link btn-sm !ml-0 p-0 hover:no-underline"
ng-if="!$ctrl.state.overrideConfiguration"
ng-click="$ctrl.state.overrideConfiguration = true;"
>
@ -59,7 +59,7 @@
</button>
<button
type="button"
class="btn btn-link btn-sm hover:no-underline !ml-0 p-0"
class="btn btn-link btn-sm !ml-0 p-0 hover:no-underline"
ng-if="$ctrl.state.overrideConfiguration"
ng-click="$ctrl.state.overrideConfiguration = false; $ctrl.resetDefaults()"
>
@ -71,7 +71,7 @@
<!-- url-input -->
<div class="form-group" ng-if="$ctrl.state.overrideConfiguration">
<label for="instance_url" class="col-sm-3 col-lg-2 control-label text-left required">
<label for="instance_url" class="col-sm-3 col-lg-2 control-label required text-left">
Instance URL
<portainer-tooltip message="'URL of Gitlab instance.'"></portainer-tooltip>
</label>
@ -92,7 +92,7 @@
<!-- !url-input -->
<!-- url-input -->
<div class="form-group" ng-if="$ctrl.state.overrideConfiguration">
<label for="registry_url" class="col-sm-3 col-lg-2 control-label text-left required">
<label for="registry_url" class="col-sm-3 col-lg-2 control-label required text-left">
Registry URL
<portainer-tooltip message="'URL of Gitlab registry instance.'"></portainer-tooltip>
</label>

View file

@ -9,7 +9,7 @@
<div class="col-sm-12 form-section-title"> ProGet registry details </div>
<!-- name-input -->
<div class="form-group">
<label for="registry_name" class="col-sm-3 col-lg-2 control-label text-left required">Name</label>
<label for="registry_name" class="col-sm-3 col-lg-2 control-label required text-left">Name</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_name" name="registry_name" ng-model="$ctrl.model.Name" placeholder="proget-registry" required auto-focus />
<div class="help-block" ng-show="$ctrl.registryFormProGet.registry_name.$invalid">
@ -74,7 +74,7 @@
<div>
<!-- credentials-user -->
<div class="form-group">
<label for="registry_username" class="col-sm-3 col-lg-2 control-label text-left required">Username</label>
<label for="registry_username" class="col-sm-3 col-lg-2 control-label required text-left">Username</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_username" name="registry_username" ng-model="$ctrl.model.Username" required />
<div class="help-block" ng-show="$ctrl.registryFormProGet.registry_username.$invalid">
@ -92,7 +92,7 @@
<!-- !credentials-user -->
<!-- credentials-password -->
<div class="form-group">
<label for="registry_password" class="col-sm-3 col-lg-2 control-label text-left required">Password</label>
<label for="registry_password" class="col-sm-3 col-lg-2 control-label required text-left">Password</label>
<div class="col-sm-9 col-lg-10">
<input type="password" class="form-control" id="registry_password" name="registry_password" ng-model="$ctrl.model.Password" required />
<div class="help-block" ng-show="$ctrl.registryFormProGet.registry_password.$invalid">

View file

@ -2,7 +2,7 @@
<div class="col-sm-12 form-section-title"> Quay account details </div>
<!-- name-input -->
<div class="form-group">
<label for="registry_name" class="col-sm-3 col-lg-2 control-label text-left required">Name</label>
<label for="registry_name" class="col-sm-3 col-lg-2 control-label required text-left">Name</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_name" name="registry_name" ng-model="$ctrl.model.Name" placeholder="Quay" required />
<div class="help-block" ng-show="$ctrl.registryFormQuay.registry_name.$invalid">
@ -24,7 +24,7 @@
<!-- !name-input -->
<!-- credentials-user -->
<div class="form-group">
<label for="registry_username" class="col-sm-3 col-lg-2 control-label text-left required">Username</label>
<label for="registry_username" class="col-sm-3 col-lg-2 control-label required text-left">Username</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_username" name="registry_username" ng-model="$ctrl.model.Username" required auto-focus />
<div class="help-block" ng-show="$ctrl.registryFormQuay.registry_username.$invalid">
@ -42,7 +42,7 @@
<!-- !credentials-user -->
<!-- credentials-password -->
<div class="form-group">
<label for="registry_password" class="col-sm-3 col-lg-2 control-label text-left required">Password</label>
<label for="registry_password" class="col-sm-3 col-lg-2 control-label required text-left">Password</label>
<div class="col-sm-9 col-lg-10">
<input type="password" class="form-control" id="registry_password" name="registry_password" ng-model="$ctrl.model.Password" required />
<div class="help-block" ng-show="$ctrl.registryFormQuay.registry_password.$invalid">
@ -74,7 +74,7 @@
<div ng-if="$ctrl.model.Quay.useOrganisation">
<!-- organisation_name -->
<div class="form-group">
<label for="organisation_name" class="col-sm-3 col-lg-2 control-label text-left required">Organisation name</label>
<label for="organisation_name" class="col-sm-3 col-lg-2 control-label required text-left">Organisation name</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="organisation_name" name="organisation_name" ng-model="$ctrl.model.Quay.organisationName" required />
<div class="help-block" ng-show="$ctrl.registryFormQuay.organisation_name.$invalid">

View file

@ -13,7 +13,7 @@
/>
</div>
</div>
<table class="table table-hover" data-cy="{{ $ctrl.cyValue }}">
<table class="table-hover table" data-cy="{{ $ctrl.cyValue }}">
<thead>
<tr>
<th> Name </th>
@ -30,13 +30,13 @@
pagination-id="$ctrl.tableType"
>
<td>
{{ item.Name | truncate: 64 }}
{{ item.Name | truncate : 64 }}
</td>
<td ng-if="$ctrl.showGroups">
{{ $ctrl.groupIdToGroupName(item.GroupId) | truncate: 64 }}
{{ $ctrl.groupIdToGroupName(item.GroupId) | truncate : 64 }}
</td>
<td ng-if="$ctrl.showTags">
{{ $ctrl.tagIdsToTagNames(item.TagIds) | arraytostr | truncate: 64 }}
{{ $ctrl.tagIdsToTagNames(item.TagIds) | arraytostr | truncate : 64 }}
</td>
</tr>
<tr
@ -48,21 +48,21 @@
total-items="$ctrl.paginationState.totalCount"
>
<td>
{{ item.Name | truncate: 64 }}
{{ item.Name | truncate : 64 }}
</td>
<td ng-if="$ctrl.showGroups">
{{ $ctrl.groupIdToGroupName(item.GroupId) | truncate: 64 }}
{{ $ctrl.groupIdToGroupName(item.GroupId) | truncate : 64 }}
</td>
<td ng-if="$ctrl.showTags">
{{ $ctrl.tagIdsToTagNames(item.TagIds) | truncate: 64 }}
{{ $ctrl.tagIdsToTagNames(item.TagIds) | truncate : 64 }}
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="3" class="text-center text-muted">Loading...</td>
<td colspan="3" class="text-muted text-center">Loading...</td>
</tr>
<tr ng-if="$ctrl.dataset.length === 0">
<td colspan="3" class="text-center text-muted">{{ $ctrl.emptyDatasetMessage }}</td>
<td colspan="3" class="text-muted text-center">{{ $ctrl.emptyDatasetMessage }}</td>
</tr>
</tbody>
</table>

View file

@ -1,8 +1,8 @@
<!-- template -->
<div ng-class="{ 'blocklist-item--selected': $ctrl.model.Selected }" class="blocklist-item template-item !mr-0 !my-0" ng-click="$ctrl.onSelect($ctrl.model)">
<div ng-class="{ 'blocklist-item--selected': $ctrl.model.Selected }" class="blocklist-item template-item !my-0 !mr-0" ng-click="$ctrl.onSelect($ctrl.model)">
<div class="blocklist-item-box">
<!-- template-image -->
<div class="vertical-center justify-center min-w-[56px]">
<div class="vertical-center min-w-[56px] justify-center">
<fallback-image src="$ctrl.model.Logo" fallback-icon="'rocket'" class-name="'blocklist-item-logo'" size="'3xl'"></fallback-image>
</div>
<!-- !template-image -->
@ -13,7 +13,7 @@
<span class="blocklist-item-title">
{{ $ctrl.model.Title }}
</span>
<div class="inline-flex items-center space-left blocklist-item-subtitle">
<div class="space-left blocklist-item-subtitle inline-flex items-center">
<div ng-if="$ctrl.model.Type != 3" class="vertical-center">
<pr-icon ng-if="$ctrl.model.Platform === 1 || $ctrl.model.Platform === 'linux' || !$ctrl.model.Platform" icon="'svg-linux'" class="mr-1"></pr-icon>
<span ng-if="!$ctrl.model.Platform"> &amp; </span>

View file

@ -21,7 +21,7 @@
/>
</div>
<div class="actionBar !gap-3" ng-if="$ctrl.showAddAction">
<button type="button" class="btn btn-sm btn-primary h-fit vertical-center !ml-0" ui-sref="docker.templates.new" data-cy="template-addTemplateButton">
<button type="button" class="btn btn-sm btn-primary vertical-center !ml-0 h-fit" ui-sref="docker.templates.new" data-cy="template-addTemplateButton">
<pr-icon icon="'plus'"></pr-icon>Add template
</button>
</div>
@ -58,7 +58,7 @@
</div>
</div>
</div>
<div class="blocklist !px-[20px] gap-y-2 !pb-[20px]">
<div class="blocklist gap-y-2 !px-[20px] !pb-[20px]">
<template-item
ng-repeat="template in $ctrl.templates | filter: $ctrl.filterByTemplateType | filter:$ctrl.filterByCategory | filter:$ctrl.state.textFilter"
model="template"
@ -69,10 +69,10 @@
<button ng-click="$event.stopPropagation(); $ctrl.duplicateTemplate(template)" class="btn btn-primary btn-xs"> Copy as Custom </button>
</template-item-actions>
</template-item>
<div ng-if="!$ctrl.templates" class="text-center text-muted"> Loading... </div>
<div ng-if="!$ctrl.templates" class="text-muted text-center"> Loading... </div>
<div
ng-if="($ctrl.templates | filter: $ctrl.filterByTemplateType | filter: $ctrl.filterByCategory | filter: $ctrl.state.textFilter).length === 0"
class="text-center text-muted"
ng-if="($ctrl.templates | filter : $ctrl.filterByTemplateType | filter : $ctrl.filterByCategory | filter : $ctrl.state.textFilter).length === 0"
class="text-muted text-center"
>
No templates available.
</div>

View file

@ -5,7 +5,7 @@
<form class="form-horizontal">
<box-selector radio-name="'theme'" value="$ctrl.state.userTheme" options="$ctrl.state.availableThemes" on-change="($ctrl.setTheme)"></box-selector>
</form>
<p class="mt-2 vertical-center">
<p class="vertical-center mt-2">
<pr-icon icon="'alert-circle'" class-name="'icon-primary'"></pr-icon>
Dark and High-contrast theme are experimental. Some UI components might not display properly.
</p>

View file

@ -22,7 +22,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -60,10 +60,10 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="3" class="text-center text-muted">Select a user to show associated access and role</td>
<td colspan="3" class="text-muted text-center">Select a user to show associated access and role</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0">
<td colspan="3" class="text-center text-muted">The selected user does not have access to any environment(s)</td>
<td colspan="3" class="text-muted text-center">The selected user does not have access to any environment(s)</td>
</tr>
</tbody>
</table>

View file

@ -22,7 +22,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -61,10 +61,10 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="3" class="text-center text-muted">Loading...</td>
<td colspan="3" class="text-muted text-center">Loading...</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0">
<td colspan="3" class="text-center text-muted">No role available.</td>
<td colspan="3" class="text-muted text-center">No role available.</td>
</tr>
</tbody>
</table>

View file

@ -32,17 +32,17 @@
.CodeMirror-dialog button {
/* apply styles from btn-default */
@apply bg-white border-gray-5 text-gray-9;
@apply hover:bg-gray-3 hover:border-gray-5 hover:text-gray-10;
@apply border-gray-5 bg-white text-gray-9;
@apply hover:border-gray-5 hover:bg-gray-3 hover:text-gray-10;
/* dark mode */
@apply th-dark:bg-gray-warm-10 th-dark:border-gray-warm-7 th-dark:text-gray-warm-4;
@apply th-dark:hover:bg-gray-warm-9 th-dark:hover:border-gray-6 th-dark:hover:text-gray-warm-4;
@apply th-dark:border-gray-warm-7 th-dark:bg-gray-warm-10 th-dark:text-gray-warm-4;
@apply th-dark:hover:border-gray-6 th-dark:hover:bg-gray-warm-9 th-dark:hover:text-gray-warm-4;
/* highcontrast mode */
@apply th-highcontrast:bg-gray-warm-10 th-highcontrast:border-gray-warm-7 th-highcontrast:text-white;
@apply th-highcontrast:hover:bg-gray-warm-9 th-highcontrast:hover:border-gray-6 th-highcontrast:hover:text-white;
@apply th-highcontrast:border-gray-warm-7 th-highcontrast:bg-gray-warm-10 th-highcontrast:text-white;
@apply th-highcontrast:hover:border-gray-6 th-highcontrast:hover:bg-gray-warm-9 th-highcontrast:hover:text-white;
@apply font-sans;
@apply border-solid border;
@apply border border-solid;
font-size: 85%;
padding: 0px 8px;
border-radius: 8px;

View file

@ -4,8 +4,8 @@
</div>
<div class="form-group">
<div class="col-sm-12 vertical-center">
<label for="tls" class="control-label text-left !pt-0"> Automatic user provisioning </label>
<label class="switch ml-6 my-0">
<label for="tls" class="control-label !pt-0 text-left"> Automatic user provisioning </label>
<label class="switch my-0 ml-6">
<input type="checkbox" ng-model="$ctrl.ngModel" />
<span class="slider round"></span>
</label>

View file

@ -1,5 +1,5 @@
<div class="form-group">
<label for="ldap_password" class="col-sm-3 col-lg-2 control-label text-left vertical-center">
<label for="ldap_password" class="col-sm-3 col-lg-2 control-label vertical-center text-left">
Connectivity check
<pr-icon icon="'check'" mode="'success'" ng-if="$ctrl.state.successfulConnectivityCheck"></pr-icon>
<pr-icon icon="'x'" mode="'danger'" ng-if="$ctrl.state.failedConnectivityCheck"></pr-icon>

View file

@ -95,7 +95,7 @@
>
Fetch Admin Group(s)
</button>
<span ng-if="$ctrl.groups && $ctrl.groups.length === 0" class="ml-6 vertical-center">
<span ng-if="$ctrl.groups && $ctrl.groups.length === 0" class="vertical-center ml-6">
<pr-icon icon="'alert-triangle'" mode="'warning'"></pr-icon>
No groups found
</span>
@ -104,10 +104,10 @@
<div class="form-group">
<div class="col-sm-12 vertical-center">
<label for="admin-auto-populate" class="control-label text-left text-muted !pt-0" ng-class="{ 'text-muted': !$ctrl.enableAssignAdminGroup }">
<label for="admin-auto-populate" class="control-label text-muted !pt-0 text-left" ng-class="{ 'text-muted': !$ctrl.enableAssignAdminGroup }">
Assign admin rights to group(s)
</label>
<label class="switch ml-7 my-0" ng-class="{ 'business limited': $ctrl.isLimitedFeatureSelfContained }">
<label class="switch my-0 ml-7" ng-class="{ 'business limited': $ctrl.isLimitedFeatureSelfContained }">
<input id="admin-auto-populate" ng-disabled="!$ctrl.enableAssignAdminGroup" name="admin-auto-populate" type="checkbox" ng-model="$ctrl.settings.AdminAutoPopulate" />
<span class="slider round before:content-['']"></span>
</label>
@ -115,7 +115,7 @@
</div>
<div class="form-group" ng-if="$ctrl.settings.AdminAutoPopulate && $ctrl.groups">
<label for="group-access" class="control-label text-left col-sm-2"> Select Group(s) </label>
<label for="group-access" class="control-label col-sm-2 text-left"> Select Group(s) </label>
<div class="col-sm-8">
<por-select
data-cy="'group-access-selector'"

View file

@ -30,7 +30,7 @@
<div class="form-group">
<div class="col-sm-12 vertical-center" style="margin-bottom: 5px">
<label class="control-label text-left !pt-0">Groups</label>
<label class="control-label !pt-0 text-left">Groups</label>
<span class="label label-default interactive vertical-center" style="margin-left: 10px" ng-click="$ctrl.addGroup()">
<pr-icon icon="'plus-circle'"></pr-icon>
add another group

View file

@ -20,7 +20,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -50,10 +50,10 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="3" class="text-center text-muted">Loading...</td>
<td colspan="3" class="text-muted text-center">Loading...</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0">
<td colspan="5" class="text-center text-muted">No groups found.</td>
<td colspan="5" class="text-muted text-center">No groups found.</td>
</tr>
</tbody>
</table>

View file

@ -18,7 +18,7 @@
</div>
<div class="form-group">
<label for="ldap_url" class="col-sm-3 col-lg-2 control-label text-left flex flex-wrap">
<label for="ldap_url" class="col-sm-3 col-lg-2 control-label flex flex-wrap text-left">
LDAP Server
<button
type="button"
@ -43,7 +43,7 @@
</div>
<div class="form-group">
<label for="anonymous_mode" class="control-label text-left col-sm-3 col-lg-2">
<label for="anonymous_mode" class="control-label col-sm-3 col-lg-2 text-left">
Anonymous mode
<portainer-tooltip message="'Enable this option if the server is configured for Anonymous access.'"></portainer-tooltip>
</label>

View file

@ -67,7 +67,7 @@
<!-- Anonymous mode-->
<div class="form-group">
<div class="col-sm-12">
<label for="anonymous_mode" class="control-label text-left col-sm-3 col-lg-2">
<label for="anonymous_mode" class="control-label col-sm-3 col-lg-2 text-left">
Anonymous mode
<portainer-tooltip message="'Enable this option if the server is configured for Anonymous access.'"></portainer-tooltip>
</label>

View file

@ -20,7 +20,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -44,10 +44,10 @@
</td>
</tr>
<tr ng-if="!$ctrl.dataset">
<td colspan="3" class="text-center text-muted">Loading...</td>
<td colspan="3" class="text-muted text-center">Loading...</td>
</tr>
<tr ng-if="$ctrl.state.filteredDataSet.length === 0">
<td colspan="5" class="text-center text-muted">No users found.</td>
<td colspan="5" class="text-muted text-center">No users found.</td>
</tr>
</tbody>
</table>

View file

@ -1,7 +1,7 @@
<div class="datatable datatable-empty">
<rd-widget>
<rd-widget-body classes="no-padding">
<div class="toolBar vertical-center !gap-x-5 !gap-y-1 flex-wrap">
<div class="toolBar vertical-center flex-wrap !gap-x-5 !gap-y-1">
<div class="toolBarTitle vertical-center">
<div class="widget-icon space-right">
<pr-icon icon="'history'"></pr-icon>
@ -15,7 +15,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table-hover table">
<thead>
<tr>
<th class="small-column">
@ -81,10 +81,10 @@
</td>
</tr>
<tr ng-if="!$ctrl.logs">
<td class="text-center text-muted" colspan="5">Loading...</td>
<td class="text-muted text-center" colspan="5">Loading...</td>
</tr>
<tr ng-if="$ctrl.logs.length === 0">
<td class="text-center text-muted" colspan="8"> No logs available. </td>
<td class="text-muted text-center" colspan="8"> No logs available. </td>
</tr>
</tbody>
</table>

View file

@ -1,7 +1,7 @@
<div class="datatable datatable-empty">
<rd-widget>
<rd-widget-body classes="no-padding">
<div class="toolBar vertical-center !gap-x-5 !gap-y-1 flex-wrap">
<div class="toolBar vertical-center flex-wrap !gap-x-5 !gap-y-1">
<div class="toolBarTitle vertical-center">
<div class="widget-icon space-right">
<pr-icon icon="'history'"></pr-icon>
@ -15,7 +15,7 @@
</div>
</div>
<div class="table-responsive">
<table class="table table-hover nowrap-cells">
<table class="table-hover nowrap-cells table">
<thead>
<tr>
<th>
@ -85,10 +85,10 @@
<td></td>
</tr>
<tr ng-if="!$ctrl.logs">
<td class="text-center text-muted" colspan="5">Loading...</td>
<td class="text-muted text-center" colspan="5">Loading...</td>
</tr>
<tr ng-if="$ctrl.state.logs.length === 0">
<td class="text-center text-muted" colspan="8"> No logs available. </td>
<td class="text-muted text-center" colspan="8"> No logs available. </td>
</tr>
</tbody>
</table>

View file

@ -10,7 +10,7 @@
<form name="form" class="form-horizontal" style="margin-top: 15px">
<!-- current-password-input -->
<div class="form-group">
<label for="current_password" class="col-sm-2 control-label text-left required">Current password</label>
<label for="current_password" class="col-sm-2 control-label required text-left">Current password</label>
<div class="col-sm-8">
<input type="password" class="form-control" ng-model="formValues.currentPassword" id="current_password" />
</div>
@ -18,7 +18,7 @@
<!-- !current-password-input -->
<!-- new-password-input -->
<div class="form-group">
<label for="new_password" class="col-sm-2 control-label text-left required">New password</label>
<label for="new_password" class="col-sm-2 control-label required text-left">New password</label>
<div class="col-sm-8">
<input type="password" class="form-control" ng-model="formValues.newPassword" ng-minlength="requiredPasswordLength" id="new_password" name="new_password" />
</div>
@ -27,7 +27,7 @@
<!-- confirm-password-input -->
<div class="form-group">
<label for="confirm_password" class="col-sm-2 control-label text-left required">Confirm password</label>
<label for="confirm_password" class="col-sm-2 control-label required text-left">Confirm password</label>
<div class="col-sm-8">
<div class="input-group">
<input type="password" class="form-control" ng-model="formValues.confirmPassword" id="confirm_password" />

View file

@ -1,6 +1,6 @@
<div class="page-wrapper">
<!-- login box -->
<div class="container simple-box">
<div class="simple-box container">
<div class="col-sm-4 col-sm-offset-4">
<!-- login box logo -->
<div class="row">
@ -9,7 +9,7 @@
</div>
<!-- !login box logo -->
<div class="row text-center p-5">
<div class="row p-5 text-center">
<p class="text-xl">Log in to your account</p>
<p class="text-md text-muted fw-bold">Welcome back! Please enter your details</p>
</div>
@ -90,7 +90,7 @@
data-cy="auth-passwordInputToggle"
type="button"
ng-click="ctrl.toggleShowPassword()"
class="absolute top-0 right-0 h-[34px] w-[50px] border-none flex justify-center items-center bg-transparent"
class="absolute top-0 right-0 flex h-[34px] w-[50px] items-center justify-center border-none bg-transparent"
tooltip-append-to-body="true"
tooltip-placement="top"
tooltip-class="portainer-tooltip"

View file

@ -1,6 +1,6 @@
<div class="page-wrapper">
<!-- simple box -->
<div class="container simple-box">
<div class="simple-box container">
<div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1">
<!-- simple box logo -->
<div class="row">

View file

@ -1,6 +1,6 @@
<div class="page-wrapper">
<!-- login box -->
<div class="container simple-box">
<div class="simple-box container">
<div class="col-md-6 col-md-offset-3 col-sm-6 col-sm-offset-3">
<!-- login box logo -->
<div class="row">

View file

@ -15,7 +15,7 @@
<!-- name-input -->
<div class="form-group">
<label for="registry_name" class="col-sm-3 col-lg-2 control-label text-left required">Name</label>
<label for="registry_name" class="col-sm-3 col-lg-2 control-label required text-left">Name</label>
<div class="col-sm-9 col-lg-10">
<input
type="text"
@ -137,7 +137,7 @@
<div ng-if="$ctrl.registry.Authentication">
<!-- credentials-user -->
<div class="form-group">
<label for="credentials_username" class="col-sm-3 col-lg-2 control-label text-left required">
<label for="credentials_username" class="col-sm-3 col-lg-2 control-label required text-left">
{{ $ctrl.registry.Type === $ctrl.RegistryTypes.ECR ? 'AWS Access Key' : 'Username' }}
</label>
<div class="col-sm-9 col-lg-10">
@ -185,7 +185,7 @@
<!-- region -->
<div ng-if="$ctrl.registry.Type == $ctrl.RegistryTypes.ECR">
<div class="form-group">
<label for="registry_region" class="col-sm-3 col-lg-2 control-label text-left required">Region</label>
<label for="registry_region" class="col-sm-3 col-lg-2 control-label required text-left">Region</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="registry_region" name="registry_region" ng-model="$ctrl.registry.Ecr.Region" placeholder="us-west-1" required />
</div>
@ -222,7 +222,7 @@
<div ng-if="$ctrl.registry.Quay.UseOrganisation">
<!-- organisation_name -->
<div class="form-group">
<label for="organisation_name" class="col-sm-3 col-lg-2 control-label text-left required">Organisation name</label>
<label for="organisation_name" class="col-sm-3 col-lg-2 control-label required text-left">Organisation name</label>
<div class="col-sm-9 col-lg-10">
<input type="text" class="form-control" id="organisation_name" name="organisation_name" ng-model="$ctrl.registry.Quay.OrganisationName" required />
</div>

View file

@ -234,7 +234,7 @@
</div>
<div class="form-group">
<div class="col-sm-12 table-responsive">
<table class="table table-hover">
<table class="table-hover table">
<thead>
<tr>
<th>Name</th>
@ -254,10 +254,10 @@
</td>
</tr>
<tr ng-if="formValues.BlackListedLabels.length === 0">
<td colspan="3" class="text-center text-muted">No filter available.</td>
<td colspan="3" class="text-muted text-center">No filter available.</td>
</tr>
<tr ng-if="!formValues.BlackListedLabels">
<td colspan="3" class="text-center text-muted">Loading...</td>
<td colspan="3" class="text-muted text-center">Loading...</td>
</tr>
</tbody>
</table>

View file

@ -8,7 +8,7 @@
<form class="form-horizontal" name="tagCreationForm" ng-submit="createTag()">
<!-- name-input -->
<div class="form-group">
<label for="name" class="col-sm-2 control-label text-left required"> Name </label>
<label for="name" class="col-sm-2 control-label required text-left"> Name </label>
<div class="col-sm-10">
<input
type="text"

View file

@ -106,7 +106,7 @@
</div>
</div>
<div class="col-sm-12">
<span class="form-group small interactive text-muted mt-2 vertical-center" ng-click="addPortBinding()">
<span class="form-group small interactive text-muted vertical-center mt-2" ng-click="addPortBinding()">
<pr-icon icon="'plus'"></pr-icon> Add map additional port
</span>
</div>
@ -176,7 +176,7 @@
</div>
</div>
<div class="col-sm-12">
<span class="form-group small interactive text-muted mt-2 vertical-center" ng-click="addVolume()">
<span class="form-group small interactive text-muted vertical-center mt-2" ng-click="addVolume()">
<pr-icon icon="'plus'"></pr-icon> Add map additional volume
</span>
</div>
@ -200,7 +200,7 @@
</div>
</div>
<div class="col-sm-12">
<span class="form-group small interactive text-muted mt-2 vertical-center" ng-click="addExtraHost()">
<span class="form-group small interactive text-muted vertical-center mt-2" ng-click="addExtraHost()">
<pr-icon icon="'plus'"></pr-icon> Add additional entry
</span>
</div>
@ -229,7 +229,7 @@
</div>
<!-- !labels-input-list -->
<div class="col-sm-12">
<span class="form-group small interactive text-muted mt-2 vertical-center" ng-click="addLabel()"> <pr-icon icon="'plus'"></pr-icon> Add label </span>
<span class="form-group small interactive text-muted vertical-center mt-2" ng-click="addLabel()"> <pr-icon icon="'plus'"></pr-icon> Add label </span>
</div>
</div>
</div>

View file

@ -7,7 +7,7 @@
<rd-widget-body>
<form class="form-horizontal" style="margin-top: 15px">
<div class="form-group">
<label for="username_field" class="col-sm-2 control-label text-left required">Username</label>
<label for="username_field" class="col-sm-2 control-label required text-left">Username</label>
<div class="col-sm-8">
<input class="form-control" ng-model="formValues.username" id="username_field" />
</div>
@ -47,7 +47,7 @@
<form name="form" class="form-horizontal" style="margin-top: 15px">
<!-- new-password-input -->
<div class="form-group">
<label for="new_password" class="col-sm-2 control-label text-left required">New password</label>
<label for="new_password" class="col-sm-2 control-label required text-left">New password</label>
<div class="col-sm-8">
<input type="password" class="form-control" ng-model="formValues.newPassword" id="new_password" name="new_password" ng-minlength="requiredPasswordLength" />
</div>
@ -55,7 +55,7 @@
<!-- !new-password-input -->
<!-- confirm-password-input -->
<div class="form-group">
<label for="confirm_password" class="col-sm-2 control-label text-left required">Confirm password</label>
<label for="confirm_password" class="col-sm-2 control-label required text-left">Confirm password</label>
<div class="col-sm-8">
<div class="input-group">
<input type="password" class="form-control" ng-model="formValues.confirmPassword" id="confirm_password" />

View file

@ -8,7 +8,7 @@
<form name="form" class="form-horizontal">
<!-- name-input -->
<div class="form-group">
<label for="username" class="col-sm-3 col-lg-2 control-label text-left required">
<label for="username" class="col-sm-3 col-lg-2 control-label required text-left">
Username
<portainer-tooltip ng-if="AuthenticationMethod === 2" message="'Username must exactly match username defined in external LDAP source.'"></portainer-tooltip>
</label>
@ -34,7 +34,7 @@
<!-- !name-input -->
<!-- new-password-input -->
<div class="form-group" ng-if="AuthenticationMethod === 1">
<label for="password" class="col-sm-3 col-lg-2 control-label text-left required">Password</label>
<label for="password" class="col-sm-3 col-lg-2 control-label required text-left">Password</label>
<div class="col-sm-8">
<input
type="password"
@ -50,7 +50,7 @@
<!-- !new-password-input -->
<!-- confirm-password-input -->
<div class="form-group" ng-if="AuthenticationMethod === 1">
<label for="confirm_password" class="col-sm-3 col-lg-2 control-label text-left required">Confirm password</label>
<label for="confirm_password" class="col-sm-3 col-lg-2 control-label required text-left">Confirm password</label>
<div class="col-sm-8">
<div class="input-group">
<input