1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

demo code

This commit is contained in:
gnosygnu
2017-03-12 04:00:52 -04:00
parent 35493b21b1
commit 559cf8cf4b
2 changed files with 282 additions and 0 deletions

40
demo/wikimedia.html Normal file
View File

@@ -0,0 +1,40 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<style type="text/css">
.results_div {
align:center;
width:800px; margin:0 auto;
border-bottom: 1px solid #ddd;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
.result_header {
font-weight:bold;
background-color: #eee;
}
.result_div {
display:flex;
border-top: 1px solid #ddd;
}
.result_title {
width:100%;
padding:2px;
}
.result_score {
width:80px;
padding:2px;
text-align:right;
border-left: 1px solid #ddd;
}
</style>
<script src="wikimedia.js" type='text/javascript'></script>
</head>
<body>
</body>
<script>
wm.category.run();
</script>
</html>