App employés/clients

This commit is contained in:
2026-06-03 20:13:56 +02:00
parent 6f3996d216
commit befb8e97c2
19 changed files with 48 additions and 36 deletions
+5
View File
@@ -37,6 +37,11 @@
.window-content { .window-content {
padding: 0; padding: 0;
} }
// Cacher le footer (bouton requis par l'API mais inutile visuellement)
.dialog-footer {
display: none;
}
} }
// ============================================ // ============================================
+12
View File
@@ -44,6 +44,18 @@ function injectActorDirectoryMissionPackButton(app, element) {
void game.system.donjonEtCie.macros.openMissionPackDialog(); void game.system.donjonEtCie.macros.openMissionPackDialog();
}); });
headerActions.append(button); headerActions.append(button);
// Bouton "Employés / Clients"
const empButton = document.createElement("button");
empButton.type = "button";
empButton.className = "dnc-employes-button";
empButton.title = game.i18n.localize("DNC.Dialog.EmployeesTitle");
empButton.setAttribute("aria-label", game.i18n.localize("DNC.Dialog.EmployeesTitle"));
empButton.innerHTML = `<i class="fa-solid fa-hard-hat" inert></i><span>${game.i18n.localize("DNC.Dialog.EmployeesTitle")}</span>`;
empButton.addEventListener("click", () => {
void DonjonEtCieEmployesDialog.open();
});
headerActions.append(empButton);
} }
function onChatActionClick(event) { function onChatActionClick(event) {
+1 -1
View File
@@ -1 +1 @@
MANIFEST-000185 MANIFEST-000189
+3 -7
View File
@@ -1,7 +1,3 @@
2026/06/03-17:24:13.769178 7f589dbff6c0 Recovering log #183 2026/06/03-20:02:36.286349 7f589d3fe6c0 Recovering log #187
2026/06/03-17:24:13.812146 7f589dbff6c0 Delete type=3 #181 2026/06/03-20:02:36.295607 7f589d3fe6c0 Delete type=3 #185
2026/06/03-17:24:13.812199 7f589dbff6c0 Delete type=0 #183 2026/06/03-20:02:36.295653 7f589d3fe6c0 Delete type=0 #187
2026/06/03-19:19:52.344655 7f584f7fe6c0 Level-0 table #188: started
2026/06/03-19:19:52.344671 7f584f7fe6c0 Level-0 table #188: 0 bytes OK
2026/06/03-19:19:52.350896 7f584f7fe6c0 Delete type=0 #186
2026/06/03-19:19:52.367561 7f584f7fe6c0 Manual compaction at level-0 from '!folders!K9aiFu0dE6UYiXBd' @ 72057594037927935 : 1 .. '!items!zyqLzmpbHxK3jt5q' @ 0 : 0; will stop at (end)
+7 -7
View File
@@ -1,7 +1,7 @@
2026/06/03-14:32:18.707088 7f589cbfd6c0 Recovering log #179 2026/06/03-17:24:13.769178 7f589dbff6c0 Recovering log #183
2026/06/03-14:32:18.746806 7f589cbfd6c0 Delete type=3 #177 2026/06/03-17:24:13.812146 7f589dbff6c0 Delete type=3 #181
2026/06/03-14:32:18.746858 7f589cbfd6c0 Delete type=0 #179 2026/06/03-17:24:13.812199 7f589dbff6c0 Delete type=0 #183
2026/06/03-14:50:48.204211 7f584f7fe6c0 Level-0 table #184: started 2026/06/03-19:19:52.344655 7f584f7fe6c0 Level-0 table #188: started
2026/06/03-14:50:48.204256 7f584f7fe6c0 Level-0 table #184: 0 bytes OK 2026/06/03-19:19:52.344671 7f584f7fe6c0 Level-0 table #188: 0 bytes OK
2026/06/03-14:50:48.210307 7f584f7fe6c0 Delete type=0 #182 2026/06/03-19:19:52.350896 7f584f7fe6c0 Delete type=0 #186
2026/06/03-14:50:48.223300 7f584f7fe6c0 Manual compaction at level-0 from '!folders!K9aiFu0dE6UYiXBd' @ 72057594037927935 : 1 .. '!items!zyqLzmpbHxK3jt5q' @ 0 : 0; will stop at (end) 2026/06/03-19:19:52.367561 7f584f7fe6c0 Manual compaction at level-0 from '!folders!K9aiFu0dE6UYiXBd' @ 72057594037927935 : 1 .. '!items!zyqLzmpbHxK3jt5q' @ 0 : 0; will stop at (end)
+1 -1
View File
@@ -1 +1 @@
MANIFEST-000172 MANIFEST-000176
+3 -7
View File
@@ -1,7 +1,3 @@
2026/06/03-17:24:13.815984 7f589cbfd6c0 Recovering log #170 2026/06/03-20:02:36.298130 7f584ffff6c0 Recovering log #174
2026/06/03-17:24:13.870566 7f589cbfd6c0 Delete type=3 #168 2026/06/03-20:02:36.307600 7f584ffff6c0 Delete type=3 #172
2026/06/03-17:24:13.870643 7f589cbfd6c0 Delete type=0 #170 2026/06/03-20:02:36.307643 7f584ffff6c0 Delete type=0 #174
2026/06/03-19:19:52.350980 7f584f7fe6c0 Level-0 table #175: started
2026/06/03-19:19:52.351000 7f584f7fe6c0 Level-0 table #175: 0 bytes OK
2026/06/03-19:19:52.357007 7f584f7fe6c0 Delete type=0 #173
2026/06/03-19:19:52.367567 7f584f7fe6c0 Manual compaction at level-0 from '!tables!PPsxQgHwLCQ2gjSW' @ 72057594037927935 : 1 .. '!tables.results!wJZXUo4q5b5vE3Dy.zFTPLMc9zOl5hISV' @ 0 : 0; will stop at (end)
+7 -7
View File
@@ -1,7 +1,7 @@
2026/06/03-14:32:18.750680 7f584ffff6c0 Recovering log #166 2026/06/03-17:24:13.815984 7f589cbfd6c0 Recovering log #170
2026/06/03-14:32:18.814542 7f584ffff6c0 Delete type=3 #164 2026/06/03-17:24:13.870566 7f589cbfd6c0 Delete type=3 #168
2026/06/03-14:32:18.814578 7f584ffff6c0 Delete type=0 #166 2026/06/03-17:24:13.870643 7f589cbfd6c0 Delete type=0 #170
2026/06/03-14:50:48.210430 7f584f7fe6c0 Level-0 table #171: started 2026/06/03-19:19:52.350980 7f584f7fe6c0 Level-0 table #175: started
2026/06/03-14:50:48.210463 7f584f7fe6c0 Level-0 table #171: 0 bytes OK 2026/06/03-19:19:52.351000 7f584f7fe6c0 Level-0 table #175: 0 bytes OK
2026/06/03-14:50:48.216940 7f584f7fe6c0 Delete type=0 #169 2026/06/03-19:19:52.357007 7f584f7fe6c0 Delete type=0 #173
2026/06/03-14:50:48.223313 7f584f7fe6c0 Manual compaction at level-0 from '!tables!PPsxQgHwLCQ2gjSW' @ 72057594037927935 : 1 .. '!tables.results!wJZXUo4q5b5vE3Dy.zFTPLMc9zOl5hISV' @ 0 : 0; will stop at (end) 2026/06/03-19:19:52.367567 7f584f7fe6c0 Manual compaction at level-0 from '!tables!PPsxQgHwLCQ2gjSW' @ 72057594037927935 : 1 .. '!tables.results!wJZXUo4q5b5vE3Dy.zFTPLMc9zOl5hISV' @ 0 : 0; will stop at (end)
Binary file not shown.
Binary file not shown.
+5 -5
View File
@@ -1,5 +1,5 @@
2026/06/03-19:15:07.672519 7f0e893fd6c0 Delete type=3 #1 2026/06/03-20:12:45.450958 7f07bbfff6c0 Delete type=3 #1
2026/06/03-19:15:07.674981 7f0e6bfff6c0 Level-0 table #5: started 2026/06/03-20:12:45.455909 7f07baffd6c0 Level-0 table #5: started
2026/06/03-19:15:07.678129 7f0e6bfff6c0 Level-0 table #5: 3056 bytes OK 2026/06/03-20:12:45.474772 7f07baffd6c0 Level-0 table #5: 3056 bytes OK
2026/06/03-19:15:07.685023 7f0e6bfff6c0 Delete type=0 #3 2026/06/03-20:12:45.523202 7f07baffd6c0 Delete type=0 #3
2026/06/03-19:15:07.685556 7f0e6bfff6c0 Manual compaction at level-0 from '!journal!69Da9YvF9BfOV7oK' @ 72057594037927935 : 1 .. '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 0 : 0; will stop at (end) 2026/06/03-20:12:45.523559 7f07baffd6c0 Manual compaction at level-0 from '!journal!69Da9YvF9BfOV7oK' @ 72057594037927935 : 1 .. '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 0 : 0; will stop at (end)
Binary file not shown.
+3
View File
@@ -1140,6 +1140,9 @@
.dnc-employes-dialog-wrapper .window-content { .dnc-employes-dialog-wrapper .window-content {
padding: 0; padding: 0;
} }
.dnc-employes-dialog-wrapper .dialog-footer {
display: none;
}
.dnc-root-tabs { .dnc-root-tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
File diff suppressed because one or more lines are too long