-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtesthtml4.html
executable file
·79 lines (73 loc) · 3.67 KB
/
testhtml4.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
<html lang="en">
<head>
<!-- Use correct character set. -->
<meta charset="utf-8">
<!-- Tell IE to use the latest, best version. -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Make the application on mobile take up the full browser screen and disable user scaling. -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>Hello World!</title>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<link href="popupwindow.css" rel="stylesheet">
<link href="bootstrap.min.css" rel="stylesheet">
<script src="bootstrap.min.js"></script>
<script src="popupwindow.js"></script>
</head>
<style>
@import url(../Build/Cesium/Widgets/widgets.css);
@import url("program.css");
@import url(https://fonts.googleapis.com/css?family=Roboto);
html, body, #cesiumContainer {
width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.dot {
height: 25px;
width: 25px;
border-radius: 50%;
display: inline-block;
}
</style>
<body>
<table>
<tr id="test">
<td>1)</td>
<td> <img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADJSURBVDhPnZHRDcMgEEMZjVEYpaNklIzSEfLfD4qNnXAJSFWfhO7w2Zc0Tf9QG2rXrEzSUeZLOGm47WoH95x3Hl3jEgilvDgsOQUTqsNl68ezEwn1vae6lceSEEYvvWNT/Rxc4CXQNGadho1NXoJ+9iaqc2xi2xbt23PJCDIB6TQjOC6Bho/sDy3fBQT8PrVhibU7yBFcEPaRxOoeTwbwByCOYf9VGp1BYI1BA+EeHhmfzKbBoJEQwn1yzUZtyspIQUha85MpkNIXB7GizqDEECsAAAAASUVORK5CYII="> test satname </td>
<td>
<div id="colordropdown" class="dropdown dropdown-bubble" style="display:inline;">
<button class="btn btn-light" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="height:32px;">
<span style="display:inline-block; height: 32px; vertical-align: top;">Color:</span>
<span class="dot" style="background-color:#8b00ff; margin-top:-4px; margin-left:3px;"></span>
</button>
<ul id="colordropdownmenu" class="dropdown-menu" style="margin-top: 10px;">
<li><a href="" style="text-align:center;">Violet</span><span class="dot" style="background-color:#8b00ff; margin-top:0px; margin-left:8px;"></span></a>
<li><a href="" style="text-align:center;">Blue<span class="dot" style="background-color:#0000ff; margin-top:0px; margin-left:8px;"></span></a>
<li><a href="" style="text-align:center;">Aqua<span class="dot" style="background-color:#00ffff; margin-top:0px; margin-left:8px;"></span></a>
<li><a href="" style="text-align:center;">Green<span class="dot" style="background-color:#00ff00; margin-top:0px; margin-left:8px;"></span></a>
<li><a href="" style="text-align:center;">Yellow<span class="dot" style="background-color:#ffff00; margin-top:0px; margin-left:8px;"></span></a>
<li><a href="" style="text-align:center;">Orange<span class="dot" style="background-color:#ff7f00; margin-top:0px; margin-left:8px;"></span></a>
<li><a href="" style="text-align:center;">Red<span class="dot" style="background-color:#ff0000; margin-top:0px; margin-left:8px;"></span></a>
</ul>
</div>
</td>
<td> <div> Action: <button id="bid" onclick="changekeepremovebutton('bid');" class="btn btn-info" style="transition: all .3s ease;">Keep</button></td>
</tr>
</table>
<script>
function changekeepremovebutton(keepremovebuttonid){
var button=document.getElementById(keepremovebuttonid);
if(button.innerHTML=="Keep"){
button.className="btn btn-danger";
button.innerHTML="Delete";
}
else{
button.className="btn btn-info";
button.innerHTML="Keep";
}
}
</script>
</body>