Calculator:HighLite/Nameplates: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<div class="farts">[[Calculators|← Back to Calculators]]</div>
<div class="farts">[[Calculators|← Back to Calculators]]</div>
<h1 style="margin-top: 0 !important;"><span class="mw-headline" id="Aurum_Profit_Calculator">HighLite Nameplate Calculator</span></h1>
<h1 style="margin-top: 0 !important;"><span class="mw-headline" id="Item_Nameplate_Calculator">HighLite Nameplate Calculator</span></h1>


{{#widget:Calculator/HighLite/Nameplates}} <div id="item-data-container" style="display:none;">
<p>Select display setting for each item:</p>
    <table id="all-game-items-table" class="wikitable sortable"> <thead>
<input type="text" id="item-search" placeholder="Search items..." style="width: calc(100% - 20px); padding: 8px 10px; margin-bottom: 15px; background-color: var(--bg-secondary, #28292d); color: var(--text-main, #b6b4b2); border: 1px solid var(--border-color-base, #3d3d3d); border-radius: 4px;">
            <tr>
 
                <th>Item Name</th>
<table id="item-display-table" class="wikitable sortable">
                <th>Price</th>
    <thead>
             </tr>
        <tr>
        </thead>
            <th>Item Name</th>
        <tbody>
            <th>Price</th>
             <th>Nameplate Setting</th> <!-- New column header for the buttons -->
        </tr>
    </thead>
    <tbody>
         {{#cargo_query:
         {{#cargo_query:
             tables=Items
             tables=Items
Line 19: Line 23:
         }}
         }}
         </tbody>
         </tbody>
    </table>
</table>
</div>
 
<hr/>
<h3>Generated List:</h3>
<textarea id="output-list" rows="10" readonly style="width: 100%; background-color: var(--bg-secondary, #28292d); color: var(--text-main, #b6b4b2); border: 1px solid var(--border-color-base, #2d2d2d); border-radius: 4px; padding: 10px; font-family: monospace; resize: vertical;"></textarea>
<button id="copy-button" style="background-color: #007bff; color: white; border: none; border-radius: 4px; padding: 10px 15px; cursor: pointer; font-size: 16px; margin-top: 10px;">Copy to Clipboard</button>
<span id="copy-feedback" style="margin-left: 10px; color: green;"></span>
 
<!-- The widget itself (CSS and JS) is embedded here -->
{{#widget:Calculator/HighLite/NameplateCalculator}}


[[Category:Calculators]][[Category:HighLite Calculators]]
[[Category:Calculators]][[Category:HighLite Calculators]]