fix disabled

This commit is contained in:
2025-11-16 14:30:34 +01:00
parent 6aab879aad
commit 308dd06b2f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>de.champonthis</groupId> <groupId>de.champonthis</groupId>
<artifactId>abi</artifactId> <artifactId>abi</artifactId>
<version>0.3.3</version> <version>0.3.4</version>
<name>abi</name> <name>abi</name>
<parent> <parent>
+2 -2
View File
@@ -306,10 +306,10 @@
</p> </p>
<div class="d-flex gap-2 mb-3"> <div class="d-flex gap-2 mb-3">
<button id="commitYes" class="btn flex-fill" <button id="commitYes" class="btn flex-fill"
:class="{'btn-success': committed != 'NO', 'disabled': committed == 'YES', 'btn-outline-success opacity-75' : committed == 'NO', 'disabled': working}" :class="{'btn-success': !committed, 'btn-success disabled': committed == 'YES', 'btn-outline-success opacity-75' : committed == 'NO', 'disabled': working}"
@click="submitCommit('YES')" autofocus>Ja, ich bin dabei!</button> @click="submitCommit('YES')" autofocus>Ja, ich bin dabei!</button>
<button id="commitNo" class="btn flex-fill" <button id="commitNo" class="btn flex-fill"
:class="{'btn-danger' : committed != 'YES', 'disabled': committed == 'NO', 'btn-outline-danger opacity-75' : committed == 'YES', 'disabled': working}" :class="{'btn-danger': !committed, 'btn-danger disabled': committed == 'NO', 'btn-outline-danger opacity-75' : committed == 'YES', 'disabled': working}"
@click="submitCommit('NO')">Nein, ich bin nicht dabei</button> @click="submitCommit('NO')">Nein, ich bin nicht dabei</button>
</div> </div>
<div class="d-flex mt-2"> <div class="d-flex mt-2">