-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
141 lines (122 loc) · 4.4 KB
/
index.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
<title>Workflow</title>
<meta name="description" content="A collaborative real-time white- and kanban board." />
<meta name="copyright" content="Mark-André Hopf <[email protected]>" />
<!--
<script type="application/javascript" src="polyfill/webcomponents-lite.min.js"></script>
-->
<script type="application/javascript" src="polyfill/webcomponents-hi-sd-ce.js"></script>
<script type="application/javascript" src="polyfill/path-data-polyfill.js"></script>
<script type="application/javascript" src="js/workflow.js"></script>
<template id="logonScreen">
<style>
.logon {
margin: 0 auto;
/* center horizontally */
max-width: 512px;
display: grid;
grid-template-columns: 68px 1fr 1fr
}
.logon-text {
grid-column-start: 2;
grid-column-end: 4;
}
.logon-label {
grid-column-start: 2;
}
.logon-input {
grid-column-start: 3;
}
</style>
<div class="logon">
<img style="grid-column-start: 1;" src="img/logo.svg" width="64" height="64" />
<div class="logon-text">
<toad-slot model="disclaimer"></toad-slot>
</div>
<label class="logon-label" for="logon">Logon:</label>
<toad-text class="logon-input" id="logon" model="logon" />
</toad-text>
<label class="logon-label" for="password">Password:</label>
<toad-text class="logon-input" id="password" model="password" />
</toad-text>
<label class="logon-label" for="remember">
Remember me (for up to <toad-slot model="lifetime">?</toad-slot> days):
</label>
<toad-checkbox class="logon-input" id="remember" model="remember" />
</toad-checkbox>
<toad-button class="logon-input" action="logon">Log on</toad-button>
<div class="logon-text">
Not a member? <a href="#">Sign up</a> for an account.
</div>
<div class="logon-text">
<toad-slot model="message" style="color: #f00"></toad-slot>
</div>
</div>
<div>
Hint:<br />
mark / secret<br />
tiger / lovely
</div>
</template>
<style>
:root {
--toad-font-family: "Trebuchet MS", Futura, Helvetica Neue, Helvetica, Arial, sans-serif;
--toad-font-size: 12px;
--toad-outline-color: #9eccfb;
--toad-selection-color: #0069d4;
--toad-menu-face: #535353;
--toad-menu-type: #c3c3c3;
--toad-menu-shadow: #303030;
}
body {
font-family: var(--toad-font-family);
font-size: var(--toad-font-size);
background: #535353;
}
.toolbar {
position: absolute;
left: 1px;
width: 48px;
top: 49px;
bottom: 32px;
background: var(--tx-gray-400);
}
/* .toolbar>toad-toolbutton {
width: 24px;
height: 20px;
border: none;
background: #535353;
} */
/* .toolbar>toad-toolbutton[selected] {
background: #303030;
} */
div#hint {
font-weight: normal;
background-color: #323232;
color: #909090;
line-height: 24px;
padding-left: 4px;
padding-right: 4px;
}
kbd {
color: #fff;
font-family: sans-serif;
border: 1px solid #fff;
border-radius: 3px;
font-size: 12px;
}
.action {
color: #fff;
}
</style>
</head>
<body onload="workflow.main()" style="overflow: hidden;"></body>
<!-- <body onload="workflow.main('ws://localhost:8080')"></body> -->
<!-- <body onload="workflow.main('ws://'+window.location.hostname+':8080')"></body> -->
<!-- <body onload="workflow.main('wss://'+window.location.hostname+'/workflow/')"></body> -->
</html>