diff options
Diffstat (limited to 'kvmd')
91 files changed, 0 insertions, 6819 deletions
diff --git a/kvmd/.bumpversion.cfg b/kvmd/.bumpversion.cfg deleted file mode 100644 index b335e869..00000000 --- a/kvmd/.bumpversion.cfg +++ /dev/null @@ -1,20 +0,0 @@ -[bumpversion] -commit = True -tag = True -current_version = 0.66 -parse = (?P<major>\d+)\.(?P<minor>\d+)(\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?)? -serialize = - {major}.{minor} - -[bumpversion:file:kvmd/server.py] -search = __version__ = "{current_version}" -replace = __version__ = "{new_version}" - -[bumpversion:file:setup.py] -search = version="{current_version}" -replace = version="{new_version}" - -[bumpversion:file:PKGBUILD] -search = pkgver={current_version} -replace = pkgver={new_version} - diff --git a/kvmd/.gitignore b/kvmd/.gitignore deleted file mode 100644 index 1ed37632..00000000 --- a/kvmd/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/build/ -/dist/ -/kvmd.egg-info/ -/.tox/ -/.mypy_cache/ -*.pyc -*.swp diff --git a/kvmd/LICENSE b/kvmd/LICENSE deleted file mode 100644 index 94a9ed02..00000000 --- a/kvmd/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (C) <year> <name of author> - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<http://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<http://www.gnu.org/philosophy/why-not-lgpl.html>. diff --git a/kvmd/MANIFEST.in b/kvmd/MANIFEST.in deleted file mode 100644 index 180c9328..00000000 --- a/kvmd/MANIFEST.in +++ /dev/null @@ -1,2 +0,0 @@ -include requirements.txt -include vulture-wl.py diff --git a/kvmd/Makefile b/kvmd/Makefile deleted file mode 100644 index f42759f2..00000000 --- a/kvmd/Makefile +++ /dev/null @@ -1,77 +0,0 @@ -TESTENV_IMAGE ?= kvmd-testenv -TESTENV_HID ?= /dev/ttyS10 -TESTENV_VIDEO ?= /dev/video0 -TESTENV_LOOP ?= /dev/loop7 -TESTENV_CMD ?= /bin/bash -c " \ - (socat PTY,link=$(TESTENV_HID) PTY,link=/dev/ttyS11 &) \ - && rm -rf /etc/nginx/* \ - && cp /configs/nginx/* /etc/nginx \ - && nginx -c /etc/nginx/nginx.conf \ - && ln -s $(TESTENV_VIDEO) /dev/kvmd-streamer \ - && (losetup -d /dev/kvmd-msd || true) \ - && losetup /dev/kvmd-msd /root/loop.img \ - && python -m kvmd -c testenv/kvmd.yaml \ - " - - -# ===== -all: - cat Makefile - - -run: - sudo modprobe loop - docker build $(TESTENV_OPTS) --rm --tag $(TESTENV_IMAGE) -f testenv/Dockerfile . - - docker run --rm \ - --volume `pwd`/kvmd:/kvmd:ro \ - --volume `pwd`/web:/usr/share/kvmd/web:ro \ - --volume `pwd`/testenv:/testenv:ro \ - --volume `pwd`/configs:/configs:ro \ - --device $(TESTENV_LOOP):/dev/kvmd-msd \ - --device $(TESTENV_VIDEO):$(TESTENV_VIDEO) \ - --publish 8080:80/tcp \ - --publish 8081:8081/tcp \ - --publish 8082:8082/tcp \ - -it $(TESTENV_IMAGE) $(TESTENV_CMD) - - docker run --rm --device=$(TESTENV_LOOP):/dev/kvmd-msd -it $(TESTENV_IMAGE) losetup -d /dev/kvmd-msd - - -shell: - make run TESTENV_CMD=/bin/bash - - -regen: - python3 genmap.py - - -release: - make clean - make tox - make clean - make push - make bump - make push - make clean - - -tox: - tox - - -bump: - bumpversion minor - - -push: - git push - git push --tags - - -clean: - rm -rf build site dist pkg src *.egg-info kvmd-*.tar.gz - find -name __pycache__ | xargs rm -rf - make -C hid clean - - -clean-all: clean - rm -rf .tox .mypy_cache diff --git a/kvmd/PKGBUILD b/kvmd/PKGBUILD deleted file mode 100644 index 853951b1..00000000 --- a/kvmd/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Maxim Devaev <[email protected]> -# Author: Maxim Devaev <[email protected]> - - -pkgname=kvmd -pkgver=0.66 -pkgrel=1 -pkgdesc="The main Pi-KVM daemon" -url="https://github.com/pi-kvm/pi-kvm" -license=(GPL) -arch=(any) -depends=( - python - python-yaml - python-aiohttp - python-aiofiles - python-pyudev - python-raspberry-gpio - python-pyserial - python-setproctitle -) -makedepends=(python-setuptools) -source=("$url/archive/v$pkgver.tar.gz") -md5sums=(SKIP) - - -build() { - cd $srcdir - rm -rf $pkgname-build - cp -r pi-kvm-$pkgver/kvmd $pkgname-build - cd $pkgname-build - python setup.py build -} - -package() { - cd $srcdir/$pkgname-build - python setup.py install --root="$pkgdir" - install -Dm644 configs/kvmd.service "$pkgdir/usr/lib/systemd/system/kvmd.service" - mkdir -p "$pkgdir/usr/share/kvmd" - cp -r web "$pkgdir/usr/share/kvmd" - cp -r configs "$pkgdir/usr/share/kvmd" -} diff --git a/kvmd/kvmd/__init__.py b/kvmd/__init__.py index 110b80a7..110b80a7 100644 --- a/kvmd/kvmd/__init__.py +++ b/kvmd/__init__.py diff --git a/kvmd/kvmd/__main__.py b/kvmd/__main__.py index 031df43e..031df43e 100644 --- a/kvmd/kvmd/__main__.py +++ b/kvmd/__main__.py diff --git a/kvmd/kvmd/aioregion.py b/kvmd/aioregion.py index c2b335f4..c2b335f4 100644 --- a/kvmd/kvmd/aioregion.py +++ b/kvmd/aioregion.py diff --git a/kvmd/kvmd/application.py b/kvmd/application.py index a78c1047..a78c1047 100644 --- a/kvmd/kvmd/application.py +++ b/kvmd/application.py diff --git a/kvmd/kvmd/atx.py b/kvmd/atx.py index 9ce97386..9ce97386 100644 --- a/kvmd/kvmd/atx.py +++ b/kvmd/atx.py diff --git a/kvmd/configs/kvmd.service b/kvmd/configs/kvmd.service deleted file mode 100644 index 185a4eb5..00000000 --- a/kvmd/configs/kvmd.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=The main Pi-KVM daemon -After=network.target network-online.target nss-lookup.target - -[Service] -Type=simple -Restart=always -RestartSec=3 - -ExecStart=/usr/bin/kvmd --config /etc/kvmd.yaml -ExecStopPost=/usr/bin/kvmd-cleanup --config /etc/kvmd.yaml - -[Install] -WantedBy=multi-user.target diff --git a/kvmd/configs/kvmd/v1.yaml b/kvmd/configs/kvmd/v1.yaml deleted file mode 100644 index bd763c81..00000000 --- a/kvmd/configs/kvmd/v1.yaml +++ /dev/null @@ -1,76 +0,0 @@ -kvmd: - server: - host: localhost - port: 8081 - heartbeat: 3.0 - - hid: - device: /dev/ttyAMA0 - speed: 115200 - - atx: - pinout: - power_led: 16 - hdd_led: 12 - power_switch: 26 - reset_switch: 20 - - click_delay: 0.1 - long_click_delay: 5.5 - - state_poll: 0.1 - - msd: - device: "/dev/kvmd-msd" - init_delay: 2.0 - write_meta: true - chunk_size: 65536 - - streamer: - pinout: - cap: 21 - conv: 25 - - sync_delay: 1.0 - init_delay: 1.0 - init_restart_after: 1.0 - shutdown_delay: 10.0 - - quality: 80 - - cmd: - - "/usr/bin/ustreamer" - - "--device=/dev/kvmd-streamer" - - "--tv-standard=pal" - - "--format=yuyv" - - "--encoder=omx" - - "--jpeg-quality={quality}" - - "--width=720" - - "--height=576" - - "--fake-width=800" - - "--fake-height=600" - - "--host=localhost" - - "--port=8082" - -logging: - version: 1 - disable_existing_loggers: false - - formatters: - console: - (): logging.Formatter - style: "{" - datefmt: "%H:%M:%S" - format: "[{asctime}] {name:20.20} {levelname:>7} --- {message}" - - handlers: - console: - level: DEBUG - class: logging.StreamHandler - stream: ext://sys.stdout - formatter: console - - root: - level: INFO - handlers: - - console diff --git a/kvmd/configs/kvmd/v2.yaml b/kvmd/configs/kvmd/v2.yaml deleted file mode 100644 index 09c4eb33..00000000 --- a/kvmd/configs/kvmd/v2.yaml +++ /dev/null @@ -1,72 +0,0 @@ -kvmd: - server: - host: localhost - port: 8081 - heartbeat: 3.0 - - hid: - device: /dev/ttyAMA0 - speed: 115200 - - atx: - pinout: - power_led: 16 - hdd_led: 12 - power_switch: 26 - reset_switch: 20 - - click_delay: 0.1 - long_click_delay: 5.5 - - state_poll: 0.1 - - msd: - device: "/dev/kvmd-msd" - init_delay: 2.0 - write_meta: true - chunk_size: 65536 - - streamer: - pinout: - cap: -1 - conv: -1 - - sync_delay: 0.0 - init_delay: 1.0 - init_restart_after: 0.0 - shutdown_delay: 10.0 - - quality: 80 - - cmd: - - "/usr/bin/ustreamer" - - "--device=/dev/kvmd-streamer" - - "--format=uyvy" - - "--encoder=omx" - - "--jpeg-quality={quality}" - - "--dv-timings" - - "--host=localhost" - - "--port=8082" - -logging: - version: 1 - disable_existing_loggers: false - - formatters: - console: - (): logging.Formatter - style: "{" - datefmt: "%H:%M:%S" - format: "[{asctime}] {name:20.20} {levelname:>7} --- {message}" - - handlers: - console: - level: DEBUG - class: logging.StreamHandler - stream: ext://sys.stdout - formatter: console - - root: - level: INFO - handlers: - - console diff --git a/kvmd/configs/nginx/mime-types.conf b/kvmd/configs/nginx/mime-types.conf deleted file mode 100644 index cf6c84c3..00000000 --- a/kvmd/configs/nginx/mime-types.conf +++ /dev/null @@ -1,912 +0,0 @@ -types { - application/A2L a2l; - application/AML aml; - application/andrew-inset ez; - application/ATF atf; - application/ATFX atfx; - application/ATXML atxml; - application/atom+xml atom; - application/atomcat+xml atomcat; - application/atomdeleted+xml atomdeleted; - application/atomsvc+xml atomsvc; - application/auth-policy+xml apxml; - application/bacnet-xdd+zip xdd; - application/calendar+xml xcs; - application/cbor cbor; - application/cccex c3ex; - application/ccmp+xml ccmp; - application/ccxml+xml ccxml; - application/CDFX+XML cdfx; - application/cdmi-capability cdmia; - application/cdmi-container cdmic; - application/cdmi-domain cdmid; - application/cdmi-object cdmio; - application/cdmi-queue cdmiq; - application/CEA cea; - application/cellml+xml cellml cml; - application/clue_info+xml clue; - application/cms cmsc; - application/cpl+xml cpl; - application/csrattrs csrattrs; - application/dash+xml mpd; - application/dashdelta mpdd; - application/davmount+xml davmount; - application/DCD dcd; - application/dicom dcm; - application/DII dii; - application/DIT dit; - application/dskpp+xml xmls; - application/dssc+der dssc; - application/dssc+xml xdssc; - application/dvcs dvc; - application/ecmascript es; - application/efi efi; - application/emma+xml emma; - application/emotionml+xml emotionml; - application/epub+zip epub; - application/exi exi; - application/fastinfoset finf; - application/fdt+xml fdt; - application/font-tdpfr pfr; - application/geo+json geojson; - application/gml+xml gml; - application/gzip gz tgz; - application/hyperstudio stk; - application/inkml+xml ink inkml; - application/ipfix ipfix; - application/its+xml its; - application/javascript js; - application/jrd+json jrd; - application/json json; - application/json-patch+json json-patch; - application/ld+json jsonld; - application/lgr+xml lgr; - application/link-format wlnk; - application/lost+xml lostxml; - application/lostsync+xml lostsyncxml; - application/LXF lxf; - application/mac-binhex40 hqx; - application/mads+xml mads; - application/marc mrc; - application/marcxml+xml mrcx; - application/mathematica nb ma mb; - application/mathml+xml mml; - application/mbox mbox; - application/metalink4+xml meta4; - application/mets+xml mets; - application/MF4 mf4; - application/mmt-usd+xml musd; - application/mods+xml mods; - application/mp21 m21 mp21; - application/msword doc; - application/mxf mxf; - application/n-quads nq; - application/n-triples nt; - application/ocsp-request orq; - application/ocsp-response ors; - application/octet-stream bin lha lzh exe class so dll img iso; - application/oda oda; - application/ODX odx; - application/oebps-package+xml opf; - application/ogg ogx; - application/oxps oxps; - application/p2p-overlay+xml relo; - application/pdf pdf; - application/PDX pdx; - application/pgp-encrypted pgp; - application/pgp-signature sig; - application/pkcs10 p10; - application/pkcs12 p12 pfx; - application/pkcs7-mime p7m p7c; - application/pkcs7-signature p7s; - application/pkcs8 p8; - application/pkix-cert cer; - application/pkix-crl crl; - application/pkix-pkipath pkipath; - application/pkixcmp pki; - application/pls+xml pls; - application/postscript ps eps ai; - application/provenance+xml provx; - application/prs.cww cw cww; - application/prs.hpub+zip hpub; - application/prs.nprend rnd rct; - application/prs.rdf-xml-crypt rdf-crypt; - application/prs.xsf+xml xsf; - application/pskc+xml pskcxml; - application/rdf+xml rdf; - application/route-apd+xml rapd; - application/route-s-tsid+xml sls; - application/route-usd+xml rusd; - application/reginfo+xml rif; - application/relax-ng-compact-syntax rnc; - application/resource-lists-diff+xml rld; - application/resource-lists+xml rl; - application/rfc+xml rfcxml; - application/rls-services+xml rs; - application/rpki-ghostbusters gbr; - application/rpki-manifest mft; - application/rpki-roa roa; - application/rtf rtf; - application/scim+json scim; - application/scvp-cv-request scq; - application/scvp-cv-response scs; - application/scvp-vp-request spq; - application/scvp-vp-response spp; - application/sdp sdp; - application/sgml-open-catalog soc; - application/shf+xml shf; - application/sieve siv sieve; - application/simple-filter+xml cl; - application/smil+xml smil smi sml; - application/sparql-query rq; - application/sparql-results+xml srx; - application/sql sql; - application/srgs gram; - application/srgs+xml grxml; - application/sru+xml sru; - application/ssml+xml ssml; - application/tamp-apex-update tau; - application/tamp-apex-update-confirm auc; - application/tamp-community-update tcu; - application/tamp-community-update-confirm cuc; - application/tamp-error ter; - application/tamp-sequence-adjust tsa; - application/tamp-sequence-adjust-confirm sac; - application/tamp-update tur; - application/tamp-update-confirm tuc; - application/tei+xml tei teiCorpus odd; - application/thraud+xml tfi; - application/timestamp-query tsq; - application/timestamp-reply tsr; - application/timestamped-data tsd; - application/trig trig; - application/ttml+xml ttml; - application/urc-grpsheet+xml gsheet; - application/urc-ressheet+xml rsheet; - application/urc-targetdesc+xml td; - application/urc-uisocketdesc+xml uis; - application/vnd.1000minds.decision-model+xml 1km; - application/vnd.3gpp.pic-bw-large plb; - application/vnd.3gpp.pic-bw-small psb; - application/vnd.3gpp.pic-bw-var pvb; - application/vnd.3gpp2.sms sms; - application/vnd.3gpp2.tcap tcap; - application/vnd.3lightssoftware.imagescal imgcal; - application/vnd.3M.Post-it-Notes pwn; - application/vnd.accpac.simply.aso aso; - application/vnd.accpac.simply.imp imp; - application/vnd.acucobol acu; - application/vnd.acucorp atc acutc; - application/vnd.adobe.flash.movie swf; - application/vnd.adobe.formscentral.fcdt fcdt; - application/vnd.adobe.fxp fxp fxpl; - application/vnd.adobe.xdp+xml xdp; - application/vnd.adobe.xfdf xfdf; - application/vnd.ahead.space ahead; - application/vnd.airzip.filesecure.azf azf; - application/vnd.airzip.filesecure.azs azs; - application/vnd.amazon.mobi8-ebook azw3; - application/vnd.americandynamics.acc acc; - application/vnd.amiga.ami ami; - application/vnd.anki apkg; - application/vnd.anser-web-certificate-issue-initiation cii; - application/vnd.anser-web-funds-transfer-initiation fti; - application/vnd.apple.installer+xml dist distz pkg mpkg; - application/vnd.apple.mpegurl m3u8; - application/vnd.aristanetworks.swi swi; - application/vnd.astraea-software.iota iota; - application/vnd.audiograph aep; - application/vnd.autopackage package; - application/vnd.balsamiq.bmml+xml bmml; - application/vnd.balsamiq.bmpr bmpr; - application/vnd.blueice.multipass mpm; - application/vnd.bluetooth.ep.oob ep; - application/vnd.bluetooth.le.oob le; - application/vnd.bmi bmi; - application/vnd.businessobjects rep; - application/vnd.cendio.thinlinc.clientconf tlclient; - application/vnd.chemdraw+xml cdxml; - application/vnd.chess-pgn pgn; - application/vnd.chipnuts.karaoke-mmd mmd; - application/vnd.cinderella cdy; - application/vnd.citationstyles.style+xml csl; - application/vnd.claymore cla; - application/vnd.cloanto.rp9 rp9; - application/vnd.clonk.c4group c4g c4d c4f c4p c4u; - application/vnd.cluetrust.cartomobile-config c11amc; - application/vnd.cluetrust.cartomobile-config-pkg c11amz; - application/vnd.coffeescript coffee; - application/vnd.comicbook+zip cbz; - application/vnd.commerce-battelle ica icf icd ic0 ic1 ic2 ic3 ic4 ic5 ic6 ic7 ic8; - application/vnd.commonspace csp cst; - application/vnd.contact.cmsg cdbcmsg; - application/vnd.coreos.ignition+json ign ignition; - application/vnd.cosmocaller cmc; - application/vnd.crick.clicker clkx; - application/vnd.crick.clicker.keyboard clkk; - application/vnd.crick.clicker.palette clkp; - application/vnd.crick.clicker.template clkt; - application/vnd.crick.clicker.wordbank clkw; - application/vnd.criticaltools.wbs+xml wbs; - application/vnd.ctc-posml pml; - application/vnd.cups-ppd ppd; - application/vnd.curl curl; - application/vnd.dart dart; - application/vnd.data-vision.rdz rdz; - application/vnd.debian.binary-package deb udeb; - application/vnd.dece.data uvf uvvf uvd uvvd; - application/vnd.dece.ttml+xml uvt uvvt; - application/vnd.dece.unspecified uvx uvvx; - application/vnd.dece.zip uvz uvvz; - application/vnd.denovo.fcselayout-link fe_launch; - application/vnd.desmume.movie dsm; - application/vnd.dna dna; - application/vnd.document+json docjson; - application/vnd.doremir.scorecloud-binary-document scld; - application/vnd.dpgraph dpg mwc dpgraph; - application/vnd.dreamfactory dfac; - application/vnd.dtg.local.flash fla; - application/vnd.dvb.ait ait; - application/vnd.dvb.service svc; - application/vnd.dynageo geo; - application/vnd.dzr dzr; - application/vnd.ecowin.chart mag; - application/vnd.enliven nml; - application/vnd.epson.esf esf; - application/vnd.epson.msf msf; - application/vnd.epson.quickanime qam; - application/vnd.epson.salt slt; - application/vnd.epson.ssf ssf; - application/vnd.ericsson.quickcall qcall qca; - application/vnd.espass-espass+zip espass; - application/vnd.eszigno3+xml es3 et3; - application/vnd.etsi.asic-e+zip asice sce; - application/vnd.etsi.asic-s+zip asics; - application/vnd.etsi.timestamp-token tst; - application/vnd.evolv.ecig.profile ecigprofile; - application/vnd.evolv.ecig.settings ecig; - application/vnd.evolv.ecig.theme ecigtheme; - application/vnd.ezpix-album ez2; - application/vnd.ezpix-package ez3; - application/vnd.fastcopy-disk-image dim; - application/vnd.fdf fdf; - application/vnd.fdsn.mseed msd mseed; - application/vnd.fdsn.seed seed dataless; - application/vnd.filmit.zfc zfc; - application/vnd.FloGraphIt gph; - application/vnd.fluxtime.clip ftc; - application/vnd.font-fontforge-sfd sfd; - application/vnd.framemaker fm; - application/vnd.frogans.fnc fnc; - application/vnd.frogans.ltf ltf; - application/vnd.fsc.weblaunch fsc; - application/vnd.fujitsu.oasys oas; - application/vnd.fujitsu.oasys2 oa2; - application/vnd.fujitsu.oasys3 oa3; - application/vnd.fujitsu.oasysgp fg5; - application/vnd.fujitsu.oasysprs bh2; - application/vnd.fujixerox.ddd ddd; - application/vnd.fujixerox.docuworks xdw; - application/vnd.fujixerox.docuworks.binder xbd; - application/vnd.fujixerox.docuworks.container xct; - application/vnd.fuzzysheet fzs; - application/vnd.genomatix.tuxedo txd; - application/vnd.geocube+xml g3 g³; - application/vnd.geogebra.file ggb; - application/vnd.geogebra.tool ggt; - application/vnd.geometry-explorer gex gre; - application/vnd.geonext gxt; - application/vnd.geoplan g2w; - application/vnd.geospace g3w; - application/vnd.gmx gmx; - application/vnd.google-earth.kml+xml kml; - application/vnd.google-earth.kmz kmz; - application/vnd.grafeq gqf gqs; - application/vnd.groove-account gac; - application/vnd.groove-help ghf; - application/vnd.groove-identity-message gim; - application/vnd.groove-injector grv; - application/vnd.groove-tool-message gtm; - application/vnd.groove-tool-template tpl; - application/vnd.groove-vcard vcg; - application/vnd.hal+xml hal; - application/vnd.HandHeld-Entertainment+xml zmm; - application/vnd.hbci hbci hbc kom upa pkd bpd; - application/vnd.hdt hdt; - application/vnd.hhe.lesson-player les; - application/vnd.hp-HPGL hpgl; - application/vnd.hp-hpid hpi hpid; - application/vnd.hp-hps hps; - application/vnd.hp-jlyt jlt; - application/vnd.hp-PCL pcl; - application/vnd.hydrostatix.sof-data sfd-hdstx; - application/vnd.hzn-3d-crossword x3d; - application/vnd.ibm.electronic-media emm; - application/vnd.ibm.MiniPay mpy; - application/vnd.ibm.modcap list3820 listafp afp pseg3820; - application/vnd.ibm.rights-management irm; - application/vnd.ibm.secure-container sc; - application/vnd.iccprofile icc icm; - application/vnd.ieee.1905 1905.1; - application/vnd.igloader igl; - application/vnd.imagemeter.folder+zip imf; - application/vnd.imagemeter.image+zip imi; - application/vnd.immervision-ivp ivp; - application/vnd.immervision-ivu ivu; - application/vnd.ims.imsccv1p1 imscc; - application/vnd.insors.igm igm; - application/vnd.intercon.formnet xpw xpx; - application/vnd.intergeo i2g; - application/vnd.intu.qbo qbo; - application/vnd.intu.qfx qfx; - application/vnd.ipunplugged.rcprofile rcprofile; - application/vnd.irepository.package+xml irp; - application/vnd.is-xpr xpr; - application/vnd.isac.fcs fcs; - application/vnd.jam jam; - application/vnd.jcp.javame.midlet-rms rms; - application/vnd.jisp jisp; - application/vnd.joost.joda-archive joda; - application/vnd.kahootz ktz ktr; - application/vnd.kde.karbon karbon; - application/vnd.kde.kchart chrt; - application/vnd.kde.kformula kfo; - application/vnd.kde.kivio flw; - application/vnd.kde.kontour kon; - application/vnd.kde.kpresenter kpr kpt; - application/vnd.kde.kspread ksp; - application/vnd.kde.kword kwd kwt; - application/vnd.kenameaapp htke; - application/vnd.kidspiration kia; - application/vnd.Kinar kne knp sdf; - application/vnd.koan skp skd skm skt; - application/vnd.kodak-descriptor sse; - application/vnd.las.las+json lasjson; - application/vnd.las.las+xml lasxml; - application/vnd.llamagraphics.life-balance.desktop lbd; - application/vnd.llamagraphics.life-balance.exchange+xml lbe; - application/vnd.lotus-1-2-3 123 wk4 wk3 wk1; - application/vnd.lotus-approach apr vew; - application/vnd.lotus-freelance prz pre; - application/vnd.lotus-notes nsf ntf ndl ns4 ns3 ns2 nsh nsg; - application/vnd.lotus-organizer or3 or2 org; - application/vnd.lotus-screencam scm; - application/vnd.lotus-wordpro lwp sam; - application/vnd.macports.portpkg portpkg; - application/vnd.mapbox-vector-tile mvt; - application/vnd.marlin.drm.mdcf mdc; - application/vnd.maxmind.maxmind-db mmdb; - application/vnd.mcd mcd; - application/vnd.medcalcdata mc1; - application/vnd.mediastation.cdkey cdkey; - application/vnd.MFER mwf; - application/vnd.mfmp mfm; - application/vnd.micrografx.flo flo; - application/vnd.micrografx.igx igx; - application/vnd.mif mif; - application/vnd.Mobius.DAF daf; - application/vnd.Mobius.DIS dis; - application/vnd.Mobius.MBK mbk; - application/vnd.Mobius.MQY mqy; - application/vnd.Mobius.MSL msl; - application/vnd.Mobius.PLC plc; - application/vnd.Mobius.TXF txf; - application/vnd.mophun.application mpn; - application/vnd.mophun.certificate mpc; - application/vnd.mozilla.xul+xml xul; - application/vnd.ms-3mfdocument 3mf; - application/vnd.ms-artgalry cil; - application/vnd.ms-asf asf; - application/vnd.ms-cab-compressed cab; - application/vnd.ms-excel xls xlm xla xlc xlt xlw; - application/vnd.ms-excel.template.macroEnabled.12 xltm; - application/vnd.ms-excel.addin.macroEnabled.12 xlam; - application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb; - application/vnd.ms-excel.sheet.macroEnabled.12 xlsm; - application/vnd.ms-fontobject eot; - application/vnd.ms-htmlhelp chm; - application/vnd.ms-ims ims; - application/vnd.ms-lrm lrm; - application/vnd.ms-officetheme thmx; - application/vnd.ms-powerpoint ppt pps pot; - application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam; - application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm; - application/vnd.ms-powerpoint.slide.macroEnabled.12 sldm; - application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm; - application/vnd.ms-powerpoint.template.macroEnabled.12 potm; - application/vnd.ms-project mpp mpt; - application/vnd.ms-tnef tnef tnf; - application/vnd.ms-word.document.macroEnabled.12 docm; - application/vnd.ms-word.template.macroEnabled.12 dotm; - application/vnd.ms-works wcm wdb wks wps; - application/vnd.ms-wpl wpl; - application/vnd.ms-xpsdocument xps; - application/vnd.msa-disk-image msa; - application/vnd.mseq mseq; - application/vnd.multiad.creator crtr; - application/vnd.multiad.creator.cif cif; - application/vnd.musician mus; - application/vnd.muvee.style msty; - application/vnd.mynfc taglet; - application/vnd.nervana entity request bkm kcm; - application/vnd.nitf nitf; - application/vnd.neurolanguage.nlu nlu; - application/vnd.nintendo.nitro.rom nds; - application/vnd.nintendo.snes.rom sfc smc; - application/vnd.noblenet-directory nnd; - application/vnd.noblenet-sealer nns; - application/vnd.noblenet-web nnw; - application/vnd.nokia.n-gage.ac+xml ac; - application/vnd.nokia.n-gage.data ngdat; - application/vnd.nokia.n-gage.symbian.install n-gage; - application/vnd.nokia.radio-preset rpst; - application/vnd.nokia.radio-presets rpss; - application/vnd.novadigm.EDM edm; - application/vnd.novadigm.EDX edx; - application/vnd.novadigm.EXT ext; - application/vnd.oasis.opendocument.chart odc; - application/vnd.oasis.opendocument.chart-template otc; - application/vnd.oasis.opendocument.database odb; - application/vnd.oasis.opendocument.formula odf; - application/vnd.oasis.opendocument.graphics odg; - application/vnd.oasis.opendocument.graphics-template otg; - application/vnd.oasis.opendocument.image odi; - application/vnd.oasis.opendocument.image-template oti; - application/vnd.oasis.opendocument.presentation odp; - application/vnd.oasis.opendocument.presentation-template otp; - application/vnd.oasis.opendocument.spreadsheet ods; - application/vnd.oasis.opendocument.spreadsheet-template ots; - application/vnd.oasis.opendocument.text odt; - application/vnd.oasis.opendocument.text-master odm; - application/vnd.oasis.opendocument.text-template ott; - application/vnd.oasis.opendocument.text-web oth; - application/vnd.olpc-sugar xo; - application/vnd.oma.dd2+xml dd2; - application/vnd.onepager tam; - application/vnd.onepagertamp tamp; - application/vnd.onepagertamx tamx; - application/vnd.onepagertat tat; - application/vnd.onepagertatp tatp; - application/vnd.onepagertatx tatx; - application/vnd.openblox.game+xml obgx; - application/vnd.openblox.game-binary obg; - application/vnd.openeye.oeb oeb; - application/vnd.openofficeorg.extension oxt; - application/vnd.openstreetmap.data+xml osm; - application/vnd.openxmlformats-officedocument.presentationml.presentation pptx; - application/vnd.openxmlformats-officedocument.presentationml.slide sldx; - application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx; - application/vnd.openxmlformats-officedocument.presentationml.template potx; - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx; - application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx; - application/vnd.openxmlformats-officedocument.wordprocessingml.document docx; - application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx; - application/vnd.osa.netdeploy ndc; - application/vnd.osgeo.mapguide.package mgp; - application/vnd.osgi.dp dp; - application/vnd.osgi.subsystem esa; - application/vnd.oxli.countgraph oxlicg; - application/vnd.palm prc pdb pqa oprc; - application/vnd.panoply plp; - application/vnd.pawaafile paw; - application/vnd.pg.format str; - application/vnd.pg.osasli ei6; - application/vnd.piaccess.application-license pil; - application/vnd.picsel efif; - application/vnd.pmi.widget wg; - application/vnd.pocketlearn plf; - application/vnd.powerbuilder6 pbd; - application/vnd.preminet preminet; - application/vnd.previewsystems.box box vbox; - application/vnd.proteus.magazine mgz; - application/vnd.publishare-delta-tree qps; - application/vnd.pvi.ptid1 ptid; - application/vnd.qualcomm.brew-app-res bar; - application/vnd.Quark.QuarkXPress qxd qxt qwd qwt qxl qxb; - application/vnd.quobject-quoxdocument quox quiz; - application/vnd.rainstor.data tree; - application/vnd.rar rar; - application/vnd.realvnc.bed bed; - application/vnd.recordare.musicxml mxl; - application/vnd.rig.cryptonote cryptonote; - application/vnd.route66.link66+xml link66; - application/vnd.sailingtracker.track st; - application/vnd.scribus scd sla slaz; - application/vnd.sealed.3df s3df; - application/vnd.sealed.csf scsf; - application/vnd.sealed.doc sdoc sdo s1w; - application/vnd.sealed.eml seml sem; - application/vnd.sealed.mht smht smh; - application/vnd.sealed.ppt sppt s1p; - application/vnd.sealed.tiff stif; - application/vnd.sealed.xls sxls sxl s1e; - application/vnd.sealedmedia.softseal.html stml s1h; - application/vnd.sealedmedia.softseal.pdf spdf spd s1a; - application/vnd.seemail see; - application/vnd.sema sema; - application/vnd.semd semd; - application/vnd.semf semf; - application/vnd.shana.informed.formdata ifm; - application/vnd.shana.informed.formtemplate itp; - application/vnd.shana.informed.interchange iif; - application/vnd.shana.informed.package ipk; - application/vnd.sigrok.session sr; - application/vnd.SimTech-MindMapper twd twds; - application/vnd.smaf mmf; - application/vnd.smart.notebook notebook; - application/vnd.smart.teacher teacher; - application/vnd.software602.filler.form+xml fo; - application/vnd.software602.filler.form-xml-zip zfo; - application/vnd.solent.sdkm+xml sdkm sdkd; - application/vnd.spotfire.dxp dxp; - application/vnd.spotfire.sfs sfs; - application/vnd.stepmania.package smzip; - application/vnd.stepmania.stepchart sm; - application/vnd.sun.wadl+xml wadl; - application/vnd.sus-calendar sus susp; - application/vnd.syncml+xml xsm; - application/vnd.syncml.dm+wbxml bdm; - application/vnd.syncml.dm+xml xdm; - application/vnd.syncml.dmddf+xml ddf; - application/vnd.tao.intent-module-archive tao; - application/vnd.tcpdump.pcap pcap cap dmp; - application/vnd.theqvd qvd; - application/vnd.tml vfr viaframe; - application/vnd.tmobile-livetv tmo; - application/vnd.trid.tpt tpt; - application/vnd.triscape.mxs mxs; - application/vnd.trueapp tra; - application/vnd.ufdl ufdl ufd frm; - application/vnd.uiq.theme utz; - application/vnd.umajin umj; - application/vnd.unity unityweb; - application/vnd.uoml+xml uoml uo; - application/vnd.uri-map urim urimap; - application/vnd.valve.source.material vmt; - application/vnd.vcx vcx; - application/vnd.vd-study mxi study-inter model-inter; - application/vnd.vectorworks vwx; - application/vnd.vidsoft.vidconference vsc; - application/vnd.visio vsd vst vsw vss; - application/vnd.visionary vis; - application/vnd.vsf vsf; - application/vnd.wap.sic sic; - application/vnd.wap.slc slc; - application/vnd.wap.wbxml wbxml; - application/vnd.wap.wmlc wmlc; - application/vnd.wap.wmlscriptc wmlsc; - application/vnd.webturbo wtb; - application/vnd.wfa.p2p p2p; - application/vnd.wfa.wsc wsc; - application/vnd.wmc wmc; - application/vnd.wolfram.mathematica.package m; - application/vnd.wolfram.player nbp; - application/vnd.wordperfect wpd; - application/vnd.wqd wqd; - application/vnd.wt.stf stf; - application/vnd.wv.csp+wbxml wv; - application/vnd.xara xar; - application/vnd.xfdl xfdl xfd; - application/vnd.xmpie.cpkg cpkg; - application/vnd.xmpie.dpkg dpkg; - application/vnd.xmpie.ppkg ppkg; - application/vnd.xmpie.xlim xlim; - application/vnd.yamaha.hv-dic hvd; - application/vnd.yamaha.hv-script hvs; - application/vnd.yamaha.hv-voice hvp; - application/vnd.yamaha.openscoreformat osf; - application/vnd.yamaha.smaf-audio saf; - application/vnd.yamaha.smaf-phrase spf; - application/vnd.yaoweme yme; - application/vnd.yellowriver-custom-menu cmp; - application/vnd.zul zir zirz; - application/vnd.zzazz.deck+xml zaz; - application/voicexml+xml vxml; - application/watcherinfo+xml wif; - application/widget wgt; - application/wsdl+xml wsdl; - application/wspolicy+xml wspolicy; - application/xcap-att+xml xav; - application/xcap-caps+xml xca; - application/xcap-diff+xml xdf; - application/xcap-el+xml xel; - application/xcap-error+xml xer; - application/xcap-ns+xml xns; - application/xhtml+xml xhtml xhtm xht; - application/xml-dtd dtd; - application/xop+xml xop; - application/xslt+xml xsl xslt; - application/xv+xml mxml xhvml xvml xvm; - application/yang yang; - application/yin+xml yin; - application/zip zip; - audio/32kadpcm 726; - audio/ac3 ac3; - audio/AMR amr; - audio/AMR-WB awb; - audio/asc acn; - audio/ATRAC-ADVANCED-LOSSLESS aal; - audio/ATRAC-X atx; - audio/ATRAC3 at3 aa3 omg; - audio/basic au snd; - audio/dls dls; - audio/EVRC evc; - audio/EVRCB evb; - audio/EVRCNW enw; - audio/EVRCWB evw; - audio/iLBC lbc; - audio/L16 l16; - audio/mobile-xmf mxmf; - audio/mp4 m4a; - audio/mpeg mp3 mpga mp1 mp2; - audio/ogg oga ogg opus spx; - audio/prs.sid sid psid; - audio/qcelp qcp; - audio/SMV smv; - audio/vnd.audikoz koz; - audio/vnd.dece.audio uva uvva; - audio/vnd.digital-winds eol; - audio/vnd.dolby.mlp mlp; - audio/vnd.dts dts; - audio/vnd.dts.hd dtshd; - audio/vnd.everad.plj plj; - audio/vnd.lucent.voice lvp; - audio/vnd.ms-playready.media.pya pya; - audio/vnd.nortel.vbk vbk; - audio/vnd.nuera.ecelp4800 ecelp4800; - audio/vnd.nuera.ecelp7470 ecelp7470; - audio/vnd.nuera.ecelp9600 ecelp9600; - audio/vnd.presonus.multitrack multitrack; - audio/vnd.rip rip; - audio/vnd.sealedmedia.softseal.mpeg smp3 smp s1m; - font/collection ttc; - font/otf otf; - font/ttf ttf; - font/woff woff; - font/woff2 woff2; - image/bmp bmp dib; - image/cgm cgm; - image/dicom-rle drle; - image/emf emf; - image/fits fits fit fts; - image/gif gif; - image/ief ief; - image/jls jls; - image/jp2 jp2 jpg2; - image/jpeg jpg jpeg jpe jfif; - image/jpm jpm jpgm; - image/jpx jpx jpf; - image/ktx ktx; - image/png png; - image/prs.btif btif btf; - image/prs.pti pti; - image/svg+xml svg svgz; - image/t38 t38; - image/tiff tiff tif; - image/tiff-fx tfx; - image/vnd.adobe.photoshop psd; - image/vnd.airzip.accelerator.azv azv; - image/vnd.dece.graphic uvi uvvi uvg uvvg; - image/vnd.djvu djvu djv; - image/vnd.dwg dwg; - image/vnd.dxf dxf; - image/vnd.fastbidsheet fbs; - image/vnd.fpx fpx; - image/vnd.fst fst; - image/vnd.fujixerox.edmics-mmr mmr; - image/vnd.fujixerox.edmics-rlc rlc; - image/vnd.globalgraphics.pgb pgb; - image/vnd.microsoft.icon ico; - image/vnd.mozilla.apng apng; - image/vnd.ms-modi mdi; - image/vnd.radiance hdr rgbe xyze; - image/vnd.sealed.png spng spn s1n; - image/vnd.sealedmedia.softseal.gif sgif sgi s1g; - image/vnd.sealedmedia.softseal.jpg sjpg sjp s1j; - image/vnd.tencent.tap tap; - image/vnd.valve.source.texture vtf; - image/vnd.wap.wbmp wbmp; - image/vnd.xiff xif; - image/vnd.zbrush.pcx pcx; - image/wmf wmf; - message/global u8msg; - message/global-delivery-status u8dsn; - message/global-disposition-notification u8mdn; - message/global-headers u8hdr; - message/rfc822 eml mail art; - model/gltf+json gltf; - model/iges igs iges; - model/mesh msh mesh silo; - model/vnd.collada+xml dae; - model/vnd.dwf dwf; - model/vnd.gdl gdl gsm win dor lmp rsm msm ism; - model/vnd.gtw gtw; - model/vnd.moml+xml moml; - model/vnd.mts mts; - model/vnd.opengex ogex; - model/vnd.parasolid.transmit.binary x_b xmt_bin; - model/vnd.parasolid.transmit.text x_t xmt_txt; - model/vnd.valve.source.compiled-map bsp; - model/vnd.vtu vtu; - model/vrml wrl vrml; - model/x3d+xml x3db; - model/x3d-vrml x3dv x3dvz; - multipart/vnd.bint.med-plus bmed; - multipart/voice-message vpm; - text/cache-manifest appcache manifest; - text/calendar ics ifb; - text/css css; - text/csv csv; - text/csv-schema csvs; - text/dns soa zone; - text/html html htm; - text/jcr-cnd cnd; - text/markdown markdown md; - text/mizar miz; - text/n3 n3; - text/plain txt asc text pm el c h cc hh cxx hxx f90 conf log; - text/provenance-notation provn; - text/prs.fallenstein.rst rst; - text/prs.lines.tag tag dsc; - text/richtext rtx; - text/sgml sgml sgm; - text/tab-separated-values tsv; - text/troff t tr roff; - text/turtle ttl; - text/uri-list uris uri; - text/vcard vcf vcard; - text/vnd.a a; - text/vnd.abc abc; - text/vnd.ascii-art ascii; - text/vnd.debian.copyright copyright; - text/vnd.DMClientScript dms; - text/vnd.dvb.subtitle sub; - text/vnd.esmertec.theme-descriptor jtd; - text/vnd.fly fly; - text/vnd.fmi.flexstor flx; - text/vnd.graphviz gv dot; - text/vnd.in3d.3dml 3dml 3dm; - text/vnd.in3d.spot spot spo; - text/vnd.ms-mediapackage mpf; - text/vnd.net2phone.commcenter.command ccc; - text/vnd.si.uricatalogue uric; - text/vnd.sun.j2me.app-descriptor jad; - text/vnd.trolltech.linguist ts; - text/vnd.wap.si si; - text/vnd.wap.sl sl; - text/vnd.wap.wml wml; - text/vnd.wap.wmlscript wmls; - text/xml xml xsd rng; - text/xml-external-parsed-entity ent; - video/3gpp 3gp 3gpp; - video/3gpp2 3g2 3gpp2; - video/iso.segment m4s; - video/mj2 mj2 mjp2; - video/mp4 mp4 mpg4 m4v; - video/mpeg mpeg mpg mpe m1v m2v; - video/ogg ogv; - video/quicktime mov qt; - video/vnd.dece.hd uvh uvvh; - video/vnd.dece.mobile uvm uvvm; - video/vnd.dece.mp4 uvu uvvu; - video/vnd.dece.pd uvp uvvp; - video/vnd.dece.sd uvs uvvs; - video/vnd.dece.video uvv uvvv; - video/vnd.dvb.file dvb; - video/vnd.fvt fvt; - video/vnd.mpegurl mxu m4u; - video/vnd.ms-playready.media.pyv pyv; - video/vnd.nokia.interleaved-multimedia nim; - video/vnd.radgamettools.bink bik bk2; - video/vnd.radgamettools.smacker smk; - video/vnd.sealed.mpeg1 smpg s11; - video/vnd.sealed.mpeg4 s14; - video/vnd.sealed.swf sswf ssw; - video/vnd.sealedmedia.softseal.mov smov smo s1q; - video/vnd.vivo viv; - application/mac-compactpro cpt; - application/metalink+xml metalink; - application/owl+xml owx; - application/rss+xml rss; - application/vnd.android.package-archive apk; - application/vnd.oma.dd+xml dd; - application/vnd.oma.drm.content dcf; - application/vnd.oma.drm.dcf o4a o4v; - application/vnd.oma.drm.message dm; - application/vnd.oma.drm.rights+wbxml drc; - application/vnd.oma.drm.rights+xml dr; - application/vnd.sun.xml.calc sxc; - application/vnd.sun.xml.calc.template stc; - application/vnd.sun.xml.draw sxd; - application/vnd.sun.xml.draw.template std; - application/vnd.sun.xml.impress sxi; - application/vnd.sun.xml.impress.template sti; - application/vnd.sun.xml.math sxm; - application/vnd.sun.xml.writer sxw; - application/vnd.sun.xml.writer.global sxg; - application/vnd.sun.xml.writer.template stw; - application/vnd.symbian.install sis; - application/vnd.wap.mms-message mms; - application/x-annodex anx; - application/x-bcpio bcpio; - application/x-bittorrent torrent; - application/x-bzip2 bz2; - application/x-cdlink vcd; - application/x-chrome-extension crx; - application/x-cpio cpio; - application/x-csh csh; - application/x-director dcr dir dxr; - application/x-dvi dvi; - application/x-futuresplash spl; - application/x-gtar gtar; - application/x-hdf hdf; - application/x-java-archive jar; - application/x-java-jnlp-file jnlp; - application/x-java-pack200 pack; - application/x-killustrator kil; - application/x-latex latex; - application/x-netcdf nc cdf; - application/x-perl pl; - application/x-rpm rpm; - application/x-sh sh; - application/x-shar shar; - application/x-stuffit sit; - application/x-sv4cpio sv4cpio; - application/x-sv4crc sv4crc; - application/x-tar tar; - application/x-tcl tcl; - application/x-tex tex; - application/x-texinfo texinfo texi; - application/x-troff-man man 1 2 3 4 5 6 7 8; - application/x-troff-me me; - application/x-troff-ms ms; - application/x-ustar ustar; - application/x-wais-source src; - application/x-xpinstall xpi; - application/x-xspf+xml xspf; - application/x-xz xz; - audio/midi mid midi kar; - audio/x-aiff aif aiff aifc; - audio/x-annodex axa; - audio/x-flac flac; - audio/x-matroska mka; - audio/x-mod mod ult uni m15 mtm 669 med; - audio/x-mpegurl m3u; - audio/x-ms-wax wax; - audio/x-ms-wma wma; - audio/x-pn-realaudio ram rm; - audio/x-realaudio ra; - audio/x-s3m s3m; - audio/x-stm stm; - audio/x-wav wav; - chemical/x-xyz xyz; - image/webp webp; - image/x-cmu-raster ras; - image/x-portable-anymap pnm; - image/x-portable-bitmap pbm; - image/x-portable-graymap pgm; - image/x-portable-pixmap ppm; - image/x-rgb rgb; - image/x-targa tga; - image/x-xbitmap xbm; - image/x-xpixmap xpm; - image/x-xwindowdump xwd; - text/html-sandboxed sandboxed; - text/x-pod pod; - text/x-setext etx; - video/webm webm; - video/x-annodex axv; - video/x-flv flv; - video/x-javafx fxm; - video/x-matroska mkv; - video/x-matroska-3d mk3d; - video/x-ms-asf asx; - video/x-ms-wm wm; - video/x-ms-wmv wmv; - video/x-ms-wmx wmx; - video/x-ms-wvx wvx; - video/x-msvideo avi; - video/x-sgi-movie movie; - x-conference/x-cooltalk ice; - x-epoc/x-sisx-app sisx; -} diff --git a/kvmd/configs/nginx/nginx.conf b/kvmd/configs/nginx/nginx.conf deleted file mode 100644 index f0d6965b..00000000 --- a/kvmd/configs/nginx/nginx.conf +++ /dev/null @@ -1,123 +0,0 @@ -load_module /usr/lib/nginx/modules/ngx_http_lua_module.so; - -user http; -worker_processes 4; - -# error_log /tmp/nginx.error.log; -error_log /dev/null crit; - -events { - worker_connections 1024; - use epoll; -} - -http { - access_log off; - - include /etc/nginx/mime-types.conf; - default_type application/octet-stream; - charset utf-8; - - sendfile on; - keepalive_timeout 10; - - client_body_temp_path /tmp/nginx.client_body_temp; - fastcgi_temp_path /tmp/nginx.fastcgi_temp; - proxy_temp_path /tmp/nginx.proxy_temp; - scgi_temp_path /tmp/nginx.scgi_temp; - uwsgi_temp_path /tmp/nginx.uwsgi_temp; - - upstream kvmd { - server localhost:8081 fail_timeout=0s max_fails=0; - } - - upstream ustreamer { - server localhost:8082 fail_timeout=0s max_fails=0; - } - -#PROD server { -#PROD listen 80; -#PROD server_name localhost; -#PROD return 301 https://$host$request_uri; -#PROD } - -#PROD lua_shared_dict WS_TOKENS 10m; -#PROD init_by_lua_block { -#PROD WS_TOKEN_EXPIRES = 10; -#PROD } - - server { -#PROD listen 443 ssl http2; - server_name localhost; - -#PROD ssl_protocols TLSv1 TLSv1.1 TLSv1.2; -#PROD ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"; -#PROD ssl_certificate /etc/nginx/ssl/server.crt; -#PROD ssl_certificate_key /etc/nginx/ssl/server.key; - -#PROD add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; - -#PROD auth_basic "Restricted Area"; -#PROD auth_basic_user_file /etc/nginx/htpasswd; - - location / { - root /usr/share/kvmd/web; - index index.html; - } - - location /wsauth { - # Workaround for Safari: https://bugs.webkit.org/show_bug.cgi?id=80362 -#PROD access_by_lua_block { -#PROD local token = ngx.encode_base64(ngx.sha1_bin(ngx.var.http_Authorization)); -#PROD ngx.shared.WS_TOKENS:set(token, token, WS_TOKEN_EXPIRES); -#PROD ngx.header["Set-Cookie"] = "WS_ACCESS_TOKEN=" .. token .. "; Path=/; Expires=" .. ngx.cookie_time(ngx.time() + WS_TOKEN_EXPIRES); -#PROD } - content_by_lua_block { - ngx.say("ok"); - } - } - - location /kvmd/ws { -#PROD auth_basic off; -#PROD access_by_lua_block { -#PROD local token = ngx.var.cookie_WS_ACCESS_TOKEN; -#PROD local value, _ = ngx.shared.WS_TOKENS:get(token); -#PROD if value == nil then -#PROD ngx.exec("/wsauth"); -#PROD end -#PROD } - rewrite /kvmd/ws /ws break; - proxy_pass http://kvmd; - include /etc/nginx/proxy-params.conf; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_connect_timeout 7d; - proxy_send_timeout 7d; - proxy_read_timeout 7d; - } - - location /kvmd/msd/write { - rewrite /kvmd/msd/write /msd/write break; - proxy_pass http://kvmd; - include /etc/nginx/proxy-params.conf; - limit_rate 6250k; - limit_rate_after 50k; - client_max_body_size 0; - proxy_request_buffering off; - } - - location /kvmd { - rewrite /kvmd/?(.*) /$1 break; - proxy_pass http://kvmd; - include /etc/nginx/proxy-params.conf; - } - - location /streamer { - rewrite /streamer/?(.*) /$1 break; - proxy_pass http://ustreamer; - include /etc/nginx/proxy-params.conf; - proxy_buffering off; - proxy_ignore_headers X-Accel-Buffering; - } - } -} diff --git a/kvmd/configs/nginx/proxy-params.conf b/kvmd/configs/nginx/proxy-params.conf deleted file mode 100644 index 36a00e53..00000000 --- a/kvmd/configs/nginx/proxy-params.conf +++ /dev/null @@ -1,6 +0,0 @@ -proxy_set_header Host $host; -proxy_set_header X-Real-IP $remote_addr; -proxy_set_header X-Scheme $scheme; -proxy_set_header X-Forwarded-Proto $scheme; -proxy_set_header X-Forwarded-Port $server_port; -proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/kvmd/kvmd/data/keymap.yaml b/kvmd/data/keymap.yaml index be7fee25..be7fee25 100644 --- a/kvmd/kvmd/data/keymap.yaml +++ b/kvmd/data/keymap.yaml diff --git a/kvmd/eslintrc.yaml b/kvmd/eslintrc.yaml deleted file mode 100644 index 4e8535b0..00000000 --- a/kvmd/eslintrc.yaml +++ /dev/null @@ -1,43 +0,0 @@ -globals: - Atx: true - Hid: true - Keyboard: true - Mouse: true - Msd: true - Session: true - Stream: true - Ui: true - ui: true - tools: true - "$": true - "$$": true - -env: - browser: true - es6: true - -extends: "eslint:recommended" - -parserOptions: - ecmaVersion: 6 - -rules: - indent: - - error - - tab - - SwitchCase: 1 - linebreak-style: - - error - - unix - quotes: - - error - - double - semi: - - error - - always - comma-dangle: - - error - - always-multiline - no-unused-vars: - - error - - {vars: local, args: after-used} diff --git a/kvmd/kvmd/extras/__init__.py b/kvmd/extras/__init__.py index e69de29b..e69de29b 100644 --- a/kvmd/kvmd/extras/__init__.py +++ b/kvmd/extras/__init__.py diff --git a/kvmd/kvmd/extras/cleanup/__init__.py b/kvmd/extras/cleanup/__init__.py index 5ac09ecb..5ac09ecb 100644 --- a/kvmd/kvmd/extras/cleanup/__init__.py +++ b/kvmd/extras/cleanup/__init__.py diff --git a/kvmd/kvmd/extras/cleanup/__main__.py b/kvmd/extras/cleanup/__main__.py index 031df43e..031df43e 100644 --- a/kvmd/kvmd/extras/cleanup/__main__.py +++ b/kvmd/extras/cleanup/__main__.py diff --git a/kvmd/kvmd/extras/wscli/__init__.py b/kvmd/extras/wscli/__init__.py index aa2d2e63..aa2d2e63 100644 --- a/kvmd/kvmd/extras/wscli/__init__.py +++ b/kvmd/extras/wscli/__init__.py diff --git a/kvmd/kvmd/extras/wscli/__main__.py b/kvmd/extras/wscli/__main__.py index 031df43e..031df43e 100644 --- a/kvmd/kvmd/extras/wscli/__main__.py +++ b/kvmd/extras/wscli/__main__.py diff --git a/kvmd/genmap.py b/kvmd/genmap.py deleted file mode 100755 index f01d6077..00000000 --- a/kvmd/genmap.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env python3 - - -import operator - -from typing import Tuple -from typing import List - -import yaml - - -# ===== -def main() -> None: - keymap: List[Tuple[int, str, str]] = [] - with open("keymap.in") as keymap_file: - for row in keymap_file: - if not row.startswith("#"): - parts = row.split() - keymap.append((int(parts[0]), parts[1], parts[2])) - - with open("kvmd/data/keymap.yaml", "w") as kvmd_yaml_file: - yaml.dump({ - js_key: code - for (code, _, js_key) in sorted(keymap, key=operator.itemgetter(2)) - }, kvmd_yaml_file, indent=4, default_flow_style=False) - - with open("hid/src/keymap.h", "w") as hid_header_file: - hid_header_file.write("#pragma once\n\n#include <HID-Project.h>\n\n#include \"inline.h\"\n\n\n") - hid_header_file.write("INLINE KeyboardKeycode keymap(uint8_t code) {\n\tswitch(code) {\n") - for (code, hid_key, _) in sorted(keymap, key=operator.itemgetter(1)): - hid_header_file.write("\t\tcase %d: return %s;\n" % (code, hid_key)) - hid_header_file.write("\t\tdefault: return KEY_ERROR_UNDEFINED;\n\t}\n}\n") - - -if __name__ == "__main__": - main() diff --git a/kvmd/kvmd/gpio.py b/kvmd/gpio.py index deb583ca..deb583ca 100644 --- a/kvmd/kvmd/gpio.py +++ b/kvmd/gpio.py diff --git a/kvmd/kvmd/hid.py b/kvmd/hid.py index b1d69ad6..b1d69ad6 100644 --- a/kvmd/kvmd/hid.py +++ b/kvmd/hid.py diff --git a/kvmd/hid/.gitignore b/kvmd/hid/.gitignore deleted file mode 100644 index c6d216a4..00000000 --- a/kvmd/hid/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/.pioenvs/ -/.piolibdeps/ diff --git a/kvmd/hid/Makefile b/kvmd/hid/Makefile deleted file mode 100644 index 0d94b010..00000000 --- a/kvmd/hid/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -all: - @ cat Makefile - -build: - platformio run - -update: - platformio platform update - -install: upload -upload: - platformio run --target upload - -serial: - platformio serialports monitor - -clean: - rm -rf .pioenvs .piolibdeps diff --git a/kvmd/hid/platformio.ini b/kvmd/hid/platformio.ini deleted file mode 100644 index 13036b9d..00000000 --- a/kvmd/hid/platformio.ini +++ /dev/null @@ -1,19 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter -; Upload options: custom upload port, speed and extra flags -; Library options: dependencies, extra library storages -; Advanced options: extra scripting -; -; Please visit documentation for the other options and examples -; http://docs.platformio.org/page/projectconf.html - -[env:micro] -platform = atmelavr -board = micro -framework = arduino -upload_port = /dev/ttyACM0 -monitor_speed = 115200 - -lib_deps = diff --git a/kvmd/hid/src/inline.h b/kvmd/hid/src/inline.h deleted file mode 100644 index 5b642a83..00000000 --- a/kvmd/hid/src/inline.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#define INLINE inline __attribute__((always_inline)) diff --git a/kvmd/hid/src/keymap.h b/kvmd/hid/src/keymap.h deleted file mode 100644 index c2302601..00000000 --- a/kvmd/hid/src/keymap.h +++ /dev/null @@ -1,98 +0,0 @@ -#pragma once - -#include <HID-Project.h> - -#include "inline.h" - - -INLINE KeyboardKeycode keymap(uint8_t code) { - switch(code) { - case 36: return KEY_0; - case 27: return KEY_1; - case 28: return KEY_2; - case 29: return KEY_3; - case 30: return KEY_4; - case 31: return KEY_5; - case 32: return KEY_6; - case 33: return KEY_7; - case 34: return KEY_8; - case 35: return KEY_9; - case 1: return KEY_A; - case 2: return KEY_B; - case 46: return KEY_BACKSLASH; - case 39: return KEY_BACKSPACE; - case 3: return KEY_C; - case 53: return KEY_CAPS_LOCK; - case 50: return KEY_COMMA; - case 4: return KEY_D; - case 70: return KEY_DELETE; - case 75: return KEY_DOWN_ARROW; - case 5: return KEY_E; - case 71: return KEY_END; - case 37: return KEY_ENTER; - case 43: return KEY_EQUAL; - case 38: return KEY_ESC; - case 6: return KEY_F; - case 54: return KEY_F1; - case 63: return KEY_F10; - case 64: return KEY_F11; - case 65: return KEY_F12; - case 55: return KEY_F2; - case 56: return KEY_F3; - case 57: return KEY_F4; - case 58: return KEY_F5; - case 59: return KEY_F6; - case 60: return KEY_F7; - case 61: return KEY_F8; - case 62: return KEY_F9; - case 7: return KEY_G; - case 8: return KEY_H; - case 68: return KEY_HOME; - case 9: return KEY_I; - case 67: return KEY_INSERT; - case 10: return KEY_J; - case 11: return KEY_K; - case 12: return KEY_L; - case 79: return KEY_LEFT_ALT; - case 74: return KEY_LEFT_ARROW; - case 44: return KEY_LEFT_BRACE; - case 77: return KEY_LEFT_CTRL; - case 80: return KEY_LEFT_GUI; - case 78: return KEY_LEFT_SHIFT; - case 13: return KEY_M; - case 42: return KEY_MINUS; - case 14: return KEY_N; - case 15: return KEY_O; - case 16: return KEY_P; - case 72: return KEY_PAGE_DOWN; - case 69: return KEY_PAGE_UP; - case 85: return KEY_PAUSE; - case 51: return KEY_PERIOD; - case 66: return KEY_PRINT; - case 17: return KEY_Q; - case 48: return KEY_QUOTE; - case 18: return KEY_R; - case 83: return KEY_RIGHT_ALT; - case 73: return KEY_RIGHT_ARROW; - case 45: return KEY_RIGHT_BRACE; - case 81: return KEY_RIGHT_CTRL; - case 84: return KEY_RIGHT_GUI; - case 82: return KEY_RIGHT_SHIFT; - case 19: return KEY_S; - case 86: return KEY_SCROLL_LOCK; - case 47: return KEY_SEMICOLON; - case 52: return KEY_SLASH; - case 41: return KEY_SPACE; - case 20: return KEY_T; - case 40: return KEY_TAB; - case 49: return KEY_TILDE; - case 21: return KEY_U; - case 76: return KEY_UP_ARROW; - case 22: return KEY_V; - case 23: return KEY_W; - case 24: return KEY_X; - case 25: return KEY_Y; - case 26: return KEY_Z; - default: return KEY_ERROR_UNDEFINED; - } -} diff --git a/kvmd/hid/src/main.cpp b/kvmd/hid/src/main.cpp deleted file mode 100644 index 7bfced13..00000000 --- a/kvmd/hid/src/main.cpp +++ /dev/null @@ -1,98 +0,0 @@ -#include <Arduino.h> -#include <HID-Project.h> - -#include "inline.h" -#include "keymap.h" - -#define CMD_SERIAL Serial1 -#define CMD_SERIAL_SPEED 115200 - -#define CMD_MOUSE_LEFT 0b10000000 -#define CMD_MOUSE_LEFT_STATE 0b00001000 -#define CMD_MOUSE_RIGHT 0b01000000 -#define CMD_MOUSE_RIGHT_STATE 0b00000100 - - -// ----------------------------------------------------------------------------- -INLINE void cmdResetHid() { // 0 bytes - CMD_SERIAL.read(); // unused - CMD_SERIAL.read(); // unused - CMD_SERIAL.read(); // unused - CMD_SERIAL.read(); // unused - BootKeyboard.releaseAll(); - SingleAbsoluteMouse.releaseAll(); -} - -INLINE void cmdKeyEvent() { // 2 bytes - KeyboardKeycode code = keymap((uint8_t)CMD_SERIAL.read()); - uint8_t state = CMD_SERIAL.read(); - CMD_SERIAL.read(); // unused - CMD_SERIAL.read(); // unused - if (code != KEY_ERROR_UNDEFINED) { - if (state) { - BootKeyboard.press(code); - } else { - BootKeyboard.release(code); - } - } -} - -INLINE void cmdMouseMoveEvent() { // 4 bytes - int x = (int)CMD_SERIAL.read() << 8; - x |= (int)CMD_SERIAL.read(); - int y = (int)CMD_SERIAL.read() << 8; - y |= (int)CMD_SERIAL.read(); - SingleAbsoluteMouse.moveTo(x, y); -} - -INLINE void cmdMouseButtonEvent() { // 1 byte - uint8_t state = CMD_SERIAL.read(); - CMD_SERIAL.read(); // unused - CMD_SERIAL.read(); // unused - CMD_SERIAL.read(); // unused - if (state & CMD_MOUSE_LEFT) { - if (state & CMD_MOUSE_LEFT_STATE) { - SingleAbsoluteMouse.press(MOUSE_LEFT); - } else { - SingleAbsoluteMouse.release(MOUSE_LEFT); - } - } - if (state & CMD_MOUSE_RIGHT) { - if (state & CMD_MOUSE_RIGHT_STATE) { - SingleAbsoluteMouse.press(MOUSE_RIGHT); - } else { - SingleAbsoluteMouse.release(MOUSE_RIGHT); - } - } -} - -INLINE void cmdMouseWheelEvent() { // 2 bytes - CMD_SERIAL.read(); // delta_x is not supported by hid-project now - signed char delta_y = CMD_SERIAL.read(); - CMD_SERIAL.read(); // unused - CMD_SERIAL.read(); // unused - SingleAbsoluteMouse.move(0, 0, delta_y); -} - - -// ----------------------------------------------------------------------------- -void setup() { - CMD_SERIAL.begin(CMD_SERIAL_SPEED); - BootKeyboard.begin(); - SingleAbsoluteMouse.begin(); - CMD_SERIAL.write(0); -} - -void loop() { - if (CMD_SERIAL.available() >= 5) { - switch ((uint8_t)CMD_SERIAL.read()) { - case 0: cmdResetHid(); break; - case 1: cmdKeyEvent(); break; - case 2: cmdMouseMoveEvent(); break; - case 3: cmdMouseButtonEvent(); break; - case 4: cmdMouseWheelEvent(); break; - default: break; - } - CMD_SERIAL.write(0); - } -} diff --git a/kvmd/keymap.in b/kvmd/keymap.in deleted file mode 100644 index da9ddf25..00000000 --- a/kvmd/keymap.in +++ /dev/null @@ -1,109 +0,0 @@ -# https://github.com/NicoHood/HID/blob/master/src/HID-APIs/ImprovedKeylayouts.h -# https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code -1 KEY_A KeyA -2 KEY_B KeyB -3 KEY_C KeyC -4 KEY_D KeyD -5 KEY_E KeyE -6 KEY_F KeyF -7 KEY_G KeyG -8 KEY_H KeyH -9 KEY_I KeyI -10 KEY_J KeyJ -11 KEY_K KeyK -12 KEY_L KeyL -13 KEY_M KeyM -14 KEY_N KeyN -15 KEY_O KeyO -16 KEY_P KeyP -17 KEY_Q KeyQ -18 KEY_R KeyR -19 KEY_S KeyS -20 KEY_T KeyT -21 KEY_U KeyU -22 KEY_V KeyV -23 KEY_W KeyW -24 KEY_X KeyX -25 KEY_Y KeyY -26 KEY_Z KeyZ -27 KEY_1 Digit1 -28 KEY_2 Digit2 -29 KEY_3 Digit3 -30 KEY_4 Digit4 -31 KEY_5 Digit5 -32 KEY_6 Digit6 -33 KEY_7 Digit7 -34 KEY_8 Digit8 -35 KEY_9 Digit9 -36 KEY_0 Digit0 -37 KEY_ENTER Enter -38 KEY_ESC Escape -39 KEY_BACKSPACE Backspace -40 KEY_TAB Tab -41 KEY_SPACE Space -42 KEY_MINUS Minus -43 KEY_EQUAL Equal -44 KEY_LEFT_BRACE BracketLeft -45 KEY_RIGHT_BRACE BracketRight -46 KEY_BACKSLASH Backslash -47 KEY_SEMICOLON Semicolon -48 KEY_QUOTE Quote -49 KEY_TILDE Backquote -50 KEY_COMMA Comma -51 KEY_PERIOD Period -52 KEY_SLASH Slash -53 KEY_CAPS_LOCK CapsLock -54 KEY_F1 F1 -55 KEY_F2 F2 -56 KEY_F3 F3 -57 KEY_F4 F4 -58 KEY_F5 F5 -59 KEY_F6 F6 -60 KEY_F7 F7 -61 KEY_F8 F8 -62 KEY_F9 F9 -63 KEY_F10 F10 -64 KEY_F11 F11 -65 KEY_F12 F12 -66 KEY_PRINT PrintScreen -67 KEY_INSERT Insert -68 KEY_HOME Home -69 KEY_PAGE_UP PageUp -70 KEY_DELETE Delete -71 KEY_END End -72 KEY_PAGE_DOWN PageDown -73 KEY_RIGHT_ARROW ArrowRight -74 KEY_LEFT_ARROW ArrowLeft -75 KEY_DOWN_ARROW ArrowDown -76 KEY_UP_ARROW ArrowUp -77 KEY_LEFT_CTRL ControlLeft -78 KEY_LEFT_SHIFT ShiftLeft -79 KEY_LEFT_ALT AltLeft -80 KEY_LEFT_GUI MetaLeft -81 KEY_RIGHT_CTRL ControlRight -82 KEY_RIGHT_SHIFT ShiftRight -83 KEY_RIGHT_ALT AltRight -84 KEY_RIGHT_GUI MetaRight -85 KEY_PAUSE Pause -86 KEY_SCROLL_LOCK ScrollLock -# KEY_NON_US_NUM -# KEY_NUM_LOCK -# KEYPAD_DIVIDE -# KEYPAD_MULTIPLY -# KEYPAD_SUBTRACT -# KEYPAD_ADD -# KEYPAD_ENTER -# KEYPAD_1 -# KEYPAD_2 -# KEYPAD_3 -# KEYPAD_4 -# KEYPAD_5 -# KEYPAD_6 -# KEYPAD_7 -# KEYPAD_8 -# KEYPAD_9 -# KEYPAD_0 -# KEYPAD_DOT -# KEY_NON_US -# KEY_APPLICATION -# KEY_MENU diff --git a/kvmd/kvmd/logging.py b/kvmd/logging.py index 838e13d1..838e13d1 100644 --- a/kvmd/kvmd/logging.py +++ b/kvmd/logging.py diff --git a/kvmd/kvmd/msd.py b/kvmd/msd.py index 5b2fa592..5b2fa592 100644 --- a/kvmd/kvmd/msd.py +++ b/kvmd/msd.py diff --git a/kvmd/mypy.ini b/kvmd/mypy.ini deleted file mode 100644 index df6699a4..00000000 --- a/kvmd/mypy.ini +++ /dev/null @@ -1,5 +0,0 @@ -[mypy] -python_version = 3.7 -ignore_missing_imports = True -disallow_untyped_defs = True -strict_optional = True diff --git a/kvmd/pylintrc b/kvmd/pylintrc deleted file mode 100644 index 3adf052d..00000000 --- a/kvmd/pylintrc +++ /dev/null @@ -1,62 +0,0 @@ -[MASTER] -ignore=.git -extension-pkg-whitelist= - setproctitle, - -[DESIGN] -min-public-methods=0 -max-args=10 - -[TYPECHECK] -ignored-classes= - AioQueue, - -[MESSAGES CONTROL] -disable = - file-ignored, - locally-disabled, - fixme, - missing-docstring, - no-init, - no-self-use, - superfluous-parens, - abstract-class-not-used, - abstract-class-little-used, - duplicate-code, - bad-continuation, - bad-whitespace, - star-args, - broad-except, - redundant-keyword-arg, - wrong-import-order, - too-many-ancestors, - no-else-return, - len-as-condition, - -[REPORTS] -msg-template={symbol} -- {path}:{line}({obj}): {msg} - -[FORMAT] -max-line-length=160 - -[BASIC] -# List of builtins function names that should not be used, separated by a comma -bad-functions= - -# Regular expression matching correct method names -method-rgx=[a-z_][a-z0-9_]{2,50}$ - -# Regular expression matching correct function names -function-rgx=[a-z_][a-z0-9_]{2,50}$ - -# Regular expression which should only match correct module level names -const-rgx=([a-zA-Z_][a-zA-Z0-9_]*)$ - -# Regular expression which should only match correct argument names -argument-rgx=[a-z_][a-z0-9_]{1,30}$ - -# Regular expression which should only match correct variable names -variable-rgx=[a-z_][a-z0-9_]{1,30}$ - -# Regular expression which should only match correct instance attribute names -attr-rgx=[a-z_][a-z0-9_]{1,30}$ diff --git a/kvmd/requirements.txt b/kvmd/requirements.txt deleted file mode 100644 index 6ed9b5aa..00000000 --- a/kvmd/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ -RPi.GPIO -aiohttp -aiofiles -pyudev -pyyaml -pyserial -setproctitle diff --git a/kvmd/kvmd/server.py b/kvmd/server.py index 19282fc2..19282fc2 100644 --- a/kvmd/kvmd/server.py +++ b/kvmd/server.py diff --git a/kvmd/setup.py b/kvmd/setup.py deleted file mode 100755 index 35f3966d..00000000 --- a/kvmd/setup.py +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/env python3 - - -from setuptools import setup - - -# ===== -def main() -> None: - with open("requirements.txt") as requirements_file: - install_requires = list(filter(None, requirements_file.read().splitlines())) - - setup( - name="kvmd", - version="0.66", - url="https://github.com/pi-kvm/pi-kvm", - license="GPLv3", - author="Maxim Devaev", - author_email="[email protected]", - description="The main Pi-KVM daemon", - platforms="any", - - packages=[ - "kvmd", - "kvmd.extras", - "kvmd.extras.cleanup", - "kvmd.extras.wscli", - ], - - package_data={ - "kvmd": ["data/*.yaml"], - }, - - entry_points={ - "console_scripts": [ - "kvmd = kvmd:main", - "kvmd-cleanup = kvmd.extras.cleanup:main", - "kvmd-wscli = kvmd.extras.wscli:main", - ], - }, - - install_requires=install_requires, - - classifiers=[ - "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", - "Development Status :: 3 - Alpha", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Topic :: System :: Systems Administration", - "Operating System :: POSIX :: Linux", - "Intended Audience :: System Administrators", - "Intended Audience :: End Users/Desktop", - "Intended Audience :: Telecommunications Industry", - ], - ) - - -if __name__ == "__main__": - main() diff --git a/kvmd/kvmd/streamer.py b/kvmd/streamer.py index 24097547..24097547 100644 --- a/kvmd/kvmd/streamer.py +++ b/kvmd/streamer.py diff --git a/kvmd/testenv/Dockerfile b/kvmd/testenv/Dockerfile deleted file mode 100644 index db7e6538..00000000 --- a/kvmd/testenv/Dockerfile +++ /dev/null @@ -1,45 +0,0 @@ -FROM base/archlinux - -RUN pacman -Syu --noconfirm \ - && pacman -S --noconfirm \ - git \ - patch \ - make \ - fakeroot \ - binutils \ - expac \ - jshon \ - sudo \ - && pacman -Sc --noconfirm - -RUN useradd -r -d / packer \ - && cd /tmp \ - && sudo -u packer git clone https://aur.archlinux.org/packer-color.git \ - && cd packer-color \ - && sudo -u packer makepkg \ - && pacman --noconfirm -U packer-color-*.pkg.tar.xz \ - && ln -s /usr/bin/packer-color /usr/local/bin/packer \ - && cp /usr/bin/packer-color /usr/local/bin/user-packer \ - && sed -i -e "s|makepkg \$MAKEPKGOPTS |chown -R packer:packer \$dir; makepkg \$MAKEPKGOPTS |g" \ - /usr/local/bin/user-packer \ - && sed -i -e "s|makepkg \$MAKEPKGOPTS --asroot -f|sudo -u packer makepkg \$MAKEPKGOPTS -f|g" \ - /usr/local/bin/user-packer \ - && cd - \ - && rm -rf /tmp/packer-color - -RUN pacman -Syy \ - && user-packer -S --noconfirm \ - python \ - python-pip \ - nginx-mainline \ - nginx-mainline-mod-lua \ - ustreamer \ - socat \ - && pacman -Sc --noconfirm - -COPY testenv/requirements.txt requirements.txt -RUN pip install -r requirements.txt - -RUN dd if=/dev/zero of=/root/loop.img bs=1024 count=1048576 - -CMD /bin/bash diff --git a/kvmd/testenv/kvmd.yaml b/kvmd/testenv/kvmd.yaml deleted file mode 100644 index a94dcb2b..00000000 --- a/kvmd/testenv/kvmd.yaml +++ /dev/null @@ -1,71 +0,0 @@ -kvmd: - server: - host: 0.0.0.0 - port: 8081 - heartbeat: 3.0 - - hid: - device: /dev/ttyS10 - speed: 115200 - - atx: - pinout: - power_led: 16 - hdd_led: 12 - power_switch: 26 - reset_switch: 20 - - click_delay: 0.1 - long_click_delay: 5.5 - - state_poll: 0.1 - - msd: - device: "/dev/kvmd-msd" - init_delay: 2.0 - write_meta: true - chunk_size: 65536 - - streamer: - pinout: - cap: 21 - conv: 25 - - sync_delay: 1.0 - init_delay: 1.0 - init_restart_after: 1.0 - shutdown_delay: 10.0 - - quality: 80 - - cmd: - - "/usr/bin/ustreamer" - - "--device=/dev/kvmd-streamer" - - "--jpeg-quality={quality}" - - "--width=800" - - "--height=600" - - "--host=0.0.0.0" - - "--port=8082" - -logging: - version: 1 - disable_existing_loggers: false - - formatters: - console: - (): logging.Formatter - style: "{" - datefmt: "%H:%M:%S" - format: "[{asctime}] {name:20.20} {levelname:>7} --- {message}" - - handlers: - console: - level: DEBUG - class: logging.StreamHandler - stream: ext://sys.stdout - formatter: console - - root: - level: INFO - handlers: - - console diff --git a/kvmd/testenv/requirements.txt b/kvmd/testenv/requirements.txt deleted file mode 100644 index de538a71..00000000 --- a/kvmd/testenv/requirements.txt +++ /dev/null @@ -1,9 +0,0 @@ -git+git://github.com/willbuckner/rpi-gpio-development-mock@master#egg=rpi -aiohttp -aiofiles -pyudev -pyyaml -pyserial -setproctitle -bumpversion -tox diff --git a/kvmd/tox.ini b/kvmd/tox.ini deleted file mode 100644 index b99660fb..00000000 --- a/kvmd/tox.ini +++ /dev/null @@ -1,46 +0,0 @@ -[tox] -envlist = flake8, pylint, mypy, vulture, eslint, htmlhint -skipsdist = True - -[testenv] -basepython = python3.7 - -[testenv:flake8] -commands = flake8 kvmd genmap.py -deps = - flake8 - flake8-double-quotes - -rtestenv/requirements.txt - -[testenv:pylint] -commands = pylint --output-format=colorized --reports=no kvmd genmap.py -deps = - pylint - -rtestenv/requirements.txt - -[testenv:mypy] -commands = mypy kvmd genmap.py -deps = - mypy - -rtestenv/requirements.txt - -[testenv:vulture] -commands = vulture kvmd genmap.py vulture-wl.py -deps = - vulture - -rtestenv/requirements.txt - -[testenv:eslint] -whitelist_externals = eslint -commands = eslint --config=eslintrc.yaml --color web/js - -[testenv:htmlhint] -whitelist_externals = htmlhint -commands = htmlhint web/*.html - -[flake8] -max-line-length = 160 -# W503 line break before binary operator -# E227 missing whitespace around bitwise or shift operator -# E241 multiple spaces after -ignore=W503,E227,E241 diff --git a/kvmd/vulture-wl.py b/kvmd/vulture-wl.py deleted file mode 100644 index 03e19ef6..00000000 --- a/kvmd/vulture-wl.py +++ /dev/null @@ -1,5 +0,0 @@ -manufacturer # unused variable (kvmd/msd.py:58) -product # unused variable (kvmd/msd.py:59) -real # unused variable (kvmd/msd.py:71) -hw # unused variable (kvmd/msd.py:73) -image # unused variable (kvmd/msd.py:74) diff --git a/kvmd/web/apple-touch-icon.png b/kvmd/web/apple-touch-icon.png Binary files differdeleted file mode 100644 index 0efe6ece..00000000 --- a/kvmd/web/apple-touch-icon.png +++ /dev/null diff --git a/kvmd/web/css/about.css b/kvmd/web/css/about.css deleted file mode 100644 index 0db2e467..00000000 --- a/kvmd/web/css/about.css +++ /dev/null @@ -1,17 +0,0 @@ -div#about { - -webkit-user-select: text; - -moz-user-select: text; - user-select: text; -} - -div#about -td#about-version-kvmd, -td#about-version-python, -td#about-version-platform { - font-weight: bold; -} - -div#about p { - font-family: monospace; - padding: 0 10px 0 10px; -} diff --git a/kvmd/web/css/keyboard.css b/kvmd/web/css/keyboard.css deleted file mode 100644 index ebe1d95e..00000000 --- a/kvmd/web/css/keyboard.css +++ /dev/null @@ -1,107 +0,0 @@ -div.keyboard { - zoom: 0.8; -} - -div.keyboard div.keyboard-block { - display: table-cell; - padding-right: 0; -} -div.keyboard div.keyboard-block:not(:first-child) { - padding-left: 15px; -} - -div.keyboard div.keyboard-row { - white-space: nowrap; - height: 40px; - margin-bottom: 5px; -} -div.keyboard div.keyboard-row:last-child { - margin-bottom: 0; -} - -div.keyboard div.key, div.modifier, div.empty-key { - box-sizing: border-box; - display: inline-block; - margin-right: 5px; - padding: 0; - width: 40px; -} -div.keyboard div.key, div.modifier { - font-size: 0.9em; - text-align: center; - vertical-align: top; - box-shadow: var(--micro-shadow); - border: var(--grey-border); - border-radius: 6px; - color: var(--fg-color-normal); - background-color: var(--bg-color-gray); - cursor: pointer; - height: 40px; -} -div.keyboard div.key:hover, div.modifier:hover { - color: var(--fg-color-intensive); - background-color: var(--bg-color-ctl); -} -div.keyboard div.pressed { - box-shadow: none; - color: var(--fg-color-selected) !important; - background-color: var(--bg-color-dark) !important; -} -div.keyboard div.holded { - box-shadow: none; - color: var(--fg-color-normal) !important; - background-color: var(--bg-color-intensive) !important; -} -div.keyboard div.key:last-child, div.empty-key:last-child, div.modifier:last-child { - margin-right: 0; -} -div.keyboard div.margin-0 { - margin-right: 0px; -} -div.keyboard div.wide-0 { - width: 26px; -} -div.keyboard div.wide-1 { - width: 61px; -} -div.keyboard div.wide-2 { - width: 64px; -} -div.keyboard div.wide-3 { - width: 77px; -} -div.keyboard div.wide-4 { - width: 102px; -} -div.keyboard div.wide-5 { - width: 288px; -} -div.keyboard div.left { - text-align: left !important; - padding-left: 6px !important; -} -div.keyboard div.right { - text-align: right !important; - padding-right: 6px !important; -} -div.keyboard div.small { - font-size: 0.7em; -} - -div.keyboard p { - margin: 0; - position: relative; - top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); -} -div.keyboard b { - color: var(--bg-color-intensive); -} - -div#keyboard-desktop { - display: block; -} -div#keyboard-mobile { - display: none; -} diff --git a/kvmd/web/css/leds.css b/kvmd/web/css/leds.css deleted file mode 100644 index c5c122e3..00000000 --- a/kvmd/web/css/leds.css +++ /dev/null @@ -1,69 +0,0 @@ -@-webkit-keyframes spin { - 100% { - -webkit-transform: rotate(360deg); - } -} -@keyframes spin { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -:root { - --led-filter-gray: invert(0.5); - --led-filter-green: invert(0.5) sepia(1) saturate(5) hue-rotate(100deg); - --led-filter-red: invert(0.5) sepia(1) saturate(15) hue-rotate(320deg); - --led-filter-yellow: invert(0.5) sepia(1) saturate(5) hue-rotate(0deg); - - --led-spin-slow: spin 6s linear infinite; - --led-spin-medium: spin 3s linear infinite; - --led-spin-fast: spin 2s linear infinite; -} - -img.led-on { - -webkit-filter: var(--led-filter-green); - filter: var(--led-filter-green); -} - -img.led-off { - -webkit-filter: var(--led-filter-gray); - filter: var(--led-filter-gray); -} - -img.led-hdd-busy { - -webkit-filter: var(--led-filter-red); - filter: var(--led-filter-red); -} - -img.led-msd-writing, -img.led-pak-typing { - -webkit-filter: var(--led-filter-yellow); - filter: var(--led-filter-yellow); - -webkit-animation: var(--led-spin-fast); - animation: var(--led-spin-fast); -} - -img.led-link-connecting { - -webkit-filter: var(--led-filter-yellow); - filter: var(--led-filter-yellow); -} - -img.led-fan-on { - -webkit-filter: var(--led-filter-green); - filter: var(--led-filter-green); - -webkit-animation: var(--led-spin-medium); - animation: var(--led-spin-medium); -} - -img.led-fan-slow { - -webkit-filter: var(--led-filter-yellow); - filter: var(--led-filter-yellow); - -webkit-animation: var(--led-spin-slow); - animation: var(--led-spin-slow); -} - -img.led-fan-fail { - -webkit-filter: var(--led-filter-red); - filter: var(--led-filter-red); -} diff --git a/kvmd/web/css/main.css b/kvmd/web/css/main.css deleted file mode 100644 index 0dd07fc2..00000000 --- a/kvmd/web/css/main.css +++ /dev/null @@ -1,204 +0,0 @@ -body { - margin: 0; - overflow: hidden; - color: var(--fg-color-normal); - background-color: var(--bg-color-normal); - font-family: sans-serif !important; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - touch-action: manipulation; -} - -a { - text-decoration: underline dotted; - color: var(--fg-color-normal); -} -@media (hover: hover), (min--moz-device-pixel-ratio: 0) { - a:hover { - text-decoration: underline; - } -} - -hr { - border: none; - border-top: var(--normal-border); -} - -button, select { - box-shadow: none; - border: none; - color: var(--fg-color-normal); - background-color: var(--bg-color-normal); - display: block; - width: 100%; - height: 30px; - font-size: 16px; - outline: none; - cursor: pointer; -} -@media (hover: hover), (min--moz-device-pixel-ratio: 0) { - button:enabled:hover, select:enabled:hover { - color: var(--fg-color-intensive); - background-color: var(--bg-color-dark) !important; - } - button:active, select:active { - color: var(--fg-color-selected) !important; - } - select:enabled:hover { - background-image: url("../svg/select-arrow-intensive.svg") !important; - } -} -@media (hover: none) { - button:active, select:active { - color: var(--fg-color-intensive); - background-color: var(--bg-color-dark); - } -} -button:disabled, select:disabled { - color: var(--fg-color-inactive); - cursor: default; -} - -select { - -webkit-appearance: button; - -moz-appearance: button; - appearance: button; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - background-image: url("../svg/select-arrow-normal.svg"); - background-position: center right; - background-repeat: no-repeat; -} -select:disabled { - background-image: url("../svg/select-arrow-inactive.svg") !important; -} -select:active { - color: var(--fg-color-intensive) !important; - background-color: var(--bg-color-dark) !important; - background-image: url("../svg/select-arrow-intensive.svg") !important; -} - -.row50 { - display: inline-block; - width: 50%; -} -.row25 { - display: inline-block; - width: 25%; -} -.row50:not(:first-child), .row25:not(:first-child) { - border-left: var(--dark-border); -} - -img#logo { - -webkit-filter: invert(0.7); - filter: invert(0.7); - vertical-align: middle; - padding-left: 16px; -} - -ul#ctl { - box-shadow: var(--small-shadow); - list-style-type: none; - margin: 0; - padding: 0; - background-color: var(--bg-color-ctl); - position: fixed; - top: 0; - width: 100%; - height: 50px; - z-index: 2147483646; -} -ul#ctl li.ctl-logo { - line-height: 50px; - margin-top: -2px; - float: left; -} -ul#ctl li.ctl-right-actions { - float: right; -} -ul#ctl img { - vertical-align: middle; - margin-right: 10px; - height: 20px; -} -ul#ctl li a.ctl-item { - line-height: 50px; - outline: none; - cursor: pointer; - border-left: var(--black-border); - display: inline-block; - color: var(--fg-color-normal); - padding-left: 16px; - padding-right: 16px; - text-decoration: none; -} -ul#ctl li a.ctl-item:hover:not(.active) { - background-color: var(--bg-color-hovered); -} -ul#ctl li a.ctl-item-selected { - box-shadow: 0 5px 0 var(--border-color-intensive) inset; - background-color: var(--bg-color-selected) !important; -} -div.ctl-dropdown-content { - visibility: hidden; - overflow: hidden; - white-space: nowrap; - border: var(--intensive-border); - border-top: var(--dark-border); - border-radius: 0 0 8px 8px; - position: absolute; - background-color: var(--bg-color-ctl); - min-width: 180px; - box-shadow: var(--big-shadow); - z-index: 2147483645; -} -div.ctl-dropdown-content button, select { - text-align: left; - padding: 0 16px; -} -div.ctl-dropdown-content div.buttons-row { - margin: 0; - padding: 0; - font-size: 0; -} -div.ctl-dropdown-content hr { - margin: 0; - display: block; - height: 0px; - padding: 0; - border: none; - border-top: var(--dark-border); -} -div.ctl-dropdown-content-buttons { - background-color: var(--bg-color-normal); -} -div.ctl-dropdown-content-text { - margin: 10px 15px 10px 15px; - font-size: 14px; -} - -ul#footer { - list-style-type: none; - bottom: 0; - position: fixed; - width: 100%; - padding: 0; - font-size: 0.7em; - color: var(--fg-color-inactive); - z-index: -10; -} -ul#footer li { - padding: 0 10px; -} -ul#footer li.footer-left { - float: left; -} -ul#footer li.footer-right { - float: right; -} -ul#footer li a { - color: var(--fg-color-inactive); -} diff --git a/kvmd/web/css/mobile.css b/kvmd/web/css/mobile.css deleted file mode 100644 index fdec7fc3..00000000 --- a/kvmd/web/css/mobile.css +++ /dev/null @@ -1,87 +0,0 @@ -/* - http://stephen.io/mediaqueries/ - https://gist.github.com/gokulkrishh/242e68d1ee94ad05f488 -*/ - -@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { - div.window { - padding-top: 45px !important; - } - div.window-header { - height: 35px !important; - } - div.window-grab { - height: 35px !important; - } - button.window-button-close { - height: 40px !important; - } - - ul#ctl li a.ctl-item:hover:not(.active) { - background-color: var(--bg-color-ctl) !important; - } - - div.keyboard { - zoom: 1.28 !important; - } - div#keyboard-window { - visibility: visible !important; - padding-top: 9px !important; - padding-bottom: 30px !important; - border-bottom: 0 !important; - border-left: 0 !important; - border-right: 0 !important; - border-radius: 0 !important; - top: unset !important; - bottom: 0 !important; - width: 100% !important; - left: 50% !important; - -webkit-transform: translateX(-50%) !important; - transform: translateX(-50%) !important; - } - div#keyboard-window-header { - display: none !important - } - div.keyboard div.key:hover, div.modifier:hover { - color: var(--fg-color-normal); - background-color: var(--bg-color-gray); - } - div#keyboard-desktop { - display: none !important; - } - div#keyboard-mobile { - display: block !important; - } - - div#stream-window { - padding-top: 9px !important; - border-top: 0 !important; - border-radius: 0 0 8px 8px !important; - top: 50px !important; - left: 50% !important; - -webkit-transform: translateX(-50%) !important; - transform: translateX(-50%) !important; - } - div#stream-window-header { - display: none !important; - } - div#stream-mouse-buttons { - display: block !important; - } -} - -@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { - button, select { - height: 45px !important; - } - - div.modal-buttons button { - height: 50px !important; - } - - @supports (-webkit-appearance:none) { - div#stream-size-slider-box input[type=range] { - margin: 20px 0 20px 0 !important; - } - } -} diff --git a/kvmd/web/css/modals.css b/kvmd/web/css/modals.css deleted file mode 100644 index cfb0df20..00000000 --- a/kvmd/web/css/modals.css +++ /dev/null @@ -1,52 +0,0 @@ -div.modal { - visibility: hidden; - position: fixed; - left: 0; - top: 0; - width: 100%; - height: 100%; - background-color: rgb(0, 0, 0); - background-color: rgba(0, 0, 0, 0.5); - z-index: 2147483647; -} - -div.modal-window { - display: table; - outline: none; - margin: 15% auto; - overflow: hidden; - border: var(--dark-border); - border-radius: 8px; - box-sizing: border-box; - box-shadow: var(--big-shadow); - background-color: var(--bg-color-light); - padding: 0; -} -div.modal-window:focus { - border: var(--intensive-border) !important; -} - - -div.modal-header { - text-align: center; - font-weight: bold; - padding: 3px 9px 3px 9px; - border-bottom: var(--normal-border); -} - -div.modal-content { - max-width: 500px; - max-height: 500px; - padding: 16px 9px 16px 9px; -} - -div.modal-buttons { - border-top: var(--dark-border); - margin: 0; - padding: 0; - font-size: 0; -} - -div.modal-buttons button { - height: 40px; -} diff --git a/kvmd/web/css/msd.css b/kvmd/web/css/msd.css deleted file mode 100644 index 91c6a280..00000000 --- a/kvmd/web/css/msd.css +++ /dev/null @@ -1,53 +0,0 @@ -div#msd-menu { - width: 450px; -} -div#msd-menu -div#msd-not-in-operate, -div#msd-current-image-broken, -div#msd-another-another-user-uploads, -input#msd-select-new-image-file, -div#msd-new-image { - display: none; -} - -table.msd-info { - -webkit-user-select: text; - -moz-user-select: text; - user-select: text; - border-spacing: 5px; - margin: 0 10px 0 10px; - font-size: 12px; -} -table.msd-info -td#msd-status, -td#msd-current-image-name, -td#msd-current-image-size, -td#msd-storage-size, -td#msd-new-image-name, -td#msd-new-image-size { - font-weight: bold; - max-width: 310px; - overflow: hidden; -} - -div#msd-progress { - background-color: var(--bg-color-selected); - height: 1.5em; - width: 100%; - position: relative; -} -div#msd-progress:before { - color: var(--fg-color-intensive); - content: attr(data-label); - font-size: 0.8em; - position: absolute; - text-align: center; - top: 4px; - left: 0; - right: 0; -} -div#msd-progress span#msd-progress-value { - background-color: var(--bg-color-intensive); - display: inline-block; - height: 100%; -} diff --git a/kvmd/web/css/stream.css b/kvmd/web/css/stream.css deleted file mode 100644 index 0ddcf780..00000000 --- a/kvmd/web/css/stream.css +++ /dev/null @@ -1,101 +0,0 @@ -img#stream-image { - width: 640px; - height: 480px; - display: block; - background-color: var(--bg-color-stream-screen); -} - -img.stream-image-active { - -webkit-filter: none; - filter: none; -} - -img.stream-image-inactive { - -webkit-filter: grayscale(100%) brightness(75%) sepia(75%); - filter: grayscale(100%) brightness(75%) sepia(75%); -} - -div#stream-box { - position: relative; - display: inline-block; - border: var(--dark-border); -} -div.stream-box-inactive::after { - cursor: wait; - content: ""; - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - display: inline-block; - background: radial-gradient(transparent 20%, black); -} -div.stream-box-mouse-enabled { - cursor: url("../svg/stream-mouse-cursor.svg"), pointer; -} - -select#stream-quality-select { - margin: 8px 0 8px 0; -} - -span#stream-size-value { -} -div#stream-size-slider-box { - margin-top: 5px; - display: flex; -} -@supports (-webkit-appearance:none) { - div#stream-size-slider-box input[type=range] { - cursor: pointer; - outline: none; - width: 100%; - box-shadow: none; - background: transparent; - margin: 8px 0 8px 0; - -webkit-appearance: none; - } -} -@supports not (-webkit-appearance:none) { - div#stream-size-slider-box input[type=range] { - cursor: pointer; - outline: none; - width: 100%; - box-shadow: none; - margin-left: 0; - margin-right: 0; - } -} -div#stream-size-slider-box input[type=range]::-webkit-slider-runnable-track { - height: 5px; - background: var(--bg-color-light); - border-radius: 3px; -} -div#stream-size-slider-box input[type=range]::-webkit-slider-thumb { - border: var(--intensive-border); - height: 18px; - width: 18px; - border-radius: 25px; - background: var(--bg-color-intensive); - -webkit-appearance: none; - margin-top: -7px; -} -div#stream-size-slider-box input[type=range]::-moz-range-track { - height: 5px; - background: var(--bg-color-light); - border-radius: 3px; -} -div#stream-size-slider-box input[type=range]::-moz-range-thumb { - border: var(--intensive-border); - height: 18px; - width: 18px; - border-radius: 25px; - background: var(--bg-color-intensive); -} - -div#stream-mouse-buttons { - display: none; - margin: 0; - padding: 0; - font-size: 0; -} diff --git a/kvmd/web/css/vars.css b/kvmd/web/css/vars.css deleted file mode 100644 index d6d5a604..00000000 --- a/kvmd/web/css/vars.css +++ /dev/null @@ -1,35 +0,0 @@ -:root { - --bg-color-normal: #36393f; - --bg-color-light: #484b51; - --bg-color-gray: #3b3e43; - --bg-color-dark: #17191d; - --bg-color-ctl: #202225; - --bg-color-intensive: #436a8a; - --bg-color-hovered: #1a1c1f; - --bg-color-selected: #171717; - - --fg-color-normal: #c3c3c3; - --fg-color-dark: #aaaaaa; - --fg-color-intensive: white; - --fg-color-inactive: #6c7481; - --fg-color-selected: var(--fg-color-inactive); - - --bg-color-stream-screen: black; - - --border-color-normal: var(--bg-color-normal); - --border-color-grey: var(--bg-color-ctl); - --border-color-dark: var(--bg-color-dark); - --border-color-intensive: #5b90bb; - --border-color-important: #ff6467; - - --dark-border: thin solid var(--border-color-dark); - --grey-border: thin solid var(--border-color-grey); - --normal-border: thin solid var(--border-color-normal); - --black-border: thin solid black; - --intensive-border: 2px solid var(--border-color-intensive); - --thin-intensive-border: thin solid var(--border-color-intensive); - - --micro-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.4); - --small-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); - --big-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.4); -} diff --git a/kvmd/web/css/windows.css b/kvmd/web/css/windows.css deleted file mode 100644 index 151ca59a..00000000 --- a/kvmd/web/css/windows.css +++ /dev/null @@ -1,57 +0,0 @@ -div.window { - visibility: hidden; - outline: none; - overflow: hidden; - position: fixed; - border: var(--dark-border); - border-radius: 8px; - box-sizing: border-box; - box-shadow: var(--big-shadow); - white-space: nowrap; - background-color: var(--bg-color-light); - padding: 30px 9px 9px 9px; -} -div.window:focus { - border: var(--intensive-border) !important; -} - -div.window-header { - overflow: hidden; - top: 0; - left: 0; - position: absolute; - width: 100%; - padding: 0; - height: 20px; - font-size: 0.8em; - color: var(--fg-color-dark); - border-bottom: var(--normal-border); -} - -div.window-grab { - overflow: hidden; - top: 0; - left: 0; - position: absolute; - width: 100%; - height: 20px; - cursor: move; - padding: 3px 0 2px 20px; -} - -div.window-header-grabbed { - color: var(--fg-color-intensive); - background-color: var(--bg-color-intensive); - border-bottom: var(--thin-intensive-border); -} - -button.window-button-close { - position: absolute; - top: -2px; - right: -6px; - width: 44px; - height: 24px; - padding-left: 0; - color: var(--fg-color-inactive); - display: inline-block; -} diff --git a/kvmd/web/favicon-16x16.png b/kvmd/web/favicon-16x16.png Binary files differdeleted file mode 100644 index 35b105ee..00000000 --- a/kvmd/web/favicon-16x16.png +++ /dev/null diff --git a/kvmd/web/favicon-32x32.png b/kvmd/web/favicon-32x32.png Binary files differdeleted file mode 100644 index 1575a4df..00000000 --- a/kvmd/web/favicon-32x32.png +++ /dev/null diff --git a/kvmd/web/favicon.ico b/kvmd/web/favicon.ico Binary files differdeleted file mode 100644 index 26af37a3..00000000 --- a/kvmd/web/favicon.ico +++ /dev/null diff --git a/kvmd/web/index.html b/kvmd/web/index.html deleted file mode 100644 index 90fbd11e..00000000 --- a/kvmd/web/index.html +++ /dev/null @@ -1,534 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8" /> - <title>Pi-KVM</title> - - <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> - <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> - <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> - <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> - - <link rel="stylesheet" href="css/vars.css"> - <link rel="stylesheet" href="css/main.css"> - <link rel="stylesheet" href="css/windows.css"> - <link rel="stylesheet" href="css/modals.css"> - <link rel="stylesheet" href="css/leds.css"> - <link rel="stylesheet" href="css/stream.css"> - <link rel="stylesheet" href="css/msd.css"> - <link rel="stylesheet" href="css/keyboard.css"> - <link rel="stylesheet" href="css/about.css"> - <link rel="stylesheet" href="css/mobile.css"> - - <script src="js/tools.js"></script> - <script src="js/stream.js"></script> - <script src="js/atx.js"></script> - <script src="js/keyboard.js"></script> - <script src="js/mouse.js"></script> - <script src="js/hid.js"></script> - <script src="js/msd.js"></script> - <script src="js/session.js"></script> - <script src="js/ui.js"></script> - <script src="js/main.js"></script> - - <script>window.onload = main;</script> -</head> - -<body> - <div id="bad-browser-modal" class="modal"> - <div class="modal-window"> - <div class="modal-content"> - Hello. You are using an incompatible or legacy browser.<br> - Please use one of the following browsers: - <hr> - <ul> - <li><a target="_blank" href="https://www.google.com/chrome">Google Chrome</a> <sup><i>recommended</i></sup></li> - <li><a target="_blank" href="https://www.chromium.org/Home">Chromium</a> <sup><i>recommended</i></sup></li> - <li><a target="_blank" href="https://www.mozilla.org/firefox">Mozilla Firefox</a></li> - <li><a target="_blank" href="https://www.apple.com/safari">Apple Safari</a></li> - <li><a target="_blank" href="https://www.opera.com">Opera</a></li> - </ul> - </div> - </div> - </div> - - <ul id="ctl"> - <li class="ctl-logo"><img id="logo" src="svg/logo.svg" alt="π-kvm" /></li> - - <li class="ctl-right-actions"> - <div class="ctl-dropdown"> - <a class="ctl-item" href="#"> - <img data-dont-hide-menu id="link-led" class="led-off" src="svg/link-led.svg" /> - <img data-dont-hide-menu id="stream-led" class="led-off" src="svg/stream-led.svg" /> - <img data-dont-hide-menu id="hid-keyboard-led" class="led-off" src="svg/hid-keyboard-led.svg" /> - <img data-dont-hide-menu id="hid-mouse-led" class="led-off" src="svg/hid-mouse-led.svg" /> - System ↴ - </a> - <div class="ctl-dropdown-content"> - <div class="ctl-dropdown-content-buttons"> - <button id="show-about-button">• Show about</button> - <hr> - <button id="show-keyboard-button">• Show keyboard</button> - <hr> - <button id="show-stream-button">• Show stream</button> - <button disabled id="stream-reset-button">• Reset stream</button> - </div> - <hr> - <div data-dont-hide-menu class="ctl-dropdown-content-text"> - Quality: - <select disabled id="stream-quality-select"> - <option>80%</option> - </select> - </div> - <hr> - <div data-dont-hide-menu class="ctl-dropdown-content-text"> - Stream size: <span id="stream-size-value">100%</span> - <div id="stream-size-slider-box"> - <input id="stream-size-slider" type="range" min="50" max="150" value="100" step="10" /> - </div> - </div> - </div> - </div> - </li> - - <li class="ctl-right-actions"> - <div class="ctl-dropdown"> - <a class="ctl-item" href="#"> - <img data-dont-hide-menu id="atx-power-led" class="led-off" src="svg/atx-power-led.svg" /> - <img data-dont-hide-menu id="atx-hdd-led" class="led-off" src="svg/atx-hdd-led.svg" /> - ATX ↴ - </a> - <div class="ctl-dropdown-content ctl-dropdown-content-buttons"> - <button disabled id="atx-power-button">• Click Power <sup><i>short</i></sup></button> - <button disabled id="atx-power-button-long">• Click Power <sup><i>long</i></sup></button> - <hr> - <button disabled id="atx-reset-button">• Click Reset</button> - </div> - </div> - </li> - - <li class="ctl-right-actions"> - <div class="ctl-dropdown"> - <a class="ctl-item" href="#"> - <img data-dont-hide-menu id="msd-led" class="led-off" src="svg/msd-led.svg" /> - Mass Storage ↴ - </a> - <div data-dont-hide-menu id="msd-menu" class="ctl-dropdown-content"> - <div id="msd-not-in-operate"> - <div class="ctl-dropdown-content-text"> - <table> - <tr> - <td><img src="svg/warning.svg" /></td> - <td><b>Mass Storage Device is not operational</b></td> - </tr> - </table> - </div> - <hr> - </div> - - <div id="msd-current-image-broken"> - <div class="ctl-dropdown-content-text"> - <table> - <tr> - <td><img src="svg/warning.svg" /></td> - <td><b>Current image is broken!</b><br><sub>Perhaps uploading was interrupted</sub></td> - </tr> - </table> - </div> - <hr> - </div> - - <div id="msd-another-another-user-uploads"> - <div class="ctl-dropdown-content-text"> - <table> - <tr> - <td><img src="svg/info.svg" /></td> - <td><b>Another user uploads an image</b></td> - </tr> - </table> - </div> - <hr> - </div> - - <table class="msd-info"> - <tr> - <td>Status: </td> - <td id="msd-status"></td> - </tr> - </table> - <hr> - - <table class="msd-info"> - <tr> - <td>Current image:</td> - <td id="msd-current-image-name"></td> - </tr> - <tr> - <td>Image size:</td> - <td id="msd-current-image-size"></td> - </tr> - <tr> - <td>Storage size:</td> - <td id="msd-storage-size"></td> - </tr> - </table> - <hr> - - <input type="file" id="msd-select-new-image-file" /> - <div class="ctl-dropdown-content-buttons buttons-row"> - <button disabled id="msd-select-new-image-button" class="row50">Upload new image</button> - <button disabled id="msd-upload-new-image-button" class="row25">Start</button> - <button disabled id="msd-abort-uploading-button" class="row25">Abort</button> - </div> - <hr> - - <div id="msd-new-image"> - <table class="msd-info"> - <tr> - <td>New name:</td> - <td id="msd-new-image-name"></td> - </tr> - <tr> - <td>Upload size:</td> - <td id="msd-new-image-size"></td> - </tr> - </table> - <hr> - <div class="ctl-dropdown-content-text"> - <div id="msd-progress"> - <span id="msd-progress-value"></span> - </div> - </div> - <hr> - </div> - - <div class="ctl-dropdown-content-buttons buttons-row"> - <button disabled data-force-hide-menu id="msd-switch-to-kvm-button" class="row50">• Switch drive to KVM</button> - <button disabled data-force-hide-menu id="msd-switch-to-server-button" class="row50">• Switch drive to Server</button> - </div> - </div> - </div> - </li> - - <li class="ctl-right-actions"> - <div class="ctl-dropdown"> - <a class="ctl-item" href="#"> - <img data-dont-hide-menu id="pak-led" class="led-off" src="svg/gear-led.svg" /> - Shortcuts ↴ - </a> - <div class="ctl-dropdown-content ctl-dropdown-content-buttons"> - <button disabled id="pak-button">• Paste-as-Keys <sup><i>ascii-only</i></sup></button> - <hr> - <button data-shortcut="ControlLeft AltLeft Delete">• Ctrl+Alt+Del</button> - <hr> - <button data-shortcut="ControlLeft KeyW">• Ctrl+W</button> - <button data-shortcut="ControlLeft Escape">• Ctrl+Esc</button> - <button data-shortcut="AltLeft Tab">• Alt+Tab</button> - <button data-shortcut="AltLeft Escape">• Alt+Escape</button> - <button data-shortcut="AltLeft Space">• Alt+Space</button> - <button data-shortcut="AltLeft Enter">• Alt+Enter</button> - <button data-shortcut="AltLeft F4">• Alt+F4</button> - <hr> - <button data-shortcut="AltLeft PrintScreen">• Alt+PrtSc</button> - <button data-shortcut="PrintScreen">• PrtSc</button> - <hr> - <button data-shortcut="AltLeft PrintScreen KeyR">• Alt+SysRq+R</button> - <button data-shortcut="AltLeft PrintScreen KeyE">• Alt+SysRq+E</button> - <button data-shortcut="AltLeft PrintScreen KeyI">• Alt+SysRq+I</button> - <button data-shortcut="AltLeft PrintScreen KeyS">• Alt+SysRq+S</button> - <button data-shortcut="AltLeft PrintScreen KeyU">• Alt+SysRq+U</button> - <button data-shortcut="AltLeft PrintScreen KeyB">• Alt+SysRq+B</button> - </div> - </div> - </li> - </ul> - - <div id="stream-window" class="window" style="z-index: 1" tabindex="0"> - <div id="stream-window-header" class="window-header"><div class="window-grab">Stream</div></div> - <div id="stream-box" class="stream-box-inactive"> - <img id="stream-image" class="stream-image-inactive" src="png/blank-stream.png" /> - </div> - <div id="stream-mouse-buttons"> - <button data-mouse-button="left" class="row50">Left Click</button> - <button data-mouse-button="right" class="row50">Right Click</button> - </div> - </div> - - <div id="keyboard-window" class="window" tabindex="0"> - <div id="keyboard-window-header" class="window-header"> - <div class="window-grab">Virtual Keyboard</div> - <button class="window-button-close">×</button> - </div> - <div id="keyboard-desktop" class="keyboard" align="center"> - <div class="keyboard-block"> - <div class="keyboard-row"> - <div data-key="Escape" class="key small"><p>Esc</p></div> - <div class="empty-key" style="width:24px"></div> - <div data-key="F1" class="key small"><p>F1</p></div> - <div data-key="F2" class="key small"><p>F2</p></div> - <div data-key="F3" class="key small"><p>F3</p></div> - <div data-key="F4" class="key small"><p>F4</p></div> - <div class="empty-key" style="width:10px"></div> - <div data-key="F5" class="key small"><p>F5</p></div> - <div data-key="F6" class="key small"><p>F6</p></div> - <div data-key="F7" class="key small"><p>F7</p></div> - <div data-key="F8" class="key small"><p>F8</p></div> - <div class="empty-key" style="width:10px"></div> - <div data-key="F9" class="key small"><p>F9</p></div> - <div data-key="F10" class="key small"><p>F10</p></div> - <div data-key="F11" class="key small"><p>F11</p></div> - <div data-key="F12" class="key small"><p>F12</p></div> - </div> - <hr> - <div class="keyboard-row"> - <div data-key="Backquote" class="key"><p>~<br>`</p></div> - <div data-key="Digit1" class="key"><p>!<br>1</p></div> - <div data-key="Digit2" class="key"><p>@<br>2</p></div> - <div data-key="Digit3" class="key"><p>#<br>3</p></div> - <div data-key="Digit4" class="key"><p>$<br>4</p></div> - <div data-key="Digit5" class="key"><p>%<br>5</p></div> - <div data-key="Digit6" class="key"><p>^<br>6</p></div> - <div data-key="Digit7" class="key"><p>&<br>7</p></div> - <div data-key="Digit8" class="key"><p>*<br>8</p></div> - <div data-key="Digit9" class="key"><p>(<br>9</p></div> - <div data-key="Digit0" class="key"><p>)<br>0</p></div> - <div data-key="Minus" class="key"><p>_<br>-</p></div> - <div data-key="Equal" class="key"><p>+<br>=</p></div> - <div data-key="Backspace" class="key wide-2 right"><p>↤</p></div> - </div> - <div class="keyboard-row"> - <div data-key="Tab" class="key wide-2 left"><p>⇤<br>⇥</p></div> - <div data-key="KeyQ" class="key single"><p>Q</p></div> - <div data-key="KeyW" class="key single"><p>W</p></div> - <div data-key="KeyE" class="key single"><p>E</p></div> - <div data-key="KeyR" class="key single"><p>R</p></div> - <div data-key="KeyT" class="key single"><p>T</p></div> - <div data-key="KeyY" class="key single"><p>Y</p></div> - <div data-key="KeyU" class="key single"><p>U</p></div> - <div data-key="KeyI" class="key single"><p>I</p></div> - <div data-key="KeyO" class="key single"><p>O</p></div> - <div data-key="KeyP" class="key single"><p>P</p></div> - <div data-key="BracketLeft" class="key"><p>{<br>[</p></div> - <div data-key="BracketRight" class="key"><p>}<br>]</p></div> - <div data-key="Backslash" class="key"><p>|<br>\</p></div> - </div> - <div class="keyboard-row"> - <div data-key="CapsLock" class="key wide-3 left small"><p>Caps Lock</p></div> - <div data-key="KeyA" class="key single"><p>A</p></div> - <div data-key="KeyS" class="key single"><p>S</p></div> - <div data-key="KeyD" class="key single"><p>D</p></div> - <div data-key="KeyF" class="key single"><p>F</p></div> - <div data-key="KeyG" class="key single"><p>G</p></div> - <div data-key="KeyH" class="key single"><p>H</p></div> - <div data-key="KeyJ" class="key single"><p>J</p></div> - <div data-key="KeyK" class="key single"><p>K</p></div> - <div data-key="KeyL" class="key single"><p>L</p></div> - <div data-key="Semicolon" class="key"><p>:<br>;</p></div> - <div data-key="Quote" class="key"><p>"<br>'</p></div> - <div data-key="Enter" class="key wide-3 right small"><p>Enter<br>↵</p></div> - </div> - <div class="keyboard-row"> - <div data-key="ShiftLeft" class="modifier wide-4 left small"><p><b>•</b><br>Shift</p></div> - <div data-key="KeyZ" class="key single"><p>Z</p></div> - <div data-key="KeyX" class="key single"><p>X</p></div> - <div data-key="KeyC" class="key single"><p>C</p></div> - <div data-key="KeyV" class="key single"><p>V</p></div> - <div data-key="KeyB" class="key single"><p>B</p></div> - <div data-key="KeyN" class="key single"><p>N</p></div> - <div data-key="KeyM" class="key single"><p>M</p></div> - <div data-key="Comma" class="key"><p><<br>,</p></div> - <div data-key="Period" class="key"><p>><br>.</p></div> - <div data-key="Slash" class="key"><p>?<br>/</p></div> - <div data-key="ShiftRight" class="modifier wide-4 right small"><p><b>•</b><br>Shift</p></div> - </div> - <div class="keyboard-row"> - <div data-key="ControlLeft" class="modifier wide-1 left small"><p><b>•</b><br>Ctrl</p></div> - <div data-key="MetaLeft" class="modifier wide-1 left small"><p><b>•</b><br>Win</p></div> - <div data-key="AltLeft" class="modifier wide-1 left small"><p><b>•</b><br>Alt</p></div> - <div data-key="Space" class="key wide-5"></div> - <div data-key="AltRight" class="modifier wide-1 right small"><p><b>•</b><br>Alt</p></div> - <div data-key="MetaRight" class="modifier wide-1 right small"><p><b>•</b><br>Win</p></div> - <div data-key="ControlRight" class="modifier wide-1 right small"><p><b>•</b><br>Ctrl</p></div> - </div> - </div> - <div class="keyboard-block"> - <div class="keyboard-row"> - <div data-key="PrintScreen" class="modifier small"><p><b>•</b><br>Pt/Sq</p></div> - <div data-key="ScrollLock" class="key small"><p>ScrLk</p></div> - <div data-key="Pause" class="key small"><p>P/Brk</p></div> - </div> - <hr> - <div class="keyboard-row"> - <div data-key="Insert" class="key small"><p>Ins</p></div> - <div data-key="Home" class="key small"><p>Home</p></div> - <div data-key="PageUp" class="key small"><p>PgUp</p></div> - </div> - <div class="keyboard-row"> - <div data-key="Delete" class="key small"><p>Del</p></div> - <div data-key="End" class="key small"><p>End</p></div> - <div data-key="PageDown" class="key small"><p>PgDn</p></div> - </div> - <div class="keyboard-row"></div> - <div class="keyboard-row"> - <div class="empty-key"></div> - <div data-key="ArrowUp" class="key"><p>↑</p></div> - <div class="empty-key"></div> - </div> - <div class="keyboard-row"> - <div data-key="ArrowLeft" class="key"><p>←</p></div> - <div data-key="ArrowDown" class="key"><p>↓</p></div> - <div data-key="ArrowRight" class="key"><p>→</p></div> - </div> - </div> - </div> - - <div id="keyboard-mobile" class="keyboard" align="center"> - <div class="keyboard-block"> - <div class="keyboard-row"> - <div data-key="Escape" class="key margin-0 small"><p>Esc</p></div> - <div class="empty-key" style="width:4px"></div> - <div data-key="F1" class="key wide-0 margin-0 small"><p>F1</p></div> - <div data-key="F2" class="key wide-0 margin-0 small"><p>F2</p></div> - <div data-key="F3" class="key wide-0 margin-0 small"><p>F3</p></div> - <div data-key="F4" class="key wide-0 margin-0 small"><p>F4</p></div> - <div data-key="F5" class="key wide-0 margin-0 small"><p>F5</p></div> - <div data-key="F6" class="key wide-0 margin-0 small"><p>F6</p></div> - <div data-key="F7" class="key wide-0 margin-0 small"><p>F7</p></div> - <div data-key="F8" class="key wide-0 margin-0 small"><p>F8</p></div> - <div data-key="F9" class="key wide-0 margin-0 small"><p>F9</p></div> - <div data-key="F10" class="key wide-0 margin-0 small"><p>F10</p></div> - <div data-key="F11" class="key wide-0 margin-0 small"><p>F11</p></div> - <div data-key="F12" class="key wide-0 margin-0 small"><p>F12</p></div> - <div class="empty-key" style="width:5px"></div> - <div data-key="PrintScreen" class="modifier margin-0 small"><p><b>•</b><br>Pt/Sq</p></div> - <div data-key="ScrollLock" class="key margin-0 small"><p>ScrLk</p></div> - <div data-key="Pause" class="key margin-0 small"><p>P/Brk</p></div> - <div data-key="Insert" class="key margin-0 small"><p>Ins</p></div> - <div data-key="Home" class="key margin-0 small"><p>Home</p></div> - <div data-key="End" class="key margin-0 small"><p>End</p></div> - <div data-key="Delete" class="key margin-0 small"><p>Del</p></div> - </div> - <hr> - <div class="keyboard-row"> - <div data-key="Backquote" class="key"><p>~<br>`</p></div> - <div data-key="Digit1" class="key"><p>!<br>1</p></div> - <div data-key="Digit2" class="key"><p>@<br>2</p></div> - <div data-key="Digit3" class="key"><p>#<br>3</p></div> - <div data-key="Digit4" class="key"><p>$<br>4</p></div> - <div data-key="Digit5" class="key"><p>%<br>5</p></div> - <div data-key="Digit6" class="key"><p>^<br>6</p></div> - <div data-key="Digit7" class="key"><p>&<br>7</p></div> - <div data-key="Digit8" class="key"><p>*<br>8</p></div> - <div data-key="Digit9" class="key"><p>(<br>9</p></div> - <div data-key="Digit0" class="key"><p>)<br>0</p></div> - <div data-key="Minus" class="key"><p>_<br>-</p></div> - <div data-key="Equal" class="key"><p>+<br>=</p></div> - <div data-key="Backspace" class="key wide-3 right" style="width:101px"><p>↤</p></div> - </div> - <div class="keyboard-row"> - <div data-key="Tab" class="key wide-2 left"><p>⇤<br>⇥</p></div> - <div data-key="KeyQ" class="key single"><p>Q</p></div> - <div data-key="KeyW" class="key single"><p>W</p></div> - <div data-key="KeyE" class="key single"><p>E</p></div> - <div data-key="KeyR" class="key single"><p>R</p></div> - <div data-key="KeyT" class="key single"><p>T</p></div> - <div data-key="KeyY" class="key single"><p>Y</p></div> - <div data-key="KeyU" class="key single"><p>U</p></div> - <div data-key="KeyI" class="key single"><p>I</p></div> - <div data-key="KeyO" class="key single"><p>O</p></div> - <div data-key="KeyP" class="key single"><p>P</p></div> - <div data-key="BracketLeft" class="key"><p>{<br>[</p></div> - <div data-key="BracketRight" class="key"><p>}<br>]</p></div> - <div data-key="Backslash" class="key wide-2 left" style="width:78px"><p>|<br>\</p></div> - </div> - <div class="keyboard-row"> - <div data-key="CapsLock" class="key wide-3 left small"><p>Caps Lock</p></div> - <div data-key="KeyA" class="key single"><p>A</p></div> - <div data-key="KeyS" class="key single"><p>S</p></div> - <div data-key="KeyD" class="key single"><p>D</p></div> - <div data-key="KeyF" class="key single"><p>F</p></div> - <div data-key="KeyG" class="key single"><p>G</p></div> - <div data-key="KeyH" class="key single"><p>H</p></div> - <div data-key="KeyJ" class="key single"><p>J</p></div> - <div data-key="KeyK" class="key single"><p>K</p></div> - <div data-key="KeyL" class="key single"><p>L</p></div> - <div data-key="Semicolon" class="key"><p>:<br>;</p></div> - <div data-key="Quote" class="key"><p>"<br>'</p></div> - <div data-key="Enter" class="key wide-4 right small" style="width:116px"><p>Enter<br>↵</p></div> - </div> - <div class="keyboard-row"> - <div data-key="ShiftLeft" class="modifier wide-4 left small"><p><b>•</b><br>Shift</p></div> - <div data-key="KeyZ" class="key single"><p>Z</p></div> - <div data-key="KeyX" class="key single"><p>X</p></div> - <div data-key="KeyC" class="key single"><p>C</p></div> - <div data-key="KeyV" class="key single"><p>V</p></div> - <div data-key="KeyB" class="key single"><p>B</p></div> - <div data-key="KeyN" class="key single"><p>N</p></div> - <div data-key="KeyM" class="key single"><p>M</p></div> - <div data-key="Comma" class="key"><p><<br>,</p></div> - <div data-key="Period" class="key"><p>><br>.</p></div> - <div data-key="Slash" class="key"><p>?<br>/</p></div> - <div data-key="PageUp" class="key small"><p>PgUp</p></div> - <div data-key="ArrowUp" class="key"><p>↑</p></div> - <div data-key="PageDown" class="key small"><p>PgDn</p></div> - </div> - <div class="keyboard-row"> - <div data-key="ControlLeft" class="modifier wide-1 left small"><p><b>•</b><br>Ctrl</p></div> - <div data-key="MetaLeft" class="modifier wide-1 left small"><p><b>•</b><br>Win</p></div> - <div data-key="AltLeft" class="modifier wide-1 left small"><p><b>•</b><br>Alt</p></div> - <div data-key="Space" class="key" style="width:190px"></div> - <div data-key="AltRight" class="modifier right small"><p><b>•</b><br>Alt</p></div> - <div data-key="MetaRight" class="modifier right small"><p><b>•</b><br>Win</p></div> - <div data-key="ShiftRight" class="modifier right small"><p><b>•</b><br>Shift</p></div> - <div data-key="ControlRight" class="modifier right small"><p><b>•</b><br>Ctrl</p></div> - <div data-key="ArrowLeft" class="key"><p>←</p></div> - <div data-key="ArrowDown" class="key"><p>↓</p></div> - <div data-key="ArrowRight" class="key"><p>→</p></div> - </div> - </div> - </div> - </div> - - <div id="about-window" class="window" tabindex="0"> - <div class="window-header"> - <div class="window-grab">About Pi-KVM</div> - <button class="window-button-close">×</button> - </div> - <div id="about"> - <table> - <tr> - <td>Kvmd:</td> - <td id="about-version-kvmd"></td> - </tr> - <tr> - <td>Python:</td> - <td id="about-version-python"></td> - </tr> - <tr> - <td>Platform:</td> - <td id="about-version-platform"></td> - </tr> - </table> - <p> - This program is free software: you can redistribute it and/or modify<br> - it under the terms of the GNU General Public License as published by<br> - the Free Software Foundation, either version 3 of the License, or<br> - (at your option) any later version.<br> - <br> - This program is distributed in the hope that it will be useful,<br> - but WITHOUT ANY WARRANTY; without even the implied warranty of<br> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> - GNU General Public License for more details.<br> - <br> - You should have received a copy of the GNU General Public License<br> - along with this program. If not, see <a target="_blank" href="https://www.gnu.org/licenses">https://www.gnu.org/licenses</a>. - </p> - </div> - </div> - - <ul id="footer"> - <li id="kvmd-version" class="footer-left"></li> - <li class="footer-right"><a target="_blank" href="https://github.com/pi-kvm">Pi-KVM Project</a></li> - </ul> -</body> -</html> diff --git a/kvmd/web/js/atx.js b/kvmd/web/js/atx.js deleted file mode 100644 index f4b4811a..00000000 --- a/kvmd/web/js/atx.js +++ /dev/null @@ -1,63 +0,0 @@ -function Atx() { - var self = this; - - /********************************************************************************/ - - var __init__ = function() { - $("atx-power-led").title = "Power Led"; - $("atx-hdd-led").title = "Disk Activity Led"; - - tools.setOnClick($("atx-power-button"), () => __clickButton("power", null, "Are you sure to click the power button?")); - tools.setOnClick($("atx-power-button-long"), () => __clickButton("power_long", 15000, "Are you sure to perform the long press of the power button?")); - tools.setOnClick($("atx-reset-button"), () => __clickButton("reset", null, "Are you sure to reboot the server?")); - }; - - /********************************************************************************/ - - self.loadInitialState = function() { - var http = tools.makeRequest("GET", "/kvmd/atx", function() { - if (http.readyState === 4) { - if (http.status === 200) { - __setButtonsBusy(JSON.parse(http.responseText).result.busy); - } else { - setTimeout(self.loadInitialState, 1000); - } - } - }); - }; - - self.setState = function(state) { - __setButtonsBusy(state.busy); - $("atx-power-led").className = (state.leds.power ? "led-on" : "led-off"); - $("atx-hdd-led").className = (state.leds.hdd ? "led-hdd-busy" : "led-off"); - }; - - self.clearState = function() { - $("atx-power-led").className = "led-off"; - $("atx-hdd-led").className = "led-off"; - }; - - var __clickButton = function(button, timeout, confirm_msg) { - ui.confirm(confirm_msg).then(function(ok) { - if (ok) { - var http = tools.makeRequest("POST", "/kvmd/atx/click?button=" + button, function() { - if (http.readyState === 4) { - if (http.status === 409) { - ui.error("Performing another ATX operation for other client.<br>Please try again later"); - } else if (http.status !== 200) { - ui.error("Click error:<br>", http.responseText); - } - } - }, timeout); - } - }); - }; - - var __setButtonsBusy = function(busy) { - $("atx-power-button").disabled = busy; - $("atx-power-button-long").disabled = busy; - $("atx-reset-button").disabled = busy; - }; - - __init__(); -} diff --git a/kvmd/web/js/hid.js b/kvmd/web/js/hid.js deleted file mode 100644 index ca535157..00000000 --- a/kvmd/web/js/hid.js +++ /dev/null @@ -1,186 +0,0 @@ -function Hid() { - var self = this; - - /********************************************************************************/ - - var __ws = null; - - var __chars_to_codes = {}; - var __codes_delay = 50; - - var __keyboard = new Keyboard(); - var __mouse = new Mouse(); - - var __init__ = function() { - var __hidden_attr = null; - var __visibility_change_attr = null; - - if (typeof document.hidden !== "undefined") { - __hidden_attr = "hidden"; - __visibility_change_attr = "visibilitychange"; - } else if (typeof document.webkitHidden !== "undefined") { - __hidden_attr = "webkitHidden"; - __visibility_change_attr = "webkitvisibilitychange"; - } else if (typeof document.mozHidden !== "undefined") { - __hidden_attr = "mozHidden"; - __visibility_change_attr = "mozvisibilitychange"; - } - - if (__visibility_change_attr) { - document.addEventListener( - __visibility_change_attr, - function() { - if (document[__hidden_attr]) { - __releaseAll(); - } - }, - false - ); - } - - window.onpagehide = __releaseAll; - window.onblur = __releaseAll; - - if (window.navigator.clipboard && window.navigator.clipboard.readText) { - __chars_to_codes = __buildCharsToCodes(); - tools.setOnClick($("pak-button"), __pasteAsKeysFromClipboard); - } else { - $("pak-button").title = $("pak-led").title = "Your browser does not support the Clipboard API.\nUse Google Chrome or Chromium."; - } - - Array.prototype.forEach.call(document.querySelectorAll("[data-shortcut]"), function(el_shortcut) { - tools.setOnClick(el_shortcut, () => __emitShortcut(el_shortcut.getAttribute("data-shortcut").split(" "))); - }); - }; - - /********************************************************************************/ - - self.setSocket = function(ws) { - __ws = ws; - __keyboard.setSocket(ws); - __mouse.setSocket(ws); - $("pak-button").disabled = !(window.navigator.clipboard && window.navigator.clipboard.readText && ws); - }; - - var __releaseAll = function() { - __keyboard.releaseAll(); - }; - - var __emitShortcut = function(codes) { - return new Promise(function(resolve) { - tools.debug("Emitting keys:", codes); - - var raw_events = []; - [[codes, true], [codes.slice().reverse(), false]].forEach(function(op) { - var [op_codes, state] = op; - op_codes.forEach(function(code) { - raw_events.push({code: code, state: state}); - }); - }); - - var index = 0; - var iterate = () => setTimeout(function() { - __keyboard.fireEvent(raw_events[index].code, raw_events[index].state); - ++index; - if (index < raw_events.length) { - iterate(); - } else { - resolve(null); - } - }, __codes_delay); - iterate(); - }); - }; - - var __buildCharsToCodes = function() { - var chars_to_codes = { - "\n": ["Enter"], - "\t": ["Tab"], - " ": ["Space"], - "`": ["Backquote"], "~": ["ShiftLeft", "Backquote"], - "\\": ["Backslash"], "|": ["ShiftLeft", "Backslash"], - "[": ["BracketLeft"], "{": ["ShiftLeft", "BracketLeft"], - "]": ["BracketLeft"], "}": ["ShiftLeft", "BracketRight"], - ",": ["Comma"], "<": ["ShiftLeft", "Comma"], - ".": ["Period"], ">": ["ShiftLeft", "Period"], - "1": ["Digit1"], "!": ["ShiftLeft", "Digit1"], - "2": ["Digit2"], "@": ["ShiftLeft", "Digit2"], - "3": ["Digit3"], "#": ["ShiftLeft", "Digit3"], - "4": ["Digit4"], "$": ["ShiftLeft", "Digit4"], - "5": ["Digit5"], "%": ["ShiftLeft", "Digit5"], - "6": ["Digit6"], "^": ["ShiftLeft", "Digit6"], - "7": ["Digit7"], "&": ["ShiftLeft", "Digit7"], - "8": ["Digit8"], "*": ["ShiftLeft", "Digit8"], - "9": ["Digit9"], "(": ["ShiftLeft", "Digit9"], - "0": ["Digit0"], ")": ["ShiftLeft", "Digit0"], - "-": ["Minus"], "_": ["ShiftLeft", "Minus"], - "'": ["Quote"], "\"": ["ShiftLeft", "Quote"], - ";": ["Semicolon"], ":": ["ShiftLeft", "Semicolon"], - "/": ["Slash"], "?": ["ShiftLeft", "Slash"], - "=": ["Equal"], "+": ["ShiftLeft", "Equal"], - }; - - for (var ch = "a".charCodeAt(0); ch <= "z".charCodeAt(0); ++ch) { - var low = String.fromCharCode(ch); - var up = low.toUpperCase(); - var code = "Key" + up; - chars_to_codes[low] = [code]; - chars_to_codes[up] = ["ShiftLeft", code]; - } - - return chars_to_codes; - }; - - var __pasteAsKeysFromClipboard = function() { - window.navigator.clipboard.readText().then(__pasteAsKeys); - }; - - var __pasteAsKeys = function(text) { - text = text.replace(/[^\x00-\x7F]/g, ""); // eslint-disable-line no-control-regex - if (text) { - var clipboard_codes = []; - var codes_count = 0; - [...text].forEach(function(ch) { - var codes = __chars_to_codes[ch]; - if (codes) { - codes_count += codes.length; - clipboard_codes.push(codes); - } - }); - - var confirm_msg = ( - "You are going to automatically type " + codes_count - + " characters from the system clipboard." - + " It will take " + (__codes_delay * codes_count * 2 / 1000) + " seconds.<br>" - + "<br>Are you sure you want to continue?<br>" - ); - - ui.confirm(confirm_msg).then(function(ok) { - if (ok) { - $("pak-button").disabled = true; - $("pak-led").className = "led-pak-typing"; - $("pak-led").title = "Autotyping..."; - - tools.debug("Paste-as-keys:", text); - - var index = 0; - var iterate = function() { - __emitShortcut(clipboard_codes[index]).then(function() { - ++index; - if (index < clipboard_codes.length && __ws) { - iterate(); - } else { - $("pak-button").disabled = false; - $("pak-led").className = "led-off"; - $("pak-led").title = ""; - } - }); - }; - iterate(); - } - }); - } - }; - - __init__(); -} diff --git a/kvmd/web/js/keyboard.js b/kvmd/web/js/keyboard.js deleted file mode 100644 index b8c4797b..00000000 --- a/kvmd/web/js/keyboard.js +++ /dev/null @@ -1,187 +0,0 @@ -function Keyboard() { - var self = this; - - /********************************************************************************/ - - var __ws = null; - - var __keys = [].slice.call(document.querySelectorAll("div#keyboard-desktop div.keyboard-block div.keyboard-row div.key")); - var __modifiers = [].slice.call(document.querySelectorAll("div#keyboard-desktop div.keyboard-block div.keyboard-row div.modifier")); - - var __mac_cmd_hook = (( - window.navigator.oscpu - || window.navigator.platform - || window.navigator.appVersion - || "Unknown" - ).indexOf("Mac") !== -1); - - var __init__ = function() { - $("hid-keyboard-led").title = "Keyboard free"; - - $("keyboard-window").onkeydown = (event) => __keyboardHandler(event, true); - $("keyboard-window").onkeyup = (event) => __keyboardHandler(event, false); - $("keyboard-window").onfocus = __updateLeds; - $("keyboard-window").onblur = __updateLeds; - - $("stream-window").onkeydown = (event) => __keyboardHandler(event, true); - $("stream-window").onkeyup = (event) => __keyboardHandler(event, false); - $("stream-window").onfocus = __updateLeds; - $("stream-window").onblur = __updateLeds; - - Array.prototype.forEach.call($$("key"), function(el_key) { - tools.setOnDown(el_key, () => __clickHandler(el_key, true)); - tools.setOnUp(el_key, () => __clickHandler(el_key, false)); - el_key.onmouseout = function() { - if (__isPressed(el_key)) { - __clickHandler(el_key, false); - } - }; - }); - - Array.prototype.forEach.call($$("modifier"), function(el_key) { - tools.setOnDown(el_key, () => __toggleModifierHandler(el_key)); - }); - - if (__mac_cmd_hook) { - tools.info("Keyboard: enabled Mac-CMD-Hook"); - } - }; - - /********************************************************************************/ - - self.setSocket = function(ws) { - if (ws !== __ws) { - self.releaseAll(); - __ws = ws; - } - __updateLeds(); - }; - - self.releaseAll = function() { - __keys.concat(__modifiers).forEach(function(el_key) { - if (__isActive(el_key)) { - self.fireEvent(el_key.getAttribute("data-key"), false); - } - }); - }; - - self.fireEvent = function(code, state) { - __keyboardHandler({code: code}, state); - }; - - var __updateLeds = function() { - if (__ws && (document.activeElement === $("stream-window") || document.activeElement === $("keyboard-window"))) { - $("hid-keyboard-led").className = "led-on"; - $("hid-keyboard-led").title = "Keyboard captured"; - } else { - $("hid-keyboard-led").className = "led-off"; - $("hid-keyboard-led").title = "Keyboard free"; - } - }; - - var __keyboardHandler = function(event, state) { - if (event.preventDefault) { - event.preventDefault(); - } - var el_key = document.querySelector("[data-key='" + event.code + "']"); - if (el_key && !event.repeat) { - __commonHandler(el_key, state, "pressed"); - if (__mac_cmd_hook) { - // https://bugs.chromium.org/p/chromium/issues/detail?id=28089 - // https://bugzilla.mozilla.org/show_bug.cgi?id=1299553 - if ((event.code === "MetaLeft" || event.code === "MetaRight") && !state) { - __keys.forEach(function(el_key) { - if (__isActive(el_key)) { - self.fireEvent(el_key.getAttribute("data-key"), false); - } - }); - } - } - __unholdModifiers(); - } - }; - - var __clickHandler = function(el_key, state) { - __commonHandler(el_key, state, "pressed"); - __unholdModifiers(); - }; - - var __toggleModifierHandler = function(el_key) { - __commonHandler(el_key, !__isActive(el_key), "holded"); - }; - - var __unholdModifiers = function() { - __modifiers.forEach(function(el_key) { - if (__isHolded(el_key)) { - __deactivate(el_key); - __sendKey(el_key, false); - } - }); - }; - - var __commonHandler = function(el_key, state, cls) { - if (state && !__isActive(el_key)) { - __deactivate(el_key); - __activate(el_key, cls); - __sendKey(el_key, true); - } else { - __deactivate(el_key); - __sendKey(el_key, false); - } - }; - - var __isPressed = function(el_key) { - var is_pressed = false; - Array.prototype.forEach.call(__resolveKeys(el_key), function(el_key) { - is_pressed = (is_pressed || el_key.classList.contains("pressed")); - }); - return is_pressed; - }; - - var __isHolded = function(el_key) { - var is_holded = false; - Array.prototype.forEach.call(__resolveKeys(el_key), function(el_key) { - is_holded = (is_holded || el_key.classList.contains("holded")); - }); - return is_holded; - }; - - var __isActive = function(el_key) { - var is_active = false; - Array.prototype.forEach.call(__resolveKeys(el_key), function(el_key) { - is_active = (is_active || el_key.classList.contains("pressed") || el_key.classList.contains("holded")); - }); - return is_active; - }; - - var __activate = function(el_key, cls) { - Array.prototype.forEach.call(__resolveKeys(el_key), function(el_key) { - el_key.classList.add(cls); - }); - }; - - var __deactivate = function(el_key) { - Array.prototype.forEach.call(__resolveKeys(el_key), function(el_key) { - el_key.classList.remove("pressed"); - el_key.classList.remove("holded"); - }); - }; - - var __resolveKeys = function(el_key) { - return document.querySelectorAll("[data-key='" + el_key.getAttribute("data-key") + "']"); - }; - - var __sendKey = function(el_key, state) { - var code = el_key.getAttribute("data-key"); - tools.debug("Key", (state ? "pressed:" : "released:"), code); - if (__ws) { - __ws.send(JSON.stringify({ - event_type: "key", - key: code, - state: state, - })); - } - }; - - __init__(); -} diff --git a/kvmd/web/js/main.js b/kvmd/web/js/main.js deleted file mode 100644 index 211e8525..00000000 --- a/kvmd/web/js/main.js +++ /dev/null @@ -1,16 +0,0 @@ -var ui; - -function main() { - if ( - !window.navigator - || window.navigator.userAgent.indexOf("MSIE ") > 0 - || window.navigator.userAgent.indexOf("Trident/") > 0 - || window.navigator.userAgent.indexOf("Edge/") > 0 - ) { - $("bad-browser-modal").style.visibility = "visible"; - } else { - ui = new Ui(); - new Session(new Atx(), new Hid(), new Msd()); - new Stream(); - } -} diff --git a/kvmd/web/js/mouse.js b/kvmd/web/js/mouse.js deleted file mode 100644 index e4038436..00000000 --- a/kvmd/web/js/mouse.js +++ /dev/null @@ -1,146 +0,0 @@ -function Mouse() { - var self = this; - - /********************************************************************************/ - - var __ws = null; - - var __current_pos = {x: 0, y:0}; - var __sent_pos = {x: 0, y:0}; - - var __stream_hovered = false; - - var __init__ = function() { - $("hid-mouse-led").title = "Mouse free"; - - $("stream-box").onmouseenter = __hoverStream; - $("stream-box").onmouseleave = __leaveStream; - $("stream-box").onmousedown = (event) => __buttonHandler(event, true); - $("stream-box").onmouseup = (event) => __buttonHandler(event, false); - $("stream-box").oncontextmenu = (event) => event.preventDefault(); - $("stream-box").onmousemove = __moveHandler; - $("stream-box").onwheel = __wheelHandler; - - $("stream-box").ontouchstart = (event) => __touchMoveHandler(event); - Array.prototype.forEach.call(document.querySelectorAll("[data-mouse-button]"), function(el_button) { - var button = el_button.getAttribute("data-mouse-button"); - tools.setOnDown(el_button, () => __sendButton(button, true)); - tools.setOnUp(el_button, () => __sendButton(button, false)); - }); - - setInterval(__sendMove, 100); - }; - - /********************************************************************************/ - - self.setSocket = function(ws) { - __ws = ws; - if (ws) { - $("stream-box").classList.add("stream-box-mouse-enabled"); - } else { - $("stream-box").classList.remove("stream-box-mouse-enabled"); - } - }; - - var __hoverStream = function() { - __stream_hovered = true; - __updateLeds(); - }; - - var __leaveStream = function() { - __stream_hovered = false; - __updateLeds(); - }; - - var __updateLeds = function() { - if (__ws && __stream_hovered) { - $("hid-mouse-led").className = "led-on"; - $("hid-mouse-led").title = "Mouse tracked"; - } else { - $("hid-mouse-led").className = "led-off"; - $("hid-mouse-led").title = "Mouse free"; - } - }; - - var __buttonHandler = function(event, state) { - // https://www.w3schools.com/jsref/event_button.asp - event.preventDefault(); - switch (event.button) { - case 0: __sendButton("left", state); break; - case 2: __sendButton("right", state); break; - } - }; - - var __touchMoveHandler = function(event) { - event.preventDefault(); - if (event.touches[0].target && event.touches[0].target.getBoundingClientRect) { - var rect = event.touches[0].target.getBoundingClientRect(); - __current_pos = { - x: Math.round(event.touches[0].clientX - rect.left), - y: Math.round(event.touches[0].clientY - rect.top), - }; - __sendMove(); - } - }; - - var __moveHandler = function(event) { - var rect = event.target.getBoundingClientRect(); - __current_pos = { - x: Math.round(event.clientX - rect.left), - y: Math.round(event.clientY - rect.top), - }; - }; - - - var __sendButton = function(button, state) { - tools.debug("Mouse button", (state ? "pressed:" : "released:"), button); - __sendMove(); - if (__ws) { - __ws.send(JSON.stringify({ - event_type: "mouse_button", - button: button, - state: state, - })); - } - }; - - var __sendMove = function() { - var pos = __current_pos; - if (pos.x !== __sent_pos.x || pos.y !== __sent_pos.y) { - var el_stream_image = $("stream-image"); - var to = { - x: __translate(pos.x, 0, el_stream_image.clientWidth, -32768, 32767), - y: __translate(pos.y, 0, el_stream_image.clientHeight, -32768, 32767), - }; - tools.debug("Mouse move:", to); - if (__ws) { - __ws.send(JSON.stringify({ - event_type: "mouse_move", - to: to, - })); - } - __sent_pos = pos; - } - }; - - var __translate = function(x, a, b, c, d) { - return Math.round((x - a) / (b - a) * (d - c) + c); - }; - - var __wheelHandler = function(event) { - // https://learn.javascript.ru/mousewheel - if (event.preventDefault) { - event.preventDefault(); - } - var delta = {x: event.deltaX, y: event.deltaY}; - tools.debug("Mouse wheel:", delta); - if (__ws) { - __ws.send(JSON.stringify({ - event_type: "mouse_wheel", - delta: delta, - })); - } - }; - - __init__(); -} diff --git a/kvmd/web/js/msd.js b/kvmd/web/js/msd.js deleted file mode 100644 index f90e4b05..00000000 --- a/kvmd/web/js/msd.js +++ /dev/null @@ -1,164 +0,0 @@ -function Msd() { - var self = this; - - /********************************************************************************/ - - var __state = null; - var __upload_http = null; - var __image_file = null; - - var __init__ = function() { - $("msd-led").title = "Unknown state"; - - $("msd-select-new-image-file").onchange = __selectNewImageFile; - tools.setOnClick($("msd-select-new-image-button"), () => $("msd-select-new-image-file").click()); - - tools.setOnClick($("msd-upload-new-image-button"), __clickUploadNewImageButton); - tools.setOnClick($("msd-abort-uploading-button"), __clickAbortUploadingButton); - - tools.setOnClick($("msd-switch-to-kvm-button"), () => __clickSwitchButton("kvm")); - tools.setOnClick($("msd-switch-to-server-button"), () => __clickSwitchButton("server")); - }; - - /********************************************************************************/ - - self.loadInitialState = function() { - var http = tools.makeRequest("GET", "/kvmd/msd", function() { - if (http.readyState === 4) { - if (http.status === 200) { - self.setState(JSON.parse(http.responseText).result); - } else { - setTimeout(self.loadInitialState, 1000); - } - } - }); - }; - - self.setState = function(state) { - __state = state; - __applyState(); - }; - - var __clickUploadNewImageButton = function() { - var form_data = new FormData(); - form_data.append("image_name", __image_file.name); - form_data.append("image_data", __image_file); - - __upload_http = new XMLHttpRequest(); - __upload_http.open("POST", "/kvmd/msd/write", true); - __upload_http.upload.timeout = 5000; - __upload_http.onreadystatechange = __uploadStateChange; - __upload_http.upload.onprogress = __uploadProgress; - __upload_http.send(form_data); - }; - - var __clickAbortUploadingButton = function() { - __upload_http.onreadystatechange = null; - __upload_http.upload.onprogress = null; - __upload_http.abort(); - __upload_http = null; - $("msd-progress").setAttribute("data-label", "Aborted"); - $("msd-progress-value").style.width = "0%"; - }; - - var __clickSwitchButton = function(to) { - var http = tools.makeRequest("POST", "/kvmd/msd/connect?to=" + to, function() { - if (http.readyState === 4) { - if (http.status !== 200) { - ui.error("Switch error:<br>", http.responseText); - } - } - __applyState(); - }); - __applyState(); - $("msd-switch-to-" + to + "-button").disabled = true; - }; - - var __selectNewImageFile = function() { - var el_input = $("msd-select-new-image-file"); - var image_file = (el_input.files.length ? el_input.files[0] : null); - if (image_file && image_file.size > __state.info.size) { - ui.error("New image is too big for your Mass Storage Device.<br>Maximum:", __formatSize(__state.info.size)); - el_input.value = ""; - image_file = null; - } - __image_file = image_file; - __applyState(); - }; - - var __applyState = function() { - if (__state.connected_to === "server") { - $("msd-another-another-user-uploads").style.display = "none"; - $("msd-led").className = "led-on"; - $("msd-status").innerHTML = $("msd-led").title = "Connected to Server"; - $("msd-another-another-user-uploads").style.display = "none"; - } else if (__state.busy) { - if (!__upload_http) { - $("msd-another-another-user-uploads").style.display = "block"; - } - $("msd-led").className = "led-msd-writing"; - $("msd-status").innerHTML = $("msd-led").title = "Uploading new image"; - } else { - $("msd-another-another-user-uploads").style.display = "none"; - $("msd-led").className = "led-off"; - if (__state.in_operate) { - $("msd-status").innerHTML = $("msd-led").title = "Connected to KVM"; - } else { - $("msd-status").innerHTML = $("msd-led").title = "Unavailable"; - } - } - - $("msd-not-in-operate").style.display = (__state.in_operate ? "none" : "block"); - $("msd-current-image-broken").style.display = ( - __state.in_operate && __state.info.image && - !__state.info.image.complete && !__state.busy ? "block" : "none" - ); - - $("msd-current-image-name").innerHTML = (__state.in_operate && __state.info.image ? __state.info.image.name : "None"); - $("msd-current-image-size").innerHTML = (__state.in_operate && __state.info.image ? __formatSize(__state.info.image.size) : "None"); - $("msd-storage-size").innerHTML = (__state.in_operate ? __formatSize(__state.info.size) : "Unavailable"); - - $("msd-switch-to-kvm-button").disabled = (!__state.in_operate || __state.connected_to === "kvm" || __state.busy); - $("msd-switch-to-server-button").disabled = (!__state.in_operate || __state.connected_to === "server" || __state.busy); - $("msd-select-new-image-button").disabled = (!__state.in_operate || __state.connected_to !== "kvm" || __state.busy || __upload_http); - $("msd-upload-new-image-button").disabled = (!__state.in_operate || __state.connected_to !== "kvm" || __state.busy || !__image_file); - $("msd-abort-uploading-button").disabled = (!__state.in_operate || !__upload_http); - - $("msd-new-image").style.display = (__image_file ? "block" : "none"); - $("msd-progress").setAttribute("data-label", "Waiting for upload ..."); - $("msd-progress-value").style.width = "0%"; - $("msd-new-image-name").innerHTML = (__image_file ? __image_file.name : ""); - $("msd-new-image-size").innerHTML = (__image_file ? __formatSize(__image_file.size) : ""); - }; - - var __formatSize = function(size) { - if (size > 0) { - var index = Math.floor( Math.log(size) / Math.log(1024) ); - return (size / Math.pow(1024, index)).toFixed(2) * 1 + " " + ["B", "kB", "MB", "GB", "TB"][index]; - } else { - return 0; - } - }; - - var __uploadStateChange = function() { - if (__upload_http.readyState === 4) { - if (__upload_http.status !== 200) { - ui.error("Can't upload image to the Mass Storage Device:<br>", __upload_http.responseText); - } - $("msd-select-new-image-file").value = ""; - __image_file = null; - __upload_http = null; - __applyState(); - } - }; - - var __uploadProgress = function(event) { - if(event.lengthComputable) { - var percent = Math.round((event.loaded * 100) / event.total); - $("msd-progress").setAttribute("data-label", percent + "%"); - $("msd-progress-value").style.width = percent + "%"; - } - }; - - __init__(); -} diff --git a/kvmd/web/js/session.js b/kvmd/web/js/session.js deleted file mode 100644 index 3169c8c1..00000000 --- a/kvmd/web/js/session.js +++ /dev/null @@ -1,121 +0,0 @@ -function Session(atx, hid, msd) { - // var self = this; - - /********************************************************************************/ - - var __ws = null; - - var __ping_timer = null; - var __missed_heartbeats = 0; - - var __init__ = function() { - $("link-led").title = "Not connected yet..."; - __loadKvmdVersion(); - __startPoller(); - }; - - /********************************************************************************/ - - var __loadKvmdVersion = function() { - var http = tools.makeRequest("GET", "/kvmd/info", function() { - if (http.readyState === 4) { - if (http.status === 200) { - var version = JSON.parse(http.responseText).result.version; - $("kvmd-version").innerHTML = "kvmd " + version.kvmd; - $("about-version-kvmd").innerHTML = version.kvmd; - $("about-version-python").innerHTML = version.python; - $("about-version-platform").innerHTML = version.platform; - } else { - setTimeout(__loadKvmdVersion, 1000); - } - } - }); - }; - - var __startPoller = function() { - $("link-led").className = "led-link-connecting"; - $("link-led").title = "Connecting..."; - var http = tools.makeRequest("GET", "/wsauth", function() { - if (http.readyState === 4) { - if (http.status === 200) { - __ws = new WebSocket((location.protocol == "https:" ? "wss" : "ws") + "://" + location.host + "/kvmd/ws"); - __ws.onopen = __wsOpenHandler; - __ws.onmessage = __wsMessageHandler; - __ws.onerror = __wsErrorHandler; - __ws.onclose = __wsCloseHandler; - } else { - __wsCloseHandler(null); - } - } - }); - }; - - var __wsOpenHandler = function(event) { - $("link-led").className = "led-on"; - $("link-led").title = "Connected"; - tools.debug("WebSocket opened:", event); - atx.loadInitialState(); - msd.loadInitialState(); - hid.setSocket(__ws); - __missed_heartbeats = 0; - __ping_timer = setInterval(__pingServer, 1000); - }; - - var __wsMessageHandler = function(event) { - // tools.debug("WebSocket: received data:", event.data); - event = JSON.parse(event.data); - if (event.msg_type === "pong") { - __missed_heartbeats = 0; - } else if (event.msg_type === "event") { - if (event.msg.event === "atx_state") { - atx.setState(event.msg.event_attrs); - } else if (event.msg.event === "msd_state") { - msd.setState(event.msg.event_attrs); - } - } - }; - - var __wsErrorHandler = function(event) { - tools.error("WebSocket error:", event); - if (__ws) { - __ws.onclose = null; - __ws.close(); - __wsCloseHandler(null); - } - }; - - var __wsCloseHandler = function(event) { - $("link-led").className = "led-off"; - tools.debug("WebSocket closed:", event); - if (__ping_timer) { - clearInterval(__ping_timer); - __ping_timer = null; - } - hid.setSocket(null); - atx.clearState(); - __ws = null; - setTimeout(function() { - $("link-led").className = "led-link-connecting"; - setTimeout(__startPoller, 500); - }, 500); - }; - - var __pingServer = function() { - try { - __missed_heartbeats += 1; - if (__missed_heartbeats >= 5) { - throw new Error("Too many missed heartbeats"); - } - __ws.send(JSON.stringify({"event_type": "ping"})); - } catch (err) { - tools.error("Ping error:", err.message); - if (__ws) { - __ws.onclose = null; - __ws.close(); - __wsCloseHandler(null); - } - } - }; - - __init__(); -} diff --git a/kvmd/web/js/stream.js b/kvmd/web/js/stream.js deleted file mode 100644 index af3e45e9..00000000 --- a/kvmd/web/js/stream.js +++ /dev/null @@ -1,119 +0,0 @@ -function Stream() { - // var self = this; - - /********************************************************************************/ - - var __prev_state = false; - - var __quality = 80; - - var __normal_size = {width: 640, height: 480}; - var __size_factor = 1; - - var __init__ = function() { - $("stream-led").title = "Stream inactive"; - - var quality = 10; - for (; quality <= 100; quality += 10) { - $("stream-quality-select").innerHTML += "<option value=\"" + quality + "\">" + quality + "%</option>"; - } - - tools.setOnClick($("stream-reset-button"), __clickResetButton); - $("stream-quality-select").onchange = __changeQuality; - $("stream-size-slider").oninput = __resize; - $("stream-size-slider").onchange = __resize; - - __startPoller(); - }; - - /********************************************************************************/ - - // XXX: In current implementation we don't need this event because Stream() has own state poller - - var __startPoller = function() { - var http = tools.makeRequest("GET", "/streamer/ping", function() { - if (http.readyState === 4) { - var response = (http.status === 200 ? JSON.parse(http.responseText) : null); - if (http.status !== 200 || !response.stream.online) { - tools.info("Refreshing stream ..."); - __prev_state = false; - $("stream-image").className = "stream-image-inactive"; - $("stream-box").classList.add("stream-box-inactive"); - $("stream-led").className = "led-off"; - $("stream-led").title = "Stream inactive"; - $("stream-reset-button").disabled = true; - $("stream-quality-select").disabled = true; - } else if (http.status === 200 && !__prev_state) { - __normal_size = response.stream.resolution; - __refreshImage(); - __prev_state = true; - $("stream-image").className = "stream-image-active"; - $("stream-box").classList.remove("stream-box-inactive"); - $("stream-led").className = "led-on"; - $("stream-led").title = "Stream is active"; - $("stream-reset-button").disabled = false; - $("stream-quality-select").disabled = false; - } - } - }); - setTimeout(__startPoller, 1500); - }; - - var __clickResetButton = function() { - $("stream-reset-button").disabled = true; - var http = tools.makeRequest("POST", "/kvmd/streamer/reset", function() { - if (http.readyState === 4) { - if (http.status !== 200) { - ui.error("Can't reset stream:<br>", http.responseText); - } - } - }); - }; - - var __changeQuality = function() { - var quality = parseInt($("stream-quality-select").value); - if (__quality != quality) { - $("stream-quality-select").disabled = true; - var http = tools.makeRequest("POST", "/kvmd/streamer/set_params?quality=" + quality, function() { - if (http.readyState === 4) { - if (http.status !== 200) { - ui.error("Can't configure stream:<br>", http.responseText); - } - } - }); - } - }; - - var __resize = function() { - var percent = $("stream-size-slider").value; - $("stream-size-value").innerHTML = percent + "%"; - __size_factor = percent / 100; - __applySizeFactor(); - }; - - var __applySizeFactor = function() { - var el_stream_image = $("stream-image"); - el_stream_image.style.width = __normal_size.width * __size_factor + "px"; - el_stream_image.style.height = __normal_size.height * __size_factor + "px"; - ui.showWindow($("stream-window"), false); - }; - - var __refreshImage = function() { - var http = tools.makeRequest("GET", "/kvmd/streamer", function() { - if (http.readyState === 4 && http.status === 200) { - var result = JSON.parse(http.responseText).result; - - if (__quality != result.quality) { - tools.info("Quality changed:", result.quality); - document.querySelector("#stream-quality-select [value=\"" + result.quality + "\"]").selected = true; - __quality = result.quality; - } - - __applySizeFactor(); - $("stream-image").src = "/streamer/stream?t=" + new Date().getTime(); - } - }); - }; - - __init__(); -} diff --git a/kvmd/web/js/tools.js b/kvmd/web/js/tools.js deleted file mode 100644 index 76f27b7d..00000000 --- a/kvmd/web/js/tools.js +++ /dev/null @@ -1,43 +0,0 @@ -var tools = new function() { - var __debug = (new URL(window.location.href)).searchParams.get("debug"); - - this.makeRequest = function(method, url, callback, timeout=null) { - var http = new XMLHttpRequest(); - http.open(method, url, true); - http.onreadystatechange = callback; - http.timeout = (timeout ? timeout : 5000); - http.send(); - return http; - }; - - this.setOnClick = function(el, callback) { - el.onclick = el.ontouchend = function(event) { - event.preventDefault(); - callback(); - }; - }; - this.setOnDown = function(el, callback) { - el.onmousedown = el.ontouchstart = function(event) { - event.preventDefault(); - callback(); - }; - }; - this.setOnUp = function(el, callback) { - el.onmouseup = el.ontouchend = function(event) { - event.preventDefault(); - callback(); - }; - }; - - this.debug = function(...args) { - if (__debug) { - console.log("LOG/DEBUG", ...args); // eslint-disable-line no-console - } - }; - - this.info = (...args) => console.log("LOG/INFO", ...args); // eslint-disable-line no-console - this.error = (...args) => console.error("LOG/ERROR", ...args); // eslint-disable-line no-console -}; - -var $ = (id) => document.getElementById(id); -var $$ = (cls) => document.getElementsByClassName(cls); diff --git a/kvmd/web/js/ui.js b/kvmd/web/js/ui.js deleted file mode 100644 index d04184c1..00000000 --- a/kvmd/web/js/ui.js +++ /dev/null @@ -1,319 +0,0 @@ -function Ui() { - var self = this; - - /********************************************************************************/ - - var __top_z_index = 0; - var __windows = []; - var __ctl_items = []; - - var __init__ = function() { - Array.prototype.forEach.call(document.querySelectorAll("button"), function(el_button) { - // XXX: Workaround for iOS Safari: - // https://stackoverflow.com/questions/3885018/active-pseudo-class-doesnt-work-in-mobile-safari - el_button.ontouchstart = function() {}; - }); - - Array.prototype.forEach.call($$("ctl-item"), function(el_item) { - tools.setOnClick(el_item, () => __toggleMenu(el_item)); - __ctl_items.push(el_item); - }); - - Array.prototype.forEach.call($$("window"), function(el_window) { - __makeWindowMovable(el_window); - __windows.push(el_window); - - var el_button = el_window.querySelector(".window-header .window-button-close"); - if (el_button) { - tools.setOnClick(el_button, function() { - el_window.style.visibility = "hidden"; - __raiseLastWindow(); - }); - } - }); - - window.onmouseup = __globalMouseButtonHandler; - window.ontouchend = __globalMouseButtonHandler; - - window.addEventListener("resize", () => __organizeWindowsOnResize(false)); - window.addEventListener("orientationchange", () => __organizeWindowsOnResize(true)); - - tools.setOnClick($("show-about-button"), () => self.showWindow($("about-window"))); - tools.setOnClick($("show-keyboard-button"), () => self.showWindow($("keyboard-window"))); - tools.setOnClick($("show-stream-button"), () => self.showWindow($("stream-window"))); - - self.showWindow($("stream-window")); - }; - - /********************************************************************************/ - - self.error = (...args) => __modalDialog("Error", args.join(" "), true, false); - self.confirm = (...args) => __modalDialog("Question", args.join(" "), true, true); - - var __modalDialog = function(header, text, ok, cancel) { - var el_modal = document.createElement("div"); - el_modal.className = "modal"; - el_modal.style.visibility = "visible"; - - var el_window = document.createElement("div"); - el_window.className = "modal-window"; - el_window.setAttribute("tabindex", "-1"); - el_modal.appendChild(el_window); - - var el_header = document.createElement("div"); - el_header.className = "modal-header"; - el_header.innerHTML = header; - el_window.appendChild(el_header); - - var el_content = document.createElement("div"); - el_content.className = "modal-content"; - el_content.innerHTML = text; - el_window.appendChild(el_content); - - var promise = null; - if (ok || cancel) { - promise = new Promise(function(resolve) { - var el_buttons = document.createElement("div"); - el_buttons.className = "modal-buttons"; - el_window.appendChild(el_buttons); - - function close (retval) { - el_modal.outerHTML = ""; - var index = __windows.indexOf(el_modal); - if (index !== -1) { - __windows.splice(index, 1); - } - __raiseLastWindow(); - resolve(retval); - } - - if (cancel) { - var el_cancel_button = document.createElement("button"); - el_cancel_button.innerHTML = "Cancel"; - tools.setOnClick(el_cancel_button, () => close(false)); - el_buttons.appendChild(el_cancel_button); - } - if (ok) { - var el_ok_button = document.createElement("button"); - el_ok_button.innerHTML = "OK"; - tools.setOnClick(el_ok_button, () => close(true)); - el_buttons.appendChild(el_ok_button); - } - if (ok && cancel) { - el_ok_button.className = "row50"; - el_cancel_button.className = "row50"; - } - - el_window.onkeyup = function(event) { - event.preventDefault(); - if (ok && event.code === "Enter") { - el_ok_button.click(); - } else if (cancel && event.code === "Escape") { - el_cancel_button.click(); - } - }; - }); - } - - __windows.push(el_modal); - document.body.appendChild(el_modal); - __raiseWindow(el_modal); - - return promise; - }; - - self.showWindow = function(el_window, raise=true) { - if (!__isWindowOnPage(el_window) || el_window.hasAttribute("data-centered")) { - var view = __getViewGeometry(); - var rect = el_window.getBoundingClientRect(); - el_window.style.top = Math.max($("ctl").clientHeight, Math.round((view.bottom - rect.height) / 2)) + "px"; - el_window.style.left = Math.round((view.right - rect.width) / 2) + "px"; - el_window.setAttribute("data-centered", ""); - } - el_window.style.visibility = "visible"; - if (raise) { - __raiseWindow(el_window); - } - }; - - var __isWindowOnPage = function(el_window) { - var view = __getViewGeometry(); - var rect = el_window.getBoundingClientRect(); - - return ( - (rect.bottom - el_window.clientHeight / 1.5) <= view.bottom - && rect.top >= view.top - && (rect.left + el_window.clientWidth / 1.5) >= view.left - && (rect.right - el_window.clientWidth / 1.5) <= view.right - ); - }; - - var __getViewGeometry = function() { - return { - top: $("ctl").clientHeight, - bottom: Math.max(document.documentElement.clientHeight, window.innerHeight || 0), - left: 0, - right: Math.max(document.documentElement.clientWidth, window.innerWidth || 0), - }; - }; - - var __toggleMenu = function(el_a) { - var all_hidden = true; - - __ctl_items.forEach(function(el_item) { - var el_menu = el_item.parentElement.querySelector(".ctl-dropdown-content"); - if (el_item === el_a && window.getComputedStyle(el_menu, null).visibility === "hidden") { - el_item.focus(); - el_item.classList.add("ctl-item-selected"); - el_menu.style.visibility = "visible"; - all_hidden &= false; - } else { - el_item.classList.remove("ctl-item-selected"); - el_menu.style.visibility = "hidden"; - } - }); - - if (all_hidden) { - document.onkeyup = null; - __raiseLastWindow(); - } else { - document.onkeyup = function(event) { - if (event.code === "Escape") { - event.preventDefault(); - __closeAllMenues(); - __raiseLastWindow(); - } - }; - } - }; - - var __closeAllMenues = function() { - document.onkeyup = null; - __ctl_items.forEach(function(el_item) { - var el_menu = el_item.parentElement.querySelector(".ctl-dropdown-content"); - el_item.classList.remove("ctl-item-selected"); - el_menu.style.visibility = "hidden"; - }); - }; - - var __globalMouseButtonHandler = function(event) { - if (!event.target.matches(".ctl-item")) { - for (var el_item = event.target; el_item && el_item !== document; el_item = el_item.parentNode) { - if (el_item.hasAttribute("data-force-hide-menu")) { - break; - } else if (el_item.hasAttribute("data-dont-hide-menu")) { - return; - } - } - __closeAllMenues(); - __raiseLastWindow(); - } - }; - - var __organizeWindowsOnResize = function(orientation) { - var view = __getViewGeometry(); - Array.prototype.forEach.call($$("window"), function(el_window) { - if (el_window.style.visibility === "visible" && (orientation || el_window.hasAttribute("data-centered"))) { - var rect = el_window.getBoundingClientRect(); - el_window.style.top = Math.max($("ctl").clientHeight, Math.round((view.bottom - rect.height) / 2)) + "px"; - el_window.style.left = Math.round((view.right - rect.width) / 2) + "px"; - el_window.setAttribute("data-centered", ""); - } - }); - }; - - var __makeWindowMovable = function(el_window) { - var el_header = el_window.querySelector(".window-header"); - var el_grab = el_window.querySelector(".window-header .window-grab"); - - var prev_pos = {x: 0, y: 0}; - - function startMoving(event) { - __closeAllMenues(); - __raiseWindow(el_window); - event = (event || window.event); - event.preventDefault(); - - if (!event.touches || event.touches.length === 1) { - el_header.classList.add("window-header-grabbed"); - - prev_pos = getEventPosition(event); - - document.onmousemove = doMoving; - document.onmouseup = stopMoving; - - document.ontouchmove = doMoving; - document.ontouchend = stopMoving; - } - } - - function doMoving(event) { - el_window.removeAttribute("data-centered"); - - event = (event || window.event); - event.preventDefault(); - - var event_pos = getEventPosition(event); - var x = prev_pos.x - event_pos.x; - var y = prev_pos.y - event_pos.y; - - el_window.style.top = (el_window.offsetTop - y) + "px"; - el_window.style.left = (el_window.offsetLeft - x) + "px"; - - prev_pos = event_pos; - } - - function stopMoving() { - el_header.classList.remove("window-header-grabbed"); - - document.onmousemove = null; - document.onmouseup = null; - - document.ontouchmove = null; - document.ontouchend = null; - } - - function getEventPosition(event) { - if (event.touches) { - return {x: event.touches[0].clientX, y: event.touches[0].clientY}; - } else { - return {x: event.clientX, y: event.clientY}; - } - } - - el_window.setAttribute("data-centered", ""); - tools.setOnClick(el_window, () => __raiseWindow(el_window)); - - el_grab.onmousedown = startMoving; - el_grab.ontouchstart = startMoving; - }; - - var __raiseLastWindow = function() { - var last_el_window = null; - var max_z_index = 0; - __windows.forEach(function(el_window) { - var z_index = parseInt(window.getComputedStyle(el_window, null).zIndex) || 0; - if (max_z_index < z_index && window.getComputedStyle(el_window, null).visibility !== "hidden") { - last_el_window = el_window; - max_z_index = z_index; - } - }); - __raiseWindow(last_el_window); - }; - - var __raiseWindow = function(el_window) { - var el_to_focus = (el_window.className === "modal" ? el_window.querySelector(".modal-window") : el_window); - if (document.activeElement !== el_to_focus) { - el_to_focus.focus(); - tools.debug("Focused window:", el_window); - if (el_window.className !== "modal" && parseInt(el_window.style.zIndex) !== __top_z_index) { - var z_index = __top_z_index + 1; - el_window.style.zIndex = z_index; - __top_z_index = z_index; - tools.debug("Raised window:", el_window); - } - } - }; - - __init__(); -} diff --git a/kvmd/web/png/blank-stream.png b/kvmd/web/png/blank-stream.png Binary files differdeleted file mode 100644 index f1e11b14..00000000 --- a/kvmd/web/png/blank-stream.png +++ /dev/null diff --git a/kvmd/web/safari-pinned-tab.svg b/kvmd/web/safari-pinned-tab.svg deleted file mode 100644 index 86314c0a..00000000 --- a/kvmd/web/safari-pinned-tab.svg +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" - "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> -<svg version="1.0" xmlns="http://www.w3.org/2000/svg" - width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000" - preserveAspectRatio="xMidYMid meet"> -<metadata> -Created by potrace 1.11, written by Peter Selinger 2001-2013 -</metadata> -<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)" -fill="#000000" stroke="none"> -<path d="M6751 6444 c-48 -27 -168 -60 -246 -69 -27 -3 -66 -7 -85 -10 -248 --33 -521 -37 -2640 -41 -1070 -1 -1972 -5 -2005 -8 -213 -17 -219 -18 -345 --36 -112 -17 -109 -16 -216 -44 -323 -86 -576 -242 -779 -481 -56 -66 -155 --210 -155 -225 0 -5 -4 -10 -8 -12 -4 -1 -30 -48 -58 -103 -90 -179 -155 -383 --170 -540 -10 -101 -11 -275 -2 -310 4 -16 10 -46 13 -65 3 -19 16 -52 28 -73 -54 -97 143 -78 233 51 62 88 203 227 284 280 156 103 366 178 635 226 17 3 39 -8 50 10 11 2 47 7 80 11 33 4 71 9 85 11 29 4 138 13 225 20 131 10 435 16 -435 8 0 -5 -6 -45 -14 -89 -24 -132 -27 -149 -32 -180 -2 -16 -6 -41 -9 -55 --3 -14 -7 -38 -10 -55 -2 -16 -14 -75 -25 -130 -11 -55 -23 -116 -26 -135 -3 --19 -7 -43 -10 -52 -3 -10 -7 -30 -10 -45 -11 -67 -89 -401 -125 -538 -134 --505 -266 -869 -451 -1252 -165 -340 -356 -581 -608 -762 -137 -99 -205 -177 --263 -299 -32 -67 -32 -68 -32 -227 0 -179 14 -251 69 -365 80 -166 272 -285 -516 -319 70 -10 310 -8 327 2 5 3 25 9 44 12 99 18 233 93 325 183 205 202 -410 674 508 1167 9 44 19 91 22 105 3 14 7 36 10 50 3 14 18 88 34 166 16 77 -32 156 35 175 3 19 17 88 30 154 34 172 93 484 99 525 6 38 22 130 30 170 3 -14 10 54 16 90 5 36 12 74 14 85 2 11 7 40 11 65 4 25 9 54 11 65 6 39 44 260 -48 285 3 14 25 153 51 310 25 157 50 312 55 345 6 33 12 74 15 90 7 45 45 287 -50 314 2 13 8 45 12 70 4 25 8 49 9 54 1 4 2 12 3 17 1 7 305 10 890 10 l889 -0 -55 -132 c-30 -73 -66 -162 -80 -198 -13 -36 -29 -74 -34 -85 -72 -163 -402 --1051 -462 -1245 -24 -75 -82 -284 -92 -329 -15 -66 -65 -314 -70 -346 -3 -22 --10 -67 -15 -100 -5 -33 -12 -89 -15 -125 -4 -36 -8 -72 -10 -80 -9 -34 -19 --266 -18 -415 1 -184 6 -247 38 -460 20 -136 80 -317 143 -435 66 -124 178 --249 309 -346 138 -103 225 -145 385 -184 115 -28 149 -31 343 -35 457 -8 846 -117 1220 391 172 126 401 387 504 574 78 142 148 289 195 407 47 118 57 154 -58 210 5 169 -63 240 -198 208 -67 -16 -102 -39 -173 -119 -195 -218 -357 --342 -513 -394 -110 -37 -141 -43 -230 -47 -92 -4 -150 9 -234 50 -179 88 --322 320 -383 625 -33 163 -40 277 -36 615 3 187 6 358 9 380 2 22 7 85 11 -140 3 55 8 114 10 130 4 28 10 85 20 180 3 22 7 56 10 75 2 19 7 55 10 80 3 -25 8 56 10 70 3 14 7 39 9 55 7 43 35 206 41 235 3 14 9 50 15 80 15 82 16 86 -45 215 29 133 83 347 89 352 2 2 91 6 197 8 182 4 372 13 408 20 9 1 36 6 61 -10 247 37 373 127 512 363 96 162 200 460 224 637 3 28 9 70 13 95 4 25 7 89 -7 143 -1 95 -2 100 -29 123 -34 29 -59 29 -116 -2z"/> -</g> -</svg> diff --git a/kvmd/web/svg/atx-hdd-led.svg b/kvmd/web/svg/atx-hdd-led.svg deleted file mode 100644 index 75987570..00000000 --- a/kvmd/web/svg/atx-hdd-led.svg +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="16.933332mm" - height="16.933332mm" - viewBox="0 0 16.933332 16.933332" - version="1.1" - id="svg8" - sodipodi:docname="hdd.svg" - inkscape:version="0.92.2 2405546, 2018-03-11"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="5.6" - inkscape:cx="13.28418" - inkscape:cy="14.886884" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-107.87666,-24.618942)"> - <flowRoot - xml:space="preserve" - id="flowRoot5064" - style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Adobe Garamond Pro;font-style:normal;font-weight:bold;font-size:10px;line-height:125%;letter-spacing:0px;word-spacing:0px;-inkscape-font-specification:Adobe Garamond Pro Bold;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr"><flowRegion - id="flowRegion5066"><rect - id="rect5068" - width="50.892857" - height="43.57143" - x="-72.321426" - y="5.4285674" /></flowRegion><flowPara - id="flowPara5070"></flowPara></flowRoot> <g - aria-label="🖴" - transform="matrix(1.8649046,0,0,1.8649046,248.12652,14.45492)" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10px;line-height:125%;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.141875px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - id="flowRoot5072"> - <path - d="m -75.064844,9.6551562 1.16,-2.35 q 0.07,-0.1299999 0.14,-0.24 0.08,-0.12 0.24,-0.12 h 5.72 q 0.16,0 0.23,0.12 0.08,0.1100001 0.15,0.24 l 1.16,2.35 z m 4.4,-0.4 q 0.62,0 1.12,-0.1399999 0.51,-0.14 0.8,-0.37 0.3,-0.23 0.3,-0.5100001 0,-0.28 -0.3,-0.5 -0.29,-0.23 -0.8,-0.36 -0.5,-0.14 -1.12,-0.14 -0.8,0 -1.41,0.23 -0.6,0.23 -0.77,0.5800001 l 1.32,0.01 -0.03,0.21 -1.31,0.11 q 0.07,0.24 0.37,0.44 0.31,0.2 0.78,0.32 0.48,0.1199999 1.05,0.1199999 z m 0,-0.7899999 q -0.24,0 -0.42,-0.08 -0.17,-0.09 -0.17,-0.2 0,-0.1100001 0.17,-0.1900001 0.18,-0.08 0.42,-0.08 0.25,0 0.43,0.08 0.18,0.08 0.18,0.1900001 0,0.11 -0.18,0.2 -0.18,0.08 -0.43,0.08 z m -4.02,4.5699997 q -0.22,0 -0.37,-0.15 -0.15,-0.16 -0.15,-0.37 V 9.9851562 h 9.08 v 2.5299998 q 0,0.21 -0.15,0.37 -0.14,0.15 -0.37,0.15 z m -0.05,-2.05 h 8.14 v -0.47 h -8.14 z m 7.8,1.08 q 0.13,0 0.21,-0.09 0.08,-0.09 0.08,-0.22 0,-0.11 -0.08,-0.2 -0.08,-0.09 -0.21,-0.09 -0.13,0 -0.22,0.09 -0.09,0.09 -0.09,0.2 0,0.13 0.09,0.22 0.09,0.09 0.22,0.09 z" - style="stroke-width:0.141875px" - id="path5080" - inkscape:connector-curvature="0" /> - </g> - </g> -</svg> diff --git a/kvmd/web/svg/atx-power-led.svg b/kvmd/web/svg/atx-power-led.svg deleted file mode 100644 index b82af7bc..00000000 --- a/kvmd/web/svg/atx-power-led.svg +++ /dev/null @@ -1,71 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="16.933332mm" - height="16.933332mm" - viewBox="0 0 16.933332 16.933332" - version="1.1" - id="svg8" - sodipodi:docname="power.svg" - inkscape:version="0.92.2 2405546, 2018-03-11"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="5.6" - inkscape:cx="13.28418" - inkscape:cy="14.886884" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-107.87666,-24.618942)"> - <g - aria-label="⏻" - transform="matrix(1.9608076,0,0,1.9608076,269.69365,18.4972)" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10px;line-height:125%;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.21589744;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="flowRoot4958"> - <path - d="M -78.747734,7.26 V 3.23 h 1.04 v 4.03 z m 0.54,4.39 q -0.87,0 -1.6,-0.3 -0.73,-0.29 -1.27,-0.82 -0.54,-0.53 -0.84,-1.24 -0.3,-0.72 -0.3,-1.57 0,-0.96 0.4,-1.84 0.4,-0.89 1.18,-1.45 l 0.54,0.7 q -0.43,0.29 -0.71,0.72 -0.27,0.43 -0.41,0.92 -0.13,0.49 -0.13,0.95 0,0.64 0.23,1.2 0.23,0.56 0.65,0.98 0.43,0.42 1,0.66 0.57,0.23 1.25,0.23 0.69,0 1.26,-0.23 0.58,-0.24 1,-0.66 0.42,-0.42 0.65,-0.98 0.24,-0.56 0.24,-1.2 0,-0.46 -0.14,-0.95 -0.13,-0.49 -0.41,-0.92 -0.27,-0.43 -0.7,-0.72 l 0.54,-0.7 q 0.78,0.56 1.18,1.45 0.4,0.88 0.4,1.84 0,0.85 -0.3,1.57 -0.3,0.71 -0.84,1.24 -0.54,0.53 -1.28,0.82 -0.73,0.3 -1.59,0.3 z" - style="stroke:#000000;stroke-width:0.21589744;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="path4998" /> - </g> - </g> -</svg> diff --git a/kvmd/web/svg/fan-led.svg b/kvmd/web/svg/fan-led.svg deleted file mode 100644 index 8cbdd76d..00000000 --- a/kvmd/web/svg/fan-led.svg +++ /dev/null @@ -1,119 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - version="1.1" - id="Capa_1" - x="0px" - y="0px" - viewBox="0 0 63.999999 63.999714" - xml:space="preserve" - sodipodi:docname="fan.svg" - width="64" - height="63.999714" - inkscape:version="0.92.2 2405546, 2018-03-11"><metadata - id="metadata4808"><rdf:RDF><cc:Work - rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs - id="defs4806"> - - - - - </defs><sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1020" - id="namedview4804" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:zoom="7.3853375" - inkscape:cx="69.858273" - inkscape:cy="30.334855" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" - inkscape:current-layer="Capa_1" /> -<path - d="m 63.334922,25.549682 c -0.177154,-0.86073 -0.546488,-1.4749 -1.224053,-2.03456 -5.414798,-4.47493 -12.924109,-4.17414 -22.52822,0.90223 -0.626766,-0.62676 -1.30519,-1.15651 -2.065465,-1.6127 6.619247,-5.93839 12.653083,-8.43143 18.101079,-7.47955 1.606266,0.28061 2.718561,-1.5599 1.72332,-2.85136 -2.208992,-2.8669502 -4.723066,-5.2011502 -7.745565,-7.1919202 -0.734089,-0.48338 -1.429398,-0.65624 -2.304294,-0.5731 -6.993017,0.66469 -12.090282,6.1872302 -15.291795,16.5677902 -0.886487,0 -1.740778,0.10503 -2.600792,0.32011 0.481522,-8.87947 2.985008,-14.9088702 7.510599,-18.0882002 1.334239,-0.93729 0.819232,-3.02521996 -0.797623,-3.23499996 -3.589307,-0.46521 -7.017486,-0.33814 -10.562433,0.39166 -0.86073,0.17715 -1.474903,0.54648996 -2.034556,1.22404996 -4.474935,5.4148 -4.174145,12.9241102 0.902228,22.5282202 -0.626766,0.62677 -1.156512,1.30519 -1.612706,2.06547 -5.93839,-6.61925 -8.431429,-12.65309 -7.479547,-18.1010802 0.280614,-1.60627 -1.559902,-2.71856 -2.851354,-1.72347 -2.8669526,2.209 -5.201154,4.7230702 -7.1919221,7.7455702 -0.4833823,0.73409 -0.6562437,1.4294 -0.5731043,2.30429 0.6646865,6.99302 6.1872364,12.09029 16.5677934,15.2918 0,0.88649 0.105033,1.74078 0.320108,2.60079 -8.879467,-0.48152 -14.9088672,-2.98501 -18.0882006,-7.5106 -0.9372866,-1.33424 -3.02521772,-0.81923 -3.2349982,0.79762 -0.46520897,3.58931 -0.33813866,7.01749 0.391657,10.56244 0.17715433,0.86073 0.5464882,1.4749 1.2240534,2.03455 5.4147977,4.47494 12.9241094,4.17415 22.5282204,-0.90222 0.626766,0.62676 1.305189,1.15651 2.065465,1.6127 -6.619247,5.93839 -12.653083,8.43143 -18.1010797,7.47955 -1.6062659,-0.28062 -2.7185604,1.5599 -1.7233194,2.85135 2.2089913,2.86695 4.7230661,5.20116 7.7455651,7.19192 0.734088,0.48339 1.429398,0.65625 2.304294,0.57311 6.993016,-0.66469 12.090281,-6.18724 15.291795,-16.56779 0.886487,0 1.740777,-0.10504 2.600791,-0.32026 -0.481522,8.87947 -2.985007,14.90887 -7.510599,18.0882 -1.334238,0.93729 -0.819231,3.02522 0.797624,3.235 3.589307,0.46521 7.017486,0.33814 10.562433,-0.39165 0.860729,-0.17716 1.474903,-0.54649 2.034556,-1.22406 4.474935,-5.4148 4.174145,-12.92411 -0.902228,-22.52822 0.626766,-0.62676 1.156511,-1.30519 1.612705,-2.06546 5.938391,6.61924 8.43143,12.65308 7.479547,18.10108 -0.280613,1.60626 1.559903,2.71856 2.851355,1.72332 2.866952,-2.20899 5.201153,-4.72307 7.191922,-7.74557 0.483382,-0.73409 0.656243,-1.4294 0.573104,-2.30429 -0.664687,-6.99302 -6.187237,-12.09028 -16.567793,-15.2918 0,-0.88648 -0.105033,-1.74077 -0.320108,-2.60079 8.879467,0.48152 14.908867,2.98501 18.0882,7.5106 0.937287,1.33424 3.025218,0.81923 3.234998,-0.79762 0.465209,-3.58917 0.338139,-7.01706 -0.391657,-10.56215 z m -31.33485,15.38653 c -4.935279,0 -8.936277,-4.001 -8.936277,-8.93628 0,-4.93528 4.000998,-8.93628 8.936277,-8.93628 4.935279,0 8.936276,4.001 8.936276,8.93628 0,4.93528 -4.000997,8.93628 -8.936276,8.93628 z" - id="path4768" - inkscape:connector-curvature="0" - style="stroke-width:1" /> -<g - id="g4773" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4775" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4777" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4779" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4781" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4783" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4785" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4787" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4789" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4791" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4793" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4795" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4797" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4799" - transform="translate(-82.375262,-465.62302)"> -</g> -<g - id="g4801" - transform="translate(-82.375262,-465.62302)"> -</g> -</svg> diff --git a/kvmd/web/svg/favicon.svg b/kvmd/web/svg/favicon.svg deleted file mode 100644 index a3fde08f..00000000 --- a/kvmd/web/svg/favicon.svg +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="10mm" - height="10mm" - viewBox="0 0 9.9999997 10" - version="1.1" - id="svg8" - inkscape:version="0.92.2 2405546, 2018-03-11" - sodipodi:docname="favicon.svg"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="11.313709" - inkscape:cx="15.549504" - inkscape:cy="14.591027" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title /> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-11.627273,-0.28387921)"> - <text - xml:space="preserve" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:2.64583325px;line-height:125%;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - x="17.094305" - y="9.1093149" - id="text4782"><tspan - sodipodi:role="line" - id="tspan4780" - x="17.094305" - y="9.1093149" - style="stroke-width:0.26458332px"> </tspan></text> - <g - aria-label="π" - transform="matrix(0.93741128,0,0,0.93741128,11.744047,-21.123091)" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10px;line-height:125%;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.28224891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - id="flowRoot4779"> - <path - d="m 4.2034012,25.805656 q -0.1706667,1.066667 -0.2986667,1.856 -0.128,0.789334 -0.2346667,1.365334 -0.1066666,0.576 -0.192,0.981333 -0.085333,0.405334 -0.1493333,0.725334 -0.2346667,0.981333 -0.5973334,1.472 -0.3413333,0.490666 -0.96,0.490666 -0.5546667,0 -0.87466668,-0.277333 -0.29866668,-0.277333 -0.27733335,-0.874667 0,-0.192 0.12800001,-0.384 0.128,-0.192 0.29866672,-0.298666 0.256,-0.170667 0.512,-0.469334 0.2773333,-0.32 0.5333333,-0.896 0.2773334,-0.576 0.5333334,-1.472 0.256,-0.896 0.4693333,-2.218667 -1.0666667,0 -1.728,0.192 -0.66133339,0.170667 -1.02400007,0.704 -0.10666667,0.170667 -0.23466667,0.149334 -0.12800001,-0.02133 -0.17066667,-0.298667 -0.02133334,-0.149333 0,-0.426667 0.02133333,-0.298666 0.14933333,-0.618666 0.12800001,-0.341334 0.36266668,-0.661334 0.23466668,-0.341333 0.6613334,-0.597333 0.3626666,-0.213333 0.832,-0.298667 0.4906667,-0.08533 1.1733333,-0.08533 h 4.6293335 q 1.2373334,0 1.7493334,-0.04267 0.533333,-0.04267 0.704,-0.149333 0.04267,-0.04267 0.106667,-0.02133 0.08533,0.02133 0.08533,0.192 0,0.469333 -0.213333,1.024 -0.2133336,0.533333 -0.5120003,0.746666 -0.1706667,0.106667 -0.4693334,0.149334 -0.2986666,0.04267 -0.9813333,0.04267 -0.4053334,1.514667 -0.4266667,2.965334 -0.042667,1.024 0.2346667,1.536 0.2773333,0.512 0.7253333,0.512 0.2346667,0 0.5333334,-0.128 0.2986666,-0.149333 0.6613333,-0.576 0.106667,-0.128 0.213333,-0.149333 0.128,-0.04267 0.213334,0 0.08533,0.04267 0.106666,0.170666 0.04267,0.106667 -0.02133,0.32 -0.426667,1.173334 -1.216,1.706667 -0.768,0.533333 -1.7280001,0.533333 -0.6186666,0 -1.0026667,-0.234666 -0.3626666,-0.234667 -0.576,-0.554667 -0.192,-0.341333 -0.256,-0.725333 -0.064,-0.384 -0.064,-0.704 0,-1.152001 0.4053334,-2.346667 0.4266666,-1.194667 0.896,-2.325334 z" - style="font-size:21.33333397px;stroke-width:0.28224891px" - id="path4758" /> - </g> - </g> -</svg> diff --git a/kvmd/web/svg/gear-led.svg b/kvmd/web/svg/gear-led.svg deleted file mode 100644 index db9aff21..00000000 --- a/kvmd/web/svg/gear-led.svg +++ /dev/null @@ -1,151 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - version="1.1" - id="Layer_1" - x="0px" - y="0px" - viewBox="0 0 521.99903 521.99702" - xml:space="preserve" - sodipodi:docname="gear-led-2.svg" - inkscape:version="0.92.2 2405546, 2018-03-11" - width="521.99902" - height="521.99701"><metadata - id="metadata49"><rdf:RDF><cc:Work - rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs - id="defs47"> - -</defs><sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1020" - id="namedview45" - showgrid="false" - inkscape:zoom="0.92187681" - inkscape:cx="199.23524" - inkscape:cy="241.2828" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" - inkscape:current-layer="Layer_1" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" /> - - - - - - - - - - - - - - - - -<g - id="g4810"><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g4"> - <path - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 489.175,206.556 c -9.629,-1.442 -19.514,-2.825 -29.379,-4.111 -1.195,-0.155 -2.165,-0.966 -2.467,-2.064 -4.553,-16.523 -11.16,-32.467 -19.636,-47.389 -0.57,-1.002 -0.463,-2.266 0.273,-3.223 6.067,-7.885 12.081,-15.856 17.876,-23.69 7.824,-10.578 6.688,-25.588 -2.64,-34.917 L 420.836,58.796 c -9.329,-9.328 -24.338,-10.464 -34.918,-2.638 -7.817,5.782 -15.787,11.796 -23.689,17.875 -0.954,0.736 -2.221,0.843 -3.223,0.274 -14.921,-8.476 -30.865,-15.083 -47.389,-19.637 -1.099,-0.301 -1.91,-1.271 -2.066,-2.469 -1.289,-9.88 -2.671,-19.764 -4.109,-29.376 C 303.495,9.812 292.079,0 278.886,0 h -45.773 c -13.194,0 -24.61,9.812 -26.554,22.824 -1.439,9.614 -2.821,19.497 -4.11,29.379 -0.157,1.197 -0.967,2.165 -2.067,2.467 -16.524,4.556 -32.469,11.162 -47.387,19.637 -1.003,0.569 -2.269,0.459 -3.225,-0.274 C 141.869,67.954 133.898,61.94 126.08,56.157 115.499,48.332 100.49,49.47 91.163,58.797 L 58.797,91.163 c -9.329,9.33 -10.464,24.341 -2.638,34.918 5.804,7.846 11.818,15.815 17.875,23.688 0.735,0.955 0.843,2.22 0.274,3.223 -8.478,14.925 -15.084,30.869 -19.637,47.389 -0.301,1.097 -1.271,1.908 -2.467,2.065 -9.86,1.287 -19.744,2.669 -29.378,4.111 C 9.812,208.502 0,219.92 0,233.112 v 45.774 c 0,13.193 9.812,24.61 22.824,26.556 9.634,1.442 19.519,2.824 29.379,4.11 1.197,0.157 2.165,0.967 2.467,2.066 4.553,16.521 11.16,32.465 19.637,47.389 0.569,1.003 0.461,2.268 -0.274,3.223 -6.072,7.892 -12.086,15.862 -17.875,23.689 -7.825,10.578 -6.691,25.589 2.638,34.918 l 32.366,32.366 c 9.33,9.329 24.341,10.465 34.918,2.638 7.817,-5.782 15.787,-11.796 23.689,-17.875 0.955,-0.736 2.221,-0.842 3.223,-0.274 14.92,8.476 30.863,15.081 47.389,19.637 1.099,0.302 1.91,1.271 2.066,2.467 1.289,9.88 2.672,19.765 4.11,29.376 1.946,13.013 13.362,22.825 26.556,22.825 h 45.773 c 13.193,0 24.61,-9.812 26.555,-22.827 1.439,-9.623 2.821,-19.507 4.109,-29.376 0.157,-1.197 0.967,-2.166 2.066,-2.469 16.524,-4.556 32.469,-11.162 47.388,-19.637 1.003,-0.567 2.268,-0.459 3.224,0.274 7.901,6.079 15.872,12.093 23.689,17.875 10.578,7.825 25.588,6.691 34.918,-2.638 l 32.366,-32.366 c 9.328,-9.329 10.464,-24.339 2.639,-34.918 -5.795,-7.831 -11.81,-15.802 -17.876,-23.689 -0.735,-0.955 -0.843,-2.22 -0.273,-3.223 8.477,-14.924 15.083,-30.868 19.636,-47.388 0.304,-1.1 1.272,-1.91 2.469,-2.067 9.863,-1.286 19.748,-2.669 29.378,-4.11 13.013,-1.945 22.825,-13.362 22.825,-26.555 v -45.774 c 0,-13.19 -9.812,-24.608 -22.824,-26.553 z m -1.084,72.332 c 0,1.45 -1.054,2.7 -2.453,2.911 -9.482,1.419 -19.216,2.779 -28.932,4.048 -10.758,1.402 -19.56,9.024 -22.426,19.42 -4.029,14.618 -9.875,28.727 -17.375,41.932 -5.333,9.389 -4.504,21.012 2.112,29.612 5.976,7.768 11.899,15.617 17.604,23.329 0.842,1.137 0.702,2.769 -0.323,3.794 L 403.931,436.3 c -1.026,1.026 -2.657,1.163 -3.793,0.324 -7.697,-5.695 -15.548,-11.618 -23.33,-17.605 -8.599,-6.617 -20.221,-7.446 -29.609,-2.114 -13.205,7.5 -27.314,13.347 -41.934,17.377 -10.394,2.865 -18.016,11.667 -19.421,22.426 -1.267,9.722 -2.629,19.456 -4.047,28.932 -0.209,1.399 -1.461,2.453 -2.911,2.453 h -45.773 c -1.45,0 -2.702,-1.054 -2.911,-2.454 -1.415,-9.465 -2.778,-19.199 -4.047,-28.93 -1.403,-10.759 -9.027,-19.561 -19.421,-22.426 -14.621,-4.03 -28.73,-9.877 -41.934,-17.378 -4.117,-2.337 -8.664,-3.491 -13.196,-3.491 -5.804,0 -11.585,1.89 -16.412,5.607 -7.783,5.987 -15.633,11.91 -23.33,17.605 -1.138,0.839 -2.767,0.702 -3.792,-0.324 L 75.703,403.936 c -1.026,-1.026 -1.166,-2.656 -0.324,-3.793 5.701,-7.707 11.623,-15.556 17.604,-23.33 6.615,-8.6 7.445,-20.221 2.114,-29.609 C 87.594,333.995 81.749,319.887 77.72,305.27 74.855,294.876 66.053,287.253 55.295,285.85 c -9.712,-1.267 -19.447,-2.63 -28.934,-4.048 -1.399,-0.21 -2.453,-1.461 -2.453,-2.911 v -45.774 c 0,-1.45 1.054,-2.701 2.453,-2.911 9.487,-1.419 19.221,-2.781 28.932,-4.048 10.759,-1.402 19.561,-9.025 22.426,-19.42 4.027,-14.616 9.874,-28.725 17.377,-41.934 5.332,-9.389 4.502,-21.011 -2.113,-29.609 -5.965,-7.756 -11.888,-15.604 -17.604,-23.33 -0.84,-1.137 -0.701,-2.769 0.324,-3.793 l 32.365,-32.367 c 1.024,-1.026 2.655,-1.163 3.792,-0.324 7.697,5.694 15.547,11.617 23.33,17.605 8.6,6.614 20.221,7.445 29.611,2.112 13.203,-7.5 27.312,-13.347 41.932,-17.377 10.395,-2.865 18.019,-11.667 19.422,-22.426 1.27,-9.731 2.631,-19.465 4.048,-28.933 0.209,-1.397 1.461,-2.452 2.911,-2.452 h 45.773 c 1.45,0 2.702,1.054 2.911,2.453 1.417,9.465 2.778,19.198 4.048,28.932 1.403,10.759 9.027,19.561 19.421,22.426 14.62,4.03 28.728,9.877 41.934,17.377 9.388,5.33 21.01,4.502 29.608,-2.114 7.783,-5.987 15.633,-11.91 23.329,-17.604 1.137,-0.842 2.769,-0.703 3.794,0.324 l 32.366,32.366 c 1.026,1.026 1.164,2.657 0.324,3.793 -5.705,7.714 -11.628,15.562 -17.604,23.33 -6.615,8.601 -7.445,20.223 -2.112,29.612 7.501,13.205 13.347,27.313 17.377,41.933 2.865,10.394 11.669,18.016 22.424,19.418 9.716,1.268 19.451,2.63 28.934,4.048 1.399,0.21 2.453,1.461 2.453,2.911 v 45.773 z" - id="path2" - inkscape:connector-curvature="0" /> - </g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g12"> - <g - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g10"> - <path - inkscape:connector-curvature="0" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="path8" - d="m 256,144.866 c -61.28,0 -111.134,49.854 -111.134,111.134 0,61.28 49.854,111.134 111.134,111.134 61.28,0 111.134,-49.854 111.134,-111.134 0,-61.28 -49.854,-111.134 -111.134,-111.134 z m 0,198.359 c -48.097,0 -87.225,-39.129 -87.225,-87.225 0,-48.097 39.13,-87.225 87.225,-87.225 48.096,0 87.225,39.129 87.225,87.225 0,48.096 -39.128,87.225 -87.225,87.225 z" /> - </g> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g14"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g16"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g18"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g20"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g22"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g24"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g26"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g28"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g30"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g32"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g34"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g36"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g38"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g40"> -</g><g - transform="translate(5,5)" - style="stroke:#000000;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="g42"> -</g></g> -</svg>
\ No newline at end of file diff --git a/kvmd/web/svg/hid-keyboard-led.svg b/kvmd/web/svg/hid-keyboard-led.svg deleted file mode 100644 index dc17c615..00000000 --- a/kvmd/web/svg/hid-keyboard-led.svg +++ /dev/null @@ -1,71 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="16.933332mm" - height="16.933332mm" - viewBox="0 0 16.933332 16.933332" - version="1.1" - id="svg8" - sodipodi:docname="keyboard.svg" - inkscape:version="0.92.2 2405546, 2018-03-11"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="5.6" - inkscape:cx="1.0356611" - inkscape:cy="21.129805" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-107.87666,-24.618942)"> - <g - aria-label="⌨" - transform="matrix(1.2768581,0,0,1.2768581,215.79611,15.018191)" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10px;line-height:125%;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.20721436px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - id="flowRoot4808"> - <path - d="m -83.44043,10.504883 h 11.103516 q 1.079102,0 1.079102,1.079101 v 5.131836 q 0,1.079102 -1.079102,1.079102 H -83.44043 q -1.079101,0 -1.079101,-1.079102 v -5.131836 q 0,-1.079101 1.079101,-1.079101 z m -0.361328,1.079101 v 5.131836 q 0,0.361328 0.361328,0.361328 h 11.103516 q 0.356445,0 0.356445,-0.361328 v -5.131836 q 0,-0.361328 -0.356445,-0.361328 H -83.44043 q -0.361328,0 -0.361328,0.361328 z m 1.264649,4.501953 v 0.356446 q 0,0.180664 -0.180664,0.180664 h -0.361329 q -0.180664,0 -0.180664,-0.180664 v -0.356446 q 0,-0.185546 0.180664,-0.185546 h 0.361329 q 0.180664,0 0.180664,0.185546 z m 1.088867,-0.0049 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.366211 q -0.175781,0 -0.175781,-0.180664 v -0.361328 q 0,-0.180664 0.175781,-0.180664 h 0.366211 q 0.180664,0 0.180664,0.180664 z m 1.611328,-1.074219 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m -2.158203,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079101,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 2.153321,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180665,0 -0.180665,-0.180664 v -0.361328 q 0,-0.180664 0.180665,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079101,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079102,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079101,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079102,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.943359,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -1.225586 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 1.225586 q 0.180664,0 0.180664,0.180664 z m -9.672851,-1.074219 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079101,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079102,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.074219,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361329 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361329 q 0.180664,0 0.180664,0.180664 z m 1.079101,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079102,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079101,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079102,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m -0.175781,-1.074219 v 0.361329 q 0,0.180664 -0.180664,0.180664 h -0.361329 q -0.180664,0 -0.180664,-0.180664 v -0.361329 q 0,-0.180664 0.180664,-0.180664 h 0.361329 q 0.180664,0 0.180664,0.180664 z m -1.079102,0 v 0.361329 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361329 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m -1.079101,0 v 0.361329 q 0,0.180664 -0.180665,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361329 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180665,0 0.180665,0.180664 z m -1.079102,0 v 0.361329 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361329 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m -1.074219,0 v 0.361329 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361329 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m -1.079101,0 v 0.361329 q 0,0.180664 -0.180664,0.180664 h -0.361329 q -0.180664,0 -0.180664,-0.180664 v -0.361329 q 0,-0.180664 0.180664,-0.180664 h 0.361329 q 0.180664,0 0.180664,0.180664 z m -1.079102,0 v 0.361329 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361329 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m -1.079101,0 v 0.361329 q 0,0.180664 -0.180665,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361329 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180665,0 0.180665,0.180664 z m -0.175782,-1.05957 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079102,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079101,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079102,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.074219,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180665,0 -0.180665,-0.180664 v -0.361328 q 0,-0.180664 0.180665,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079101,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079102,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079101,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.079102,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.396484,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.678711 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.678711 q 0.180664,0 0.180664,0.180664 z m -0.180664,0.888672 q 0.180664,0 0.180664,0.180664 v 1.416016 q 0,0.180664 -0.180664,0.180664 h -1.201172 q -0.205078,0 -0.205078,-0.180664 v -0.727539 q 0,-0.15625 -0.175781,-0.15625 -0.180664,0 -0.180664,-0.180664 v -0.356446 q 0,-0.180664 0.180664,-0.180664 z m -0.859375,3.393555 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.361328 q -0.180664,0 -0.180664,-0.180664 v -0.361328 q 0,-0.180664 0.180664,-0.180664 h 0.361328 q 0.180664,0 0.180664,0.180664 z m 1.088867,0 v 0.361328 q 0,0.180664 -0.180664,0.180664 h -0.366211 q -0.175781,0 -0.175781,-0.180664 v -0.361328 q 0,-0.180664 0.175781,-0.180664 h 0.366211 q 0.180664,0 0.180664,0.180664 z m -7.944335,0.541992 q -0.180665,0 -0.180665,-0.180664 v -0.361328 q 0,-0.180664 0.180665,-0.180664 h 5.019531 q 0.180664,0 0.180664,0.180664 v 0.361328 q 0,0.180664 -0.180664,0.180664 z" - style="stroke-width:0.20721436px" - id="path4816" /> - </g> - </g> -</svg> diff --git a/kvmd/web/svg/hid-mouse-led.svg b/kvmd/web/svg/hid-mouse-led.svg deleted file mode 100644 index b922bdde..00000000 --- a/kvmd/web/svg/hid-mouse-led.svg +++ /dev/null @@ -1,71 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="16.933332mm" - height="16.933332mm" - viewBox="0 0 16.933332 16.933332" - version="1.1" - id="svg8" - sodipodi:docname="mouse.svg" - inkscape:version="0.92.2 2405546, 2018-03-11"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="5.6" - inkscape:cx="13.28418" - inkscape:cy="14.886884" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-107.87666,-24.618942)"> - <g - aria-label="🖰" - transform="matrix(2.0925222,0,0,2.0925222,225.46869,4.2347952)" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10px;line-height:125%;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.20230769;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="flowRoot4916"> - <path - d="m -52.145156,17.732578 q -1.41,0 -2.15,-0.75 -0.73,-0.76 -0.73,-2.21 v -0.46 l 0.13,-2.72 q 0.04,-0.91 0.39,-1.33 0.36,-0.4199999 1.08,-0.4199999 0.2,0 0.44,0.03 l 2.48,0.2499999 q 0.55,0.05 0.79,0.35 0.25,0.29 0.28,0.9 l 0.16,3.14 v 0.29 q 0,1.42 -0.74,2.18 -0.73,0.75 -2.13,0.75 z m -2.48,-5.45 q 0.35,-0.04 0.71,-0.05 0.37,-0.02 0.73,-0.02 0.28,0 0.55,0.01 0.28,0.01 0.55,0.03 v -2 l -0.93,-0.09 q -0.11,-0.01 -0.22,-0.02 -0.1,-0.01 -0.19,-0.01 -0.59,0 -0.86,0.34 -0.27,0.33 -0.31,1.13 z m 4.96,0.39 -0.07,-1.29 q -0.03,-0.5 -0.21,-0.71 -0.17,-0.21 -0.6,-0.26 l -1.26,-0.13 v 2 q 0.56,0.05 1.1,0.16 0.55,0.1 1.04,0.23 z m -2.47,4.77 q 2.56,0 2.56,-2.64 v -0.27 l -0.08,-1.55 q -0.89,-0.24 -1.75,-0.35 -0.86,-0.12 -1.73,-0.12 -0.38,0 -0.75,0.02 -0.37,0.02 -0.76,0.06 l -0.08,1.71 v 0.47 q 0,2.67 2.59,2.67 z" - style="stroke:#000000;stroke-width:0.20230769;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="path5033" /> - </g> - </g> -</svg> diff --git a/kvmd/web/svg/info.svg b/kvmd/web/svg/info.svg deleted file mode 100644 index b28139d5..00000000 --- a/kvmd/web/svg/info.svg +++ /dev/null @@ -1,7 +0,0 @@ -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"> - <circle cy="24" cx="24" r="24" fill="#36c"/> - <g fill="#fff"> - <circle cx="24" cy="11.6" r="4.7"/> - <path d="m17.4 18.8v2.15h1.13c2.26 0 2.26 1.38 2.26 1.38v15.1s0 1.38-2.26 1.38h-1.13v2.08h14.2v-2.08h-1.13c-2.26 0-2.26-1.38-2.26-1.38v-18.6"/> - </g> -</svg> diff --git a/kvmd/web/svg/link-led.svg b/kvmd/web/svg/link-led.svg deleted file mode 100644 index 8cc10e13..00000000 --- a/kvmd/web/svg/link-led.svg +++ /dev/null @@ -1,87 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
-<g>
- <g>
- <path d="M168,184.036c-6.632,0-12,5.376-12,12v23.752c0,6.628,5.368,12,12,12c6.624,0,12-5.372,12-12v-23.752
- C180,189.412,174.624,184.036,168,184.036z"/>
- </g>
-</g>
-<g>
- <g>
- <path d="M256,184.036c-6.632,0-12,5.376-12,12v23.752c0,6.628,5.368,12,12,12c6.624,0,12-5.372,12-12v-23.752
- C268,189.412,262.624,184.036,256,184.036z"/>
- </g>
-</g>
-<g>
- <g>
- <path d="M212,184.036c-6.632,0-12,5.376-12,12v23.752c0,6.628,5.368,12,12,12c6.624,0,12-5.372,12-12v-23.752
- C224,189.412,218.624,184.036,212,184.036z"/>
- </g>
-</g>
-<g>
- <g>
- <path d="M460,0H52C23.28,0,0,23.28,0,52v408c0,28.72,23.28,52,52,52h408c28.72,0,52-23.28,52-52V52C512,23.28,488.72,0,460,0z
- M444,284h-88.024c-2.212,0-3.976,1.64-3.976,3.848V348H160v-60.152c0-2.208-1.616-3.848-3.828-3.848H68V68h44v92.184
- c0,6.624,5.368,12,12,12c6.624,0,12-5.376,12-12V68h20v92.184c0,6.624,5.368,12,12,12c6.624,0,12-5.376,12-12V68h20v92.184
- c0,6.624,5.368,12,12,12c6.624,0,12-5.376,12-12V68h20v92.184c0,6.624,5.368,12,12,12c6.624,0,12-5.376,12-12V68h20v92.184
- c0,6.624,5.368,12,12,12c6.624,0,12-5.376,12-12V68h20v92.184c0,6.624,5.368,12,12,12c6.624,0,12-5.376,12-12V68h20v92.184
- c0,6.624,5.368,12,12,12c6.624,0,12-5.376,12-12V68h44V284z"/>
- </g>
-</g>
-<g>
- <g>
- <path d="M124,184.036c-6.632,0-12,5.376-12,12v23.752c0,6.628,5.368,12,12,12c6.624,0,12-5.372,12-12v-23.752
- C136,189.412,130.624,184.036,124,184.036z"/>
- </g>
-</g>
-<g>
- <g>
- <path d="M388,184.036c-6.632,0-12,5.376-12,12v23.752c0,6.628,5.368,12,12,12c6.624,0,12-5.372,12-12v-23.752
- C400,189.412,394.624,184.036,388,184.036z"/>
- </g>
-</g>
-<g>
- <g>
- <path d="M344,184.036c-6.632,0-12,5.376-12,12v23.752c0,6.628,5.368,12,12,12c6.624,0,12-5.372,12-12v-23.752
- C356,189.412,350.624,184.036,344,184.036z"/>
- </g>
-</g>
-<g>
- <g>
- <path d="M300,184.036c-6.632,0-12,5.376-12,12v23.752c0,6.628,5.368,12,12,12c6.624,0,12-5.372,12-12v-23.752
- C312,189.412,306.624,184.036,300,184.036z"/>
- </g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-</svg>
diff --git a/kvmd/web/svg/logo.svg b/kvmd/web/svg/logo.svg deleted file mode 100644 index 548ede08..00000000 --- a/kvmd/web/svg/logo.svg +++ /dev/null @@ -1,103 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="16.933332mm" - height="4.3488798mm" - viewBox="0 0 16.933332 4.3488798" - version="1.1" - id="svg8" - inkscape:version="0.92.2 2405546, 2018-03-11" - sodipodi:docname="logo.svg"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="11.2" - inkscape:cx="23.887322" - inkscape:cy="-8.8986029" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-11.627273,-5.9349994)"> - <g - aria-label="π-kvm" - transform="matrix(0.44662735,0,0,0.44662735,-8.0000339,-7.0757243)" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10px;line-height:125%;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.59240288px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - id="flowRoot4747"> - <path - d="m 48.222932,31.977531 q -0.170666,1.066667 -0.298666,1.856 -0.128,0.789334 -0.234667,1.365334 -0.106667,0.576 -0.192,0.981333 -0.08533,0.405334 -0.149333,0.725334 -0.234667,0.981333 -0.597334,1.472 -0.341333,0.490666 -0.96,0.490666 -0.554666,0 -0.874666,-0.277333 -0.298667,-0.277333 -0.277334,-0.874667 0,-0.192 0.128,-0.384 0.128,-0.192 0.298667,-0.298666 0.256,-0.170667 0.512,-0.469334 0.277333,-0.32 0.533333,-0.896 0.277334,-0.576 0.533334,-1.472 0.256,-0.896 0.469333,-2.218667 -1.066667,0 -1.728,0.192 -0.661333,0.170667 -1.024,0.704 -0.106667,0.170667 -0.234667,0.149334 -0.128,-0.02133 -0.170666,-0.298667 -0.02133,-0.149333 0,-0.426667 0.02133,-0.298666 0.149333,-0.618666 0.128,-0.341334 0.362667,-0.661334 0.234666,-0.341333 0.661333,-0.597333 0.362667,-0.213333 0.832,-0.298667 0.490667,-0.08533 1.173333,-0.08533 h 4.629334 q 1.237333,0 1.749333,-0.04267 0.533334,-0.04267 0.704,-0.149333 0.04267,-0.04267 0.106667,-0.02133 0.08533,0.02133 0.08533,0.192 0,0.469333 -0.213333,1.024 -0.213333,0.533333 -0.512,0.746666 -0.170667,0.106667 -0.469333,0.149334 -0.298667,0.04267 -0.981334,0.04267 -0.405333,1.514667 -0.426666,2.965334 -0.04267,1.024 0.234666,1.536 0.277334,0.512 0.725334,0.512 0.234666,0 0.533333,-0.128 0.298667,-0.149333 0.661333,-0.576 0.106667,-0.128 0.213334,-0.149333 0.128,-0.04267 0.213333,0 0.08533,0.04267 0.106667,0.170666 0.04267,0.106667 -0.02133,0.32 -0.426666,1.173334 -1.216,1.706667 -0.768,0.533333 -1.728,0.533333 -0.618666,0 -1.002667,-0.234666 -0.362666,-0.234667 -0.576,-0.554667 -0.192,-0.341333 -0.256,-0.725333 -0.064,-0.384 -0.064,-0.704 0,-1.152001 0.405334,-2.346667 0.426666,-1.194667 0.896,-2.325334 z" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:21.33333397px;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';stroke-width:0.59240288px" - id="path4769" - inkscape:connector-curvature="0" /> - <path - d="m 57.912266,35.979532 q 0.14,0.16 0.14,0.42 0,0.1 -0.04,0.21 -0.03,0.1 -0.09,0.18 l -2.4,0.22 q -0.06,-0.06 -0.11,-0.16 -0.04,-0.1 -0.04,-0.24 0,-0.14 0.04,-0.23 0.05,-0.1 0.11,-0.18 z" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';stroke-width:0.59240288px" - id="path4771" - inkscape:connector-curvature="0" /> - <path - d="m 60.365234,38.027539 -1.171875,0.839844 q 0.01953,-1.269531 0.03906,-2.280273 0.01953,-1.010742 0.0293,-1.796875 0.01465,-0.791016 0.02441,-1.372071 0.0098,-0.581054 0.01465,-0.996093 0.01465,-0.97168 0.01465,-1.362305 0.01465,-0.595703 -0.170899,-0.927734 Q 58.963867,29.8 58.583008,29.8 q -0.122071,0 -0.253906,0.03418 -0.136719,0.0293 -0.283204,0.107422 0.19043,-0.136719 0.400391,-0.27832 0.209961,-0.146485 0.424805,-0.263672 0.219726,-0.117188 0.439453,-0.19043 0.224609,-0.07813 0.444336,-0.07813 0.195312,0 0.332031,0.07324 0.136719,0.07324 0.224609,0.195313 0.09277,0.117187 0.141602,0.273437 0.04883,0.151367 0.06836,0.317383 0.02441,0.166016 0.0293,0.332031 0.0049,0.166016 0.0049,0.307617 l -0.112305,4.179688 q 0.263672,-0.297852 0.595703,-0.551758 0.336915,-0.258789 0.698243,-0.439453 0.361328,-0.180664 0.722656,-0.268555 0.366211,-0.08789 0.683594,-0.04883 0.190429,0.02441 0.356445,0.112305 0.166016,0.08301 0.288086,0.224609 0.12207,0.136719 0.19043,0.322266 0.07324,0.180664 0.07324,0.390625 0,0.34668 -0.161133,0.620117 -0.161133,0.273438 -0.415039,0.478516 -0.249024,0.205078 -0.556641,0.341797 -0.302734,0.131836 -0.585937,0.200195 0.131836,0.141601 0.307617,0.332031 0.180664,0.19043 0.385742,0.395508 0.205078,0.200195 0.429688,0.400391 0.224609,0.195312 0.449218,0.351562 0.229493,0.15625 0.449219,0.253906 0.219727,0.09277 0.419922,0.09277 0.390625,0 0.791016,-0.249024 -0.351563,0.249024 -0.620118,0.449219 -0.263671,0.195313 -0.498046,0.327149 -0.229493,0.131835 -0.458985,0.195312 -0.229492,0.06348 -0.512695,0.03906 -0.288086,-0.01953 -0.561524,-0.19043 -0.268554,-0.166016 -0.517578,-0.395508 -0.249023,-0.229492 -0.478515,-0.488281 -0.229492,-0.258789 -0.434571,-0.463867 -0.08789,-0.102539 -0.195312,-0.19043 -0.09277,-0.07324 -0.224609,-0.146484 -0.126954,-0.07324 -0.288086,-0.10254 0.170898,-0.141601 0.341796,-0.249023 0.175782,-0.112305 0.317383,-0.195312 0.166016,-0.09277 0.327149,-0.166016 0.166015,-0.07324 0.346679,-0.170899 0.185547,-0.09766 0.336914,-0.224609 0.15625,-0.131836 0.253907,-0.297851 0.102539,-0.170899 0.102539,-0.390625 0,-0.180665 -0.06348,-0.351563 -0.05859,-0.175781 -0.170898,-0.307617 -0.112305,-0.136719 -0.268555,-0.214844 -0.151367,-0.08301 -0.336914,-0.08301 -0.185547,0 -0.356445,0.05859 -0.170899,0.05859 -0.283203,0.12207 -0.09766,0.05371 -0.253907,0.307618 -0.151367,0.253906 -0.302734,0.71289 -0.151367,0.458985 -0.268555,1.12793 -0.112304,0.668945 -0.131836,1.547851 z m 5.200196,-0.258789 0.04883,-0.03906 z" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'Eagle Lake';-inkscape-font-specification:'Eagle Lake Bold';stroke-width:0.59240288px" - id="path4773" - inkscape:connector-curvature="0" /> - <path - d="m 68.514648,37.827344 -1.079101,0.97168 q -0.112305,-0.458985 -0.258789,-0.9375 -0.146485,-0.483399 -0.288086,-0.883789 -0.161133,-0.463867 -0.332031,-0.908203 -0.141602,-0.454102 -0.297852,-0.786133 -0.151367,-0.332031 -0.327148,-0.546875 -0.170899,-0.214844 -0.366211,-0.317383 -0.195313,-0.107422 -0.419922,-0.107422 -0.253906,0 -0.53711,0.117188 0.151368,-0.122071 0.366211,-0.297852 0.214844,-0.180664 0.449219,-0.341797 0.234375,-0.166015 0.46875,-0.283203 0.239258,-0.117187 0.43457,-0.117187 0.136719,0 0.268555,0.06836 0.131836,0.06348 0.249024,0.209961 0.08789,0.117187 0.214843,0.332031 0.131836,0.209961 0.278321,0.483399 0.146484,0.273437 0.297851,0.595703 0.15625,0.317382 0.292969,0.659179 0.141601,0.336914 0.253906,0.683594 0.117188,0.341797 0.185547,0.65918 0.170898,-0.214844 0.3125,-0.410156 0.146484,-0.200196 0.253906,-0.356446 0.126953,-0.180664 0.22461,-0.341797 0.249023,-0.415039 0.385742,-0.756836 0.141601,-0.341796 0.141601,-0.615234 0,-0.136719 -0.03906,-0.253906 -0.03906,-0.117188 -0.131836,-0.205078 l 1.162109,-0.771485 q 0.08789,0.09277 0.122071,0.205078 0.03906,0.112305 0.03906,0.234375 0,0.249024 -0.102539,0.522461 -0.102539,0.268555 -0.273437,0.551758 -0.166016,0.283203 -0.38086,0.571289 -0.209961,0.288086 -0.43457,0.566406 -0.219727,0.278321 -0.429688,0.541993 -0.209961,0.263672 -0.371093,0.498047 -0.161133,0.229492 -0.253907,0.424804 -0.09277,0.195313 -0.07813,0.341797 z" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'Eagle Lake';-inkscape-font-specification:'Eagle Lake Bold';stroke-width:0.59240288px" - id="path4775" - inkscape:connector-curvature="0" /> - <path - d="m 77.098633,35.107618 q -0.01465,0.288085 -0.03906,0.708007 -0.02441,0.361328 -0.05859,0.908203 -0.0293,0.541993 -0.08301,1.28418 l -1.25,0.830078 q 0.05371,-0.322265 0.08789,-0.683593 0.03906,-0.366211 0.06348,-0.737305 0.02441,-0.371094 0.03418,-0.732422 0.01465,-0.366211 0.01465,-0.683594 0,-0.302734 -0.0293,-0.600586 -0.02441,-0.297851 -0.131836,-0.532226 -0.102539,-0.234375 -0.3125,-0.38086 -0.205078,-0.146484 -0.566406,-0.146484 -0.322266,0 -0.551758,0.180664 -0.224609,0.180664 -0.385742,0.610352 -0.161133,0.429687 -0.268555,1.137695 -0.102539,0.703125 -0.175781,1.757812 l -1.166992,0.839844 q 0.04394,-0.942383 0.06836,-1.606445 0.02441,-0.664063 0.03418,-1.09375 0.01465,-0.50293 0.01465,-0.830078 0.02441,-0.590821 -0.161132,-0.922852 -0.185547,-0.336914 -0.566407,-0.336914 -0.12207,0 -0.258789,0.03906 -0.131836,0.03418 -0.283203,0.102539 0.19043,-0.136719 0.400391,-0.278321 0.209961,-0.146484 0.429687,-0.263672 0.219727,-0.117187 0.439453,-0.190429 0.22461,-0.07813 0.439453,-0.07813 0.205079,0 0.371094,0.08301 0.170899,0.08301 0.258789,0.27832 0.07813,0.170898 0.112305,0.395508 0.03906,0.219726 0.04883,0.483398 0.209961,-0.249023 0.473633,-0.478515 0.268555,-0.234375 0.551758,-0.405274 0.288086,-0.175781 0.576172,-0.268555 0.288086,-0.09766 0.537109,-0.06836 0.175781,0.02441 0.366211,0.08789 0.195312,0.06348 0.366211,0.185547 0.175781,0.12207 0.317383,0.3125 0.141601,0.185546 0.214843,0.463867 0.209961,-0.22461 0.463868,-0.424805 0.253906,-0.205078 0.517578,-0.351562 0.263672,-0.146485 0.522461,-0.219727 0.258789,-0.07813 0.483398,-0.05371 0.219727,0.0293 0.454102,0.12207 0.239257,0.08789 0.43457,0.283203 0.195312,0.19043 0.317383,0.50293 0.126953,0.307617 0.112304,0.771485 -0.01465,0.551757 -0.05371,1.015625 -0.03418,0.463867 -0.03418,0.815429 0,0.209961 0.03418,0.395508 0.03906,0.185547 0.126953,0.322266 0.08789,0.136718 0.234375,0.214843 0.146484,0.07813 0.366211,0.07813 0.195312,0 0.410156,-0.07324 0.219726,-0.07813 0.439453,-0.234375 -0.361328,0.317383 -0.65918,0.532227 -0.292968,0.214844 -0.546875,0.346679 -0.253906,0.131836 -0.473633,0.185547 -0.214843,0.05859 -0.419921,0.05371 -0.205079,-0.0049 -0.351563,-0.08301 -0.146484,-0.07324 -0.234375,-0.229492 -0.08789,-0.161133 -0.12207,-0.410156 -0.03418,-0.253906 -0.02441,-0.620117 0.01465,-0.322266 0.03418,-0.708008 0.02441,-0.390625 0.02441,-0.771484 0,-0.3125 -0.0293,-0.600586 -0.02441,-0.292969 -0.126954,-0.512696 -0.102539,-0.219726 -0.302734,-0.351562 -0.200195,-0.131836 -0.546875,-0.131836 -0.19043,0 -0.341797,0.05371 -0.151367,0.05371 -0.273437,0.15625 -0.117188,0.09766 -0.209961,0.234375 -0.08789,0.131836 -0.15625,0.292969 z" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'Eagle Lake';-inkscape-font-specification:'Eagle Lake Bold';stroke-width:0.59240288px" - id="path4777" - inkscape:connector-curvature="0" /> - </g> - <text - xml:space="preserve" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:2.64583325px;line-height:125%;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - x="17.094305" - y="9.1093149" - id="text4782"><tspan - sodipodi:role="line" - id="tspan4780" - x="17.094305" - y="9.1093149" - style="stroke-width:0.26458332px"> </tspan></text> - </g> -</svg> diff --git a/kvmd/web/svg/msd-led.svg b/kvmd/web/svg/msd-led.svg deleted file mode 100644 index a8da7092..00000000 --- a/kvmd/web/svg/msd-led.svg +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="16.933332mm" - height="16.933332mm" - viewBox="0 0 16.933332 16.933332" - version="1.1" - id="svg8" - sodipodi:docname="msd.svg" - inkscape:version="0.92.2 2405546, 2018-03-11"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="5.6" - inkscape:cx="-7.1450758" - inkscape:cy="12.600068" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-107.87666,-24.618942)"> - <flowRoot - xml:space="preserve" - id="flowRoot5064" - style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Adobe Garamond Pro;font-style:normal;font-weight:bold;font-size:10px;line-height:125%;letter-spacing:0px;word-spacing:0px;-inkscape-font-specification:Adobe Garamond Pro Bold;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr"><flowRegion - id="flowRegion5066"><rect - id="rect5068" - width="50.892857" - height="43.57143" - x="-72.321426" - y="5.4285674" /></flowRegion><flowPara - id="flowPara5070"></flowPara></flowRoot> <g - aria-label="✇" - transform="matrix(2.2460794,0,0,2.2388294,309.08063,12.073626)" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10px;line-height:125%;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.11798844px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - id="flowRoot5115"> - <path - d="m -87.924805,11.194336 q -0.307617,-0.356445 -0.46875,-0.74707 -0.0293,-0.07324 -0.05371,-0.146485 l 1.455079,-1.2353513 q -0.03906,0.1464844 -0.03906,0.3125 0,0.2441406 0.09277,0.4638672 0.09277,0.2246091 0.268555,0.4003911 0.15625,0.15625 0.395508,0.263671 0.09766,0.04395 0.136719,0.04883 z m 2.973633,-2.6855469 q -0.175781,-0.1660157 -0.395508,-0.2636719 -0.209961,-0.092773 -0.463867,-0.092773 -0.253906,0 -0.463867,0.092773 -0.219727,0.097656 -0.395508,0.2636719 l 0.341797,-1.8896485 q 0.249023,-0.043945 0.517578,-0.043945 0.273438,0 0.517578,0.043945 z m 0.322266,0.5566406 1.455078,1.2353513 q -0.0098,0.03418 -0.05371,0.146485 -0.161133,0.390625 -0.46875,0.74707 l -1.787109,-0.639648 q 0.06836,-0.01953 0.136718,-0.04883 0.239258,-0.107421 0.395508,-0.263671 0.175781,-0.175782 0.268555,-0.4003911 0.09277,-0.2197266 0.09277,-0.4638672 0,-0.1611328 -0.03906,-0.312499 z m -1.459961,-0.3710938 q 0.126953,-0.053711 0.27832,-0.053711 0.151367,0 0.27832,0.053711 0.131836,0.058594 0.239258,0.1611329 0.107422,0.1123046 0.161133,0.2392578 0.05371,0.1318359 0.05371,0.2832031 0,0.1464844 -0.05371,0.2783203 -0.05371,0.1269531 -0.161133,0.2392578 -0.107422,0.1025391 -0.239258,0.1611332 -0.126953,0.05371 -0.27832,0.05371 -0.151367,0 -0.27832,-0.05371 -0.131836,-0.058594 -0.239258,-0.1611332 -0.107422,-0.1123047 -0.161133,-0.2392578 -0.05371,-0.1318359 -0.05371,-0.2783203 0,-0.1513672 0.05371,-0.2832031 0.05371,-0.1269532 0.161133,-0.2392578 0.107422,-0.1025391 0.239258,-0.1611329 z m 0.27832,-2.602539 q -0.654297,0 -1.259765,0.2490234 -0.581055,0.2392578 -1.059571,0.7226563 -0.488281,0.4882812 -0.722656,1.0644531 -0.239258,0.5810547 -0.239258,1.2695312 0,0.6494141 0.239258,1.2451171 0.239258,0.581055 0.722656,1.064453 0.46875,0.473633 1.059571,0.722657 0.59082,0.249023 1.259765,0.249023 0.664063,0 1.259766,-0.249023 0.581054,-0.239258 1.05957,-0.722657 0.488281,-0.488281 0.722656,-1.064453 0.239258,-0.581055 0.239258,-1.2451171 0,-0.6884765 -0.239258,-1.2695312 -0.224609,-0.5517578 -0.722656,-1.0644531 -0.463867,-0.46875 -1.05957,-0.7226563 -0.585938,-0.2490234 -1.259766,-0.2490234 z m 0,-0.4882813 q 0.751953,0 1.445313,0.288086 0.654297,0.2734375 1.21582,0.8300781 0.546875,0.5419922 0.830078,1.2207031 0.27832,0.6689453 0.27832,1.4550781 0,0.7421871 -0.27832,1.4306641 -0.258789,0.639648 -0.830078,1.220703 -0.537109,0.546875 -1.21582,0.830078 -0.688477,0.288086 -1.445313,0.288086 -0.751953,0 -1.445312,-0.288086 -0.654297,-0.273437 -1.215821,-0.830078 -0.546875,-0.541992 -0.830078,-1.220703 -0.27832,-0.668945 -0.27832,-1.4306641 0,-0.7666015 0.27832,-1.4550781 0.258789,-0.6396484 0.830078,-1.2207031 0.527344,-0.5371094 1.215821,-0.8300781 0.683593,-0.288086 1.445312,-0.288086 z" - style="stroke-width:0.11798844px" - id="path5123" - inkscape:connector-curvature="0" /> - </g> - </g> -</svg> diff --git a/kvmd/web/svg/select-arrow-inactive.svg b/kvmd/web/svg/select-arrow-inactive.svg deleted file mode 100644 index ba68f05c..00000000 --- a/kvmd/web/svg/select-arrow-inactive.svg +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="24" - height="31.999998" - viewBox="0 0 6.3500001 8.4666662" - version="1.1" - id="svg8" - inkscape:version="0.92.2 2405546, 2018-03-11" - sodipodi:docname="select-arrow-inactive.svg"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="11.2" - inkscape:cx="27.151934" - inkscape:cy="16.615415" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" - units="px" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-8.8745959,-36.821965)"> - <path - sodipodi:type="star" - style="opacity:1;fill:#6c7481;fill-opacity:1;stroke:none;stroke-width:2.64583325;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:75.59055328;stroke-opacity:1;paint-order:normal" - id="path4749" - sodipodi:sides="3" - sodipodi:cx="12.049596" - sodipodi:cy="40.702518" - sodipodi:r1="1.411111" - sodipodi:r2="0.70555568" - sodipodi:arg1="1.5707963" - sodipodi:arg2="2.6179939" - inkscape:flatsided="false" - inkscape:rounded="0" - inkscape:randomized="0" - d="m 12.049596,42.113629 -0.611029,-1.058333 -0.611029,-1.058333 1.222058,0 1.222058,0 -0.611029,1.058333 z" - inkscape:transform-center-y="0.3527758" /> - </g> -</svg> diff --git a/kvmd/web/svg/select-arrow-intensive.svg b/kvmd/web/svg/select-arrow-intensive.svg deleted file mode 100644 index 3223f099..00000000 --- a/kvmd/web/svg/select-arrow-intensive.svg +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="24" - height="31.999998" - viewBox="0 0 6.3500001 8.4666662" - version="1.1" - id="svg8" - inkscape:version="0.92.2 2405546, 2018-03-11" - sodipodi:docname="select-arrow-intensive.svg"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="11.2" - inkscape:cx="27.151934" - inkscape:cy="16.615415" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" - units="px" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-8.8745959,-36.821965)"> - <path - sodipodi:type="star" - style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.64583325;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:75.59055328;stroke-opacity:1;paint-order:normal" - id="path4749" - sodipodi:sides="3" - sodipodi:cx="12.049596" - sodipodi:cy="40.702518" - sodipodi:r1="1.411111" - sodipodi:r2="0.70555568" - sodipodi:arg1="1.5707963" - sodipodi:arg2="2.6179939" - inkscape:flatsided="false" - inkscape:rounded="0" - inkscape:randomized="0" - d="m 12.049596,42.113629 -0.611029,-1.058333 -0.611029,-1.058333 1.222058,0 1.222058,0 -0.611029,1.058333 z" - inkscape:transform-center-y="0.3527758" /> - </g> -</svg> diff --git a/kvmd/web/svg/select-arrow-normal.svg b/kvmd/web/svg/select-arrow-normal.svg deleted file mode 100644 index 174663ce..00000000 --- a/kvmd/web/svg/select-arrow-normal.svg +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="24" - height="31.999998" - viewBox="0 0 6.3500001 8.4666662" - version="1.1" - id="svg8" - inkscape:version="0.92.2 2405546, 2018-03-11" - sodipodi:docname="select-arrow-normal.svg"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="11.2" - inkscape:cx="27.151934" - inkscape:cy="16.615415" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" - units="px" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-8.8745959,-36.821965)"> - <path - sodipodi:type="star" - style="opacity:1;fill:#c3c3c3;fill-opacity:1;stroke:none;stroke-width:2.64583325;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:75.59055328;stroke-opacity:1;paint-order:normal" - id="path4749" - sodipodi:sides="3" - sodipodi:cx="12.049596" - sodipodi:cy="40.702518" - sodipodi:r1="1.411111" - sodipodi:r2="0.70555568" - sodipodi:arg1="1.5707963" - sodipodi:arg2="2.6179939" - inkscape:flatsided="false" - inkscape:rounded="0" - inkscape:randomized="0" - d="m 12.049596,42.113629 -0.611029,-1.058333 -0.611029,-1.058333 1.222058,0 1.222058,0 -0.611029,1.058333 z" - inkscape:transform-center-y="0.3527758" /> - </g> -</svg> diff --git a/kvmd/web/svg/stream-led.svg b/kvmd/web/svg/stream-led.svg deleted file mode 100644 index 8dfbfbe3..00000000 --- a/kvmd/web/svg/stream-led.svg +++ /dev/null @@ -1,71 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="16.933332mm" - height="16.933332mm" - viewBox="0 0 16.933332 16.933332" - version="1.1" - id="svg8" - sodipodi:docname="screen.svg" - inkscape:version="0.92.2 2405546, 2018-03-11"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="5.6" - inkscape:cx="1.0356611" - inkscape:cy="21.129805" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-107.87666,-24.618942)"> - <g - aria-label="🖵" - transform="matrix(1.7493113,0,0,1.7493113,-47.955951,-29.472907)" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10px;line-height:125%;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.57165354px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - id="flowRoot4747"> - <path - d="m 91.792266,39.911797 v -0.32 q 0,-0.14 0.1,-0.23 0.11,-0.1 0.26,-0.1 h 1.26 v -0.56 h -3.85 q -0.2,0 -0.34,-0.14 -0.14,-0.15 -0.14,-0.35 v -6.12 q 0,-0.2 0.14,-0.34 0.14,-0.14 0.34,-0.14 h 8.72 q 0.19,0 0.33,0.14 0.15,0.14 0.15,0.34 v 6.12 q 0,0.2 -0.15,0.35 -0.14,0.14 -0.33,0.14 h -3.86 v 0.56 h 1.26 q 0.15,0 0.25,0.1 0.11,0.09 0.11,0.23 v 0.32 z m -1.72,-2.46 h 7.69 q 0.15,0 0.25,-0.11 0.11,-0.11 0.11,-0.26 v -4.4 q 0,-0.16 -0.11,-0.27 -0.1,-0.11 -0.25,-0.11 h -7.69 q -0.15,0 -0.26,0.11 -0.1,0.11 -0.1,0.27 v 4.4 q 0,0.15 0.1,0.26 0.11,0.11 0.26,0.11 z m 7.93,0.75 q 0.13,0 0.13,-0.14 0,-0.13 -0.13,-0.13 -0.14,0 -0.14,0.13 0,0.14 0.14,0.14 z" - style="stroke-width:0.57165354px" - id="path4851" /> - </g> - </g> -</svg> diff --git a/kvmd/web/svg/stream-mouse-cursor.svg b/kvmd/web/svg/stream-mouse-cursor.svg deleted file mode 100644 index ff852ef6..00000000 --- a/kvmd/web/svg/stream-mouse-cursor.svg +++ /dev/null @@ -1,68 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="2.6458335mm" - height="2.6458335mm" - viewBox="0 0 2.6458335 2.6458335" - version="1.1" - id="svg8" - sodipodi:docname="stream-mouse-cursor.svg" - inkscape:version="0.92.2 2405546, 2018-03-11"> - <defs - id="defs2" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="31.678384" - inkscape:cx="13.114187" - inkscape:cy="8.129091" - inkscape:document-units="mm" - inkscape:current-layer="layer1" - showgrid="false" - units="px" - inkscape:window-width="1920" - inkscape:window-height="1020" - inkscape:window-x="0" - inkscape:window-y="30" - inkscape:window-maximized="1" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" /> - <metadata - id="metadata5"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-102.90015,-148.41315)"> - <circle - style="opacity:1;fill:#5b90bb;fill-opacity:1;stroke:#e8e8e8;stroke-width:0.26458332;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:75.59055328;stroke-opacity:0.80303034;paint-order:normal" - id="path4915" - cx="104.22307" - cy="149.73607" - r="1.1906251" /> - </g> -</svg> diff --git a/kvmd/web/svg/warning.svg b/kvmd/web/svg/warning.svg deleted file mode 100644 index 3137b24d..00000000 --- a/kvmd/web/svg/warning.svg +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
-<svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="265.4766846px" height="233.2780151px" viewBox="0 0 265.4766846 233.2780151"
- enable-background="new 0 0 265.4766846 233.2780151" xml:space="preserve">
-<g id="Icon">
- <g id="Signboard">
- <path fill="#010100" d="M12.5276556,233.2779999c-4.4623718,0-8.6218128-2.401001-10.8545284-6.2661896
- c-2.2306759-3.8661957-2.2306759-8.6682129-0.00102-12.5328827L121.883812,6.2666974
- c2.2327194-3.865689,6.3911362-6.2667003,10.8545303-6.2667003s8.6218109,2.401011,10.8545227,6.2661901l120.2106934,208.2117157
- c2.2306824,3.8656921,2.2306824,8.6677094,0.0010071,12.5323792c-2.2337341,3.8667145-6.393158,6.2677155-10.8555298,6.2677155
- H12.5276556z"/>
- <path fill="#FFDB00" d="M12.5274048,223.2783966c-0.8886719,0-1.75-0.4980469-2.1962891-1.2695313
- c-0.4414063-0.765625-0.4414063-1.7626953,0.0029297-2.5341797L130.5440063,11.2666779
- c0.4443359-0.769043,1.3056641-1.2666016,2.1943359-1.2666016s1.75,0.4975586,2.1953125,1.2675781l120.2099609,208.2099609
- c0.4433594,0.7685547,0.4433594,1.7646484-0.0009766,2.5351563c-0.4423828,0.7666016-1.3046875,1.265625-2.1933594,1.265625
- H12.5274048z"/>
- </g>
- <g id="Graphic">
- <path id="path37169" d="M117.9776917,75.1996231c0-16.8840446,29.5213013-16.7991524,29.5213013,0l-7.7432861,88.7607346
- c0,6.9947052-13.7927399,7.0144653-13.7927399,0L117.9776917,75.1996231z"/>
- <ellipse cx="132.7383423" cy="189.3726196" rx="14.7001534" ry="15.0053892"/>
- </g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-</svg>
|