DECK Frontend v4.5 - All 12 bases + generic structure
Added bases: - MST (Masters) - tzzr_core_produccion - BCK (Backlog) - tzzr_core_produccion - Oracle - tzzr_core_secretaria Reorganized UI groups: - Taxonomía: HST, FLG, ITM, LOC, PLY - Producción: MST, BCK, MTH - Secretaría: ATC, Oracle - Comunicación: MAIL, CHAT Added categories for graph visualization: - mst, bck, mth, atc, ora with distinct colors Tables MST/BCK/Oracle don't exist in DB yet - frontend ready for them. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,13 +7,13 @@
|
||||
<meta name="description" content="DECK Tag Management System">
|
||||
|
||||
<!--
|
||||
DECK FRONTEND v4.4 - Tree from tree_* tables
|
||||
DECK FRONTEND v4.5 - All bases + generic structure
|
||||
Extract: ./extract.sh deck.html [output_dir]
|
||||
-->
|
||||
|
||||
<style>
|
||||
/* =============================================================================
|
||||
* DECK STYLES v4.4
|
||||
* DECK STYLES v4.5
|
||||
* ============================================================================= */
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
@@ -647,9 +647,14 @@ body {
|
||||
<button class="base-btn" data-base="loc" aria-pressed="false">LOC</button>
|
||||
<button class="base-btn" data-base="ply" aria-pressed="false">PLY</button>
|
||||
</div>
|
||||
<div class="base-group" data-group="registry" role="group" aria-label="Registro">
|
||||
<div class="base-group" data-group="production" role="group" aria-label="Producción">
|
||||
<button class="base-btn" data-base="mst" aria-pressed="false">MST</button>
|
||||
<button class="base-btn" data-base="bck" aria-pressed="false">BCK</button>
|
||||
<button class="base-btn" data-base="mth" aria-pressed="false">MTH</button>
|
||||
</div>
|
||||
<div class="base-group" data-group="secretaria" role="group" aria-label="Secretaría">
|
||||
<button class="base-btn" data-base="atc" aria-pressed="false">ATC</button>
|
||||
<button class="base-btn" data-base="oracle" aria-pressed="false">Oracle</button>
|
||||
</div>
|
||||
<div class="base-group" data-group="comms" role="group" aria-label="Comunicación">
|
||||
<button class="base-btn" data-base="mail" aria-pressed="false">MAIL</button>
|
||||
@@ -721,8 +726,8 @@ body {
|
||||
|
||||
<script>
|
||||
/**
|
||||
* DECK Frontend v4.4
|
||||
* Tree view from tree_* relational tables
|
||||
* DECK Frontend v4.5
|
||||
* All 12 bases: HST,FLG,ITM,LOC,PLY,MST,BCK,MTH,ATC,Oracle,MAIL,CHAT
|
||||
*/
|
||||
|
||||
// =============================================================================
|
||||
@@ -733,13 +738,20 @@ const CONFIG = {
|
||||
IMG_BASE: "https://atc.tzzrdeck.me",
|
||||
|
||||
BASES: {
|
||||
// Taxonomía
|
||||
hst: { schema: "tzzr_core_hst", table: "hst", hasGroups: true, hasLibraries: true },
|
||||
flg: { schema: "tzzr_core_hst", table: "flg", hasGroups: false, hasLibraries: true },
|
||||
itm: { schema: "tzzr_core_itm_base", table: "itm", hasGroups: false, hasLibraries: true },
|
||||
loc: { schema: "tzzr_core_itm_base", table: "loc", hasGroups: false, hasLibraries: true },
|
||||
ply: { schema: "tzzr_core_itm_base", table: "ply", hasGroups: false, hasLibraries: true },
|
||||
mth: { schema: "tzzr_core_produccion",table: "mth", hasGroups: false, hasLibraries: false },
|
||||
// Producción
|
||||
mst: { schema: "tzzr_core_produccion", table: "mst", hasGroups: false, hasLibraries: true },
|
||||
bck: { schema: "tzzr_core_produccion", table: "bck", hasGroups: false, hasLibraries: true },
|
||||
mth: { schema: "tzzr_core_produccion", table: "mth", hasGroups: false, hasLibraries: true },
|
||||
// Secretaría
|
||||
atc: { schema: "tzzr_core_secretaria", table: "atc", hasGroups: false, hasLibraries: true },
|
||||
oracle: { schema: "tzzr_core_secretaria", table: "oracle", hasGroups: false, hasLibraries: true },
|
||||
// Comunicación
|
||||
mail: { schema: "mail_manager", table: "clara_registros", hasGroups: false, hasLibraries: false, orderBy: "timestamp_entrada.desc" },
|
||||
chat: { schema: "context_manager", table: "messages", hasGroups: false, hasLibraries: false, orderBy: "created_at.desc" }
|
||||
},
|
||||
@@ -753,7 +765,12 @@ const CONFIG = {
|
||||
flg: { name: "Flags", color: "#4CAF50" },
|
||||
ply: { name: "Players", color: "#FF5722" },
|
||||
itm: { name: "Items", color: "#795548" },
|
||||
loc: { name: "Locations", color: "#009688" }
|
||||
loc: { name: "Locations", color: "#009688" },
|
||||
mst: { name: "Masters", color: "#3F51B5" },
|
||||
bck: { name: "Backlog", color: "#607D8B" },
|
||||
mth: { name: "Methods", color: "#8BC34A" },
|
||||
atc: { name: "Attachments",color: "#FF7043" },
|
||||
ora: { name: "Oracle", color: "#AB47BC" }
|
||||
},
|
||||
|
||||
EDGE_TYPES: {
|
||||
Reference in New Issue
Block a user