diff --git a/guacamole/web-client/web/guac-web-lib/css/guacamole.css b/guacamole/web-client/web/guac-web-lib/css/guacamole.css
new file mode 100644
index 000000000..5c2bc6aff
--- /dev/null
+++ b/guacamole/web-client/web/guac-web-lib/css/guacamole.css
@@ -0,0 +1,37 @@
+
+/*
+ * Guacamole - Clientless Remote Desktop
+ * Copyright (C) 2010 Michael Jumper
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see .
+ */
+
+.guac-display .guac-loading {
+ border: 1px dotted gray;
+ background-image: url('images/spinner92.gif');
+ background-position: center;
+ background-repeat: no-repeat;
+}
+
+.guac-display .guac-error {
+ border: 1px dotted red;
+ background-image: url('images/noimage92.png');
+ background-position: center;
+ background-repeat: no-repeat;
+}
+
+.guac-hide-cursor {
+ cursor: url('images/mouse/dot.gif'),url('images/mouse/blank.cur'),default;
+}
+
diff --git a/guacamole/web-client/web/images/mouse/blank.cur b/guacamole/web-client/web/guac-web-lib/images/mouse/blank.cur
similarity index 100%
rename from guacamole/web-client/web/images/mouse/blank.cur
rename to guacamole/web-client/web/guac-web-lib/images/mouse/blank.cur
diff --git a/guacamole/web-client/web/images/mouse/blank.gif b/guacamole/web-client/web/guac-web-lib/images/mouse/blank.gif
similarity index 100%
rename from guacamole/web-client/web/images/mouse/blank.gif
rename to guacamole/web-client/web/guac-web-lib/images/mouse/blank.gif
diff --git a/guacamole/web-client/web/images/mouse/dot.gif b/guacamole/web-client/web/guac-web-lib/images/mouse/dot.gif
similarity index 100%
rename from guacamole/web-client/web/images/mouse/dot.gif
rename to guacamole/web-client/web/guac-web-lib/images/mouse/dot.gif
diff --git a/guacamole/web-client/web/images/noimage92.png b/guacamole/web-client/web/guac-web-lib/images/noimage92.png
similarity index 100%
rename from guacamole/web-client/web/images/noimage92.png
rename to guacamole/web-client/web/guac-web-lib/images/noimage92.png
diff --git a/guacamole/web-client/web/images/spinner92.gif b/guacamole/web-client/web/guac-web-lib/images/spinner92.gif
similarity index 100%
rename from guacamole/web-client/web/images/spinner92.gif
rename to guacamole/web-client/web/guac-web-lib/images/spinner92.gif
diff --git a/guacamole/web-client/web/javascript/guacamole.js b/guacamole/web-client/web/guac-web-lib/javascript/guacamole.js
similarity index 99%
rename from guacamole/web-client/web/javascript/guacamole.js
rename to guacamole/web-client/web/guac-web-lib/javascript/guacamole.js
index 77afc17cf..020e88ac5 100644
--- a/guacamole/web-client/web/javascript/guacamole.js
+++ b/guacamole/web-client/web/guac-web-lib/javascript/guacamole.js
@@ -66,7 +66,7 @@ function GuacamoleClient(display) {
// Hide hardware cursor
if (cursorHidden == 0) {
- display.className += " hideCursor";
+ display.className += " guac-hide-cursor";
cursorHidden = 1;
}
@@ -266,7 +266,7 @@ function GuacamoleClient(display) {
disconnect();
// In case nothing has been rendered yet, use error style
- display.className += " error";
+ display.className += " guac-error";
// Show error by desaturating display
if (background)
diff --git a/guacamole/web-client/web/javascript/keyboard.js b/guacamole/web-client/web/guac-web-lib/javascript/keyboard.js
similarity index 100%
rename from guacamole/web-client/web/javascript/keyboard.js
rename to guacamole/web-client/web/guac-web-lib/javascript/keyboard.js
diff --git a/guacamole/web-client/web/javascript/keymap.js b/guacamole/web-client/web/guac-web-lib/javascript/keymap.js
similarity index 100%
rename from guacamole/web-client/web/javascript/keymap.js
rename to guacamole/web-client/web/guac-web-lib/javascript/keymap.js
diff --git a/guacamole/web-client/web/javascript/layer.js b/guacamole/web-client/web/guac-web-lib/javascript/layer.js
similarity index 100%
rename from guacamole/web-client/web/javascript/layer.js
rename to guacamole/web-client/web/guac-web-lib/javascript/layer.js
diff --git a/guacamole/web-client/web/javascript/mouse.js b/guacamole/web-client/web/guac-web-lib/javascript/mouse.js
similarity index 100%
rename from guacamole/web-client/web/javascript/mouse.js
rename to guacamole/web-client/web/guac-web-lib/javascript/mouse.js
diff --git a/guacamole/web-client/web/javascript/oskeyboard.js b/guacamole/web-client/web/guac-web-lib/javascript/oskeyboard.js
similarity index 100%
rename from guacamole/web-client/web/javascript/oskeyboard.js
rename to guacamole/web-client/web/guac-web-lib/javascript/oskeyboard.js
diff --git a/guacamole/web-client/web/guacamole.css b/guacamole/web-client/web/guacamole.css
index 274435511..7107ea89f 100644
--- a/guacamole/web-client/web/guacamole.css
+++ b/guacamole/web-client/web/guacamole.css
@@ -128,20 +128,6 @@ div#display {
margin-right: auto;
}
-div#display.loading {
- border: 1px dotted gray;
- background-image: url('images/spinner92.gif');
- background-position: center;
- background-repeat: no-repeat;
-}
-
-div#display.error {
- border: 1px dotted red;
- background-image: url('images/noimage92.png');
- background-position: center;
- background-repeat: no-repeat;
-}
-
#menu img {
vertical-align: middle;
}
@@ -178,7 +164,3 @@ div#clipboardDiv textarea {
width: 100%;
}
-.hideCursor {
- cursor: url('images/mouse/dot.gif'),url('images/mouse/blank.cur'),default;
-}
-
diff --git a/guacamole/web-client/web/index.html b/guacamole/web-client/web/index.html
index 1efe8344f..38d038119 100644
--- a/guacamole/web-client/web/index.html
+++ b/guacamole/web-client/web/index.html
@@ -23,6 +23,7 @@