-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaleoscar.html
97 lines (75 loc) · 1.58 KB
/
maleoscar.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/brython@3.8.10/brython.min.js">
</script>
<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/brython@3.8.10/brython_stdlib.js">
</script>
<link rel="stylesheet" href="./engmonarchs/style.css">
<style>
/* holds the cards */
div.rank-holder {
left: 40px; /* LHS of Ranking slots */
}
div.rank {
width: 140px;
height: 200px;
}
div.card {
width: 120px;
height: 180px;
}
div.card-body {
width: inherit;
height: inherit;
}
div.card-text {
width: inherit;
height: inherit - 30px;
margin: 2px;
/* background-color: white; */
font-size: small;
font-family: sans-serif;
text-align: center;
}
xdiv.date {
font-weight: bold;
font-size: large;
}
button.button2 {
background-color: white;
border: 2px solid black;
border-radius: 10px;
}
span.button-text {
font-size: medium;
font-family: sans-serif;
text-align: center;
}
</style>
</head>
<body onload="brython()">
<script type="text/python" src="engmonarchs/monarchdata.py" id="data"> </script>
<!--
<script type="text/python" id="test" >
from browser import window
print(__name__,"ZZZZZZZZZZZZ")
window.monarchdata=123
</script>
-->
<script type="text/python" id="prog" >
"""
from browser import window
#global monarchdata
print(window.mmm)
print(__name__,window.monarchdata)
import sys,random
"""
import maleoscar
maleoscar.DragDrop(0).createLayout(4)
</script>
</body>
</html>