-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathBoard.php
executable file
·77 lines (71 loc) · 2.45 KB
/
Board.php
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
<?php
$PAGE_TITLE = "KXStudio : Board";
$PAGE_TYPE = "BOARD";
$PAGE_SOURCE_1 = ARRAY("/Board");
$PAGE_SOURCE_2 = ARRAY("Board");
include_once("includes/header.php");
?>
<div id="board-colors">
<p>
<b>Color mapping:</b>
</p>
<ul>
<li class="board-color">
<div style="background-color:rgba(255,187,187,0.9);border:1px solid rgba(255,151,151,0.2);">
</div>
<span>Bug fixing</span>
</li>
<li class="board-color">
<div style="background-color:rgba(255,215,179,0.9);border:1px solid rgba(255,172,98,0.2);">
</div>
<span>Write up / Releases</span>
</li>
<li class="board-color">
<div style="background-color:rgba(245,247,196,0.9);border:1px solid rgba(223,227,45,0.2);">
</div>
<span>Packaging</span>
</li>
<li class="board-color">
<div style="background-color:rgba(189,244,203,0.9);border:1px solid rgba(74,227,113,0.2);">
</div>
<span>Easy or quick tasks</span>
</li>
<li class="board-color">
<div style="background-color:rgba(219,235,255,0.9);border:1px solid rgba(168,207,255,0.2);">
</div>
<span>Regular tasks</span>
</li>
<li class="board-color">
<div style="background-color:rgba(223,176,255,0.9);border:1px solid rgba(205,133,254,0.2);">
</div>
<span>New projects / long tasks</span>
</li>
</ul>
</div>
<script type="text/javascript">
function resizeIframe() {
var board = document.getElementById("iframe-board");
window.addEventListener("message", function(event) {
if (event.origin !== "https://board.kx.studio")
return;
var height = parseInt(event.data);
board.style.height = height + "px";
}, false);
board.contentWindow.postMessage("hi", "https://board.kx.studio/");
}
</script>
<noscript>
<p>
NOTE: Automatic height only available with JavaScript enabled.
Visit <a href="https://board.kx.studio/">https://board.kx.studio/</a> for the full page.
</p>
</noscript>
<iframe
id="iframe-board"
src="https://board.kx.studio/public/board/f062a2b1cf34806109a3936a9373b8f044f0e0ab4ede4f1e2bf76195af27"
style="display:block;width:100%;min-height:300px;height:100%;border:none;padding:0;margin:0;"
onload="resizeIframe()"
/>
<?php
include_once("includes/footer.php");
?>