|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8"/> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
| 6 | + <title>QB Config Editor</title> |
| 7 | + <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet"/> |
| 8 | + <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0"/> |
| 9 | + <link rel="stylesheet" href="style.css"/> |
| 10 | + </head> |
| 11 | + <body> |
| 12 | + <div id="editor-container"> |
| 13 | + <header> |
| 14 | + <h1>QB Config Editor</h1> |
| 15 | + <div class="controls"> |
| 16 | + <button id="save-btn"> |
| 17 | + <span class="material-symbols-rounded">save</span> |
| 18 | + Save Changes |
| 19 | + </button> |
| 20 | + <button id="close-btn"> |
| 21 | + <span class="material-symbols-rounded">close</span> |
| 22 | + Close |
| 23 | + </button> |
| 24 | + </div> |
| 25 | + </header> |
| 26 | + |
| 27 | + <div class="content"> |
| 28 | + <div class="sidebar"> |
| 29 | + <h2>Files</h2> |
| 30 | + <ul class="file-list"> |
| 31 | + <li data-file="config"> |
| 32 | + <span class="material-symbols-rounded">settings</span> |
| 33 | + Server Config |
| 34 | + </li> |
| 35 | + <li data-file="playerdata"> |
| 36 | + <span class="material-symbols-rounded">account_circle</span> |
| 37 | + Player Data |
| 38 | + </li> |
| 39 | + <li data-file="jobs"> |
| 40 | + <span class="material-symbols-rounded">work</span> |
| 41 | + Jobs |
| 42 | + </li> |
| 43 | + <li data-file="gangs"> |
| 44 | + <span class="material-symbols-rounded">work</span> |
| 45 | + Gangs |
| 46 | + </li> |
| 47 | + <li data-file="items"> |
| 48 | + <span class="material-symbols-rounded">inventory_2</span> |
| 49 | + Items |
| 50 | + </li> |
| 51 | + <li data-file="vehicles"> |
| 52 | + <span class="material-symbols-rounded">directions_car</span> |
| 53 | + Vehicles |
| 54 | + </li> |
| 55 | + <li data-file="weapons"> |
| 56 | + <span class="material-symbols-rounded">bolt</span> |
| 57 | + Weapons |
| 58 | + </li> |
| 59 | + </ul> |
| 60 | + </div> |
| 61 | + |
| 62 | + <div class="main-content"> |
| 63 | + <div class="search-container"> |
| 64 | + <div class="search-wrapper"> |
| 65 | + <span class="material-symbols-rounded search-icon">search</span> |
| 66 | + <input type="text" id="search-input" placeholder="Search..." aria-label="Search through config items"/> |
| 67 | + </div> |
| 68 | + </div> |
| 69 | + |
| 70 | + <div id="data-container"></div> |
| 71 | + </div> |
| 72 | + </div> |
| 73 | + |
| 74 | + <div id="edit-modal" class="hidden"> |
| 75 | + <div class="modal-content"> |
| 76 | + <div class="modal-header"> |
| 77 | + <h2>Edit Item</h2> |
| 78 | + <button id="close-modal-btn" aria-label="Close Modal"> |
| 79 | + <span class="material-symbols-rounded">close</span> |
| 80 | + </button> |
| 81 | + </div> |
| 82 | + <div class="modal-body"> |
| 83 | + <div id="editor-form"></div> |
| 84 | + </div> |
| 85 | + <div class="modal-footer"> |
| 86 | + <button id="cancel-edit-btn">Cancel</button> |
| 87 | + <button id="save-item-btn"> |
| 88 | + <span class="material-symbols-rounded">check</span> |
| 89 | + Save |
| 90 | + </button> |
| 91 | + </div> |
| 92 | + </div> |
| 93 | + </div> |
| 94 | + </div> |
| 95 | + |
| 96 | + <!-- Floating Action Button --> |
| 97 | + <button id="add-item-fab" class="fab" aria-label="Add New Item"> |
| 98 | + <span class="material-symbols-rounded">add</span> |
| 99 | + </button> |
| 100 | + |
| 101 | + <script src="script.js"></script> |
| 102 | + </body> |
| 103 | +</html> |
0 commit comments