kalkulator/static/index.html

69 lines
3.1 KiB
HTML
Raw Normal View History

2024-10-16 22:46:58 +02:00
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kalkulator</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet">
2024-10-18 08:31:29 +02:00
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
2024-10-16 22:46:58 +02:00
2024-10-17 09:05:34 +02:00
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
2024-10-16 22:46:58 +02:00
<!-- anime.js is a library for easy fancy animations with JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js"></script>
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="./assets/css/keyboard.css">
</head>
<body>
2024-10-24 08:23:15 +02:00
<div class="loader"></div>
2024-10-17 09:05:34 +02:00
<div class="history-container" id="history">
<span>5+10<strong> = 15</strong></span>
<span>7*8<strong> = 56</strong></span>
<span>9*9<strong> = 81</strong></span>
<span>8*8<strong> = 64</strong></span>
</div>
2024-10-16 22:46:58 +02:00
<div class="calculator">
<div class="display">
<div class="display-text"></div>
</div>
<button class="button"><span class="material-symbols-outlined">backspace</span></button>
2024-10-16 22:46:58 +02:00
<button class="button">AC</button>
2024-10-17 09:05:34 +02:00
<button class="button">H</button>
2024-10-16 22:46:58 +02:00
<button class="button operation">÷</button>
<button class="button">7</button>
<button class="button">8</button>
<button class="button">9</button>
<button class="button operation">×</button>
<button class="button">4</button>
<button class="button">5</button>
<button class="button">6</button>
<button class="button operation"></button>
<button class="button">1</button>
<button class="button">2</button>
<button class="button">3</button>
<button class="button operation">+</button>
2024-10-18 08:31:29 +02:00
<button class="button settings"><span class="material-symbols-outlined">settings</span></button>
2024-10-16 22:46:58 +02:00
<button class="button">0</button>
<button class="button">.</button>
<button class="button operation">=</button>
</div>
<div class="settings-container">
<span>Kolor tła: <input type="color" id="background"></span>
<span>Kolor tekstu: <input type="color" id="text"></span>
<span>Kolor podstawowy: <input type="color" id="button-primary"></span>
<span>Kolor alternatywny: <input type="color" id="button-secondary"></span>
<div class="container">
2024-10-18 15:28:31 +02:00
<button onclick="applyUIColors()">Zapisz</button>
</div>
</div>
2024-10-16 22:46:58 +02:00
<script src="./assets/js/calculator-logic.js"></script>
<script src="./assets/js/colors.js"></script>
2024-10-16 22:46:58 +02:00
</body>
</html>