client/addons/bank/ui/_site/index.html
Jacob Schmidt 69f8f037df
All checks were successful
Build / Build (push) Successful in 28s
refactor: Remove tasks.json and update documentation in store functions
This commit removes the `tasks.json` file from the `.vscode` directory. Additionally, it enhances the documentation in `fnc_buyItem.sqf` and `fnc_buyVehicle.sqf` by providing clearer descriptions of item and vehicle types. The `fnc_handlePurchase.sqf` has also been updated to improve variable scoping for better code clarity.
2025-04-19 11:12:53 -05:00

100 lines
3.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FORGE - FDIC</title>
<link rel="stylesheet" href="styles.css">
<script src="script.js" defer></script>
</head>
<body>
<header>
<div class="container">
<div class="header-content">
<h1>Federal Deposit Insurance Corporation</h1>
<div class="balance-display">
<div class="balance-item">
<span>💰</span>
<div>
<div>Wallet</div>
<div id="walletBalance">$0</div>
</div>
</div>
<div class="balance-item">
<span>🏦</span>
<div>
<div>Account</div>
<div id="accountBalance">$0</div>
</div>
</div>
</div>
</div>
</div>
</header>
<main class="container">
<div class="actions-grid"> <!-- Transfer Between Accounts -->
<div class="action-tile">
<h2>Transfer Money</h2>
<form id="transferForm">
<div class="form-group">
<label for="transferType">Transfer From</label>
<select id="transferType" required>
<option value="to_wallet">Account to Wallet</option>
<option value="to_account">Wallet to Account</option>
</select>
</div>
<div class="form-group">
<label for="transferAmount">Amount</label>
<input type="number" id="transferAmount" min="1" step="1" required>
</div>
<button type="submit" class="submit-btn">Transfer</button>
</form>
</div>
<!-- Transfer to Player -->
<div class="action-tile">
<h2>Transfer to Player</h2>
<form id="transferPlayerForm">
<div class="form-group">
<label for="playerSelect">Player</label>
<select id="playerSelect" required>
<option value="" disabled selected>Select Player</option>
</select>
</div>
<div class="form-group">
<label for="playerTransferAmount">Amount</label>
<input type="number" id="playerTransferAmount" min="1" step="1" required>
</div>
<button type="submit" class="submit-btn">Send Money</button>
</form>
</div>
<!-- Submit Timesheet -->
<div class="action-tile">
<h2>Submit Timesheet</h2>
<form id="timesheetForm">
<div class="form-group">
<label for="hoursWorked">Hours Worked</label>
<input type="number" id="hoursWorked" min="1" step="0.5" required>
</div>
<div class="form-group">
<label for="hourlyRate">Hourly Rate</label>
<input type="number" id="hourlyRate" min="1" step="1" required>
</div>
<button type="submit" class="submit-btn">Submit Timesheet</button>
</form>
</div>
</div>
<!-- Transaction History -->
<section class="history-section">
<h2>Transaction History</h2>
<ul class="history-list" id="transactionHistory">
<!-- Transactions will be added here dynamically -->
</ul>
</section>
</main>
</body>
</html>