You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

67 lines
1.7 KiB

<html>
<head>
<script src="p5.min.js"></script>
<script src="sketch-2D.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="Helper.js"></script>
<style>
body{
background-color: #d0d0d0;
}
.wrapper{
padding: 10px;
}
.test-name-label{
font-weight: bold;
}
.fetchButton{
padding-top: 5px;
padding-bottom: 5px;
padding-left: 7px;
padding-right: 7px;
background-color: white;
border: 1px solid #4e4e4e;
margin-left: 10px;
margin-right: 5px;
cursor: pointer;
color: black;
}
.fetchButton:hover{
background-color: #4e4e4e;
color: #ffffff;
}
.startButton{
padding-top: 5px;
padding-bottom: 5px;
padding-left: 7px;
padding-right: 7px;
background-color: white;
border: 1px solid #4e4e4e;
cursor: pointer;
color: black;
}
.startButton:hover{
background-color: #4e4e4e;
color: #ffffff;
}
.test-name{
margin-left: 10px;
padding: 5px;
}
#message{
display: none;
padding-left: 5px;
font-weight: bold;
}
</style>
</head>
<body>
<div class="wrapper">
<span class="test-name-label">Insert the test name</span>
<input id="testName" type="text" class="test-name"/>
<button class="fetchButton" onclick="Helper.fetchData(document.getElementById('testName').value);">Fetch Data</button>
<button class="startButton" onclick="Helper.startSimulation();">Start Simulation</button>
<span id="message"></span>
</div>
</body>
</html>