aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/stylesheets/authentication.css29
-rw-r--r--views/workspace.pug13
2 files changed, 41 insertions, 1 deletions
diff --git a/views/stylesheets/authentication.css b/views/stylesheets/authentication.css
index bce8223ec..dea0474e4 100644
--- a/views/stylesheets/authentication.css
+++ b/views/stylesheets/authentication.css
@@ -48,10 +48,37 @@ body {
}
#overlay_signup,
-#overlay_reset {
+#overlay_reset,
+#overlay_workspaces {
height: 345px;
}
+.workspace-header {
+ margin-left: 20px;
+}
+
+.select-workspace {
+ margin-top: 15px;
+ margin-left: 20px;
+}
+
+#overlay_workspaces {
+ overflow-y: scroll;
+ text-align: left;
+}
+
+.workspaceId {
+ list-style-type: none;
+ font-family: Arial, Helvetica, sans-serif;
+ margin-left: -20px;
+ cursor: grab;
+ padding-bottom: 15px;
+}
+
+.workspaceId:hover {
+ color: red;
+}
+
#overlay_login {
height: 300px;
}
diff --git a/views/workspace.pug b/views/workspace.pug
new file mode 100644
index 000000000..8bbc3e02c
--- /dev/null
+++ b/views/workspace.pug
@@ -0,0 +1,13 @@
+
+extends ./layout
+
+block content
+ style
+ include ./stylesheets/authentication.css
+ form.form-horizontal(id='workspace-form', method='POST', action='/home')
+ input(type='hidden', name='_csrf', value=_csrf)
+ .overlay(id='overlay_workspaces')
+ h3.workspace-header Select A Workspace
+ ul.workspaceList
+ each val, index in ids
+ li.workspaceId(onclick='console.log("' + val + '")')= (index + 1) + ') ' + val \ No newline at end of file