-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (70 loc) · 2.46 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css"/>
<script>
let $ = require("jquery");
</script>
<script>
require("popper.js");
</script>
<script>
require("bootstrap");
</script>
<link rel="stylesheet" href="./css/style.css">
<link href="./node_modules/tabulator-tables/dist/css/tabulator.min.css" rel="stylesheet">
<script type="text/javascript" src="./node_modules/tabulator-tables/dist/js/tabulator.min.js"></script>
<title>Software metric</title>
</head>
<body>
<nav
class="navbar navbar-expand-md navbar-light fixed-top mb-5"
id="main-nav"
>
<div class="container bg-white border border-bottom-2">
<a href="#home" class="navbar-brand">
<img src="img/google-flutter-logo.png" width="77" height="77" alt="" />
<h1 class="d-inline align-middle badge badge-dark p-4">Software metrics</h1>
</a>
<button
class="navbar-toggler"
data-toggle="collapse"
data-target="#navbarCollapse"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse bg-info w-100" id="navbarCollapse">
<ul class="navbar-nav ml-auto p-5">
<li class="nav-item mr-2">
<div class="upload-btn-wrapper">
<button class="upload-btn">Upload Single Flutter Project</button>
<input type="file" id="myFile" webkitdirectory onchange='getFiles(this)'/>
</div>
</li>
<li class="nav-item">
<div class="upload-btn-wrapper">
<button class="upload-btn">Upload Multiple Flutter Project</button>
<input type="file" id="myFiles" webkitdirectory onchange='getAllProjects(this)'/>
</div>
</li>
</ul>
</div>
</div>
</nav>
<div id="res-table">
</div>
<div id="smell-table">
</div>
<div id="main-section">
</div>
<script>
const { ipcRenderer } = require("electron");
// ipcRenderer.on("asynchronous-reply", (event, res) => {
</script>
<script src="./metricsUI.js"></script>
<script src="./FileHelper/fileUIHelper.js"></script>
<!-- You can also require other files to run in this process -->
<script src="./renderer.js"></script>
</body>
</html>