-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainWin.html
57 lines (50 loc) · 2.01 KB
/
mainWin.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<html>
<head>
<title>Electron Calculator</title>
<!-- linking bootstrap 4 -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<style>
#calc-input input[type="text"]{
width: 100%;
text-align: right;
font-size: 16px;
padding: 10px;
}
#calc-btn-area div > div > button {
width: 100px;
margin-left: 3px;
margin-right: 3px;
}
</style>
</head>
<body>
<h1 class="jumbotron">Welcome to the Calculator App</h1>
<div id="calc-body" class="container-fluid">
<form id="calc-form">
<div id="calc-input">
<input type="text" class="form-control" autofocus placeholder="0"/>
</div>
</form>
<!-- Place for Calculator Buttons -->
<div id="calc-btn-area" class="container-fluid">
<div class="row">
<div class="col">
<button class="btn btn-primary">1</button>
</div>
<div class="col">
<button class="btn btn-primary">2</button>
</div>
<div class="col">
<button class="btn btn-primary">3</button>
</div>
<div class="col">
<button class="btn btn-primary">4</button>
</div>
<div class="col">
<button class="btn btn-primary">5</button>
</div>
</div>
</div>
</div>
</body>
</html>