diff --git a/doc/guacamole-branding-example/README b/doc/guacamole-branding-example/README new file mode 100644 index 000000000..8e78242dd --- /dev/null +++ b/doc/guacamole-branding-example/README @@ -0,0 +1,18 @@ +This directory structure provides an example of how to apply custom branding +and HTML extension to the Guacamole Client web application. This makes use +of the guac-manifest.json file to specify the resources that are being provided, +and provides examples of changing colors, fonts, and the login screen logo for +the application. + +To use this, you need only to zip the file up into a JAR file, place it in the +GUACAMOLE_HOME/extensions folder, and reload the web application. For example: + +zip -r /tmp/guacamole-branding-example.jar ./ +mv /tmp/guacamole-branding-example.jar /etc/guacamole/extensions/ +touch /var/lib/tomcat/webapps/guacamole.war + +These commands assume that your current working directory is this example +directory, that your GUACAMOLE_HOME is located at /etc/guacamole, and that your +the Guacamole Client web application is deployed in the /var/lib/tomcat/webapps +directory with the name "guacamole.war". You should adjust the commands to fit +your installation and environment. \ No newline at end of file diff --git a/doc/guacamole-branding-example/css/0-font-raleway.css b/doc/guacamole-branding-example/css/0-font-raleway.css new file mode 100644 index 000000000..c754aa592 --- /dev/null +++ b/doc/guacamole-branding-example/css/0-font-raleway.css @@ -0,0 +1,35 @@ +@font-face { + font-family: 'Raleway'; + font-weight: normal; + font-style: normal; + src: url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.woff') format('woff'), + url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.otf') format('opentype'), + url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.ttf') format('ttf'); +} + +@font-face { + font-family: 'Raleway'; + font-weight: bold; + font-style: normal; + src: url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.woff') format('woff'), + url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.otf') format('opentype'), + url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.ttf') format('ttf'); +} + +@font-face { + font-family: 'Raleway'; + font-weight: normal; + font-style: italic; + src: url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.woff') format('woff'), + url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.otf') format('opentype'), + url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.ttf') format('ttf'); +} + +@font-face { + font-family: 'Raleway'; + font-weight: bold; + font-style: italic; + src: url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.woff') format('woff'), + url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.otf') format('opentype'), + url('app/ext/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.ttf') format('ttf'); +} \ No newline at end of file diff --git a/doc/guacamole-branding-example/css/example.css b/doc/guacamole-branding-example/css/example.css new file mode 100644 index 000000000..a3f0cba85 --- /dev/null +++ b/doc/guacamole-branding-example/css/example.css @@ -0,0 +1,118 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/** + * Changes the font of the login dialog to prefer Raleway, with some fallbacks. + */ +.login-ui .login-dialog .login-fields input { + font-family: Raleway, FreeSans, Helvetica, Arial, sans-serif; +} + +/** + * Set up the logo used at the top of the login dialog box, including sizing it + * appropriately and pulling in the custom image. + */ +.login-ui .login-dialog .logo { + width: 5em; + height: 3em; + background-size: 5em 3em; + -moz-background-size: 5em 3em; + -webkit-background-size: 5em 3em; + -khtml-background-size: 5em 3em; + background-image: url('app/ext/guacamole-branding-example/resources/images/saturn/saturn.png'); +} + +/* + * For our custom warning code, specify the font order, as well as the italic + * style, and size it down a little. + */ +.login-ui .login-dialog .warning { + font-family: Raleway, FreeSans, Arial; + font-style: italic; + font-size: 0.75em; +} + +/* + * Sets up the custom coloring around the header elements. + */ +.header { + border-bottom: 1px solid rgba(0,0,0,1.0); + box-shadow: rgba(0,0,0,0.75); + background: rgba(0,0,0,1.0); + color: rgba(255,255,255,1.0); +} + +/* + * Changes the default color and fonts of the submit buttons, along with font + * size and weight. + */ +input[type="submit"], button, a.button { + background-color: rgba(0,145,255,1.0); + border: 1px solid rgba(0,255,145,1.1); + font-size: 1em; + font-weight: bold; + font-family: Raleway, FreeSans, Helvetica, Arial, sans-serif; +} + +/* + * Changes the coloring on the submit-styled buttons when you hover over them. + */ +input[type="submit"]:hover, button:hover, a.button:hover { + background-color: rgba(0,255,145,1.0); + border: 1px solid rgba(0,145,255,1.0); +} + +/* + * Changes the coloring on the submit-styled buttons when you click on them. + */ +input[type="submit"]:active, button:active, a.button:active { + background-color: rgba(0,145,255,1.0); + border: 1px solid rgba(255,95,0,1.0); +} + +/* + * Provide a custom color scheme for danger-styled buttons. + */ +button.danger, a.button.danger { + background: rgba(255,95,0,1.0); + border: 1px solid rgba(255,0,0,1.0); +} + +/* + * Provide a cusotm color scheme for hovering over danger-styled buttons. + */ +button.danger:hover, a.button.danger:hover { + background: rgba(255,0,0,0.75); + border: 1px solid rgba(255,95,0,1.0); +} + +/* + * Provide a custom color scheme for danger-styled buttons when clicked. + */ +button.danger:active, a.button.danger:active { + background: rgba(255,0,170,1.0); + border: 1px solid rgba(255,95,0,1.0); +} + +/* + * Change the default font order of preference across the entire interface. + */ +body { + font-family: Raleway, FreeSans, Helvetica, Arial, sans-serif; +} \ No newline at end of file diff --git a/doc/guacamole-branding-example/guac-manifest.json b/doc/guacamole-branding-example/guac-manifest.json new file mode 100644 index 000000000..78192d31d --- /dev/null +++ b/doc/guacamole-branding-example/guac-manifest.json @@ -0,0 +1,34 @@ +{ + "guacamoleVersion" : "*", + "name" : "Guacamole Branding Example", + "namespace" : "guacamole-branding-example", + + "css" : [ + "css/0-font-raleway.css", + "css/example.css" + ], + + "html" : [ + "html/warning.html" + ], + + "resources" : { + "resources/fonts/raleway/Raleway-Bold.otf" : "application/x-font-opentype", + "resources/fonts/raleway/Raleway-Bold.ttf" : "application/x-font-TrueType", + "resources/fonts/raleway/Raleway-Bold.woff" : "application/font-woff", + "resources/fonts/raleway/Raleway-BoldItalic.otf" : "application/x-font-opentype", + "resources/fonts/raleway/Raleway-BoldItalic.ttf" : "application/x-font-TrueType", + "resources/fonts/raleway/Raleway-BoldItalic.woff" : "application/font-woff", + "resources/fonts/raleway/Raleway-Italic.otf" : "application/x-font-opentype", + "resources/fonts/raleway/Raleway-Italic.ttf" : "application/x-font-TrueType", + "resources/fonts/raleway/Raleway-Italic.woff" : "application/font-woff", + "resources/fonts/raleway/Raleway-Regular.otf" : "application/x-font-opentype", + "resources/fonts/raleway/Raleway-Regular.ttf" : "application/x-font-TrueType", + "resources/fonts/raleway/Raleway-Regular.woff" : "application/font-woff", + "resources/images/saturn/saturn.png" : "image/png" + }, + + "translations" : [ + "translations/en.json" + ] +} diff --git a/doc/guacamole-branding-example/html/warning.html b/doc/guacamole-branding-example/html/warning.html new file mode 100644 index 000000000..58a0514dd --- /dev/null +++ b/doc/guacamole-branding-example/html/warning.html @@ -0,0 +1,8 @@ + + + + +
Beware of entering Saturn's gravitational field. + Few who enter it ever escape.
\ No newline at end of file diff --git a/doc/guacamole-branding-example/licenses/LICENSE b/doc/guacamole-branding-example/licenses/LICENSE new file mode 100644 index 000000000..d64569567 --- /dev/null +++ b/doc/guacamole-branding-example/licenses/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/doc/guacamole-branding-example/licenses/NOTICE b/doc/guacamole-branding-example/licenses/NOTICE new file mode 100644 index 000000000..c5fc0d3af --- /dev/null +++ b/doc/guacamole-branding-example/licenses/NOTICE @@ -0,0 +1,5 @@ +Apache Guacamole +Copyright 2020 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/LICENSE b/doc/guacamole-branding-example/resources/fonts/raleway/LICENSE new file mode 100644 index 000000000..321981129 --- /dev/null +++ b/doc/guacamole-branding-example/resources/fonts/raleway/LICENSE @@ -0,0 +1,95 @@ +Copyright (c) 2010, Matt McInerney (matt@pixelspread.com), +Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com), +Copyright (c) 2011, Rodrigo Fuenzalida (www.rfuenzalida.com|hello@rfuenzalida.com), with Reserved Font Name Raleway + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.otf b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.otf new file mode 100644 index 000000000..b6c56b357 Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.otf differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.ttf b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.ttf new file mode 100644 index 000000000..156d4a109 Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.ttf differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.woff b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.woff new file mode 100644 index 000000000..39edd00ce Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Bold.woff differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.otf b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.otf new file mode 100644 index 000000000..27dd342ef Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.otf differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.ttf b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.ttf new file mode 100644 index 000000000..d2db57353 Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.ttf differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.woff b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.woff new file mode 100644 index 000000000..49fb33695 Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-BoldItalic.woff differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.otf b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.otf new file mode 100644 index 000000000..48186de4f Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.otf differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.ttf b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.ttf new file mode 100644 index 000000000..a0157a568 Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.ttf differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.woff b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.woff new file mode 100644 index 000000000..48f8a741e Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Italic.woff differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.otf b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.otf new file mode 100644 index 000000000..52cc33dcd Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.otf differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.ttf b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.ttf new file mode 100644 index 000000000..746c24238 Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.ttf differ diff --git a/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.woff b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.woff new file mode 100644 index 000000000..8773be7a6 Binary files /dev/null and b/doc/guacamole-branding-example/resources/fonts/raleway/Raleway-Regular.woff differ diff --git a/doc/guacamole-branding-example/resources/images/saturn/LICENSE b/doc/guacamole-branding-example/resources/images/saturn/LICENSE new file mode 100644 index 000000000..56620b5c7 --- /dev/null +++ b/doc/guacamole-branding-example/resources/images/saturn/LICENSE @@ -0,0 +1,229 @@ +Credit: Erich Karkoschka (University of Arizona) and NASA + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS +PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR +OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS +LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE +BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED +HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions + +a. "Collective Work" means a work, such as a periodical issue, anthology or +encyclopedia, in which the Work in its entirety in unmodified form, along with a +number of other contributions, constituting separate and independent works in +themselves, are assembled into a collective whole. A work that constitutes a +Collective Work will not be considered a Derivative Work (as defined below) +for the purposes of this License. + +b. "Derivative Work" means a work based upon the Work or upon the Work and other +pre-existing works, such as a translation, musical arrangement, dramatization, +fictionalization, motion picture version, sound recording, art reproduction, +abridgment, condensation, or any other form in which the Work may be recast, +transformed, or adapted, except that a work that constitutes a Collective Work +will not be considered a Derivative Work for the purpose of this License. For +the avoidance of doubt, where the Work is a musical composition or sound +recording, the synchronization of the Work in timed-relation with a moving image +("synching") will be considered a Derivative Work for the purpose of this +License. + +c. "Licensor" means the individual or entity that offers the Work under the +terms of this License. + +d. "Original Author" means the individual or entity who created the Work. + +e. "Work" means the copyrightable work of authorship offered under the terms of +this License. + +f. "You" means an individual or entity exercising rights under this License who +has not previously violated the terms of this License with respect to the Work, +or who has received express permission from the Licensor to exercise rights +under this License despite a previous violation. + +g. "License Elements" means the following high-level license attributes as +selected by Licensor and indicated in the title of this License: Attribution, +Noncommercial, ShareAlike. + +2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or +restrict any rights arising from fair use, first sale or other limitations on +the exclusive rights of the copyright owner under copyright law or other +applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor +hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the +duration of the applicable copyright) license to exercise the rights in the Work +as stated below: + +a. to reproduce the Work, to incorporate the Work into one or more Collective +Works, and to reproduce the Work as incorporated in the Collective Works; + +b. to create and reproduce Derivative Works; + +c. to distribute copies or phonorecords of, display publicly, perform publicly, +and perform publicly by means of a digital audio transmission the Work including +as incorporated in Collective Works; + +d. to distribute copies or phonorecords of, display publicly, perform publicly, +and perform publicly by means of a digital audio transmission Derivative Works; + +The above rights may be exercised in all media and formats whether now known or +hereafter devised. The above rights include the right to make such modifications +as are technically necessary to exercise the rights in other media and formats. +All rights not expressly granted by Licensor are hereby reserved, including but +not limited to the rights set forth in Sections 4(e) and 4(f). + +4. Restrictions.The license granted in Section 3 above is expressly made subject +to and limited by the following restrictions: + +a. You may distribute, publicly display, publicly perform, or publicly digitally +perform the Work only under the terms of this License, and You must include a +copy of, or the Uniform Resource Identifier for, this License with every copy or +phonorecord of the Work You distribute, publicly display, publicly perform, or +publicly digitally perform. You may not offer or impose any terms on the Work +that alter or restrict the terms of this License or the recipients' exercise of +the rights granted hereunder. You may not sublicense the Work. You must keep +intact all notices that refer to this License and to the disclaimer of +warranties. You may not distribute, publicly display, publicly perform, or +publicly digitally perform the Work with any technological measures that control +access or use of the Work in a manner inconsistent with the terms of this +License Agreement. The above applies to the Work as incorporated in a Collective +Work, but this does not require the Collective Work apart from the Work itself +to be made subject to the terms of this License. If You create a Collective +Work, upon notice from any Licensor You must, to the extent practicable, remove +from the Collective Work any reference to such Licensor or the Original Author, +as requested. If You create a Derivative Work, upon notice from any Licensor You +must, to the extent practicable, remove from the Derivative Work any reference +to such Licensor or the Original Author, as requested. + +b. You may distribute, publicly display, publicly perform, or publicly digitally +perform a Derivative Work only under the terms of this License, a later version +of this License with the same License Elements as this License, or a Creative +Commons iCommons license that contains the same License Elements as this License +(e.g. Attribution-NonCommercial-ShareAlike 2.0 Japan). You must include a copy +of, or the Uniform Resource Identifier for, this License or other license +specified in the previous sentence with every copy or phonorecord of each +Derivative Work You distribute, publicly display, publicly perform, or publicly +digitally perform. You may not offer or impose any terms on the Derivative Works +that alter or restrict the terms of this License or the recipients' exercise of +the rights granted hereunder, and You must keep intact all notices that refer to +this License and to the disclaimer of warranties. You may not distribute, +publicly display, publicly perform, or publicly digitally perform the Derivative +Work with any technological measures that control access or use of the Work in a +manner inconsistent with the terms of this License Agreement. The above applies +to the Derivative Work as incorporated in a Collective Work, but this does not +require the Collective Work apart from the Derivative Work itself to be made +subject to the terms of this License. + +c. You may not exercise any of the rights granted to You in Section 3 above in +any manner that is primarily intended for or directed toward commercial +advantage or private monetary compensation. The exchange of the Work for other +copyrighted works by means of digital file-sharing or otherwise shall not be +considered to be intended for or directed toward commercial advantage or private +monetary compensation, provided there is no payment of any monetary compensation +in connection with the exchange of copyrighted works. + +d. If you distribute, publicly display, publicly perform, or publicly digitally +perform the Work or any Derivative Works or Collective Works, You must keep +intact all copyright notices for the Work and give the Original Author credit +reasonable to the medium or means You are utilizing by conveying the name (or +pseudonym if applicable) of the Original Author if supplied; the title of the +Work if supplied; to the extent reasonably practicable, the Uniform Resource +Identifier, if any, that Licensor specifies to be associated with the Work, +unless such URI does not refer to the copyright notice or licensing information +for the Work; and in the case of a Derivative Work, a credit identifying the use +of the Work in the Derivative Work (e.g., "French translation of the Work by +Original Author," or "Screenplay based on original Work by Original Author"). +Such credit may be implemented in any reasonable manner; provided, however, that +in the case of a Derivative Work or Collective Work, at a minimum such credit +will appear where any other comparable authorship credit appears and in a manner +at least as prominent as such other comparable authorship credit. + +e. For the avoidance of doubt, where the Work is a musical composition: + +i. Performance Royalties Under Blanket Licenses. Licensor reserves the exclusive +right to collect, whether individually or via a performance rights society +(e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital +performance (e.g. webcast) of the Work if that performance is primarily intended +for or directed toward commercial advantage or private monetary compensation. + +ii. Mechanical Rights and Statutory Royalties. Licensor reserves the exclusive +right to collect, whether individually or via a music rights agency or +designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You +create from the Work ("cover version") and distribute, subject to the compulsory +license created by 17 USC Section 115 of the US Copyright Act (or the equivalent +in other jurisdictions), if Your distribution of such cover version is primarily +intended for or directed toward commercial advantage or private monetary +compensation. + +f. Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where +the Work is a sound recording, Licensor reserves the exclusive right to collect, +whether individually or via a performance-rights society (e.g. SoundExchange), +royalties for the public digital performance (e.g. webcast) of the Work, subject +to the compulsory license created by 17 USC Section 114 of the US Copyright Act +(or the equivalent in other jurisdictions), if Your public digital performance +is primarily intended for or directed toward commercial advantage or private +monetary compensation. + +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS +THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING +THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT +LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR +PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, +OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME +JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH +EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN +NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, +INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS +LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + +7. Termination + +a. This License and the rights granted hereunder will terminate automatically +upon any breach by You of the terms of this License. Individuals or entities who +have received Derivative Works or Collective Works from You under this License, +however, will not have their licenses terminated provided such individuals or +entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, +and 8 will survive any termination of this License. + +b. Subject to the above terms and conditions, the license granted here is +perpetual (for the duration of the applicable copyright in the Work). +Notwithstanding the above, Licensor reserves the right to release the Work under +different license terms or to stop distributing the Work at any time; provided, +however that any such election will not serve to withdraw this License (or any +other license that has been, or is required to be, granted under the terms of +this License), and this License will continue in full force and effect unless +terminated as stated above. + +8. Miscellaneous + +a. Each time You distribute or publicly digitally perform the Work or a +Collective Work, the Licensor offers to the recipient a license to the Work on +the same terms and conditions as the license granted to You under this License. + +b. Each time You distribute or publicly digitally perform a Derivative Work, +Licensor offers to the recipient a license to the original Work on the same +terms and conditions as the license granted to You under this License. + +c. If any provision of this License is invalid or unenforceable under applicable +law, it shall not affect the validity or enforceability of the remainder of the +terms of this License, and without further action by the parties to this +agreement, such provision shall be reformed to the minimum extent necessary to +make such provision valid and enforceable. + +d. No term or provision of this License shall be deemed waived and no breach +consented to unless such waiver or consent shall be in writing and signed by the +party to be charged with such waiver or consent. + +e. This License constitutes the entire agreement between the parties with respect +to the Work licensed here. There are no understandings, agreements or +representations with respect to the Work not specified here. Licensor shall not +be bound by any additional provisions that may appear in any communication from +You. This License may not be modified without the mutual written agreement of +the Licensor and You. \ No newline at end of file diff --git a/doc/guacamole-branding-example/resources/images/saturn/saturn.png b/doc/guacamole-branding-example/resources/images/saturn/saturn.png new file mode 100644 index 000000000..2bf7f5ad7 Binary files /dev/null and b/doc/guacamole-branding-example/resources/images/saturn/saturn.png differ diff --git a/doc/guacamole-branding-example/translations/en.json b/doc/guacamole-branding-example/translations/en.json new file mode 100644 index 000000000..8ffc8e78d --- /dev/null +++ b/doc/guacamole-branding-example/translations/en.json @@ -0,0 +1,5 @@ +{ + "APP": { + "NAME" : "Gateway to Saturn" + } +}