mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-04 09:50:08 +00:00
feat(ui): hide OnlyOffice option unless already enabled
AI-assistant: Claude Code 2.1.162 (Claude Opus 4.8) Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
@@ -599,6 +599,10 @@ input[type="checkbox"]:disabled:not(:checked) + label {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.office-card-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.office-card:hover {
|
||||
border-color: var(--color-primary-element);
|
||||
box-shadow: 0 4px 12px rgba(0, 130, 201, 0.15);
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
checked="checked"
|
||||
{% endif %}
|
||||
>
|
||||
<label class="office-card{{ isAnyRunning ? ' office-card-disabled' : '' }}" for="office-onlyoffice">
|
||||
<label class="office-card{{ isAnyRunning ? ' office-card-disabled' : '' }}{{ is_onlyoffice_enabled == false ? ' office-card-hidden' : '' }}" for="office-onlyoffice">
|
||||
<div class="office-card-header">
|
||||
<h4>OnlyOffice</h4>
|
||||
<svg class="office-checkmark" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
Reference in New Issue
Block a user