-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
212 lines (145 loc) · 6.97 KB
/
index.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spreadsheets</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<!-- Font-awesome -->
<script src="https://use.fontawesome.com/07d62e5a9f.js"></script>
<!-- Google icons -->
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link rel="icon" href="images/logo.png">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
<!-- google fonts -->
<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=Montserrat:wght@300&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="mycontainer">
<div class="logo-image"></div>
<div class="title-section">
<div contenteditable="true" class="title" data-bs-toggle="tooltip" data-bs-placement="bottom" spellCheck="false">Untitled Spreadsheet</div>
</div>
<div class="menu-bar-section">
<div>File</div>
<div>Home</div>
<div data-bs-toggle="modal" data-bs-target="#staticBackdrop">Help</div>
</div>
<div class="menu-options-section">
<div class="menu-options-icon material-icons" onclick="cutFunc()" >content_cut</div>
<div class="menu-options-icon material-icons" onclick="copyFunc()">content_copy</div>
<div class="menu-options-icon material-icons ccc" onclick="pasteFunc()">content_paste</div>
<select name="font-style" class="font-menu font-style">
<option class="options f2" value="f2">Arial</option>
<option class="options f3" value="f3">Caladea</option>
<option class="options f4" value="f4">Comic</option>
<option class="options f5" value="f5">Georgia</option>
<option class="options f6" value="f6">fantasy</option>
<option class="options f7" value="f7">fangsong</option>
<option class="options f8" value="f8">Impact</option>
<option class="options f9" value="f9">Lucida Handwriting</option>
<option class="options f10" value="f10">Zen Tokyo Zoo
</option>
</select>
<select name="font-size" class="font-menu font-size">
<option class="options" value="8">8</option>
<option class="options" value="10">10</option>
<option class="options" value="12">12</option>
<option class="options" value="14">14</option>
<option class="options" value="16">16</option>
<option class="options" value="20">20</option>
<option class="options" value="22">22</option>
</select>
<div class="menu-options-icon material-icons textFormat bold">format_bold</div>
<div class="menu-options-icon material-icons textFormat italic">format_italic</div>
<div class="menu-options-icon material-icons textFormat underline">format_underlined</div>
<div class="menu-options-icon material-icons color-fill">
format_color_fill
<input type="color" name="bg-color-fill">
</div>
<div class="menu-options-icon material-icons color-fill">
format_color_text
<input type="color" name="text-color-fill">
</div>
<div class="menu-options-icon material-icons align left">format_align_left</div>
<div class="menu-options-icon material-icons align center">format_align_center</div>
<div class="menu-options-icon material-icons align right">format_align_right</div>
</div>
<div class="formula-section">
<div class="selected-cell-div"></div>
<div class="fx">fx</div>
<input type="text" class="formula-input-section">
</div>
<div class="grid">
<div class="blank-corner"></div>
<div class="row-number-section">
</div>
<div class="column-tag-section"></div>
<div class="cell-section"></div>
</div>
<div class="sheets-section">
<div class="scroller">
<div class="left material-icons">arrow_left</div>
<div class="right material-icons">arrow_right</div>
</div>
<div class="addBtn material-icons">add_circle</div>
<div class="sheets-tab">
<div class="sheet">Sheet 1</div>
</div>
</div>
</div>
<!-- Button trigger modal -->
<!-- Modal -->
<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="staticBackdropLabel">Help</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="help-options">
<p><i class="fa fa-chevron-circle-right" aria-hidden="true"></i>Welcome to Spreadsheets.</p>
</div>
<div class="help-options">
<p><i class="fa fa-chevron-circle-right" aria-hidden="true"></i> You can put data inside each cell, the data can be anything you want, like: number or text.</p>
</div>
<div class="help-options">
<p><i class="fa fa-chevron-circle-right" aria-hidden="true"></i>You can apply your own styling on each cell by using menu options.</p>
</div>
<div class="help-options">
<p><i class="fa fa-chevron-circle-right" aria-hidden="true"></i>You can apply formula on a cell by using formula bar.</p>
</div>
<div class="help-options">
<p><i class="fa fa-chevron-circle-right" aria-hidden="true"></i>To apply formula on a cell, the format is => (3C1) or (A1 + B1) or (3*A1 + 9*B2).</p>
</div>
<div class="help-options">
<p><i class="fa fa-chevron-circle-right" aria-hidden="true"></i>Formula bar is on right side of fx.</p>
</div>
<div class="help-options">
<p><i class="fa fa-chevron-circle-right" aria-hidden="true"></i>To add notes click on tools button then click on note.</p>
</div>
<div class="help-options">
<p><i class="fa fa-chevron-circle-right" aria-hidden="true"></i>To save a file click on File button an then click on Save.</p>
</div>
</div>
<div class="modal-footer" style="justify-content: center; font-weight:bold;">
<p>Developed by Kundan Kumar</p>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="scripts/script.js"></script>
<script type="text/javascript" src="scripts/styleScript.js"></script>
</body>
</html>