mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 07:15:23 +02:00
fix(ui/buttons): set hyperlink style [EE-4007] (#7524)
This commit is contained in:
parent
87214d48be
commit
234627f278
15 changed files with 139 additions and 133 deletions
|
@ -12,7 +12,7 @@
|
|||
<option value="" label="Select a Custom template" disabled selected="selected"> </option>
|
||||
</select>
|
||||
<span class="small text-muted pt-[7px]" ng-if="!$ctrl.templates.length">
|
||||
No custom templates are available. Head over to the <a class="hyperlink" ui-state="$ctrl.newTemplatePath">custom template view</a> to create one.
|
||||
No custom templates are available. Head over to the <a ui-state="$ctrl.newTemplatePath">custom template view</a> to create one.
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -40,19 +40,6 @@
|
|||
@apply text-blue-7;
|
||||
}
|
||||
|
||||
.datatable tr > td a:not(.btn) {
|
||||
color: var(--ui-blue-8);
|
||||
}
|
||||
|
||||
.datatable tr > td a:not(.btn):hover,
|
||||
.datatable tr > td a:not(.btn):focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.datatable tr > td a.actions {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.toolBar .actionBar {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
|
|
@ -48,14 +48,24 @@
|
|||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<a class="small interactive vertical-center" ng-if="!$ctrl.state.overrideConfiguration" ng-click="$ctrl.state.overrideConfiguration = true;">
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-link btn-sm hover:no-underline !ml-0 p-0"
|
||||
ng-if="!$ctrl.state.overrideConfiguration"
|
||||
ng-click="$ctrl.state.overrideConfiguration = true;"
|
||||
>
|
||||
<pr-icon icon="'tool'" feather="true"></pr-icon>
|
||||
Override default configuration
|
||||
</a>
|
||||
<a class="small interactive vertical-center" ng-if="$ctrl.state.overrideConfiguration" ng-click="$ctrl.state.overrideConfiguration = false; $ctrl.resetDefaults()">
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-link btn-sm hover:no-underline !ml-0 p-0"
|
||||
ng-if="$ctrl.state.overrideConfiguration"
|
||||
ng-click="$ctrl.state.overrideConfiguration = false; $ctrl.resetDefaults()"
|
||||
>
|
||||
<pr-icon icon="'settings'" feather="true"></pr-icon>
|
||||
Use default configuration
|
||||
</a>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -46,12 +46,11 @@ export function EnvironmentItem({ environment, onClick, groupName }: Props) {
|
|||
<div className={styles.root}>
|
||||
<button
|
||||
type="button"
|
||||
color="link"
|
||||
onClick={() => onClick(environment)}
|
||||
className={styles.wrapperButton}
|
||||
>
|
||||
<Link
|
||||
className={clsx('blocklist-item', styles.item)}
|
||||
className={clsx('blocklist-item no-link', styles.item)}
|
||||
to={route}
|
||||
params={{
|
||||
endpointId: environment.Id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue