potree/examples/page.html
2018-02-09 17:24:45 +01:00

75 lines
3.0 KiB
HTML

<html>
<head>
<style>
.thumb{
background-size: 128px 128px;
width: 128px;
height: 128px;
border-radius: 5px;
border: 2px solid black;
box-shadow: 3px 3px 3px 0px #555;
margin: 3px;
float: left;
}
.thumb-label{
font-size: large;
text-align: center;
font-weight: bold;
color: #FFF;
text-shadow:black 0 0 5px, black 0 0 5px, black 0 0 5px, black 0 0 5px, black 0 0 5px, black 0 0 5px;
height: 100%;
}
</style>
</head>
<body>
<script src="../libs/jquery/jquery-3.1.1.min.js"></script>
<div id="thumb_container" style="max-width: 1000px; margin: auto; margin-top: 50px;"></div>
<script>
let examples = [
{thumb: "./thumbnails/animation_paths.png", label: "Animations", url: "./animation_paths.html"},
{thumb: "./thumbnails/annotation_hierarchy.png", label: "Hierarchical Annotations", url: "./annotation_hierarchy.html"},
{thumb: "./thumbnails/annotations.png", label: "Annotations", url: "./annotations.html"},
{thumb: "./thumbnails/cesium_ca13.png", label: "Cesium CA13", url: "./cesium_ca13.html"},
{thumb: "./thumbnails/cesium_sorvilier.png", label: "Cesium Sorvilier", url: "./cesium_sorvilier.html"},
{thumb: "./thumbnails/clipping_volume.png", label: "Clipping Volume", url: "./clipping_volume.html"},
{thumb: "./thumbnails/custom_sidebar_section.png", label: "Custom Sidebar Section", url: "./custom_sidebar_section.html"},
{thumb: "./thumbnails/elevation_profile.png", label: "Elevation Profile", url: "./elevation_profile.html"},
{thumb: "./thumbnails/embedded_iframe.png", label: "Embedded Iframe", url: "./embedded_iframe.html"},
{thumb: "./thumbnails/gradient_colors.png", label: "Gradient Colors", url: "./gradient_colors.html"},
{thumb: "./thumbnails/heidentor.png", label: "Heidentor", url: "./heidentor.html"},
{thumb: "./thumbnails/light_animated.png", label: "Animated Light", url: "./light_animated.html"},
{thumb: "./thumbnails/light_ca13.png", label: "Light CA13", url: "./light_ca13.html"},
{thumb: "./thumbnails/lines.png", label: "Lines", url: "./lines.html"},
{thumb: "./thumbnails/lion.png", label: "Lion", url: "./lion.html"},
{thumb: "./thumbnails/lion_las.png", label: "Lion LAS", url: "./lion_las.html"},
{thumb: "./thumbnails/lion_las.png", label: "Lion LAZ", url: "./lion_las.html"},
{thumb: "./thumbnails/measurements.png", label: "Measurements", url: "./measurements.html"},
{thumb: "./thumbnails/multiple_point_clouds.png", label: "Multiple Point Clouds", url: "./multiple_point_clouds.html"},
{thumb: "./thumbnails/shapefiles.png", label: "Shapefiles", url: "./shapefiles.html"},
{thumb: "./thumbnails/viewer.png", label: "Basic Viewer", url: "./viewer.html"},
];
for(let example of examples){
let element = $(`
<a href="${example.url}" target="_blank">
<div class="thumb" style="background-image: url('${example.thumb}'); ">
<div class="thumb-label">${example.label}</div>
</div>
</a>`);
$("#thumb_container").append(element);
}
</script>
</body>
</html>