summaryrefslogtreecommitdiff
path: root/munia.html
diff options
context:
space:
mode:
Diffstat (limited to 'munia.html')
-rw-r--r--munia.html40
1 files changed, 28 insertions, 12 deletions
diff --git a/munia.html b/munia.html
index 260abc9..894160f 100644
--- a/munia.html
+++ b/munia.html
@@ -3,6 +3,14 @@
<head>
<title>Munia</title>
<style>
+/* Prevent the text contents of draggable elements from being selectable. */
+[draggable] {
+ -moz-user-select: none;
+ -khtml-user-select: none;
+ -webkit-user-select: none;
+ user-select: none;
+}
+
body {
cursor: default;
}
@@ -16,31 +24,39 @@ body {
-o-user-select: none;
user-select: none;
cursor: move;
- background-color: grey;
+ background-color: #888;
border-style: solid;
border-width: medium;
- border-radius: 15px;
+/* border-radius: 15px;*/
padding: 4px;
margin: 6px;
-}
-
-.task:hover {
- background-color:yellow;
+ max-width: 300px;
}
.board {
- background-color: #666;
width: *;
min-height: 300px;
- padding: 20px;
+ padding: 20px;\
+
+ background: -moz-linear-gradient(left center, rgb(0,0,0), rgb(79,79,79), rgb(21,21,21));
+ background: -webkit-gradient(linear, left top, right top,
+ color-stop(0, rgb(0,0,0)),
+ color-stop(0.50, rgb(79,79,79)),
+ color-stop(1, rgb(21,21,21)));
+ background: -webkit-linear-gradient(left center, rgb(0,0,0), rgb(79,79,79), rgb(21,21,21));
+ background: -ms-linear-gradient(left center, rgb(0,0,0), rgb(79,79,79), rgb(21,21,21));
}
</style>
</head>
<body id="body">
-<div id="wslm_status">Not initialized</div>
-<input type="text" id="input_data" value="add title description -1" onfocus="clear()"/>
-<input type="button" value="submit" onclick="submit()"/>
-<div id="wslm_lastmsg"></div>
+<div id="wstask_status">TaskProto not initialized</div>
+<div id="wsobserve_status">ObserveProto not initialized</div>
+TaskProto: <input type="text" id="input_task_data" value="add title description -1" onfocus="clear()"/>
+<input type="button" value="submit" onclick="task_submit()"/><br/>
+ObserveProto: <input type="text" id="input_observe_data" value="observe 0" onfocus="clear()"/>
+<input type="button" value="submit" onclick="observe_submit()"/><br/>
+TaskMessages: <span id="wstask_lastmsg"></span><br/>
+ObserveMessages: <span id="wsobserve_lastmsg"></span>
</div>
<div id="board" class="board"></div>
<script type="text/javascript" charset="utf-8" src="/proto.js"></script>