This commit is contained in:
Nik Mitev 2025-07-20 10:05:53 +00:00
commit d19c3d9cd0
138 changed files with 67628 additions and 0 deletions

674
LICENSE Normal file
View File

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://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 <https://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
<https://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
<https://www.gnu.org/licenses/why-not-lgpl.html>.

39
README.md Normal file
View File

@ -0,0 +1,39 @@
License: GNU GPLv3
This is an open source project I have been working on in my free time.
At present, it can import nessus and pingcastle reports, review, merge and delete issues (amend descriptions DIEs etc) and create a report in the standard format as output by Dradis - except a good bit better and faster.
There is lots to be done on it still, and the ONLY focus so far has been getting it to the point where it can be used for reporting. I have built my last to reports with it and it saved me a lot of time, but it is insecure, not very user friendly and more than likely buggy. Run on localhost only, don't expose externally. Work in (slow) progress.
## To Run the App:
- source the virtual environment
```bash
$ source venv/bin/activate
```
- start postgresql
- Native:
TODO
- Docker:
```bash
$ cd postgres-docker
postgres-docker $ docker-compose up -d
Starting my_postgres ... done
postgres-docker $ docker exec -it my_postgres psql -U flask -d xhq -f /schema.sql
...
...
postgres-docker $ docker exec -it my_postgres psql -U flask -d xhq -f /library.sql
```
- start the app
```bash
$ ./start-app
* Serving Flask app "app.py" (lazy loading)
* Environment: development
* Debug mode: on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 123-123-123
```

242
assets/favicon.svg Normal file
View File

@ -0,0 +1,242 @@
<?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"
version="1.1"
id="svg2"
xml:space="preserve"
width="1120.5601"
height="565.61603"
viewBox="0 0 1120.5601 565.61603"
sodipodi:docname="favicon.svg"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"><metadata
id="metadata8"><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="defs6"><marker
inkscape:isstock="true"
style="overflow:visible"
id="marker3884"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lstart"><path
transform="scale(0.8) translate(12.5,0)"
style="fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-opacity:1;fill:#3189bf;fill-opacity:1"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path3882" /></marker><marker
inkscape:isstock="true"
style="overflow:visible"
id="marker1432"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lstart"><path
transform="scale(0.8) translate(12.5,0)"
style="fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-opacity:1;fill:#3189bf;fill-opacity:1"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path1430" /></marker><marker
inkscape:isstock="true"
style="overflow:visible"
id="marker1386"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lstart"><path
transform="scale(0.8) translate(12.5,0)"
style="fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-opacity:1;fill:#3189bf;fill-opacity:1"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path1384" /></marker><marker
inkscape:isstock="true"
style="overflow:visible"
id="marker1376"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lstart"><path
transform="scale(0.8) translate(12.5,0)"
style="fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-opacity:1;fill:#3189bf;fill-opacity:1"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path1374" /></marker><marker
inkscape:isstock="true"
style="overflow:visible"
id="marker1296"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lstart"><path
transform="scale(0.8) translate(12.5,0)"
style="fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-opacity:1;fill:#3189bf;fill-opacity:1"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path1294" /></marker><marker
inkscape:isstock="true"
style="overflow:visible"
id="marker1268"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lstart"><path
transform="scale(0.8) translate(12.5,0)"
style="fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-opacity:1;fill:#3189bf;fill-opacity:1"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path1266" /></marker><marker
inkscape:isstock="true"
style="overflow:visible"
id="marker1246"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lstart"><path
transform="scale(0.8) translate(12.5,0)"
style="fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-opacity:1;fill:#3189bf;fill-opacity:1"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path1244" /></marker><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath20"><path
d="M 0,0 H 840 V 424 H 0 Z"
id="path18"
inkscape:connector-curvature="0" /></clipPath></defs><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1893"
inkscape:window-height="1028"
id="namedview4"
showgrid="false"
inkscape:zoom="0.94236332"
inkscape:cx="560.28003"
inkscape:cy="282.80801"
inkscape:window-x="0"
inkscape:window-y="72"
inkscape:window-maximized="0"
inkscape:current-layer="g10" /><g
id="g10"
inkscape:groupmode="layer"
inkscape:label="2691-640a35f293ea9"
transform="matrix(1.7786666,0,0,1.7786666,0,1.41404e-5)"><g
id="g12"
transform="scale(0.75)"><g
id="g14"><g
id="g16"
clip-path="url(#clipPath20)"><g
id="g22"><g
id="g24"
transform="translate(410.5,202.66)"><path
d="M -410,-202.15918 H 410 V 202.15918 H -410 Z"
style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path26"
inkscape:connector-curvature="0"
inkscape:export-filename="/home/nik/Documents/haxhq/logoweb.png"
inkscape:export-xdpi="12.459194"
inkscape:export-ydpi="12.459194" /></g><g
id="g28"
transform="matrix(2.14,0,0,2.14,410,202.16)"><g
id="g30"
transform="matrix(1.63,0,0,1.28,15.08,0)"><g
id="g32"
transform="translate(-41.35,-70.1)"><g
id="g34" /><g
id="g38" /><g
id="g42"><g
id="g960"
transform="matrix(0.81450625,0,0,0.81450625,7.6701665,13.003112)"><path
inkscape:connector-curvature="0"
id="path36"
style="fill:#00a0e3;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.81450623"
d="m 22.789558,90.829864 7.559512,5.35581 9.692625,6.353146 L 39.761713,56.579196 7.6701665,35.564935 7.9501484,81.52456 15.606508,86.493044 Z m 5.813419,-35.309526 1.791914,1.140308 0.279982,32.927528 -1.791914,-1.14031 z m -7.982161,-5.29429 1.791913,1.140308 0.279982,32.927528 -1.791913,-1.140306 z m -5.910266,28.854994 -1.791914,-1.140309 -0.279982,-32.927525 1.791914,1.140308 z"
inkscape:export-filename="/home/nik/Documents/haxhq/logo.png"
inkscape:export-xdpi="12.032883"
inkscape:export-ydpi="12.032883"
sodipodi:nodetypes="ccccccccccccccccccccccc" /><path
inkscape:connector-curvature="0"
id="path40"
style="fill:#004a75;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.81450623"
d="M 41.472176,53.565523 9.2177284,32.38836 41.227824,13.003112 73.482272,34.098824 Z"
inkscape:export-filename="/home/nik/Documents/haxhq/logo.png"
inkscape:export-xdpi="12.032883"
inkscape:export-ydpi="12.032883"
sodipodi:nodetypes="ccccc" /><path
inkscape:connector-curvature="0"
id="path44"
style="fill:#43c7f4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.81450623"
d="m 43.101188,56.579196 v 43.250285 l 9.692625,-5.864447 6.159603,-3.786729 7.361201,-4.358334 8.715216,-5.294291 V 80.118427 45.501911 37.275398 Z M 72.341963,71.40321 48.639831,85.982872 v -2.117716 l 23.37633,-14.335311 0.244351,0.488704 v 1.384661 z m 0,-10.018427 -23.702132,14.498212 v -2.117716 l 23.37633,-14.335311 0.244351,0.488703 v 1.466112 z m 0,-10.099878 -23.702132,14.579663 v -2.117717 l 23.37633,-14.33531 0.244351,0.488704 v 1.38466 z"
inkscape:export-filename="/home/nik/Documents/haxhq/logo.png"
inkscape:export-xdpi="12.032883"
inkscape:export-ydpi="12.032883"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccc" /></g></g></g></g><g
id="g46"
transform="matrix(1.63,0,0,1.63,0,-11.25)"><g
id="g48"
transform="translate(0.5,0.5)"><g
id="g50"
transform="translate(-102.51)"><g
id="g52"><g
id="g54" /></g></g><g
id="g58"
transform="translate(-79.42)"><g
id="g60"><g
id="g62" /></g></g><g
id="g66"
transform="translate(-57.49)"><g
id="g68"><g
id="g70" /></g></g><g
id="g74"
transform="translate(-40.96)"><g
id="g76"><g
id="g78" /></g></g><g
id="g80"
transform="translate(-29.75)"><g
id="g82"><g
id="g84" /></g></g><g
id="g86"
transform="translate(-18.54)"><g
id="g88"><g
id="g90" /></g></g><g
id="g92"
transform="translate(-7.33)"><g
id="g94"><g
id="g96" /></g></g><g
id="g98"
transform="translate(3.89)"><g
id="g100"><g
id="g102" /></g></g><g
id="g104"
transform="translate(15.1)"><g
id="g106"><g
id="g108" /></g></g><g
id="g110"
transform="translate(26.31)"><g
id="g112"><g
id="g114" /></g></g><g
id="g116"
transform="translate(37.52)"><g
id="g118"><g
id="g120" /></g></g><g
id="g122"
transform="translate(48.74)"><g
id="g124"><g
id="g126" /></g></g><g
id="g128"
transform="translate(59.95)"><g
id="g130"><g
id="g132" /></g></g><g
id="g134"
transform="translate(77.63)"><g
id="g136"><g
id="g138" /></g></g><g
id="g142"
transform="translate(102.15)"><g
id="g144"><g
id="g146" /></g></g></g></g></g></g></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 11 KiB

184
assets/logo.svg Normal file
View File

@ -0,0 +1,184 @@
<?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"
version="1.1"
id="svg2"
xml:space="preserve"
width="1120.5601"
height="565.61603"
viewBox="0 0 1120.5601 565.61603"
sodipodi:docname="logo.svg"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"><metadata
id="metadata8"><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="defs6"><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath20"><path
d="M 0,0 H 840 V 424 H 0 Z"
id="path18"
inkscape:connector-curvature="0" /></clipPath></defs><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1862"
inkscape:window-height="973"
id="namedview4"
showgrid="false"
inkscape:zoom="0.90028971"
inkscape:cx="560.28003"
inkscape:cy="282.80801"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="g10" /><g
id="g10"
inkscape:groupmode="layer"
inkscape:label="2691-640a35f293ea9"
transform="matrix(1.7786666,0,0,1.7786666,0,1.41404e-5)"><g
id="g12"
transform="scale(0.75)"><g
id="g14"><g
id="g16"
clip-path="url(#clipPath20)"><g
id="g22"><g
id="g24"
transform="translate(410.5,202.66)"><path
d="M -410,-202.15918 H 410 V 202.15918 H -410 Z"
style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path26"
inkscape:connector-curvature="0" /></g><g
id="g28"
transform="matrix(2.14,0,0,2.14,410,202.16)"><g
id="g30"
transform="matrix(1.63,0,0,1.28,15.08,0)"><g
id="g32"
transform="translate(-41.35,-70.1)"><g
id="g34"><path
d="m 32.161627,116.60578 v -11.60987 l 7.894703,5.17468 V 59.08722 L 13.917564,41.970974 v 51.083373 l 6.236154,4.046865 z M 30.96747,58.224774 32.426995,59.153562 V 99.62221 L 30.96747,98.693423 Z m -6.501521,-4.312231 1.459525,0.928787 V 95.309978 L 24.465949,94.381184 Z M 19.423954,91.064086 17.964429,90.135298 V 49.666652 l 1.459525,0.928787 z"
style="fill:#00a0e3;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.66342044"
id="path36"
inkscape:connector-curvature="0"
inkscape:export-xdpi="19.772099"
inkscape:export-ydpi="19.772099" /></g><g
id="g38"><path
d="M 41.449513,56.632565 15.178064,39.383634 41.250487,23.594227 67.521936,40.776818 Z"
style="fill:#004a75;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.66342044"
id="path40"
inkscape:connector-curvature="0"
inkscape:export-xdpi="19.772099"
inkscape:export-ydpi="19.772099" /></g><g
id="g42"><path
d="m 42.776355,59.08722 v 35.227628 l 7.894702,-4.776629 v 11.145461 l 11.01278,-17.779665 7.098598,-4.312234 V 78.260072 50.064702 43.364157 Z M 66.593148,71.161474 47.287612,83.036698 v -1.724893 l 19.040167,-11.6762 0.199026,0.398054 v 1.127815 z m 0,-8.160072 -19.305536,11.808883 v -1.724893 l 19.040167,-11.676199 0.199026,0.398051 v 1.194158 z m 0,-8.226414 -19.305536,11.875227 v -1.724894 l 19.040167,-11.6762 0.199026,0.398053 v 1.127814 z"
style="fill:#43c7f4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.66342044"
id="path44"
inkscape:connector-curvature="0"
inkscape:export-xdpi="19.772099"
inkscape:export-ydpi="19.772099" /></g></g></g><g
id="g46"
transform="matrix(1.63,0,0,1.63,0,-11.25)"><g
id="g48"
transform="translate(0.5,0.5)"><g
id="g50"
transform="translate(-102.51)"><g
id="g52"><g
id="g54"><path
d="m 12.625801,-7.7064528 h 2.49 v 6.95000072 H 25.715803 V -7.7064528 h 2.49 V 8.393548 h -2.49 V 1.6335476 H 15.115801 V 8.393548 h -2.49 z"
style="fill:#3189bf;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path56"
inkscape:connector-curvature="0"
inkscape:export-xdpi="19.772099"
inkscape:export-ydpi="19.772099" /></g></g></g><g
id="g58"
transform="translate(-79.42)"><g
id="g60"><g
id="g62"><path
d="m 24.535803,-3.676452 h 2.37 v 12.07 h -2.37 v -2.05 c -0.293333,0.386667 -0.716667,0.753333 -1.27,1.1 -0.546668,0.34 -1.173334,0.623333 -1.880001,0.85 -0.706667,0.22 -1.46,0.33 -2.26,0.33 v 0 c -1.38,0 -2.58,-0.27 -3.600001,-0.81 -1.02,-0.533333 -1.813333,-1.276667 -2.38,-2.23 -0.566667,-0.946667 -0.85,-2.0266672 -0.85,-3.2400004 v 0 c 0,-1.226667 0.296667,-2.3099998 0.89,-3.24999964 0.586667,-0.94666696 1.41,-1.68666696 2.47,-2.21999996 1.060001,-0.54 2.280001,-0.81 3.660001,-0.81 v 0 c 1.16,0 2.196667,0.196667 3.11,0.59 0.913334,0.393333 1.616668,0.85 2.110001,1.37 v 0 z m -4.880001,10.11 v 0 c 0.98,0 1.846667,-0.18 2.6,-0.54 0.753334,-0.36 1.336668,-0.846667 1.750001,-1.46 0.413333,-0.6133331 0.62,-1.3100002 0.62,-2.0900004 v 0 c 0,-0.78 -0.206667,-1.47666696 -0.62,-2.08999984 -0.413333,-0.61333288 -0.996667,-1.0966668 -1.750001,-1.44999976 -0.753333,-0.353333 -1.62,-0.53 -2.6,-0.53 v 0 c -0.966667,0 -1.82,0.176667 -2.56,0.53 -0.746668,0.35333296 -1.330001,0.83666688 -1.750001,1.44999976 -0.42,0.61333288 -0.63,1.30999984 -0.63,2.08999984 v 0 c 0,0.7800002 0.21,1.4766673 0.63,2.0900004 0.42,0.613333 1.003333,1.1 1.750001,1.46 0.74,0.36 1.593333,0.54 2.56,0.54 z"
style="fill:#3189bf;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path64"
inkscape:connector-curvature="0"
inkscape:export-xdpi="19.772099"
inkscape:export-ydpi="19.772099" /></g></g></g><g
id="g66"
transform="translate(-57.49)"><g
id="g68"><g
id="g70"><path
d="m 16.085801,8.413548 -3.24,-0.02 5.800001,-6.3000004 -5.450001,-5.7699996 h 3.450001 l 3.86,4.40999964 4.000001,-4.40999964 h 3.27 l -5.770001,5.9999996 6.000001,6.0700004 h -3.36 L 20.135802,3.6535479 Z"
style="fill:#3189bf;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path72"
inkscape:connector-curvature="0"
inkscape:export-xdpi="19.772099"
inkscape:export-ydpi="19.772099" /></g></g></g><g
id="g74"
transform="translate(-40.96)"><g
id="g76"><g
id="g78" /></g></g><g
id="g80"
transform="translate(-29.75)"><g
id="g82"><g
id="g84" /></g></g><g
id="g86"
transform="translate(-18.54)"><g
id="g88"><g
id="g90" /></g></g><g
id="g92"
transform="translate(-7.33)"><g
id="g94"><g
id="g96" /></g></g><g
id="g98"
transform="translate(3.89)"><g
id="g100"><g
id="g102" /></g></g><g
id="g104"
transform="translate(15.1)"><g
id="g106"><g
id="g108" /></g></g><g
id="g110"
transform="translate(26.31)"><g
id="g112"><g
id="g114" /></g></g><g
id="g116"
transform="translate(37.52)"><g
id="g118"><g
id="g120" /></g></g><g
id="g122"
transform="translate(48.74)"><g
id="g124"><g
id="g126" /></g></g><g
id="g128"
transform="translate(59.95)"><g
id="g130"><g
id="g132" /></g></g><g
id="g134"
transform="translate(77.63)"><g
id="g136"><g
id="g138"><path
d="m -29.065414,-7.7064528 h 2.489999 v 6.95000072 h 10.600001 V -7.7064528 h 2.490001 V 8.393548 h -2.490001 V 1.6335476 H -26.575415 V 8.393548 h -2.489999 z"
style="fill:#3189bf;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path140"
inkscape:connector-curvature="0"
inkscape:export-xdpi="19.772099"
inkscape:export-ydpi="19.772099" /></g></g></g><g
id="g142"
transform="translate(102.15)"><g
id="g144"><g
id="g146"><path
d="m -15.715414,7.133548 1.930001,2.55 -1.970001,1.239999 -2.14,-2.809999 c -1.06,0.34 -2.186668,0.51 -3.380001,0.51 v 0 c -1.366667,0 -2.626667,-0.21 -3.78,-0.63 -1.146668,-0.426667 -2.133333,-1.013333 -2.959999,-1.76 -0.826667,-0.753333 -1.47,-1.633333 -1.929999,-2.6400001 -0.46,-1.0000002 -0.69,-2.0833333 -0.69,-3.25000018 v 0 c 0,-1.16666676 0.23,-2.24999972 0.69,-3.24999972 0.459999,-1.006667 1.103332,-1.886667 1.929999,-2.64 0.826666,-0.746667 1.813331,-1.333333 2.959999,-1.7600004 1.153333,-0.4200004 2.413333,-0.6300006 3.78,-0.6300006 v 0 c 1.36,0 2.613334,0.2100002 3.760001,0.6300006 1.14,0.4266674 2.126667,1.0133334 2.96,1.7600004 0.840001,0.753333 1.490001,1.633333 1.950001,2.64 0.46,1 0.69,2.08333296 0.69,3.24999972 v 0 c 0,1.42666688 -0.336667,2.72666708 -1.01,3.90000028 -0.68,1.173333 -1.610001,2.136667 -2.790001,2.89 z m 1.27,-6.79000028 v 0 c 0,-1.1199998 -0.293333,-2.11999972 -0.88,-2.99999972 -0.58,-0.88 -1.383333,-1.576667 -2.41,-2.09 -1.026667,-0.513333 -2.206668,-0.77 -3.540001,-0.77 v 0 c -1.353333,0 -2.543333,0.256667 -3.57,0.77 -1.026667,0.513333 -1.826667,1.21 -2.4,2.09 -0.573333,0.88 -0.859999,1.87999992 -0.859999,2.99999972 v 0 c 0,1.11999988 0.286666,2.11999988 0.859999,3.00000008 0.573333,0.8800002 1.373333,1.5766672 2.4,2.0900002 1.026667,0.513333 2.216667,0.77 3.57,0.77 v 0 c 0.613333,0 1.21,-0.06 1.790001,-0.18 v 0 l -2.370001,-3.0800002 c 0.02,0 0.133333,-0.056667 0.34,-0.1700001 0.206667,-0.12 0.44,-0.26 0.7,-0.4200001 0.26,-0.16 0.493333,-0.296667 0.7,-0.41 0.206667,-0.113333 0.31,-0.17 0.31,-0.17 v 0 l 2.570001,3.3800004 c 0.88,-0.526667 1.563333,-1.2066671 2.05,-2.0400002 0.493333,-0.8333332 0.74,-1.7566672 0.74,-2.77000008 z"
style="fill:#3189bf;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path148"
inkscape:connector-curvature="0"
inkscape:export-xdpi="19.772099"
inkscape:export-ydpi="19.772099" /></g></g></g></g></g></g></g></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 12 KiB

BIN
assets/xhq.dia Normal file

Binary file not shown.

35
certauth.sh Executable file
View File

@ -0,0 +1,35 @@
#!/usr/bin/env bash
if [ "$(id -u)" -ne "0" ]; then
echo "This script must be run as root" >&2
exit 1
fi
if [ "$1" = 'enable' ]; then
if [ -f /srv/easyrsa/pki/ca.crt ]; then
cp /srv/easyrsa/pki/ca.crt /etc/nginx/client_certs_ca.crt
else
echo 'Error: No client CA certificate at /srv/easyrsa/pki/ca.crt'
fi
if [ -f /srv/haxfarm/xhq-certauth.nginx.site.conf ]; then
cp /srv/haxfarm/xhq-certauth.nginx.site.conf /etc/nginx/sites-available/xhq-certauth
rm /etc/nginx/sites-enabled/xhq
ln -s /etc/nginx/sites-available/xhq-certauth /etc/nginx/sites-enabled/xhq
else
echo 'Error: Config file missing (/srv/haxfarm/xhq-certauth.nginx.site.conf)'
fi
if /usr/sbin/nginx -t; then
systemctl restart nginx
fi
elif [ "$1" = 'disable' ]; then
rm /etc/nginx/sites-enabled/xhq
ln -s /etc/nginx/sites-available/xhq /etc/nginx/sites-enabled/xhq
if /usr/sbin/nginx -t; then
systemctl restart nginx
fi
else
echo "Usage: $0 enable | disable"
fi

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

1369
haxhq/haxhq/app.py Normal file

File diff suppressed because it is too large Load Diff

113
haxhq/haxhq/haxhqcli.py Executable file
View File

@ -0,0 +1,113 @@
import os
import sys
from flask import url_for
import xhq.admin
def main():
usage = '''HaxHQ CLI - Limited CLI management interface to HaxHQ report automation tool
Usage:
haxhqcli check_connectivity - Verify the local host connectivity. Checks DNS resolution and
HTTPS connectivity to deb.debian.org, pypi.org and updates.haxhq.com.
Checks SMTP connectivity to smtp.haxhq.com
update_pass <email> - Set or update a user's password. Will propmt for the password.
Example: haxhqcli update_pass user@email.com
enable_client_cert_auth - Enable client certificate authentication and reload Nginx
disable_client_cert_auth - Disable client certificate authentication and reload Nginx
get_client_cert <email> - Issue a client certificate for the specified user and return the path to it
in the local filesystem. Will prompt for the encryption password.
Example: haxhqcli get_client_cert user@emal.com
issue_server_cert - Issue a server certificate for the local HaxHQ instance
using the integrated certificate authority. Uses SENDER_DOMAIN from
/opt/haxhq.com/haxhq/haxhq/def_settings.py to compile CN as haxhq.SENDER_DOMAIN.
renew_server_cert - Renew the server certificate for the local HaxHQ instance and install it.
Issues a new CRL and reloads nginx.
init_ca - Initialise the local Certificate Authority. You should only need to do this for
the initial setup or or if the CA has been compromised.
Deletes and invalidates all issued certificates!!!
This tool is intended as a fallback only, please use the web interface when possible.'''
if len(sys.argv) == 2:
command = sys.argv[1]
email = None
elif len(sys.argv) == 3:
command = sys.argv[1]
email = sys.argv[2]
else:
print(usage)
sys.exit()
if command:
if command == 'check_connectivity':
xhq.admin.check_env()
elif command == 'update_pass':
if email:
print('Please enter the passphrase you want to use for HaxHQ:')
password = input()
status = xhq.admin.update_pass(password, email=email)
if status['success']:
print('Password updated')
else:
print(status['error'])
else:
print('Usage: update_pass <email> e.g. haxhqcli update_pass user@email.com')
elif command == 'enable_client_cert_auth':
result = xhq.admin.enable_cert_auth()
if result['success']:
print('Client certificate authentication enabled.')
else:
print(result['error'])
elif command == 'disable_client_cert_auth':
result = xhq.admin.disable_cert_auth()
if result['success']:
print('Client certificate authentication disabled.')
else:
print(result['error'])
elif command == 'get_client_cert':
if email:
print('Please enter passphrase:')
password = input()
result = xhq.admin.get_client_cert(email, password)
if result['success']:
print('Client certificate for '+ email +' issued: ' + result['data'][0])
else:
print(result['error'])
else:
print('Usage: get_client_cert <email> e.g. haxhqcli get_client_cert user@email.com')
elif command == 'issue_server_cert':
result = xhq.admin.app_cert_issue()
if result['success']:
print('Server certificate issued and installed.')
elif command == 'renew_server_cert':
result = xhq.admin.app_cert_renew()
if result['success']:
print('Server certificate renewed and installed.')
elif command == 'init_ca':
print('You should only need to initialise the CA on initial installation. Proceeding will delete all issued certificates.')
print("Please type 'yes' to continue or anything else to cancel:")
yes = input()
if yes == 'yes':
result = xhq.admin.init_ca()
if result['success']:
print('\nIntegrated Certificate Authority was rebuilt successfully.')
else:
print(result['error'])
else:
print('Cancelled.')
else:
print(usage)
else:
print(usage)
if __name__ == "__main__":
main()

597
haxhq/haxhq/schema.sql Normal file
View File

@ -0,0 +1,597 @@
drop table if exists haxhq_settings;
drop table if exists avoid_source;
drop table if exists prefer_source;
drop table if exists service_stats;
drop table if exists vuln_stats;
drop table if exists eng_stats;
drop table if exists host_notes;
drop table if exists engagement_notes;
drop table if exists http_virthost;
drop table if exists nessus_errors;
drop table if exists servicevulns;
drop table if exists csa_servicevulns;
drop table if exists findings;
drop table if exists csa_findings;
drop table if exists issues_seen;
drop table if exists services;
drop table if exists csa_reporting;
drop table if exists reporting;
drop table if exists hosts;
drop table if exists burp_scans;
drop table if exists zap_scans;
drop table if exists nessus_scans;
drop table if exists netsparker_scans;
drop table if exists scnr_scans;
drop table if exists acunetix_scans;
drop table if exists pingcastle_scans;
drop table if exists nmap_scans;
drop table if exists sitemap;
drop table if exists web;
drop table if exists user_sessions;
drop table if exists engagements;
drop table if exists users;
drop table if exists customers;
drop table if exists updates;
create table customers (
id serial primary key,
business_name varchar(128) unique not null,
contact_name varchar(128),
contact_email varchar(128),
contact_phone varchar(32),
pentest_template varchar(255),
vulnscan_template varchar(255),
audit_template varchar(255),
licenses integer,
mfa_required boolean default false,
unique (business_name, contact_email)
);
create index customers_name_ind on customers(business_name);
create index customers_email_ind on customers(contact_email);
create table users (
id serial primary key,
nickname varchar(32) not null,
name varchar(32),
surname varchar(32),
pass varchar(255),
email varchar(128) unique not null,
phone varchar(13),
token char(68),
token_time timestamp,
user_type varchar(32) not null,
user_group varchar(32) not null,
admin boolean not null default false,
customer_id smallint not null references customers on delete cascade,
otp_secret char(32),
colour_mode varchar(6) default 'light',
disabled boolean default false,
certexp date,
certfp char(40),
oldcertfp char(40),
unique (nickname, customer_id)
);
create index users_group on users (user_group);
create index users_customer_id on users (customer_id);
create index users_email on users (email);
create table issues_seen (
id serial primary key,
title text not null,
severity smallint,
description text not null,
remediation text not null,
impact text,
cvss real,
cvss3 real,
cve text,
scanner varchar(16) not null,
fingerprint char(64) not null,
exploit_available boolean default false,
exploitability_ease text,
see_also text,
cvss3_temporal_vector varchar(32),
cvss_temporal_vector varchar(24),
cvss3_vector varchar(58),
cvss_vector char(32),
patch_publication_date date,
plugin_id varchar(16),
unique (title, scanner)
);
create index issues_seen_title on issues_seen (title);
create index issues_seen_scanner on issues_seen (scanner);
create index issues_seen_severity on issues_seen (severity);
create table csa_issues_seen (
id serial primary key,
title text not null,
description text not null,
rationale text,
impact text,
remediation text not null,
reference text,
see_also text,
policy_value text,
scanner varchar(16),
unique(title)
);
create index csa_issues_seen_title on csa_issues_seen (title);
create index csa_issues_seen_scanner on csa_issues_seen (scanner);
create table eng_stats (
id serial primary key,
engagement_hash char(64) not null,
org_county varchar(64),
org_type varchar(16),
date date not null default now(),
total_hosts integer not null,
total_services integer not null,
unique (engagement_hash)
);
create index eng_stats_date on eng_stats (date);
create index eng_stats_engagement_hash on eng_stats (engagement_hash);
create table vuln_stats (
id serial primary key,
eng_id integer references eng_stats(id) on delete cascade,
issue_id integer references issues_seen(id) on delete cascade,
exposure char(8) not null,
host_count smallint not null,
service_count smallint not null
);
create index vuln_stats_eng_id on vuln_stats (eng_id);
create index vuln_stats_issue_id on vuln_stats (issue_id);
create index vuln_stats_exposure on vuln_stats (exposure);
create index vuln_stats_host_count on vuln_stats (host_count);
create index vuln_stats_service_count on vuln_stats (service_count);
create table service_stats (
id serial primary key,
vuln_id integer references vuln_stats(id) on delete cascade,
host_hash char(64) not null,
protocol varchar(12) not null,
port integer not null,
service varchar(64)
);
create index service_stats_host_hash on service_stats (host_hash);
create index service_stats_vuln_id on service_stats (vuln_id);
create table library (
id serial primary key,
user_id integer not null references users,
customer_id integer not null references customers,
source varchar(16),
title text not null check (title <> ''),
name varchar(255),
severity smallint,
orig_severity smallint,
description text not null check (title <> ''),
orig_description text,
discoverability text,
exploitability text,
impact text,
orig_impact text,
remediation text not null check (title <> ''),
orig_remediation text,
rationale text,
orig_rationale text,
reference text,
orig_reference text,
see_also text,
orig_see_also text,
scanner varchar(16),
exposure char(8) default 'external',
cvss real,
cvss_vector char(32),
cvss3 real,
cvss3_vector varchar(58),
unique (title, exposure, user_id)
);
create index library_user_id on library (user_id);
create index library_customer_id on library (customer_id);
create index library_source on library (source);
create index library_title on library (title);
create index library_name on library (name);
create table user_sessions (
id serial primary key,
user_id smallint references users on delete cascade,
ip inet not null,
useragent text,
start timestamp not null default now(),
finish timestamp,
expired boolean default false,
authfail boolean default false
);
create index user_sessions_uid on user_sessions (user_id);
create index user_sessions_authfail on user_sessions (authfail);
create index user_sessions_expired on user_sessions (expired);
create table engagements (
eid serial primary key,
user_id smallint references users,
org_name varchar(64) not null,
target_subnets text,
target_urls text,
eng_start timestamp without time zone,
eng_end timestamp without time zone,
contact1_name varchar(64) not null,
contact1_email varchar(64) not null,
contact1_phone varchar(16),
contact1_role varchar(64),
contact2_name varchar(64),
contact2_email varchar(64),
contact2_phone varchar(16),
contact2_role varchar(64),
test_type varchar(8),
target_type varchar(5),
active boolean default false,
report_done boolean default false,
stats_exported boolean default false,
isdummy boolean default false,
summarised boolean default false,
notes text
);
create index engagements_active on engagements (active);
create index engagements_uid on engagements (user_id);
create index engagements_isdummy on engagements (isdummy);
create table web (
id serial primary key,
engagement_id integer references engagements(eid) on delete cascade,
url varchar(255),
status smallint,
redirect varchar(255),
title varchar(255),
cn varchar(255),
ipv4 inet,
ipv6 inet,
unique (engagement_id, url)
);
create index web_eng_id on web (engagement_id);
create table nmap_scans (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
filename varchar(64) not null,
arg_string text not null,
scan_type char(8) not null,
unique (filename, engagement_id)
);
create index nmap_scans_eid on nmap_scans (engagement_id);
create index nmap_scans_type on nmap_scans (scan_type);
create table pingcastle_scans (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
filename varchar(64) not null,
scan_type char(8) default 'internal',
unique (filename, engagement_id)
);
create index pingcastle_scans_ind on pingcastle_scans (engagement_id);
create table qualys_scans (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
filename varchar(64) not null,
scan_type char(8) not null,
unique (filename, engagement_id)
);
create index qualys_scans_ind on qualys_scans (engagement_id);
create table nessus_scans (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
filename varchar(128) not null,
scan_type char(8) not null,
policy varchar(128),
target text,
tcp_port_range varchar(128),
udp_port_range varchar(128),
unscanned_closed boolean default false,
throttle_on_congestion boolean,
unique (filename, engagement_id)
);
create index nessus_scans_eid on nessus_scans (engagement_id);
create index nessus_scans_type on nessus_scans (scan_type);
create table netsparker_scans (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
target varchar(128),
date date,
filename varchar(128) not null,
scan_type char(8) not null,
unique (filename, engagement_id)
);
create index netsparker_scans_eid on netsparker_scans (engagement_id);
create table scnr_scans (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
target varchar(128),
date date,
filename varchar(128) not null,
scan_type char(8) not null,
unique (filename, engagement_id)
);
create index scnr_scans_eid on scnr_scans (engagement_id);
create table acunetix_scans (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
target varchar(128),
date date,
filename varchar(128) not null,
scan_type char(8) not null,
unique (filename, engagement_id)
);
create index acunetix_scans_eid on acunetix_scans (engagement_id);
create table burp_scans (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
filename varchar(64) not null,
scan_type char(8) not null,
unique (filename, engagement_id)
);
create index burp_scans_eid on burp_scans (engagement_id);
create table zap_scans (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
filename varchar(64) not null,
scan_type char(8) not null,
unique (filename, engagement_id)
);
create index zap_scans_eid on zap_scans (engagement_id);
create table hosts (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
ipv4 inet,
ipv6 inet,
os text,
fqdn varchar(128),
rdns varchar(128),
notes text,
unique (ipv4, engagement_id),
unique (ipv6, engagement_id),
check (ipv4 is not null or ipv6 is not null)
);
create index hosts_eid on hosts (engagement_id);
create index hosts_ipv4 on hosts (ipv4);
create index hosts_os on hosts (os);
create index hosts_fqdn on hosts (fqdn);
create table reporting (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
title text not null,
name text,
severity smallint not null,
description text,
discoverability text,
exploitability text,
impact text,
remediation text,
picture1 varchar(64),
picture2 varchar(64),
ready boolean not null default false,
cvss real,
cvss3 real,
cvss_vector char(32),
cvss3_vector varchar(58),
cve text,
exposure char(8) not null,
ce_impact varchar(6),
proof text,
deleted boolean default false,
merged_with integer references reporting(id),
autoupdated boolean not null default false,
scanner varchar(16),
details text,
unique (engagement_id, title, exposure)
);
create index reporting_eid on reporting (engagement_id);
create index reporting_title on reporting (title);
create index reporting_severity on reporting (severity);
create index reporting_ready on reporting (ready);
create index reporting_merged_with on reporting (merged_with);
create index reporting_deleted on reporting (deleted);
create table csa_reporting (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
title text not null,
name text,
compliance varchar(16) not null,
description text,
rationale text,
impact text,
remediation text,
reference text,
ready boolean not null default false,
deleted boolean default false,
merged_with integer references csa_reporting(id) on delete set null,
audit_level char(2),
control_set char(2),
benchmark varchar(128),
audit_file varchar(128),
service_name varchar(128),
autoupdated varchar(16),
unique (engagement_id, title)
);
create index csa_reporting_eid on csa_reporting (engagement_id);
create index csa_reporting_title on csa_reporting (title);
create index csa_reporting_compl on csa_reporting (compliance);
create index csa_reporting_ready on csa_reporting (ready);
create index csa_reporting_merged_with on csa_reporting (merged_with);
create table services (
id serial primary key,
host_id integer not null references hosts(id) on delete cascade,
protocol varchar(12),
port integer,
service varchar(64),
software text,
cert_cn text,
sitemap text,
web_dir_enum text,
no404sent boolean default false,
cgi_enum text,
robots_txt text,
injectable_param text,
sensitive_param text,
php_version varchar(256),
phpmyadmin text,
drupal_detected text,
wordpress_detected text,
python_detected text,
dotnet_handlers text,
embedded_server boolean default false,
software_favicon varchar(256),
external boolean not null default false,
webappurl varchar(255),
scan_uri_list varchar(255) not null,
unique (host_id, protocol, port, webappurl)
);
create index services_host_id on services (host_id);
create index services_protocol on services (protocol);
create index services_port on services (port);
create table findings (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
service_id integer not null references services(id) on delete cascade,
issue_id integer not null references issues_seen,
external boolean,
proof text,
request text,
plugin_output text,
notes text,
vhost varchar(255),
scan_uri_list varchar(255) not null
);
create index findings_eid on findings (engagement_id);
create index findings_sid on findings (service_id);
create index findings_issue_id on findings (issue_id);
create table csa_findings (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
service_id integer not null references services(id) on delete cascade,
issue_id integer not null references issues_seen,
plugin_output text,
compliance varchar(16),
audit_level varchar(32),
control_set varchar(32),
benchmark varchar(128) not null,
audit_file varchar(128),
service_name varchar(128),
actual_value text,
nessus_id integer references nessus_scans(id) on delete cascade,
pingcastle_id integer references pingcastle_scans(id) on delete cascade
);
create index csa_findings_eid on csa_findings (engagement_id);
create index csa_findings_sid on csa_findings (service_id);
create index csa_findings_issue_id on csa_findings (issue_id);
create index csa_findings_compl on csa_findings (compliance);
create index csa_findings_nessus on csa_findings (nessus_id);
create index csa_findings_pingcastle on csa_findings (pingcastle_id);
create table nessus_errors (
id serial primary key,
service_id integer not null references services(id) on delete cascade,
error_text text not null
);
create index nessus_errors_ind on nessus_errors (service_id);
create table servicevulns (
id serial primary key,
service_id integer not null references services(id) on delete cascade,
report_vuln_id integer not null references reporting(id) on delete cascade,
finding_id integer references findings on delete cascade
);
create index servicevulns_sid on servicevulns (service_id);
create index servicevulns_vuln_id on servicevulns (report_vuln_id);
create index servicevulns_fid on servicevulns (finding_id);
create table csa_servicevulns (
id serial primary key,
service_id integer not null references services on delete cascade,
report_vuln_id integer not null references csa_reporting on delete cascade,
finding_id integer not null references csa_findings on delete cascade
);
create index csa_servicevulns_sid on csa_servicevulns (service_id);
create index csa_servicevulns_vuln_id on csa_servicevulns (report_vuln_id);
create index csa_servicevulns_fid on csa_servicevulns (finding_id);
create table http_virthost (
id serial primary key,
host_id integer not null references hosts(id) on delete cascade,
virthost text not null,
unique (host_id, virthost)
);
create index http_virthost_host_id on http_virthost (host_id);
create table pingcastle_config (
id serial primary key,
title varchar(255),
var_name varchar(32),
var_label varchar(128)
);
create index pingcastle_config_ind on pingcastle_config (title);
--unused
create table sitemap (
id serial primary key,
web_id integer references web(id) on delete cascade,
page varchar(255) not null,
unique (web_id, page)
);
create table engagement_notes (
id serial primary key,
engagement_id integer not null references engagements(eid) on delete cascade,
note text not null
);
create index engagement_notes_ind on engagement_notes (engagement_id);
create table host_notes (
id serial primary key,
host_id integer not null references hosts(id) on delete cascade,
note text not null
);
create table prefer_source (
id serial primary key,
title varchar(255) unique not null,
source varchar(16) not null
);
create table avoid_source (
id serial primary key,
title varchar(255) unique not null,
source varchar(16) not null,
override1 smallint references prefer_source,
override2 smallint references prefer_source
);
create index avoid_source_ind on avoid_source (title, source);
create table updates (
id serial primary key,
update_type varchar(16),
time_checked timestamp not null default now(),
upgradable text not null,
installed boolean default false
);
create index updates_ind on updates(time_checked, installed);
create table haxhq_settings (
login_logo_src varchar(255),
login_logo_width int,
login_logo_height int
);
insert into haxhq_settings (login_logo_src, login_logo_width, login_logo_height) values ('/static/img/logo_white.png', 160, 65);

15
haxhq/haxhq/static/ca.crt Normal file
View File

@ -0,0 +1,15 @@
-----BEGIN CERTIFICATE-----
MIICRDCCAcqgAwIBAgIUJhKXDUOLUA05U0PU61zCKar4Kp4wCgYIKoZIzj0EAwMw
KzEpMCcGA1UEAwwgTWl0ZXYgQ29uc3VsdGluZyBMVEQgRUNDIFJvb3QgQ0EwHhcN
MjQwNDAyMDYxMDE2WhcNMzQwMzMxMDYxMDE2WjArMSkwJwYDVQQDDCBNaXRldiBD
b25zdWx0aW5nIExURCBFQ0MgUm9vdCBDQTB2MBAGByqGSM49AgEGBSuBBAAiA2IA
BO+EjOv2EbM65GoAiP84le8pNQayZPg/rq08n3TRxenOrkCC+HZQ7zR9M7NZczdQ
1ohBqtWojDWtkb9lr1SpmIMFwAbdoJl3pQo7AowEKVdMNd3JEQW87DyaLvJjqM5N
iqOBrjCBqzASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBS2mTJyB6+Cdc0q
U/V/lcd4zGTiyzBmBgNVHSMEXzBdgBS2mTJyB6+Cdc0qU/V/lcd4zGTiy6EvpC0w
KzEpMCcGA1UEAwwgTWl0ZXYgQ29uc3VsdGluZyBMVEQgRUNDIFJvb3QgQ0GCFCYS
lw1Di1ANOVND1Otcwimq+CqeMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNo
ADBlAjARaM6B9JEBDX0sKVVf2oOtkwdgAcSGUNzwfIFCyKV6Wz18jmM82+xjKUi0
PveXXgwCMQCVM7ayFCZatpY7RQUGgiTHVSA34YY5k6AJEkI9Mgg6FNWFDOuTYszs
0c0SyrtVoOs=
-----END CERTIFICATE-----

View File

@ -0,0 +1,300 @@
/* Copyright (c) 2015-2019, Chandan B.N
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
* disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
* following disclaimer in the documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
* products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
.cvssjs i {
width: 1em;
height: 1em;
display: inline-block;
background: url("cvssicons.png") 0 0 no-repeat;
vertical-align: middle;
background-size: cover;
margin-right: 4px;
margin: 2px;
font-size: 40px;
}
.cvssjs i.AVN {
background-position: -3em 0;
}
.cvssjs i.AVA {
background-position: -2em 0;
}
.cvssjs i.AVL {
background-position: -1em 0;
}
.cvssjs i.AVP {
background-position: 0 0;
}
.cvssjs i.ACL {
background-position: -4em 0;
}
.cvssjs i.ACH {
background-position: -5em 0;
}
.cvssjs i.PRN {
background-position: -6em 0;
}
.cvssjs i.PRL {
background-position: -7em 0;
}
.cvssjs i.PRH {
background-position: -8em 0;
}
.cvssjs i.UIN {
background-position: -10em 0;
}
.cvssjs i.UIR {
background-position: -9em 0;
}
.cvssjs i.SC {
background-position: -11em 0;
}
.cvssjs i.SU {
background-position: -10em 0;
}
.cvssjs i.CH {
background-position: -14em 0;
}
.cvssjs i.CL {
background-position: -13em 0;
}
.cvssjs i.CN {
background-position: -12em 0;
}
.cvssjs i.IH {
background-position: -16em 0;
}
.cvssjs i.IL {
background-position: -17em 0;
}
.cvssjs i.IN {
background-position: -15em 0;
}
.cvssjs i.AH {
background-position: -20em 0;
}
.cvssjs i.AL {
background-position: -19em 0;
}
.cvssjs i.AN {
background-position: -18em 0;
}
.cvssjs a {
color: #489;
text-decoration: none;
}
.cvssjs dl {
display: inline-block;
vertical-align: top;
background-color: #424a40;
margin-top: 2px;
margin-bottom: 2px;
margin: 2px;
border-radius: 4px;
box-shadow: 0px 0px 5px #bbb;
transition: background-color 0.3s ease-in-out;
}
.cvssjs dt {
color: #EEEEEE;
padding: 5px;
font-size: 60%;
overflow-x: hidden;
text-transform: uppercase;
letter-spacing: .5px;
}
.cvssjs dl:hover, .cvssjs dl:focus {
background-color: #676a60;
box-shadow: 0px 0px 5px #aaa;
}
.cvssjs dl:hover dt, .cvssjs dl:focus dt {
color: #ffffff;
}
.cvssjs dd {
margin: 0px;
padding: 0px;
text-align: left;
}
.cvssjs dd label,
#predef span {
min-width: 7.5em;
padding: 0px 2px 0px 2px;
display: block;
margin: 1px;
margin-top: 0px;
background-color: #f7f7f4;
vertical-align: middle;
transition: background-color 0.3s ease-in-out;
}
.cvssjs dd:last-child label,
#predef span:last-child {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
.cvssjs dd small {
display: none;
}
.cvssjs dd:hover small {
position: absolute;
max-width: 220px;
border: solid 1px #333;
display: block;
color: black;
background-color: #FFFFC1;
border-radius: 5px;
padding: 5px;
margin-top: .7em;
margin-left: 5em;
box-shadow: 2px 2px 5px #333;
z-index: 1;
}
#predef span:hover:before {
content: "<";
display: block;
position: absolute;
margin-top: 0px;
margin-left: -2px;
color: #424a40;
}
.cvssjs dd > input {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.cvssjs dd:nth-child(2) input:checked + label,
.cvssjs .Critical {
background-color: rgb(240, 130, 120);
}
.cvssjs dd input:checked + label,
.cvssjs .High {
background-color: rgb(240, 170, 83);
transition: background-color 0.1s ease-in-out;
}
.cvssjs dd:last-child input:checked + label,
.cvssjs dl.AV dd:nth-child(4) input:checked + label,
.cvssjs .Medium {
background-color: rgb(250, 230, 120);
}
.cvssjs .Low {
background-color: rgb(208, 212, 134)
}
.cvssjs dl.C dd:last-child input:checked + label,
.cvssjs dl.I dd:last-child input:checked + label,
.cvssjs dl.A dd:last-child input:checked + label,
.cvssjs .None {
background-color: rgb(162, 213, 114);
}
.cvssjs dd:nth-child(2) label:hover {
background-color: rgb(250, 140, 130);
}
.cvssjs dd label:hover {
background-color: rgb(250, 180, 93);
transition: background-color 0.1s ease-in-out;
}
.cvssjs dl.PR dd:last-child label:hover,
.cvssjs dd:last-child label:hover,
.cvssjs dl.AV dd:nth-child(4) label:hover {
background-color: rgb(255, 240, 130);
}
.cvssjs dl.C dd:last-child label:hover,
.cvssjs dl.I dd:last-child label:hover,
.cvssjs dl.A dd:last-child label:hover {
background-color: rgb(172, 223, 124);
}
.cvssjs hr {
border-style: dashed;
color: #949ca0;
}
.cvssjs .score,
.cvssjs .vector,
.cvssjs .severity {
margin: 2px;
display: inline-block;
}
.cvssjs .score {
width: 1.5em;
}
.cvssjs .severity {
width: 5em;
border-radius: 4px;
padding: 5px;
text-align: center;
transition: background-color 0.1s ease-out;
}
.cvssjs .results {
padding: 7px;
}
.cvssjs dl dd label.results:hover {
background-color: white;
}
.cvssjs .results sub {
display: none;
font-size: x-small;
}

View File

@ -0,0 +1,439 @@
/* Copyright (c) 2015-2019, Chandan B.N.
*
* Copyright (c) 2019, FIRST.ORG, INC
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
* disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
* following disclaimer in the documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
* products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
var CVSS = function (id, options) {
this.options = options;
this.wId = id;
var e = function (tag) {
return document.createElement(tag);
};
// Base Group
this.bg = {
AV: 'Attack Vector',
AC: 'Attack Complexity',
PR: 'Privileges Required',
UI: 'User Interaction',
S: 'Scope',
C: 'Confidentiality',
I: 'Integrity',
A: 'Availability'
};
// Base Metrics
this.bm = {
AV: {
N: {
l: 'Network',
d: "<b>Worst:</b> The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet. Such a vulnerability is often termed “remotely exploitable” and can be thought of as an attack being exploitable at the protocol level one or more network hops away (e.g., across one or more routers)."
},
A: {
l: 'Adjacent',
d: "<b>Worse:</b> The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology. This can mean an attack must be launched from the same shared physical (e.g., Bluetooth or IEEE 802.11) or logical (e.g., local IP subnet) network, or from within a secure or otherwise limited administrative domain (e.g., MPLS, secure VPN to an administrative network zone). One example of an Adjacent attack would be an ARP (IPv4) or neighbor discovery (IPv6) flood leading to a denial of service on the local LAN segment."
},
L: {
l: 'Local',
d: "<b>Bad:</b> The vulnerable component is not bound to the network stack and the attackers path is via read/write/execute capabilities. Either: <ul><li>the attacker exploits the vulnerability by accessing the target system locally (e.g., keyboard, console), or remotely (e.g., SSH);</li><li>or the attacker relies on User Interaction by another person to perform actions required to exploit the vulnerability (e.g., using social engineering techniques to trick a legitimate user into opening a malicious document).</li></ul>"
},
P: {
l: 'Physical',
d: "<b>Bad:</b> The attack requires the attacker to physically touch or manipulate the vulnerable component. Physical interaction may be brief (e.g., evil maid attack) or persistent. An example of such an attack is a cold boot attack in which an attacker gains access to disk encryption keys after physically accessing the target system. Other examples include peripheral attacks via FireWire/USB Direct Memory Access (DMA)."
}
},
AC: {
L: {
l: 'Low',
d: "<b>Worst:</b> Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component."
},
H: {
l: 'High',
d: "<b>Bad:</b> A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected."
}
},
PR: {
N: {
l: 'None',
d: "<b>Worst:</b> The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the the vulnerable system to carry out an attack."
},
L: {
l: 'Low',
d: "<b>Worse</b> The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources."
},
H: {
l: 'High',
d: "<b>Bad:</b> The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files."
}
},
UI: {
N: {
l: 'None',
d: "<b>Worst:</b> The vulnerable system can be exploited without interaction from any user."
},
R: {
l: 'Required',
d: "<b>Bad:</b> Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited. For example, a successful exploit may only be possible during the installation of an application by a system administrator."
}
},
S: {
C: {
l: 'Changed',
d: "<b>Worst:</b> An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component. In this case, the vulnerable component and the impacted component are different and managed by different security authorities."
},
U: {
l: 'Unchanged',
d: "<b>Bad:</b> An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority."
}
},
C: {
H: {
l: 'High',
d: "<b>Worst:</b> There is a total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server."
},
L: {
l: 'Low',
d: "<b>Bad:</b> There is some loss of confidentiality. Access to some restricted information is obtained, but the attacker does not have control over what information is obtained, or the amount or kind of loss is limited. The information disclosure does not cause a direct, serious loss to the impacted component."
},
N: {
l: 'None',
d: "<b>Good:</b> There is no loss of confidentiality within the impacted component."
}
},
I: {
H: {
l: 'High',
d: "<b>Worst:</b> There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component."
},
L: {
l: 'Low',
d: "<b>Bad:</b> Modification of data is possible, but the attacker does not have control over the consequence of a modification, or the amount of modification is limited. The data modification does not have a direct, serious impact on the impacted component."
},
N: {
l: 'None',
d: "<b>Good:</b> There is no loss of integrity within the impacted component."
}
},
A: {
H: {
l: 'High',
d: "<b>Worst:</b> There is a total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable)."
},
L: {
l: 'Low',
d: "<b>Bad:</b> Performance is reduced or there are interruptions in resource availability. Even if repeated exploitation of the vulnerability is possible, the attacker does not have the ability to completely deny service to legitimate users. The resources in the impacted component are either partially available all of the time, or fully available only some of the time, but overall there is no direct, serious consequence to the impacted component."
},
N: {
l: 'None',
d: "<b>Good:</b> There is no impact to availability within the impacted component."
}
}
};
this.bme = {};
this.bmgReg = {
AV: 'NALP',
AC: 'LH',
PR: 'NLH',
UI: 'NR',
S: 'CU',
C: 'HLN',
I: 'HLN',
A: 'HLN'
};
this.bmoReg = {
AV: 'NALP',
AC: 'LH',
C: 'C',
I: 'C',
A: 'C'
};
var s, f, dl, g, dd, l;
this.el = document.getElementById(id);
this.el.appendChild(s = e('style'));
s.innerHTML = '';
this.el.appendChild(f = e('form'));
f.className = 'cvssjs';
this.calc = f;
for (g in this.bg) {
f.appendChild(dl = e('dl'));
dl.setAttribute('class', g);
var dt = e('dt');
dt.innerHTML = this.bg[g];
dl.appendChild(dt);
for (s in this.bm[g]) {
dd = e('dd');
dl.appendChild(dd);
var inp = e('input');
inp.setAttribute('name', g);
inp.setAttribute('value', s);
inp.setAttribute('id', id + g + s);
inp.setAttribute('class', g + s);
//inp.setAttribute('ontouchstart', '');
inp.setAttribute('type', 'radio');
this.bme[g + s] = inp;
var me = this;
inp.onchange = function () {
me.setMetric(this);
};
dd.appendChild(inp);
l = e('label');
dd.appendChild(l);
l.setAttribute('for', id + g + s);
l.appendChild(e('i')).setAttribute('class', g + s);
l.appendChild(document.createTextNode(this.bm[g][s].l + ' '));
dd.appendChild(e('small')).innerHTML = this.bm[g][s].d;
}
}
//f.appendChild(e('hr'));
f.appendChild(dl = e('dl'));
dl.innerHTML = '<dt>Severity&sdot;Score&sdot;Vector</dt>';
dd = e('dd');
dl.appendChild(dd);
l = dd.appendChild(e('label'));
l.className = 'results';
l.appendChild(this.severity = e('span'));
this.severity.className = 'severity';
l.appendChild(this.score = e('span'));
this.score.className = 'score';
l.appendChild(document.createTextNode(' '));
l.appendChild(this.vector = e('a'));
this.vector.className = 'vector';
this.vector.innerHTML = 'CVSS:3.1/AV:_/AC:_/PR:_/UI:_/S:_/C:_/I:_/A:_';
if (options.onsubmit) {
f.appendChild(e('hr'));
this.submitButton = f.appendChild(e('input'));
this.submitButton.setAttribute('type', 'submit');
this.submitButton.setAttribute('value', 'Cancel');
this.submitButton.onclick = options.onsubmit;
}
};
CVSS.prototype.severityRatings = [{
name: "None",
bottom: 0.0,
top: 0.0
}, {
name: "Low",
bottom: 0.1,
top: 3.9
}, {
name: "Medium",
bottom: 4.0,
top: 6.9
}, {
name: "High",
bottom: 7.0,
top: 8.9
}, {
name: "Critical",
bottom: 9.0,
top: 10.0
}];
CVSS.prototype.severityRating = function (score) {
var i;
var severityRatingLength = this.severityRatings.length;
for (i = 0; i < severityRatingLength; i++) {
if (score >= this.severityRatings[i].bottom && score <= this.severityRatings[i].top) {
return this.severityRatings[i];
}
}
return {
name: "?",
bottom: 'Not',
top: 'defined'
};
};
CVSS.prototype.valueofradio = function(e) {
for(var i = 0; i < e.length; i++) {
if (e[i].checked) {
return e[i].value;
}
}
return null;
};
CVSS.prototype.calculate = function () {
var cvssVersion = "3.1";
var exploitabilityCoefficient = 8.22;
var scopeCoefficient = 1.08;
// Define associative arrays mapping each metric value to the constant used in the CVSS scoring formula.
var Weight = {
AV: {
N: 0.85,
A: 0.62,
L: 0.55,
P: 0.2
},
AC: {
H: 0.44,
L: 0.77
},
PR: {
U: {
N: 0.85,
L: 0.62,
H: 0.27
},
// These values are used if Scope is Unchanged
C: {
N: 0.85,
L: 0.68,
H: 0.5
}
},
// These values are used if Scope is Changed
UI: {
N: 0.85,
R: 0.62
},
S: {
U: 6.42,
C: 7.52
},
C: {
N: 0,
L: 0.22,
H: 0.56
},
I: {
N: 0,
L: 0.22,
H: 0.56
},
A: {
N: 0,
L: 0.22,
H: 0.56
}
// C, I and A have the same weights
};
var p;
var val = {}, metricWeight = {};
try {
for (p in this.bg) {
val[p] = this.valueofradio(this.calc.elements[p]);
if (typeof val[p] === "undefined" || val[p] === null) {
return "?";
}
metricWeight[p] = Weight[p][val[p]];
}
} catch (err) {
return err; // TODO: need to catch and return sensible error value & do a better job of specifying *which* parm is at fault.
}
metricWeight.PR = Weight.PR[val.S][val.PR];
//
// CALCULATE THE CVSS BASE SCORE
//
var roundUp1 = function Roundup(input) {
var int_input = Math.round(input * 100000);
if (int_input % 10000 === 0) {
return int_input / 100000
} else {
return (Math.floor(int_input / 10000) + 1) / 10
}
};
try {
var baseScore, impactSubScore, impact, exploitability;
var impactSubScoreMultiplier = (1 - ((1 - metricWeight.C) * (1 - metricWeight.I) * (1 - metricWeight.A)));
if (val.S === 'U') {
impactSubScore = metricWeight.S * impactSubScoreMultiplier;
} else {
impactSubScore = metricWeight.S * (impactSubScoreMultiplier - 0.029) - 3.25 * Math.pow(impactSubScoreMultiplier - 0.02, 15);
}
var exploitabalitySubScore = exploitabilityCoefficient * metricWeight.AV * metricWeight.AC * metricWeight.PR * metricWeight.UI;
if (impactSubScore <= 0) {
baseScore = 0;
} else {
if (val.S === 'U') {
baseScore = roundUp1(Math.min((exploitabalitySubScore + impactSubScore), 10));
} else {
baseScore = roundUp1(Math.min((exploitabalitySubScore + impactSubScore) * scopeCoefficient, 10));
}
}
return baseScore.toFixed(1);
} catch (err) {
return err;
}
};
CVSS.prototype.get = function() {
return {
score: this.score.innerHTML,
vector: this.vector.innerHTML
};
};
CVSS.prototype.setMetric = function(a) {
var vectorString = this.vector.innerHTML;
if (/AV:.\/AC:.\/PR:.\/UI:.\/S:.\/C:.\/I:.\/A:./.test(vectorString)) {} else {
vectorString = 'AV:_/AC:_/PR:_/UI:_/S:_/C:_/I:_/A:_';
}
//e("E" + a.id).checked = true;
var newVec = vectorString.replace(new RegExp('\\b' + a.name + ':.'), a.name + ':' + a.value);
this.set(newVec);
};
CVSS.prototype.set = function(vec) {
var newVec = 'CVSS:3.1/';
var sep = '';
for (var m in this.bm) {
var match = (new RegExp('\\b(' + m + ':[' + this.bmgReg[m] + '])')).exec(vec);
if (match !== null) {
var check = match[0].replace(':', '');
this.bme[check].checked = true;
newVec = newVec + sep + match[0];
} else if ((m in {C:'', I:'', A:''}) && (match = (new RegExp('\\b(' + m + ':C)')).exec(vec)) !== null) {
// compatibility with v2 only for CIA:C
this.bme[m + 'H'].checked = true;
newVec = newVec + sep + m + ':H';
} else {
newVec = newVec + sep + m + ':_';
for (var j in this.bm[m]) {
this.bme[m + j].checked = false;
}
}
sep = '/';
}
this.update(newVec);
};
CVSS.prototype.update = function(newVec) {
this.vector.innerHTML = newVec;
var s = this.calculate();
this.score.innerHTML = s;
var rating = this.severityRating(s);
this.severity.className = rating.name + ' severity';
this.severity.innerHTML = rating.name + '<sub>' + rating.bottom + ' - ' + rating.top + '</sub>';
this.severity.title = rating.bottom + ' - ' + rating.top;
if (this.options !== undefined && this.options.onchange !== undefined) {
this.options.onchange();
}
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

208
haxhq/haxhq/static/dark.css Normal file
View File

@ -0,0 +1,208 @@
:root { --page-bg-color: #121212;
--header-bg-color: black;
--header-color: #369fc3;
--card-bg-color: #262626;
--darker-card: #1d1d1d;
--text-color: #8f8f8f;
--hover-color: #b4b4b4;
--bg-hover-color: #373737;
--red: #dd3a3a;
--blue: #2e77dd;
--blue-bg: #19437e;
--green: #044c04;
--white-text: #b2b2b2;
--dark-red: #3d0c11;
--hover-bg-red: #3d0c11;
--light-red: #542020;
--internal-bg-color: #545f54;
--internal-bg-color-light: #669966;
--external-bg-color: #645c45;
--external-bg-color-light: #887744;
--crit-bg-color: #65192b;
--high-bg-color: #9b3438;
--medium-bg-color: #a9622f;
--low-bg-color: #ae8c39;
--info-bg-color: #48789d;
}
::-webkit-scrollbar-track { background: var(--card-bg-color); }
::-webkit-scrollbar-thumb { background: var(--page-bg-color); }
body { scrollbar-color: var(--card-bg-color) var(--page-bg-color); }
h1, h3, h4, h5 { color: var(--text-color); }
select, input,
textarea { background-color: var(--card-bg-color); border-color: grey; }
input:focus,
textarea:focus { outline: none !important; border-bottom: 2px solid var(--text-color); }
p, span, td, th, a, li,
select, input, label,
textarea, legend { color: var(--text-color); }
#page { background: var(--page-bg-color); }
.logo { width: 160px; height: 65px; margin: 0 auto; background-image: url('/static/img/logo.png'); }
#logo, .logo,
#user-menu img { filter: brightness(70%); }
#header { background-color: var(--header-bg-color); }
#menu-overlay { background-color: var(--header-bg-color); }
#footer { background-color: var(--header-bg-color); }
.dropdown { background-color: var(--header-bg-color); }
#burgerimg { opacity: 0.5; }
#crossimg { opacity: 0.5; }
.user img { opacity: 0.6; }
#greeting { color: var(--header-color); opacity: 0.6; }
.dropdown li a:link,
.dropdown li a:visited,
.dropdown li a { color: var(--text-color); }
.dropdown li a:hover{ color: var(--hover-color); }
#user-menu { color: var(--header-color); }
.fromdropdown li a { color: var(--header-color); opacity: 0.5; }
.fromdropdown li a:hover { color: var(--hover-color); }
#header-menu { filter: brightness(60%); }
.menulink,
.menulink a:link,
.menulink a:visited { color: var(--header-color); }
#header-menu a:hover{ color: var(--header-color); }
.headertext { color: white; opacity: 0.8; }
#header-menu #current
{ font-weight: bold; opacity: 1; }
#gethelp { color: var(--text-color); }
.flash.info { background-color: var(--internal-bg-color); filter: brightness(150%); }
.flash.error { background-color: var(--external-bg-color); filter: brightness(150%); }
.loginform { background-color: var(--card-bg-color); border-color: grey; }
.mfa_form { background-color: var(--card-bg-color); border-color: grey; }
#active_engagement { background-color: var(--card-bg-color); }
.eng_form { background-color: var(--card-bg-color); }
#list_engagements,
.engagement { background-color: var(--darker-card); }
#show_eng_form { color: var(--white-text); }
.org_name { font-weight: bold; opacity: 0.8; }
.eng_outline { border-top-color: darkgrey; }
#list_engagements a:hover,
.engagement a:hover { color: black; opacity: 0.9; }
.eng_category { font-weight: 500; opacity: 0.8; }
.update, #libview,
.libsearch { background-color: var(--card-bg-color); }
.libsearch input,
.libsearch select { border-color: grey; }
.libtitle:hover { background-color: var(--card-bg-color); }
.libentry { color: #4949ff; }
.current_text { color: black; }
.current_text:hover { color: black; }
#scantype { background-color: var(--external-bg-color); }
.internal { background-color: var(--internal-bg-color); }
.external { background-color: var(--external-bg-color); }
.internal-small { background-color: var(--internal-bg-color-light); color: black; }
.external-small { background-color: var(--external-bg-color-light); color: black; }
.internal p, .external p, .filename, .delscan,
#scantype { color: black; }
.fileupload { background-color: var(--bg-hover-color); color: white; filter: brightness(50%); }
.reporting_table th,
#hoststable th { background-color: var(--header-bg-color); color: var(--text-color); }
#export-txt,
.reporting_table th img,
#repburgerimg,
.check_ok { filter: brightness(60%); }
.cvssjs label { filter: brightness(80%); }
.libpending, #load_lib a:link, .libpending a:link, .load_lib a:visited, .libpending a:visited
{ color: var(--blue); text-decoration: underline; }
.libpending.current_text { color: var(--text-color); text-decoration: none; }
#hoststable td { border-top-color: var(--bg-hover-color); }
.first_row td { border-top-color: grey !important; }
#hoststable tr { background-color: var(--darker-card); }
.merge, .merge_on { filter: brightness(50%); }
.hover:hover { background-color: var(--card-bg-color); }
.linkmenu { color: var(--white-text); background-color: var(--blue-bg); }
#addhost { background-color: green; color: white; opacity: 0.8; }
.affected_host a, a.affected_host { color: black; }
.labelled_box { border-color: grey; }
.wide-card,
#usersettings { background-color: var(--card-bg-color); }
.overlay { background-color: var(--header-bg-color); opacity: 0.8; }
.import-file-name { color: var(--text-color); }
.import-status { color: var(--header-bg-color); }
.upload-bar { background-color: grey; }
.upload-percent { background-color: #4cb04f; filter: brightness(70%); }
.warning { background-color: #fff9c4; }
.cefail { background-color: var(--red); }
.ceunknown { background-color: yellow; }
.button { border-color: grey; }
a:hover.green_btn { color: white; }
.cvssjs input,
.green_btn { background-color: var(--green); color: var(--white-text); border: none; }
.blue_btn { background-color: var(--blue-bg); color: var(--white-text); border: none; }
.red_btn { background-color: var(--light-red); color: var(--white-text); border: none; }
.error { background: #f0d6d6; }
.good { background: #c8e6c9; }
.green { color: green; }
.red { color: var(--red); }
.soft { opacity: 0.9; }
.softer { opacity: 0.8; }
.Crit { background-color: var(--crit-bg-color); }
.High { background-color: var(--high-bg-color); }
.Medium { background-color: var(--medium-bg-color); }
.Low { background-color: var(--low-bg-color); }
.Info { background-color: var(--info-bg-color); }
.Crit span, p.Crit { color: var(--white-text); font-size: 0.9em; }
.High span, .Medium span, .Low span, .Info span,
p.High, p.Medium, p.Low, p.Info
{ color: var(--page-bg-color); font-size: 0.9em; }
.valid { border-color: green !important; }
.invalid { border-color: var(--red) !important; }
.reqd { border-left-color: var(--red); }
#timeoutwarn,
.popup { background-color: var(--card-bg-color); }
/* jQuery UI overrides */
/* calendar */
div.ui-widget.ui-widget-content { border-color: var(--page-bg-color); }
div.ui-widget-content { background: var(--page-bg-color); }
.ui-widget-header { border-color: var(--darker-card) !important; background: var(--card-bg-color) !important; }
.ui-state-default { background: var(--card-bg-color) !important; color: var(--text-color) !important;
border-color: var(--darker-card) !important; }
.ui-state-hover { border-color: var(--page-bg-color) !important; background: var(--bg-hover-color) !important; }
/* autocomplete */
li.ui-menu-item { background-color: black; }
.ui-menu.ui-widget-content { background: var(--darker-card); color: var(--text-color); }
.ui-menu.ui-widget.ui-widget-content { border-color: var(--page-bg-color); }
.ui-menu-item-wrapper.ui-state-active { background: var(--bg-hover-color) !important; border-color: var(--card-bg-color) !important;
color: lightgrey !important; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

1118
haxhq/haxhq/static/haxhq.js Normal file

File diff suppressed because it is too large Load Diff

1
haxhq/haxhq/static/images Symbolic link
View File

@ -0,0 +1 @@
jquery-ui-1.13.2.custom/images

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

View File

@ -0,0 +1,129 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
height="512"
viewBox="0 0 24 24"
width="512"
version="1.1"
id="svg23"
sodipodi:docname="calc-small-grey.svg"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
<metadata
id="metadata29">
<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="defs27" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1178"
inkscape:window-height="597"
id="namedview25"
showgrid="false"
inkscape:zoom="0.5"
inkscape:cx="103.62712"
inkscape:cy="256"
inkscape:window-x="722"
inkscape:window-y="275"
inkscape:window-maximized="0"
inkscape:current-layer="svg23" />
<g
id="Layer_2"
data-name="Layer 2">
<path
d="m18.5 22.75h-13a2.25 2.25 0 0 1 -2.25-2.25v-17a2.25 2.25 0 0 1 2.25-2.25h13a2.25 2.25 0 0 1 2.25 2.25v17a2.25 2.25 0 0 1 -2.25 2.25zm-13-20a.75.75 0 0 0 -.75.75v17a.75.75 0 0 0 .75.75h13a.75.75 0 0 0 .75-.75v-17a.75.75 0 0 0 -.75-.75z"
id="path2"
style="fill:#7f7f7f;fill-opacity:1"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<path
d="m17 9.75h-10a.76.76 0 0 1 -.75-.75v-4a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 .75.75v4a.76.76 0 0 1 -.75.75zm-9.25-1.5h8.5v-2.5h-8.5z"
id="path4"
style="fill:#7f7f7f;fill-opacity:1"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="8"
cy="12.5"
r="1"
id="circle6"
style="fill:#7f7f7f;fill-opacity:1"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="12"
cy="12.5"
r="1"
id="circle8"
style="fill:#7f7f7f;fill-opacity:1"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="16"
cy="12.5"
r="1"
id="circle10"
style="fill:#7f7f7f;fill-opacity:1"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="8"
cy="15.5"
r="1"
id="circle12"
style="fill:#7f7f7f;fill-opacity:1"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="12"
cy="15.5"
r="1"
id="circle14"
style="fill:#7f7f7f;fill-opacity:1"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="8"
cy="18.5"
r="1"
id="circle16"
style="fill:#7f7f7f;fill-opacity:1"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="12"
cy="18.5"
r="1"
id="circle18"
style="fill:#7f7f7f;fill-opacity:1"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<path
d="m16 19.5a.76.76 0 0 1 -.75-.75v-3.5a.75.75 0 0 1 1.5 0v3.5a.76.76 0 0 1 -.75.75z"
id="path20"
style="fill:#7f7f7f;fill-opacity:1"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -0,0 +1,129 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
height="512"
viewBox="0 0 24 24"
width="512"
version="1.1"
id="svg23"
sodipodi:docname="calc-small-light.svg"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
<metadata
id="metadata29">
<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="defs27" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1178"
inkscape:window-height="597"
id="namedview25"
showgrid="false"
inkscape:zoom="0.5"
inkscape:cx="481.62712"
inkscape:cy="256"
inkscape:window-x="1070"
inkscape:window-y="298"
inkscape:window-maximized="0"
inkscape:current-layer="svg23" />
<g
id="Layer_2"
data-name="Layer 2">
<path
d="m18.5 22.75h-13a2.25 2.25 0 0 1 -2.25-2.25v-17a2.25 2.25 0 0 1 2.25-2.25h13a2.25 2.25 0 0 1 2.25 2.25v17a2.25 2.25 0 0 1 -2.25 2.25zm-13-20a.75.75 0 0 0 -.75.75v17a.75.75 0 0 0 .75.75h13a.75.75 0 0 0 .75-.75v-17a.75.75 0 0 0 -.75-.75z"
id="path2"
style="fill:#e6e6e6"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<path
d="m17 9.75h-10a.76.76 0 0 1 -.75-.75v-4a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 .75.75v4a.76.76 0 0 1 -.75.75zm-9.25-1.5h8.5v-2.5h-8.5z"
id="path4"
style="fill:#e6e6e6"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="8"
cy="12.5"
r="1"
id="circle6"
style="fill:#e6e6e6"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="12"
cy="12.5"
r="1"
id="circle8"
style="fill:#e6e6e6"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="16"
cy="12.5"
r="1"
id="circle10"
style="fill:#e6e6e6"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="8"
cy="15.5"
r="1"
id="circle12"
style="fill:#e6e6e6"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="12"
cy="15.5"
r="1"
id="circle14"
style="fill:#e6e6e6"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="8"
cy="18.5"
r="1"
id="circle16"
style="fill:#e6e6e6"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<circle
cx="12"
cy="18.5"
r="1"
id="circle18"
style="fill:#e6e6e6"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
<path
d="m16 19.5a.76.76 0 0 1 -.75-.75v-3.5a.75.75 0 0 1 1.5 0v3.5a.76.76 0 0 1 -.75.75z"
id="path20"
style="fill:#e6e6e6"
inkscape:export-xdpi="19.17"
inkscape:export-ydpi="19.17" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -0,0 +1 @@
<svg height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><g id="Layer_2" data-name="Layer 2"><path d="m18.5 22.75h-13a2.25 2.25 0 0 1 -2.25-2.25v-17a2.25 2.25 0 0 1 2.25-2.25h13a2.25 2.25 0 0 1 2.25 2.25v17a2.25 2.25 0 0 1 -2.25 2.25zm-13-20a.75.75 0 0 0 -.75.75v17a.75.75 0 0 0 .75.75h13a.75.75 0 0 0 .75-.75v-17a.75.75 0 0 0 -.75-.75z"/><path d="m17 9.75h-10a.76.76 0 0 1 -.75-.75v-4a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 .75.75v4a.76.76 0 0 1 -.75.75zm-9.25-1.5h8.5v-2.5h-8.5z"/><circle cx="8" cy="12.5" r="1"/><circle cx="12" cy="12.5" r="1"/><circle cx="16" cy="12.5" r="1"/><circle cx="8" cy="15.5" r="1"/><circle cx="12" cy="15.5" r="1"/><circle cx="8" cy="18.5" r="1"/><circle cx="12" cy="18.5" r="1"/><path d="m16 19.5a.76.76 0 0 1 -.75-.75v-3.5a.75.75 0 0 1 1.5 0v3.5a.76.76 0 0 1 -.75.75z"/></g></svg>

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

View File

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
id="Capa_1"
enable-background="new 0 0 515.283 515.283"
height="512"
viewBox="0 0 515.283 515.283"
width="512"
version="1.1"
sodipodi:docname="downloads.svg"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
<metadata
id="metadata17">
<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="defs15" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1465"
inkscape:window-height="853"
id="namedview13"
showgrid="false"
inkscape:zoom="0.4609375"
inkscape:cx="23.864407"
inkscape:cy="256"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="Capa_1" />
<g
id="g10">
<g
id="g8">
<g
id="g6">
<g
id="g4">
<path
d="m400.775 515.283h-286.268c-30.584 0-59.339-11.911-80.968-33.54-21.628-21.626-33.539-50.382-33.539-80.968v-28.628c0-15.811 12.816-28.628 28.627-28.628s28.627 12.817 28.627 28.628v28.628c0 15.293 5.956 29.67 16.768 40.483 10.815 10.814 25.192 16.771 40.485 16.771h286.268c15.292 0 29.669-5.957 40.483-16.771 10.814-10.815 16.771-25.192 16.771-40.483v-28.628c0-15.811 12.816-28.628 28.626-28.628s28.628 12.817 28.628 28.628v28.628c0 30.584-11.911 59.338-33.54 80.968-21.629 21.629-50.384 33.54-80.968 33.54zm-143.134-114.509c-3.96 0-7.73-.804-11.16-2.257-3.2-1.352-6.207-3.316-8.838-5.885-.001-.001-.001-.002-.002-.002-.019-.018-.038-.037-.057-.056-.005-.004-.011-.011-.016-.016-.016-.014-.03-.029-.045-.044-.01-.01-.019-.018-.029-.029-.01-.01-.023-.023-.032-.031-.02-.02-.042-.042-.062-.062l-114.508-114.509c-11.179-11.179-11.179-29.305 0-40.485 11.179-11.179 29.306-11.18 40.485 0l65.638 65.638v-274.409c-.001-15.811 12.815-28.627 28.626-28.627s28.628 12.816 28.628 28.627v274.408l65.637-65.637c11.178-11.179 29.307-11.179 40.485 0 11.179 11.179 11.179 29.306 0 40.485l-114.508 114.507c-.02.02-.042.042-.062.062-.011.01-.023.023-.032.031-.01.011-.019.019-.029.029-.014.016-.03.03-.044.044-.005.005-.012.012-.017.016-.018.019-.037.038-.056.056-.001 0-.001.001-.002.002-.315.307-.634.605-.96.895-2.397 2.138-5.067 3.805-7.89 4.995-.01.004-.018.008-.028.012-.011.004-.02.01-.031.013-3.412 1.437-7.158 2.229-11.091 2.229z"
fill="rgb(0,0,0)"
id="path2"
style="fill:#8f8f8f;fill-opacity:1" />
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
id="Capa_1"
enable-background="new 0 0 515.283 515.283"
height="512"
viewBox="0 0 515.283 515.283"
width="512"
version="1.1"
sodipodi:docname="downloads.svg"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
<metadata
id="metadata17">
<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="defs15" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1465"
inkscape:window-height="853"
id="namedview13"
showgrid="false"
inkscape:zoom="0.4609375"
inkscape:cx="23.864407"
inkscape:cy="256"
inkscape:window-x="399"
inkscape:window-y="3"
inkscape:window-maximized="0"
inkscape:current-layer="Capa_1" />
<g
id="g10">
<g
id="g8">
<g
id="g6">
<g
id="g4">
<path
d="m400.775 515.283h-286.268c-30.584 0-59.339-11.911-80.968-33.54-21.628-21.626-33.539-50.382-33.539-80.968v-28.628c0-15.811 12.816-28.628 28.627-28.628s28.627 12.817 28.627 28.628v28.628c0 15.293 5.956 29.67 16.768 40.483 10.815 10.814 25.192 16.771 40.485 16.771h286.268c15.292 0 29.669-5.957 40.483-16.771 10.814-10.815 16.771-25.192 16.771-40.483v-28.628c0-15.811 12.816-28.628 28.626-28.628s28.628 12.817 28.628 28.628v28.628c0 30.584-11.911 59.338-33.54 80.968-21.629 21.629-50.384 33.54-80.968 33.54zm-143.134-114.509c-3.96 0-7.73-.804-11.16-2.257-3.2-1.352-6.207-3.316-8.838-5.885-.001-.001-.001-.002-.002-.002-.019-.018-.038-.037-.057-.056-.005-.004-.011-.011-.016-.016-.016-.014-.03-.029-.045-.044-.01-.01-.019-.018-.029-.029-.01-.01-.023-.023-.032-.031-.02-.02-.042-.042-.062-.062l-114.508-114.509c-11.179-11.179-11.179-29.305 0-40.485 11.179-11.179 29.306-11.18 40.485 0l65.638 65.638v-274.409c-.001-15.811 12.815-28.627 28.626-28.627s28.628 12.816 28.628 28.627v274.408l65.637-65.637c11.178-11.179 29.307-11.179 40.485 0 11.179 11.179 11.179 29.306 0 40.485l-114.508 114.507c-.02.02-.042.042-.062.062-.011.01-.023.023-.032.031-.01.011-.019.019-.029.029-.014.016-.03.03-.044.044-.005.005-.012.012-.017.016-.018.019-.037.038-.056.056-.001 0-.001.001-.002.002-.315.307-.634.605-.96.895-2.397 2.138-5.067 3.805-7.89 4.995-.01.004-.018.008-.028.012-.011.004-.02.01-.031.013-3.412 1.437-7.158 2.229-11.091 2.229z"
fill="rgb(0,0,0)"
id="path2"
style="fill:#ffffff;fill-opacity:1" />
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg18"
width="270.452"
height="388.85068"
viewBox="0 0 270.452 388.85068"
sodipodi:docname="shutterstock_222318265.eps"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs22" />
<sodipodi:namedview
id="namedview20"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false" />
<g
id="g26"
inkscape:groupmode="layer"
inkscape:label="Page 1"
transform="matrix(1.3333333,0,0,-1.3333333,-442.42398,594.42532)">
<g
id="g28"
transform="scale(0.1)"
inkscape:export-filename="g28.svg"
inkscape:export-xdpi="48"
inkscape:export-ydpi="48">
<path
d="m 3780.88,3308.46 v 420.64 c 0,72.94 150.2,429.98 551.5,429.98 398.74,0 549.5,-352.38 551.4,-428.42 h 299.15 c -1.21,208.51 -254.4,727.53 -850.55,727.53 -597.59,0 -850.62,-521.58 -850.62,-729.09 v -429.19 c 19.35,5.44 39.67,8.55 60.76,8.55 h 238.36"
style="fill:#3465a4;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path42" />
<path
d="m 4456.23,2438.85 v -226.37 c 0,-68.4 -55.45,-123.85 -123.85,-123.85 -68.41,0 -123.86,55.45 -123.86,123.85 v 226.37 c -49.6,37.55 -81.79,96.88 -81.79,163.89 0,113.57 92.07,205.64 205.65,205.64 113.57,0 205.64,-92.07 205.64,-205.64 0,-67.01 -32.19,-126.34 -81.79,-163.89 z m 726.76,861.06 c -19.35,5.44 -39.67,8.55 -60.76,8.55 H 4883.87 3780.88 3542.52 c -21.09,0 -41.41,-3.11 -60.76,-8.55 -94.33,-26.52 -163.58,-112.97 -163.58,-215.78 V 1766.15 c 0,-123.9 100.44,-224.34 224.34,-224.34 h 1579.71 c 123.9,0 224.34,100.44 224.34,224.34 v 1317.98 c 0,102.81 -69.25,189.26 -163.58,215.78"
style="fill:#3465a4;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path44" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,559 @@
<!doctype html>
<html lang="us">
<head>
<meta charset="utf-8">
<title>jQuery UI Example Page</title>
<link href="jquery-ui.css" rel="stylesheet">
<style>
body{
font-family: "Trebuchet MS", sans-serif;
margin: 50px;
}
.demoHeaders {
margin-top: 2em;
}
#dialog-link {
padding: .4em 1em .4em 20px;
text-decoration: none;
position: relative;
}
#dialog-link span.ui-icon {
margin: 0 5px 0 0;
position: absolute;
left: .2em;
top: 50%;
margin-top: -8px;
}
#icons {
margin: 0;
padding: 0;
}
#icons li {
margin: 2px;
position: relative;
padding: 4px 0;
cursor: pointer;
float: left;
list-style: none;
}
#icons span.ui-icon {
float: left;
margin: 0 4px;
}
.fakewindowcontain .ui-widget-overlay {
position: absolute;
}
select {
width: 200px;
}
</style>
</head>
<body>
<h1>Welcome to jQuery UI!</h1>
<div class="ui-widget">
<p>This page demonstrates the widgets and theme you selected in Download Builder. Please make sure you are using them with a compatible jQuery version.</p>
</div>
<h1>YOUR COMPONENTS:</h1>
<!-- Accordion -->
<h2 class="demoHeaders">Accordion</h2>
<div id="accordion">
<h3>First</h3>
<div>Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.</div>
<h3>Second</h3>
<div>Phasellus mattis tincidunt nibh.</div>
<h3>Third</h3>
<div>Nam dui erat, auctor a, dignissim quis.</div>
</div>
<!-- Autocomplete -->
<h2 class="demoHeaders">Autocomplete</h2>
<div>
<input id="autocomplete" title="type &quot;a&quot;">
</div>
<!-- Button -->
<h2 class="demoHeaders">Button</h2>
<button id="button">A button element</button>
<button id="button-icon">An icon-only button</button>
<!-- Checkboxradio -->
<h2 class="demoHeaders">Checkboxradio</h2>
<form style="margin-top: 1em;">
<div id="radioset">
<input type="radio" id="radio1" name="radio"><label for="radio1">Choice 1</label>
<input type="radio" id="radio2" name="radio" checked="checked"><label for="radio2">Choice 2</label>
<input type="radio" id="radio3" name="radio"><label for="radio3">Choice 3</label>
</div>
</form>
<!-- Controlgroup -->
<h2 class="demoHeaders">Controlgroup</h2>
<fieldset>
<legend>Rental Car</legend>
<div id="controlgroup">
<select id="car-type">
<option>Compact car</option>
<option>Midsize car</option>
<option>Full size car</option>
<option>SUV</option>
<option>Luxury</option>
<option>Truck</option>
<option>Van</option>
</select>
<label for="transmission-standard">Standard</label>
<input type="radio" name="transmission" id="transmission-standard">
<label for="transmission-automatic">Automatic</label>
<input type="radio" name="transmission" id="transmission-automatic">
<label for="insurance">Insurance</label>
<input type="checkbox" name="insurance" id="insurance">
<label for="horizontal-spinner" class="ui-controlgroup-label"># of cars</label>
<input id="horizontal-spinner" class="ui-spinner-input">
<button>Book Now!</button>
</div>
</fieldset>
<!-- Tabs -->
<h2 class="demoHeaders">Tabs</h2>
<div id="tabs">
<ul>
<li><a href="#tabs-1">First</a></li>
<li><a href="#tabs-2">Second</a></li>
<li><a href="#tabs-3">Third</a></li>
</ul>
<div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
<div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</div>
<div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div>
</div>
<h2 class="demoHeaders">Dialog</h2>
<p>
<button id="dialog-link" class="ui-button ui-corner-all ui-widget">
<span class="ui-icon ui-icon-newwin"></span>Open Dialog
</button>
</p>
<h2 class="demoHeaders">Overlay and Shadow Classes</h2>
<div style="position: relative; width: 96%; height: 200px; padding:1% 2%; overflow:hidden;" class="fakewindowcontain">
<p>Lorem ipsum dolor sit amet, Nulla nec tortor. Donec id elit quis purus consectetur consequat. </p><p>Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. </p><p>Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. </p><p>Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. </p><p>Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. </p><p>Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. </p>
<!-- ui-dialog -->
<div class="ui-widget-overlay ui-front"></div>
<div style="position: absolute; width: 320px; left: 50px; top: 30px; padding: 1.2em" class="ui-widget ui-front ui-widget-content ui-corner-all ui-widget-shadow">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</div>
</div>
<!-- ui-dialog -->
<div id="dialog" title="Dialog Title">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
<h2 class="demoHeaders">Framework Icons (content color preview)</h2>
<ul id="icons" class="ui-widget ui-helper-clearfix">
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-n"><span class="ui-icon ui-icon-caret-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-ne"><span class="ui-icon ui-icon-caret-1-ne"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-e"><span class="ui-icon ui-icon-caret-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-se"><span class="ui-icon ui-icon-caret-1-se"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-s"><span class="ui-icon ui-icon-caret-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-sw"><span class="ui-icon ui-icon-caret-1-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-w"><span class="ui-icon ui-icon-caret-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-nw"><span class="ui-icon ui-icon-caret-1-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-2-n-s"><span class="ui-icon ui-icon-caret-2-n-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-2-e-w"><span class="ui-icon ui-icon-caret-2-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-n"><span class="ui-icon ui-icon-triangle-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-ne"><span class="ui-icon ui-icon-triangle-1-ne"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-e"><span class="ui-icon ui-icon-triangle-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-se"><span class="ui-icon ui-icon-triangle-1-se"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-s"><span class="ui-icon ui-icon-triangle-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-sw"><span class="ui-icon ui-icon-triangle-1-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-w"><span class="ui-icon ui-icon-triangle-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-nw"><span class="ui-icon ui-icon-triangle-1-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-n-s"><span class="ui-icon ui-icon-triangle-2-n-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-e-w"><span class="ui-icon ui-icon-triangle-2-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-n"><span class="ui-icon ui-icon-arrow-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-ne"><span class="ui-icon ui-icon-arrow-1-ne"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-e"><span class="ui-icon ui-icon-arrow-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-se"><span class="ui-icon ui-icon-arrow-1-se"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-s"><span class="ui-icon ui-icon-arrow-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-sw"><span class="ui-icon ui-icon-arrow-1-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-w"><span class="ui-icon ui-icon-arrow-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-nw"><span class="ui-icon ui-icon-arrow-1-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-n-s"><span class="ui-icon ui-icon-arrow-2-n-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-ne-sw"><span class="ui-icon ui-icon-arrow-2-ne-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-e-w"><span class="ui-icon ui-icon-arrow-2-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-se-nw"><span class="ui-icon ui-icon-arrow-2-se-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-n"><span class="ui-icon ui-icon-arrowstop-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-e"><span class="ui-icon ui-icon-arrowstop-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-s"><span class="ui-icon ui-icon-arrowstop-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-w"><span class="ui-icon ui-icon-arrowstop-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-n"><span class="ui-icon ui-icon-arrowthick-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-ne"><span class="ui-icon ui-icon-arrowthick-1-ne"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-e"><span class="ui-icon ui-icon-arrowthick-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-se"><span class="ui-icon ui-icon-arrowthick-1-se"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-s"><span class="ui-icon ui-icon-arrowthick-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-sw"><span class="ui-icon ui-icon-arrowthick-1-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-w"><span class="ui-icon ui-icon-arrowthick-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-nw"><span class="ui-icon ui-icon-arrowthick-1-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-n-s"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-ne-sw"><span class="ui-icon ui-icon-arrowthick-2-ne-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-e-w"><span class="ui-icon ui-icon-arrowthick-2-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-se-nw"><span class="ui-icon ui-icon-arrowthick-2-se-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-n"><span class="ui-icon ui-icon-arrowthickstop-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-e"><span class="ui-icon ui-icon-arrowthickstop-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-s"><span class="ui-icon ui-icon-arrowthickstop-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-w"><span class="ui-icon ui-icon-arrowthickstop-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-w"><span class="ui-icon ui-icon-arrowreturnthick-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-n"><span class="ui-icon ui-icon-arrowreturnthick-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-e"><span class="ui-icon ui-icon-arrowreturnthick-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-s"><span class="ui-icon ui-icon-arrowreturnthick-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-w"><span class="ui-icon ui-icon-arrowreturn-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-n"><span class="ui-icon ui-icon-arrowreturn-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-e"><span class="ui-icon ui-icon-arrowreturn-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-s"><span class="ui-icon ui-icon-arrowreturn-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-w"><span class="ui-icon ui-icon-arrowrefresh-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-n"><span class="ui-icon ui-icon-arrowrefresh-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-e"><span class="ui-icon ui-icon-arrowrefresh-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-s"><span class="ui-icon ui-icon-arrowrefresh-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4"><span class="ui-icon ui-icon-arrow-4"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4-diag"><span class="ui-icon ui-icon-arrow-4-diag"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-extlink"><span class="ui-icon ui-icon-extlink"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-newwin"><span class="ui-icon ui-icon-newwin"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-refresh"><span class="ui-icon ui-icon-refresh"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-shuffle"><span class="ui-icon ui-icon-shuffle"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-transfer-e-w"><span class="ui-icon ui-icon-transfer-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-transferthick-e-w"><span class="ui-icon ui-icon-transferthick-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-folder-collapsed"><span class="ui-icon ui-icon-folder-collapsed"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-folder-open"><span class="ui-icon ui-icon-folder-open"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-document"><span class="ui-icon ui-icon-document"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-document-b"><span class="ui-icon ui-icon-document-b"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-note"><span class="ui-icon ui-icon-note"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-mail-closed"><span class="ui-icon ui-icon-mail-closed"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-mail-open"><span class="ui-icon ui-icon-mail-open"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-suitcase"><span class="ui-icon ui-icon-suitcase"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-comment"><span class="ui-icon ui-icon-comment"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-person"><span class="ui-icon ui-icon-person"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-print"><span class="ui-icon ui-icon-print"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-trash"><span class="ui-icon ui-icon-trash"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-locked"><span class="ui-icon ui-icon-locked"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-unlocked"><span class="ui-icon ui-icon-unlocked"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-bookmark"><span class="ui-icon ui-icon-bookmark"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-tag"><span class="ui-icon ui-icon-tag"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-home"><span class="ui-icon ui-icon-home"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-flag"><span class="ui-icon ui-icon-flag"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-calculator"><span class="ui-icon ui-icon-calculator"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-cart"><span class="ui-icon ui-icon-cart"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-pencil"><span class="ui-icon ui-icon-pencil"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-clock"><span class="ui-icon ui-icon-clock"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-disk"><span class="ui-icon ui-icon-disk"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-calendar"><span class="ui-icon ui-icon-calendar"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-zoomin"><span class="ui-icon ui-icon-zoomin"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-zoomout"><span class="ui-icon ui-icon-zoomout"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-search"><span class="ui-icon ui-icon-search"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-wrench"><span class="ui-icon ui-icon-wrench"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-gear"><span class="ui-icon ui-icon-gear"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-heart"><span class="ui-icon ui-icon-heart"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-star"><span class="ui-icon ui-icon-star"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-link"><span class="ui-icon ui-icon-link"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-cancel"><span class="ui-icon ui-icon-cancel"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-plus"><span class="ui-icon ui-icon-plus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-plusthick"><span class="ui-icon ui-icon-plusthick"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-minus"><span class="ui-icon ui-icon-minus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-minusthick"><span class="ui-icon ui-icon-minusthick"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-close"><span class="ui-icon ui-icon-close"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-closethick"><span class="ui-icon ui-icon-closethick"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-key"><span class="ui-icon ui-icon-key"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-lightbulb"><span class="ui-icon ui-icon-lightbulb"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-scissors"><span class="ui-icon ui-icon-scissors"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-clipboard"><span class="ui-icon ui-icon-clipboard"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-copy"><span class="ui-icon ui-icon-copy"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-contact"><span class="ui-icon ui-icon-contact"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-image"><span class="ui-icon ui-icon-image"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-video"><span class="ui-icon ui-icon-video"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-script"><span class="ui-icon ui-icon-script"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-alert"><span class="ui-icon ui-icon-alert"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-info"><span class="ui-icon ui-icon-info"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-notice"><span class="ui-icon ui-icon-notice"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-help"><span class="ui-icon ui-icon-help"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-check"><span class="ui-icon ui-icon-check"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-bullet"><span class="ui-icon ui-icon-bullet"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-radio-off"><span class="ui-icon ui-icon-radio-off"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-radio-on"><span class="ui-icon ui-icon-radio-on"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-pin-w"><span class="ui-icon ui-icon-pin-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-pin-s"><span class="ui-icon ui-icon-pin-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-play"><span class="ui-icon ui-icon-play"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-pause"><span class="ui-icon ui-icon-pause"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-next"><span class="ui-icon ui-icon-seek-next"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-prev"><span class="ui-icon ui-icon-seek-prev"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-end"><span class="ui-icon ui-icon-seek-end"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-first"><span class="ui-icon ui-icon-seek-first"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-stop"><span class="ui-icon ui-icon-stop"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-eject"><span class="ui-icon ui-icon-eject"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-volume-off"><span class="ui-icon ui-icon-volume-off"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-volume-on"><span class="ui-icon ui-icon-volume-on"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-power"><span class="ui-icon ui-icon-power"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-signal-diag"><span class="ui-icon ui-icon-signal-diag"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-signal"><span class="ui-icon ui-icon-signal"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-0"><span class="ui-icon ui-icon-battery-0"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-1"><span class="ui-icon ui-icon-battery-1"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-2"><span class="ui-icon ui-icon-battery-2"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-3"><span class="ui-icon ui-icon-battery-3"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-plus"><span class="ui-icon ui-icon-circle-plus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-minus"><span class="ui-icon ui-icon-circle-minus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-close"><span class="ui-icon ui-icon-circle-close"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-e"><span class="ui-icon ui-icon-circle-triangle-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-s"><span class="ui-icon ui-icon-circle-triangle-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-w"><span class="ui-icon ui-icon-circle-triangle-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-n"><span class="ui-icon ui-icon-circle-triangle-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-e"><span class="ui-icon ui-icon-circle-arrow-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-s"><span class="ui-icon ui-icon-circle-arrow-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-w"><span class="ui-icon ui-icon-circle-arrow-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-n"><span class="ui-icon ui-icon-circle-arrow-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomin"><span class="ui-icon ui-icon-circle-zoomin"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomout"><span class="ui-icon ui-icon-circle-zoomout"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-check"><span class="ui-icon ui-icon-circle-check"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-plus"><span class="ui-icon ui-icon-circlesmall-plus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-minus"><span class="ui-icon ui-icon-circlesmall-minus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-close"><span class="ui-icon ui-icon-circlesmall-close"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-plus"><span class="ui-icon ui-icon-squaresmall-plus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-minus"><span class="ui-icon ui-icon-squaresmall-minus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-close"><span class="ui-icon ui-icon-squaresmall-close"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-vertical"><span class="ui-icon ui-icon-grip-dotted-vertical"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-horizontal"><span class="ui-icon ui-icon-grip-dotted-horizontal"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-vertical"><span class="ui-icon ui-icon-grip-solid-vertical"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-horizontal"><span class="ui-icon ui-icon-grip-solid-horizontal"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-gripsmall-diagonal-se"><span class="ui-icon ui-icon-gripsmall-diagonal-se"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-diagonal-se"><span class="ui-icon ui-icon-grip-diagonal-se"></span></li>
</ul>
<!-- Slider -->
<h2 class="demoHeaders">Slider</h2>
<div id="slider"></div>
<!-- Datepicker -->
<h2 class="demoHeaders">Datepicker</h2>
<div id="datepicker"></div>
<!-- Progressbar -->
<h2 class="demoHeaders">Progressbar</h2>
<div id="progressbar"></div>
<!-- Progressbar -->
<h2 class="demoHeaders">Selectmenu</h2>
<select id="selectmenu">
<option>Slower</option>
<option>Slow</option>
<option selected="selected">Medium</option>
<option>Fast</option>
<option>Faster</option>
</select>
<!-- Spinner -->
<h2 class="demoHeaders">Spinner</h2>
<input id="spinner">
<!-- Menu -->
<h2 class="demoHeaders">Menu</h2>
<ul style="width:100px;" id="menu">
<li><div>Item 1</div></li>
<li><div>Item 2</div></li>
<li><div>Item 3</div>
<ul>
<li><div>Item 3-1</div></li>
<li><div>Item 3-2</div></li>
<li><div>Item 3-3</div></li>
<li><div>Item 3-4</div></li>
<li><div>Item 3-5</div></li>
</ul>
</li>
<li><div>Item 4</div></li>
<li><div>Item 5</div></li>
</ul>
<!-- Tooltip -->
<h2 class="demoHeaders">Tooltip</h2>
<p id="tooltip">
<a href="#" title="That&apos;s what this widget is">Tooltips</a> can be attached to any element. When you hover
the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.
</p>
<!-- Highlight / Error -->
<h2 class="demoHeaders">Highlight / Error</h2>
<div class="ui-widget">
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
<strong>Hey!</strong> Sample ui-state-highlight style.</p>
</div>
</div>
<br>
<div class="ui-widget">
<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
<strong>Alert:</strong> Sample ui-state-error style.</p>
</div>
</div>
<script src="external/jquery/jquery.js"></script>
<script src="jquery-ui.js"></script>
<script>
$( "#accordion" ).accordion();
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"
];
$( "#autocomplete" ).autocomplete({
source: availableTags
});
$( "#button" ).button();
$( "#button-icon" ).button({
icon: "ui-icon-gear",
showLabel: false
});
$( "#radioset" ).buttonset();
$( "#controlgroup" ).controlgroup();
$( "#tabs" ).tabs();
$( "#dialog" ).dialog({
autoOpen: false,
width: 400,
buttons: [
{
text: "Ok",
click: function() {
$( this ).dialog( "close" );
}
},
{
text: "Cancel",
click: function() {
$( this ).dialog( "close" );
}
}
]
});
// Link to open the dialog
$( "#dialog-link" ).click(function( event ) {
$( "#dialog" ).dialog( "open" );
event.preventDefault();
});
$( "#datepicker" ).datepicker({
inline: true
});
$( "#slider" ).slider({
range: true,
values: [ 17, 67 ]
});
$( "#progressbar" ).progressbar({
value: 20
});
$( "#spinner" ).spinner();
$( "#menu" ).menu();
$( "#tooltip" ).tooltip();
$( "#selectmenu" ).selectmenu();
// Hover states on the static widgets
$( "#dialog-link, #icons li" ).hover(
function() {
$( this ).addClass( "ui-state-hover" );
},
function() {
$( this ).removeClass( "ui-state-hover" );
}
);
</script>
</body>
</html>

View File

@ -0,0 +1,870 @@
/*! jQuery UI - v1.12.1 - 2020-01-24
* http://jqueryui.com
* Includes: draggable.css, core.css, resizable.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css
* Copyright jQuery Foundation and other contributors; Licensed MIT */
.ui-draggable-handle {
-ms-touch-action: none;
touch-action: none;
}
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
display: none;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outline: 0;
line-height: 1.3;
text-decoration: none;
font-size: 100%;
list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
content: "";
display: table;
border-collapse: collapse;
}
.ui-helper-clearfix:after {
clear: both;
}
.ui-helper-zfix {
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
opacity: 0;
filter:Alpha(Opacity=0); /* support: IE8 */
}
.ui-front {
z-index: 100;
}
/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
cursor: default !important;
pointer-events: none;
}
/* Icons
----------------------------------*/
.ui-icon {
display: inline-block;
vertical-align: middle;
margin-top: -.25em;
position: relative;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
}
.ui-widget-icon-block {
left: 50%;
margin-left: -8px;
display: block;
}
/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.ui-resizable {
position: relative;
}
.ui-resizable-handle {
position: absolute;
font-size: 0.1px;
display: block;
-ms-touch-action: none;
touch-action: none;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
display: none;
}
.ui-resizable-n {
cursor: n-resize;
height: 7px;
width: 100%;
top: -5px;
left: 0;
}
.ui-resizable-s {
cursor: s-resize;
height: 7px;
width: 100%;
bottom: -5px;
left: 0;
}
.ui-resizable-e {
cursor: e-resize;
width: 7px;
right: -5px;
top: 0;
height: 100%;
}
.ui-resizable-w {
cursor: w-resize;
width: 7px;
left: -5px;
top: 0;
height: 100%;
}
.ui-resizable-se {
cursor: se-resize;
width: 12px;
height: 12px;
right: 1px;
bottom: 1px;
}
.ui-resizable-sw {
cursor: sw-resize;
width: 9px;
height: 9px;
left: -5px;
bottom: -5px;
}
.ui-resizable-nw {
cursor: nw-resize;
width: 9px;
height: 9px;
left: -5px;
top: -5px;
}
.ui-resizable-ne {
cursor: ne-resize;
width: 9px;
height: 9px;
right: -5px;
top: -5px;
}
.ui-accordion .ui-accordion-header {
display: block;
cursor: pointer;
position: relative;
margin: 2px 0 0 0;
padding: .5em .5em .5em .7em;
font-size: 100%;
}
.ui-accordion .ui-accordion-content {
padding: 1em 2.2em;
border-top: 0;
overflow: auto;
}
.ui-autocomplete {
position: absolute;
top: 0;
left: 0;
cursor: default;
}
.ui-menu {
list-style: none;
padding: 0;
margin: 0;
display: block;
outline: 0;
}
.ui-menu .ui-menu {
position: absolute;
}
.ui-menu .ui-menu-item {
margin: 0;
cursor: pointer;
/* support: IE10, see #8844 */
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
background: white;
}
.ui-menu .ui-menu-item-wrapper {
position: relative;
padding: 3px 1em 3px .4em;
}
.ui-menu .ui-menu-divider {
margin: 5px 0;
height: 0;
font-size: 0;
line-height: 0;
border-width: 1px 0 0 0;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
margin: -1px;
background-color: lightgrey;
}
/* icon support */
.ui-menu-icons {
position: relative;
}
.ui-menu-icons .ui-menu-item-wrapper {
padding-left: 2em;
}
/* left-aligned */
.ui-menu .ui-icon {
position: absolute;
top: 0;
bottom: 0;
left: .2em;
margin: auto 0;
}
/* right-aligned */
.ui-menu .ui-menu-icon {
left: auto;
right: 0;
}
.ui-button {
padding: .4em 1em;
display: inline-block;
position: relative;
line-height: normal;
margin-right: .1em;
cursor: pointer;
vertical-align: middle;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
/* Support: IE <= 11 */
overflow: visible;
}
.ui-button,
.ui-button:link,
.ui-button:visited,
.ui-button:hover,
.ui-button:active {
text-decoration: none;
}
/* to make room for the icon, a width needs to be set here */
.ui-button-icon-only {
width: 2em;
box-sizing: border-box;
text-indent: -9999px;
white-space: nowrap;
}
/* no icon support for input elements */
input.ui-button.ui-button-icon-only {
text-indent: 0;
}
/* button icon element(s) */
.ui-button-icon-only .ui-icon {
position: absolute;
top: 50%;
left: 50%;
margin-top: -8px;
margin-left: -8px;
}
.ui-button.ui-icon-notext .ui-icon {
padding: 0;
width: 2.1em;
height: 2.1em;
text-indent: -9999px;
white-space: nowrap;
}
input.ui-button.ui-icon-notext .ui-icon {
width: auto;
height: auto;
text-indent: 0;
white-space: normal;
padding: .4em 1em;
}
/* workarounds */
/* Support: Firefox 5 - 40 */
input.ui-button::-moz-focus-inner,
button.ui-button::-moz-focus-inner {
border: 0;
padding: 0;
}
.ui-controlgroup {
vertical-align: middle;
display: inline-block;
}
.ui-controlgroup > .ui-controlgroup-item {
float: left;
margin-left: 0;
margin-right: 0;
}
.ui-controlgroup > .ui-controlgroup-item:focus,
.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus {
z-index: 9999;
}
.ui-controlgroup-vertical > .ui-controlgroup-item {
display: block;
float: none;
width: 100%;
margin-top: 0;
margin-bottom: 0;
text-align: left;
}
.ui-controlgroup-vertical .ui-controlgroup-item {
box-sizing: border-box;
}
.ui-controlgroup .ui-controlgroup-label {
padding: .4em 1em;
}
.ui-controlgroup .ui-controlgroup-label span {
font-size: 80%;
}
.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item {
border-left: none;
}
.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item {
border-top: none;
}
.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content {
border-right: none;
}
.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content {
border-bottom: none;
}
/* Spinner specific style fixes */
.ui-controlgroup-vertical .ui-spinner-input {
/* Support: IE8 only, Android < 4.4 only */
width: 75%;
width: calc( 100% - 2.4em );
}
.ui-controlgroup-vertical .ui-spinner .ui-spinner-up {
border-top-style: solid;
}
.ui-checkboxradio-label .ui-icon-background {
box-shadow: inset 1px 1px 1px #ccc;
border-radius: .12em;
border: none;
}
.ui-checkboxradio-radio-label .ui-icon-background {
width: 16px;
height: 16px;
border-radius: 1em;
overflow: visible;
border: none;
}
.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,
.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon {
background-image: none;
width: 8px;
height: 8px;
border-width: 4px;
border-style: solid;
}
.ui-checkboxradio-disabled {
pointer-events: none;
}
.ui-datepicker {
width: 17em;
padding: .2em .2em 0;
display: none;
}
.ui-datepicker .ui-datepicker-header {
position: relative;
padding: .2em 0;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
position: absolute;
top: 2px;
width: 1.8em;
height: 1.8em;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
top: 1px;
}
.ui-datepicker .ui-datepicker-prev {
left: 2px;
}
.ui-datepicker .ui-datepicker-next {
right: 2px;
}
.ui-datepicker .ui-datepicker-prev-hover {
left: 1px;
}
.ui-datepicker .ui-datepicker-next-hover {
right: 1px;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
display: block;
position: absolute;
left: 50%;
margin-left: -8px;
top: 50%;
margin-top: -8px;
}
.ui-datepicker .ui-datepicker-title {
margin: 0 2.3em;
line-height: 1.8em;
text-align: center;
}
.ui-datepicker .ui-datepicker-title select {
font-size: 1em;
margin: 1px 0;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
width: 45%;
}
.ui-datepicker table {
width: 100%;
font-size: .9em;
border-collapse: collapse;
margin: 0 0 .4em;
}
.ui-datepicker th {
padding: .7em .3em;
text-align: center;
font-weight: bold;
border: 0;
}
.ui-datepicker td {
border: 0;
padding: 1px;
}
.ui-datepicker td span,
.ui-datepicker td a {
display: block;
padding: .2em;
text-align: right;
text-decoration: none;
}
.ui-datepicker .ui-datepicker-buttonpane {
background-image: none;
margin: .7em 0 0 0;
padding: 0 .2em;
border-left: 0;
border-right: 0;
border-bottom: 0;
}
.ui-datepicker .ui-datepicker-buttonpane button {
float: right;
margin: .5em .2em .4em;
cursor: pointer;
padding: .2em .6em .3em .6em;
width: auto;
overflow: visible;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
float: left;
}
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
width: auto;
}
.ui-datepicker-multi .ui-datepicker-group {
float: left;
}
.ui-datepicker-multi .ui-datepicker-group table {
width: 95%;
margin: 0 auto .4em;
}
.ui-datepicker-multi-2 .ui-datepicker-group {
width: 50%;
}
.ui-datepicker-multi-3 .ui-datepicker-group {
width: 33.3%;
}
.ui-datepicker-multi-4 .ui-datepicker-group {
width: 25%;
}
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
border-left-width: 0;
}
.ui-datepicker-multi .ui-datepicker-buttonpane {
clear: left;
}
.ui-datepicker-row-break {
clear: both;
width: 100%;
font-size: 0;
}
/* RTL support */
.ui-datepicker-rtl {
direction: rtl;
}
.ui-datepicker-rtl .ui-datepicker-prev {
right: 2px;
left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next {
left: 2px;
right: auto;
}
.ui-datepicker-rtl .ui-datepicker-prev:hover {
right: 1px;
left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next:hover {
left: 1px;
right: auto;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane {
clear: right;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
float: left;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
.ui-datepicker-rtl .ui-datepicker-group {
float: right;
}
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
border-right-width: 0;
border-left-width: 1px;
}
/* Icons */
.ui-datepicker .ui-icon {
display: block;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
left: .5em;
top: .3em;
}
.ui-dialog {
position: absolute;
top: 0;
left: 0;
padding: .2em;
outline: 0;
}
.ui-dialog .ui-dialog-titlebar {
padding: .4em 1em;
position: relative;
}
.ui-dialog .ui-dialog-title {
float: left;
margin: .1em 0;
white-space: nowrap;
width: 90%;
overflow: hidden;
text-overflow: ellipsis;
}
.ui-dialog .ui-dialog-titlebar-close {
position: absolute;
right: .3em;
top: 50%;
width: 20px;
margin: -10px 0 0 0;
padding: 1px;
height: 20px;
}
.ui-dialog .ui-dialog-content {
position: relative;
border: 0;
padding: .5em 1em;
background: none;
overflow: auto;
}
.ui-dialog .ui-dialog-buttonpane {
text-align: left;
border-width: 1px 0 0 0;
background-image: none;
margin-top: .5em;
padding: .3em 1em .5em .4em;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
float: right;
}
.ui-dialog .ui-dialog-buttonpane button {
margin: .5em .4em .5em 0;
cursor: pointer;
}
.ui-dialog .ui-resizable-n {
height: 2px;
top: 0;
}
.ui-dialog .ui-resizable-e {
width: 2px;
right: 0;
}
.ui-dialog .ui-resizable-s {
height: 2px;
bottom: 0;
}
.ui-dialog .ui-resizable-w {
width: 2px;
left: 0;
}
.ui-dialog .ui-resizable-se,
.ui-dialog .ui-resizable-sw,
.ui-dialog .ui-resizable-ne,
.ui-dialog .ui-resizable-nw {
width: 7px;
height: 7px;
}
.ui-dialog .ui-resizable-se {
right: 0;
bottom: 0;
}
.ui-dialog .ui-resizable-sw {
left: 0;
bottom: 0;
}
.ui-dialog .ui-resizable-ne {
right: 0;
top: 0;
}
.ui-dialog .ui-resizable-nw {
left: 0;
top: 0;
}
.ui-draggable .ui-dialog-titlebar {
cursor: move;
}
.ui-progressbar {
height: 2em;
text-align: left;
overflow: hidden;
}
.ui-progressbar .ui-progressbar-value {
margin: -1px;
height: 100%;
}
.ui-progressbar .ui-progressbar-overlay {
background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
height: 100%;
filter: alpha(opacity=25); /* support: IE8 */
opacity: 0.25;
}
.ui-progressbar-indeterminate .ui-progressbar-value {
background-image: none;
}
.ui-selectmenu-menu {
padding: 0;
margin: 0;
position: absolute;
top: 0;
left: 0;
display: none;
}
.ui-selectmenu-menu .ui-menu {
overflow: auto;
overflow-x: hidden;
padding-bottom: 1px;
}
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
font-size: 1em;
font-weight: bold;
line-height: 1.5;
padding: 2px 0.4em;
margin: 0.5em 0 0 0;
height: auto;
border: 0;
}
.ui-selectmenu-open {
display: block;
}
.ui-selectmenu-text {
display: block;
margin-right: 20px;
overflow: hidden;
text-overflow: ellipsis;
}
.ui-selectmenu-button.ui-button {
text-align: left;
white-space: nowrap;
width: 14em;
}
.ui-selectmenu-icon.ui-icon {
float: right;
margin-top: 0;
}
.ui-slider {
position: relative;
text-align: left;
}
.ui-slider .ui-slider-handle {
position: absolute;
z-index: 2;
width: 1.2em;
height: 1.2em;
cursor: default;
-ms-touch-action: none;
touch-action: none;
}
.ui-slider .ui-slider-range {
position: absolute;
z-index: 1;
font-size: .7em;
display: block;
border: 0;
background-position: 0 0;
}
/* support: IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
filter: inherit;
}
.ui-slider-horizontal {
height: .8em;
}
.ui-slider-horizontal .ui-slider-handle {
top: -.3em;
margin-left: -.6em;
}
.ui-slider-horizontal .ui-slider-range {
top: 0;
height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
right: 0;
}
.ui-slider-vertical {
width: .8em;
height: 100px;
}
.ui-slider-vertical .ui-slider-handle {
left: -.3em;
margin-left: 0;
margin-bottom: -.6em;
}
.ui-slider-vertical .ui-slider-range {
left: 0;
width: 100%;
}
.ui-slider-vertical .ui-slider-range-min {
bottom: 0;
}
.ui-slider-vertical .ui-slider-range-max {
top: 0;
}
.ui-spinner {
position: relative;
display: inline-block;
overflow: hidden;
padding: 0;
vertical-align: middle;
}
.ui-spinner-input {
border: none;
background: none;
color: inherit;
padding: .222em 0;
margin: .2em 0;
vertical-align: middle;
margin-left: .4em;
margin-right: 2em;
}
.ui-spinner-button {
width: 1.6em;
height: 50%;
font-size: .5em;
padding: 0;
margin: 0;
text-align: center;
position: absolute;
cursor: default;
display: block;
overflow: hidden;
right: 0;
}
/* more specificity required here to override default borders */
.ui-spinner a.ui-spinner-button {
border-top-style: none;
border-bottom-style: none;
border-right-style: none;
}
.ui-spinner-up {
top: 0;
}
.ui-spinner-down {
bottom: 0;
}
.ui-tabs {
position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
padding: .2em;
}
.ui-tabs .ui-tabs-nav {
margin: 0;
padding: .2em .2em 0;
}
.ui-tabs .ui-tabs-nav li {
list-style: none;
float: left;
position: relative;
top: 0;
margin: 1px .2em 0 0;
border-bottom-width: 0;
padding: 0;
white-space: nowrap;
}
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
float: left;
padding: .5em 1em;
text-decoration: none;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
margin-bottom: -1px;
padding-bottom: 1px;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
cursor: text;
}
.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
cursor: pointer;
}
.ui-tabs .ui-tabs-panel {
display: block;
border-width: 0;
padding: 1em 1.4em;
background: none;
}
.ui-tooltip {
padding: 8px;
position: absolute;
z-index: 9999;
max-width: 300px;
}
body .ui-tooltip {
border-width: 2px;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,863 @@
.ui-draggable-handle {
-ms-touch-action: none;
touch-action: none;
}
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
display: none;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outline: 0;
line-height: 1.3;
text-decoration: none;
font-size: 100%;
list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
content: "";
display: table;
border-collapse: collapse;
}
.ui-helper-clearfix:after {
clear: both;
}
.ui-helper-zfix {
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
opacity: 0;
filter:Alpha(Opacity=0); /* support: IE8 */
}
.ui-front {
z-index: 100;
}
/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
cursor: default !important;
pointer-events: none;
}
/* Icons
----------------------------------*/
.ui-icon {
display: inline-block;
vertical-align: middle;
margin-top: -.25em;
position: relative;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
}
.ui-widget-icon-block {
left: 50%;
margin-left: -8px;
display: block;
}
/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.ui-resizable {
position: relative;
}
.ui-resizable-handle {
position: absolute;
font-size: 0.1px;
display: block;
-ms-touch-action: none;
touch-action: none;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
display: none;
}
.ui-resizable-n {
cursor: n-resize;
height: 7px;
width: 100%;
top: -5px;
left: 0;
}
.ui-resizable-s {
cursor: s-resize;
height: 7px;
width: 100%;
bottom: -5px;
left: 0;
}
.ui-resizable-e {
cursor: e-resize;
width: 7px;
right: -5px;
top: 0;
height: 100%;
}
.ui-resizable-w {
cursor: w-resize;
width: 7px;
left: -5px;
top: 0;
height: 100%;
}
.ui-resizable-se {
cursor: se-resize;
width: 12px;
height: 12px;
right: 1px;
bottom: 1px;
}
.ui-resizable-sw {
cursor: sw-resize;
width: 9px;
height: 9px;
left: -5px;
bottom: -5px;
}
.ui-resizable-nw {
cursor: nw-resize;
width: 9px;
height: 9px;
left: -5px;
top: -5px;
}
.ui-resizable-ne {
cursor: ne-resize;
width: 9px;
height: 9px;
right: -5px;
top: -5px;
}
.ui-accordion .ui-accordion-header {
display: block;
cursor: pointer;
position: relative;
margin: 2px 0 0 0;
padding: .5em .5em .5em .7em;
font-size: 100%;
}
.ui-accordion .ui-accordion-content {
padding: 1em 2.2em;
border-top: 0;
overflow: auto;
}
.ui-autocomplete {
position: absolute;
top: 0;
left: 0;
cursor: default;
}
.ui-menu {
list-style: none;
padding: 0;
margin: 0;
display: block;
outline: 0;
}
.ui-menu .ui-menu {
position: absolute;
}
.ui-menu .ui-menu-item {
margin: 0;
cursor: pointer;
/* support: IE10, see #8844 */
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}
.ui-menu .ui-menu-item-wrapper {
position: relative;
padding: 3px 1em 3px .4em;
}
.ui-menu .ui-menu-divider {
margin: 5px 0;
height: 0;
font-size: 0;
line-height: 0;
border-width: 1px 0 0 0;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
margin: -1px;
}
/* icon support */
.ui-menu-icons {
position: relative;
}
.ui-menu-icons .ui-menu-item-wrapper {
padding-left: 2em;
}
/* left-aligned */
.ui-menu .ui-icon {
position: absolute;
top: 0;
bottom: 0;
left: .2em;
margin: auto 0;
}
/* right-aligned */
.ui-menu .ui-menu-icon {
left: auto;
right: 0;
}
.ui-button {
padding: .4em 1em;
display: inline-block;
position: relative;
line-height: normal;
margin-right: .1em;
cursor: pointer;
vertical-align: middle;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
/* Support: IE <= 11 */
overflow: visible;
}
.ui-button,
.ui-button:link,
.ui-button:visited,
.ui-button:hover,
.ui-button:active {
text-decoration: none;
}
/* to make room for the icon, a width needs to be set here */
.ui-button-icon-only {
width: 2em;
box-sizing: border-box;
text-indent: -9999px;
white-space: nowrap;
}
/* no icon support for input elements */
input.ui-button.ui-button-icon-only {
text-indent: 0;
}
/* button icon element(s) */
.ui-button-icon-only .ui-icon {
position: absolute;
top: 50%;
left: 50%;
margin-top: -8px;
margin-left: -8px;
}
.ui-button.ui-icon-notext .ui-icon {
padding: 0;
width: 2.1em;
height: 2.1em;
text-indent: -9999px;
white-space: nowrap;
}
input.ui-button.ui-icon-notext .ui-icon {
width: auto;
height: auto;
text-indent: 0;
white-space: normal;
padding: .4em 1em;
}
/* workarounds */
/* Support: Firefox 5 - 40 */
input.ui-button::-moz-focus-inner,
button.ui-button::-moz-focus-inner {
border: 0;
padding: 0;
}
.ui-controlgroup {
vertical-align: middle;
display: inline-block;
}
.ui-controlgroup > .ui-controlgroup-item {
float: left;
margin-left: 0;
margin-right: 0;
}
.ui-controlgroup > .ui-controlgroup-item:focus,
.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus {
z-index: 9999;
}
.ui-controlgroup-vertical > .ui-controlgroup-item {
display: block;
float: none;
width: 100%;
margin-top: 0;
margin-bottom: 0;
text-align: left;
}
.ui-controlgroup-vertical .ui-controlgroup-item {
box-sizing: border-box;
}
.ui-controlgroup .ui-controlgroup-label {
padding: .4em 1em;
}
.ui-controlgroup .ui-controlgroup-label span {
font-size: 80%;
}
.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item {
border-left: none;
}
.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item {
border-top: none;
}
.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content {
border-right: none;
}
.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content {
border-bottom: none;
}
/* Spinner specific style fixes */
.ui-controlgroup-vertical .ui-spinner-input {
/* Support: IE8 only, Android < 4.4 only */
width: 75%;
width: calc( 100% - 2.4em );
}
.ui-controlgroup-vertical .ui-spinner .ui-spinner-up {
border-top-style: solid;
}
.ui-checkboxradio-label .ui-icon-background {
box-shadow: inset 1px 1px 1px #ccc;
border-radius: .12em;
border: none;
}
.ui-checkboxradio-radio-label .ui-icon-background {
width: 16px;
height: 16px;
border-radius: 1em;
overflow: visible;
border: none;
}
.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,
.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon {
background-image: none;
width: 8px;
height: 8px;
border-width: 4px;
border-style: solid;
}
.ui-checkboxradio-disabled {
pointer-events: none;
}
.ui-datepicker {
width: 17em;
padding: .2em .2em 0;
display: none;
}
.ui-datepicker .ui-datepicker-header {
position: relative;
padding: .2em 0;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
position: absolute;
top: 2px;
width: 1.8em;
height: 1.8em;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
top: 1px;
}
.ui-datepicker .ui-datepicker-prev {
left: 2px;
}
.ui-datepicker .ui-datepicker-next {
right: 2px;
}
.ui-datepicker .ui-datepicker-prev-hover {
left: 1px;
}
.ui-datepicker .ui-datepicker-next-hover {
right: 1px;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
display: block;
position: absolute;
left: 50%;
margin-left: -8px;
top: 50%;
margin-top: -8px;
}
.ui-datepicker .ui-datepicker-title {
margin: 0 2.3em;
line-height: 1.8em;
text-align: center;
}
.ui-datepicker .ui-datepicker-title select {
font-size: 1em;
margin: 1px 0;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
width: 45%;
}
.ui-datepicker table {
width: 100%;
font-size: .9em;
border-collapse: collapse;
margin: 0 0 .4em;
}
.ui-datepicker th {
padding: .7em .3em;
text-align: center;
font-weight: bold;
border: 0;
}
.ui-datepicker td {
border: 0;
padding: 1px;
}
.ui-datepicker td span,
.ui-datepicker td a {
display: block;
padding: .2em;
text-align: right;
text-decoration: none;
}
.ui-datepicker .ui-datepicker-buttonpane {
background-image: none;
margin: .7em 0 0 0;
padding: 0 .2em;
border-left: 0;
border-right: 0;
border-bottom: 0;
}
.ui-datepicker .ui-datepicker-buttonpane button {
float: right;
margin: .5em .2em .4em;
cursor: pointer;
padding: .2em .6em .3em .6em;
width: auto;
overflow: visible;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
float: left;
}
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
width: auto;
}
.ui-datepicker-multi .ui-datepicker-group {
float: left;
}
.ui-datepicker-multi .ui-datepicker-group table {
width: 95%;
margin: 0 auto .4em;
}
.ui-datepicker-multi-2 .ui-datepicker-group {
width: 50%;
}
.ui-datepicker-multi-3 .ui-datepicker-group {
width: 33.3%;
}
.ui-datepicker-multi-4 .ui-datepicker-group {
width: 25%;
}
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
border-left-width: 0;
}
.ui-datepicker-multi .ui-datepicker-buttonpane {
clear: left;
}
.ui-datepicker-row-break {
clear: both;
width: 100%;
font-size: 0;
}
/* RTL support */
.ui-datepicker-rtl {
direction: rtl;
}
.ui-datepicker-rtl .ui-datepicker-prev {
right: 2px;
left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next {
left: 2px;
right: auto;
}
.ui-datepicker-rtl .ui-datepicker-prev:hover {
right: 1px;
left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next:hover {
left: 1px;
right: auto;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane {
clear: right;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
float: left;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
.ui-datepicker-rtl .ui-datepicker-group {
float: right;
}
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
border-right-width: 0;
border-left-width: 1px;
}
/* Icons */
.ui-datepicker .ui-icon {
display: block;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
left: .5em;
top: .3em;
}
.ui-dialog {
position: absolute;
top: 0;
left: 0;
padding: .2em;
outline: 0;
}
.ui-dialog .ui-dialog-titlebar {
padding: .4em 1em;
position: relative;
}
.ui-dialog .ui-dialog-title {
float: left;
margin: .1em 0;
white-space: nowrap;
width: 90%;
overflow: hidden;
text-overflow: ellipsis;
}
.ui-dialog .ui-dialog-titlebar-close {
position: absolute;
right: .3em;
top: 50%;
width: 20px;
margin: -10px 0 0 0;
padding: 1px;
height: 20px;
}
.ui-dialog .ui-dialog-content {
position: relative;
border: 0;
padding: .5em 1em;
background: none;
overflow: auto;
}
.ui-dialog .ui-dialog-buttonpane {
text-align: left;
border-width: 1px 0 0 0;
background-image: none;
margin-top: .5em;
padding: .3em 1em .5em .4em;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
float: right;
}
.ui-dialog .ui-dialog-buttonpane button {
margin: .5em .4em .5em 0;
cursor: pointer;
}
.ui-dialog .ui-resizable-n {
height: 2px;
top: 0;
}
.ui-dialog .ui-resizable-e {
width: 2px;
right: 0;
}
.ui-dialog .ui-resizable-s {
height: 2px;
bottom: 0;
}
.ui-dialog .ui-resizable-w {
width: 2px;
left: 0;
}
.ui-dialog .ui-resizable-se,
.ui-dialog .ui-resizable-sw,
.ui-dialog .ui-resizable-ne,
.ui-dialog .ui-resizable-nw {
width: 7px;
height: 7px;
}
.ui-dialog .ui-resizable-se {
right: 0;
bottom: 0;
}
.ui-dialog .ui-resizable-sw {
left: 0;
bottom: 0;
}
.ui-dialog .ui-resizable-ne {
right: 0;
top: 0;
}
.ui-dialog .ui-resizable-nw {
left: 0;
top: 0;
}
.ui-draggable .ui-dialog-titlebar {
cursor: move;
}
.ui-progressbar {
height: 2em;
text-align: left;
overflow: hidden;
}
.ui-progressbar .ui-progressbar-value {
margin: -1px;
height: 100%;
}
.ui-progressbar .ui-progressbar-overlay {
background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
height: 100%;
filter: alpha(opacity=25); /* support: IE8 */
opacity: 0.25;
}
.ui-progressbar-indeterminate .ui-progressbar-value {
background-image: none;
}
.ui-selectmenu-menu {
padding: 0;
margin: 0;
position: absolute;
top: 0;
left: 0;
display: none;
}
.ui-selectmenu-menu .ui-menu {
overflow: auto;
overflow-x: hidden;
padding-bottom: 1px;
}
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
font-size: 1em;
font-weight: bold;
line-height: 1.5;
padding: 2px 0.4em;
margin: 0.5em 0 0 0;
height: auto;
border: 0;
}
.ui-selectmenu-open {
display: block;
}
.ui-selectmenu-text {
display: block;
margin-right: 20px;
overflow: hidden;
text-overflow: ellipsis;
}
.ui-selectmenu-button.ui-button {
text-align: left;
white-space: nowrap;
width: 14em;
}
.ui-selectmenu-icon.ui-icon {
float: right;
margin-top: 0;
}
.ui-slider {
position: relative;
text-align: left;
}
.ui-slider .ui-slider-handle {
position: absolute;
z-index: 2;
width: 1.2em;
height: 1.2em;
cursor: default;
-ms-touch-action: none;
touch-action: none;
}
.ui-slider .ui-slider-range {
position: absolute;
z-index: 1;
font-size: .7em;
display: block;
border: 0;
background-position: 0 0;
}
/* support: IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
filter: inherit;
}
.ui-slider-horizontal {
height: .8em;
}
.ui-slider-horizontal .ui-slider-handle {
top: -.3em;
margin-left: -.6em;
}
.ui-slider-horizontal .ui-slider-range {
top: 0;
height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
right: 0;
}
.ui-slider-vertical {
width: .8em;
height: 100px;
}
.ui-slider-vertical .ui-slider-handle {
left: -.3em;
margin-left: 0;
margin-bottom: -.6em;
}
.ui-slider-vertical .ui-slider-range {
left: 0;
width: 100%;
}
.ui-slider-vertical .ui-slider-range-min {
bottom: 0;
}
.ui-slider-vertical .ui-slider-range-max {
top: 0;
}
.ui-spinner {
position: relative;
display: inline-block;
overflow: hidden;
padding: 0;
vertical-align: middle;
}
.ui-spinner-input {
border: none;
background: none;
color: inherit;
padding: .222em 0;
margin: .2em 0;
vertical-align: middle;
margin-left: .4em;
margin-right: 2em;
}
.ui-spinner-button {
width: 1.6em;
height: 50%;
font-size: .5em;
padding: 0;
margin: 0;
text-align: center;
position: absolute;
cursor: default;
display: block;
overflow: hidden;
right: 0;
}
/* more specificity required here to override default borders */
.ui-spinner a.ui-spinner-button {
border-top-style: none;
border-bottom-style: none;
border-right-style: none;
}
.ui-spinner-up {
top: 0;
}
.ui-spinner-down {
bottom: 0;
}
.ui-tabs {
position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
padding: .2em;
}
.ui-tabs .ui-tabs-nav {
margin: 0;
padding: .2em .2em 0;
}
.ui-tabs .ui-tabs-nav li {
list-style: none;
float: left;
position: relative;
top: 0;
margin: 1px .2em 0 0;
border-bottom-width: 0;
padding: 0;
white-space: nowrap;
}
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
float: left;
padding: .5em 1em;
text-decoration: none;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
margin-bottom: -1px;
padding-bottom: 1px;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
cursor: text;
}
.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
cursor: pointer;
}
.ui-tabs .ui-tabs-panel {
display: block;
border-width: 0;
padding: 1em 1.4em;
background: none;
}
.ui-tooltip {
padding: 8px;
position: absolute;
z-index: 9999;
max-width: 300px;
}
body .ui-tooltip {
border-width: 2px;
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,74 @@
{
"name": "jquery-ui",
"title": "jQuery UI",
"description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.",
"version": "1.12.1",
"homepage": "http://jqueryui.com",
"author": {
"name": "jQuery Foundation and other contributors",
"url": "https://github.com/jquery/jquery-ui/blob/1.12.1/AUTHORS.txt"
},
"main": "ui/widget.js",
"maintainers": [
{
"name": "Scott González",
"email": "scott.gonzalez@gmail.com",
"url": "http://scottgonzalez.com"
},
{
"name": "Jörn Zaefferer",
"email": "joern.zaefferer@gmail.com",
"url": "http://bassistance.de"
},
{
"name": "Mike Sherov",
"email": "mike.sherov@gmail.com",
"url": "http://mike.sherov.com"
},
{
"name": "TJ VanToll",
"email": "tj.vantoll@gmail.com",
"url": "http://tjvantoll.com"
},
{
"name": "Felix Nagel",
"email": "info@felixnagel.com",
"url": "http://www.felixnagel.com"
},
{
"name": "Alex Schmitz",
"email": "arschmitz@gmail.com",
"url": "https://github.com/arschmitz"
}
],
"repository": {
"type": "git",
"url": "git://github.com/jquery/jquery-ui.git"
},
"bugs": "https://bugs.jqueryui.com/",
"license": "MIT",
"scripts": {
"test": "grunt"
},
"dependencies": {},
"devDependencies": {
"commitplease": "2.3.0",
"grunt": "0.4.5",
"grunt-bowercopy": "1.2.4",
"grunt-cli": "0.1.13",
"grunt-compare-size": "0.4.0",
"grunt-contrib-concat": "0.5.1",
"grunt-contrib-csslint": "0.5.0",
"grunt-contrib-jshint": "0.12.0",
"grunt-contrib-qunit": "1.0.1",
"grunt-contrib-requirejs": "0.4.4",
"grunt-contrib-uglify": "0.11.1",
"grunt-git-authors": "3.1.0",
"grunt-html": "6.0.0",
"grunt-jscs": "2.1.0",
"load-grunt-tasks": "3.4.0",
"rimraf": "2.5.1",
"testswarm": "1.1.0"
},
"keywords": []
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -0,0 +1,353 @@
<!doctype html>
<html lang="us">
<head>
<meta charset="utf-8">
<title>jQuery UI Example Page</title>
<link href="jquery-ui.css" rel="stylesheet">
<style>
body{
font-family: "Trebuchet MS", sans-serif;
margin: 50px;
}
.demoHeaders {
margin-top: 2em;
}
#dialog-link {
padding: .4em 1em .4em 20px;
text-decoration: none;
position: relative;
}
#dialog-link span.ui-icon {
margin: 0 5px 0 0;
position: absolute;
left: .2em;
top: 50%;
margin-top: -8px;
}
#icons {
margin: 0;
padding: 0;
}
#icons li {
margin: 2px;
position: relative;
padding: 4px 0;
cursor: pointer;
float: left;
list-style: none;
}
#icons span.ui-icon {
float: left;
margin: 0 4px;
}
.fakewindowcontain .ui-widget-overlay {
position: absolute;
}
select {
width: 200px;
}
</style>
</head>
<body>
<h1>Welcome to jQuery UI!</h1>
<div class="ui-widget">
<p>This page demonstrates the widgets and theme you selected in Download Builder. Please make sure you are using them with a compatible jQuery version.</p>
</div>
<h1>YOUR COMPONENTS:</h1>
<!-- Autocomplete -->
<h2 class="demoHeaders">Autocomplete</h2>
<div>
<input id="autocomplete" title="type &quot;a&quot;">
</div>
<h2 class="demoHeaders">Framework Icons (content color preview)</h2>
<ul id="icons" class="ui-widget ui-helper-clearfix">
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-n"><span class="ui-icon ui-icon-caret-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-ne"><span class="ui-icon ui-icon-caret-1-ne"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-e"><span class="ui-icon ui-icon-caret-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-se"><span class="ui-icon ui-icon-caret-1-se"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-s"><span class="ui-icon ui-icon-caret-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-sw"><span class="ui-icon ui-icon-caret-1-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-w"><span class="ui-icon ui-icon-caret-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-nw"><span class="ui-icon ui-icon-caret-1-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-2-n-s"><span class="ui-icon ui-icon-caret-2-n-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-2-e-w"><span class="ui-icon ui-icon-caret-2-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-n"><span class="ui-icon ui-icon-triangle-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-ne"><span class="ui-icon ui-icon-triangle-1-ne"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-e"><span class="ui-icon ui-icon-triangle-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-se"><span class="ui-icon ui-icon-triangle-1-se"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-s"><span class="ui-icon ui-icon-triangle-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-sw"><span class="ui-icon ui-icon-triangle-1-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-w"><span class="ui-icon ui-icon-triangle-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-nw"><span class="ui-icon ui-icon-triangle-1-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-n-s"><span class="ui-icon ui-icon-triangle-2-n-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-e-w"><span class="ui-icon ui-icon-triangle-2-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-n"><span class="ui-icon ui-icon-arrow-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-ne"><span class="ui-icon ui-icon-arrow-1-ne"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-e"><span class="ui-icon ui-icon-arrow-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-se"><span class="ui-icon ui-icon-arrow-1-se"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-s"><span class="ui-icon ui-icon-arrow-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-sw"><span class="ui-icon ui-icon-arrow-1-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-w"><span class="ui-icon ui-icon-arrow-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-nw"><span class="ui-icon ui-icon-arrow-1-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-n-s"><span class="ui-icon ui-icon-arrow-2-n-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-ne-sw"><span class="ui-icon ui-icon-arrow-2-ne-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-e-w"><span class="ui-icon ui-icon-arrow-2-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-se-nw"><span class="ui-icon ui-icon-arrow-2-se-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-n"><span class="ui-icon ui-icon-arrowstop-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-e"><span class="ui-icon ui-icon-arrowstop-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-s"><span class="ui-icon ui-icon-arrowstop-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-w"><span class="ui-icon ui-icon-arrowstop-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-n"><span class="ui-icon ui-icon-arrowthick-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-ne"><span class="ui-icon ui-icon-arrowthick-1-ne"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-e"><span class="ui-icon ui-icon-arrowthick-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-se"><span class="ui-icon ui-icon-arrowthick-1-se"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-s"><span class="ui-icon ui-icon-arrowthick-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-sw"><span class="ui-icon ui-icon-arrowthick-1-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-w"><span class="ui-icon ui-icon-arrowthick-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-nw"><span class="ui-icon ui-icon-arrowthick-1-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-n-s"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-ne-sw"><span class="ui-icon ui-icon-arrowthick-2-ne-sw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-e-w"><span class="ui-icon ui-icon-arrowthick-2-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-se-nw"><span class="ui-icon ui-icon-arrowthick-2-se-nw"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-n"><span class="ui-icon ui-icon-arrowthickstop-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-e"><span class="ui-icon ui-icon-arrowthickstop-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-s"><span class="ui-icon ui-icon-arrowthickstop-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-w"><span class="ui-icon ui-icon-arrowthickstop-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-w"><span class="ui-icon ui-icon-arrowreturnthick-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-n"><span class="ui-icon ui-icon-arrowreturnthick-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-e"><span class="ui-icon ui-icon-arrowreturnthick-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-s"><span class="ui-icon ui-icon-arrowreturnthick-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-w"><span class="ui-icon ui-icon-arrowreturn-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-n"><span class="ui-icon ui-icon-arrowreturn-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-e"><span class="ui-icon ui-icon-arrowreturn-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-s"><span class="ui-icon ui-icon-arrowreturn-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-w"><span class="ui-icon ui-icon-arrowrefresh-1-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-n"><span class="ui-icon ui-icon-arrowrefresh-1-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-e"><span class="ui-icon ui-icon-arrowrefresh-1-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-s"><span class="ui-icon ui-icon-arrowrefresh-1-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4"><span class="ui-icon ui-icon-arrow-4"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4-diag"><span class="ui-icon ui-icon-arrow-4-diag"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-extlink"><span class="ui-icon ui-icon-extlink"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-newwin"><span class="ui-icon ui-icon-newwin"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-refresh"><span class="ui-icon ui-icon-refresh"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-shuffle"><span class="ui-icon ui-icon-shuffle"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-transfer-e-w"><span class="ui-icon ui-icon-transfer-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-transferthick-e-w"><span class="ui-icon ui-icon-transferthick-e-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-folder-collapsed"><span class="ui-icon ui-icon-folder-collapsed"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-folder-open"><span class="ui-icon ui-icon-folder-open"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-document"><span class="ui-icon ui-icon-document"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-document-b"><span class="ui-icon ui-icon-document-b"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-note"><span class="ui-icon ui-icon-note"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-mail-closed"><span class="ui-icon ui-icon-mail-closed"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-mail-open"><span class="ui-icon ui-icon-mail-open"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-suitcase"><span class="ui-icon ui-icon-suitcase"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-comment"><span class="ui-icon ui-icon-comment"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-person"><span class="ui-icon ui-icon-person"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-print"><span class="ui-icon ui-icon-print"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-trash"><span class="ui-icon ui-icon-trash"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-locked"><span class="ui-icon ui-icon-locked"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-unlocked"><span class="ui-icon ui-icon-unlocked"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-bookmark"><span class="ui-icon ui-icon-bookmark"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-tag"><span class="ui-icon ui-icon-tag"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-home"><span class="ui-icon ui-icon-home"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-flag"><span class="ui-icon ui-icon-flag"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-calculator"><span class="ui-icon ui-icon-calculator"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-cart"><span class="ui-icon ui-icon-cart"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-pencil"><span class="ui-icon ui-icon-pencil"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-clock"><span class="ui-icon ui-icon-clock"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-disk"><span class="ui-icon ui-icon-disk"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-calendar"><span class="ui-icon ui-icon-calendar"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-zoomin"><span class="ui-icon ui-icon-zoomin"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-zoomout"><span class="ui-icon ui-icon-zoomout"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-search"><span class="ui-icon ui-icon-search"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-wrench"><span class="ui-icon ui-icon-wrench"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-gear"><span class="ui-icon ui-icon-gear"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-heart"><span class="ui-icon ui-icon-heart"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-star"><span class="ui-icon ui-icon-star"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-link"><span class="ui-icon ui-icon-link"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-cancel"><span class="ui-icon ui-icon-cancel"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-plus"><span class="ui-icon ui-icon-plus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-plusthick"><span class="ui-icon ui-icon-plusthick"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-minus"><span class="ui-icon ui-icon-minus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-minusthick"><span class="ui-icon ui-icon-minusthick"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-close"><span class="ui-icon ui-icon-close"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-closethick"><span class="ui-icon ui-icon-closethick"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-key"><span class="ui-icon ui-icon-key"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-lightbulb"><span class="ui-icon ui-icon-lightbulb"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-scissors"><span class="ui-icon ui-icon-scissors"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-clipboard"><span class="ui-icon ui-icon-clipboard"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-copy"><span class="ui-icon ui-icon-copy"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-contact"><span class="ui-icon ui-icon-contact"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-image"><span class="ui-icon ui-icon-image"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-video"><span class="ui-icon ui-icon-video"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-script"><span class="ui-icon ui-icon-script"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-alert"><span class="ui-icon ui-icon-alert"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-info"><span class="ui-icon ui-icon-info"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-notice"><span class="ui-icon ui-icon-notice"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-help"><span class="ui-icon ui-icon-help"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-check"><span class="ui-icon ui-icon-check"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-bullet"><span class="ui-icon ui-icon-bullet"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-radio-off"><span class="ui-icon ui-icon-radio-off"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-radio-on"><span class="ui-icon ui-icon-radio-on"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-pin-w"><span class="ui-icon ui-icon-pin-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-pin-s"><span class="ui-icon ui-icon-pin-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-play"><span class="ui-icon ui-icon-play"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-pause"><span class="ui-icon ui-icon-pause"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-next"><span class="ui-icon ui-icon-seek-next"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-prev"><span class="ui-icon ui-icon-seek-prev"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-end"><span class="ui-icon ui-icon-seek-end"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-first"><span class="ui-icon ui-icon-seek-first"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-stop"><span class="ui-icon ui-icon-stop"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-eject"><span class="ui-icon ui-icon-eject"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-volume-off"><span class="ui-icon ui-icon-volume-off"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-volume-on"><span class="ui-icon ui-icon-volume-on"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-power"><span class="ui-icon ui-icon-power"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-signal-diag"><span class="ui-icon ui-icon-signal-diag"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-signal"><span class="ui-icon ui-icon-signal"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-0"><span class="ui-icon ui-icon-battery-0"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-1"><span class="ui-icon ui-icon-battery-1"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-2"><span class="ui-icon ui-icon-battery-2"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-3"><span class="ui-icon ui-icon-battery-3"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-plus"><span class="ui-icon ui-icon-circle-plus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-minus"><span class="ui-icon ui-icon-circle-minus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-close"><span class="ui-icon ui-icon-circle-close"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-e"><span class="ui-icon ui-icon-circle-triangle-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-s"><span class="ui-icon ui-icon-circle-triangle-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-w"><span class="ui-icon ui-icon-circle-triangle-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-n"><span class="ui-icon ui-icon-circle-triangle-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-e"><span class="ui-icon ui-icon-circle-arrow-e"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-s"><span class="ui-icon ui-icon-circle-arrow-s"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-w"><span class="ui-icon ui-icon-circle-arrow-w"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-n"><span class="ui-icon ui-icon-circle-arrow-n"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomin"><span class="ui-icon ui-icon-circle-zoomin"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomout"><span class="ui-icon ui-icon-circle-zoomout"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-check"><span class="ui-icon ui-icon-circle-check"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-plus"><span class="ui-icon ui-icon-circlesmall-plus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-minus"><span class="ui-icon ui-icon-circlesmall-minus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-close"><span class="ui-icon ui-icon-circlesmall-close"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-plus"><span class="ui-icon ui-icon-squaresmall-plus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-minus"><span class="ui-icon ui-icon-squaresmall-minus"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-close"><span class="ui-icon ui-icon-squaresmall-close"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-vertical"><span class="ui-icon ui-icon-grip-dotted-vertical"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-horizontal"><span class="ui-icon ui-icon-grip-dotted-horizontal"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-vertical"><span class="ui-icon ui-icon-grip-solid-vertical"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-horizontal"><span class="ui-icon ui-icon-grip-solid-horizontal"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-gripsmall-diagonal-se"><span class="ui-icon ui-icon-gripsmall-diagonal-se"></span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-diagonal-se"><span class="ui-icon ui-icon-grip-diagonal-se"></span></li>
</ul>
<!-- Datepicker -->
<h2 class="demoHeaders">Datepicker</h2>
<div id="datepicker"></div>
<!-- Menu -->
<h2 class="demoHeaders">Menu</h2>
<ul style="width:100px;" id="menu">
<li><div>Item 1</div></li>
<li><div>Item 2</div></li>
<li><div>Item 3</div>
<ul>
<li><div>Item 3-1</div></li>
<li><div>Item 3-2</div></li>
<li><div>Item 3-3</div></li>
<li><div>Item 3-4</div></li>
<li><div>Item 3-5</div></li>
</ul>
</li>
<li><div>Item 4</div></li>
<li><div>Item 5</div></li>
</ul>
<!-- Highlight / Error -->
<h2 class="demoHeaders">Highlight / Error</h2>
<div class="ui-widget">
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
<strong>Hey!</strong> Sample ui-state-highlight style.</p>
</div>
</div>
<br>
<div class="ui-widget">
<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
<strong>Alert:</strong> Sample ui-state-error style.</p>
</div>
</div>
<script src="external/jquery/jquery.js"></script>
<script src="jquery-ui.js"></script>
<script>
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"
];
$( "#autocomplete" ).autocomplete({
source: availableTags
});
$( "#datepicker" ).datepicker({
inline: true
});
$( "#menu" ).menu();
// Hover states on the static widgets
$( "#dialog-link, #icons li" ).hover(
function() {
$( this ).addClass( "ui-state-hover" );
},
function() {
$( this ).removeClass( "ui-state-hover" );
}
);
</script>
</body>
</html>

View File

@ -0,0 +1,760 @@
/*! jQuery UI - v1.13.2 - 2022-10-07
* http://jqueryui.com
* Includes: core.css, autocomplete.css, menu.css, datepicker.css, theme.css
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
* Copyright jQuery Foundation and other contributors; Licensed MIT */
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
display: none;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outline: 0;
line-height: 1.3;
text-decoration: none;
font-size: 100%;
list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
content: "";
display: table;
border-collapse: collapse;
}
.ui-helper-clearfix:after {
clear: both;
}
.ui-helper-zfix {
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
opacity: 0;
-ms-filter: "alpha(opacity=0)"; /* support: IE8 */
}
.ui-front {
z-index: 100;
}
/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
cursor: default !important;
pointer-events: none;
}
/* Icons
----------------------------------*/
.ui-icon {
display: inline-block;
vertical-align: middle;
margin-top: -.25em;
position: relative;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
}
.ui-widget-icon-block {
left: 50%;
margin-left: -8px;
display: block;
}
/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.ui-autocomplete {
position: absolute;
top: 0;
left: 0;
cursor: default;
}
.ui-menu {
list-style: none;
padding: 0;
margin: 0;
display: block;
outline: 0;
}
.ui-menu .ui-menu {
position: absolute;
}
.ui-menu .ui-menu-item {
margin: 0;
cursor: pointer;
/* support: IE10, see #8844 */
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}
.ui-menu .ui-menu-item-wrapper {
position: relative;
padding: 3px 1em 3px .4em;
}
.ui-menu .ui-menu-divider {
margin: 5px 0;
height: 0;
font-size: 0;
line-height: 0;
border-width: 1px 0 0 0;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
margin: -1px;
}
/* icon support */
.ui-menu-icons {
position: relative;
}
.ui-menu-icons .ui-menu-item-wrapper {
padding-left: 2em;
}
/* left-aligned */
.ui-menu .ui-icon {
position: absolute;
top: 0;
bottom: 0;
left: .2em;
margin: auto 0;
}
/* right-aligned */
.ui-menu .ui-menu-icon {
left: auto;
right: 0;
}
.ui-datepicker {
width: 17em;
padding: .2em .2em 0;
display: none;
}
.ui-datepicker .ui-datepicker-header {
position: relative;
padding: .2em 0;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
position: absolute;
top: 2px;
width: 1.8em;
height: 1.8em;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
top: 1px;
}
.ui-datepicker .ui-datepicker-prev {
left: 2px;
}
.ui-datepicker .ui-datepicker-next {
right: 2px;
}
.ui-datepicker .ui-datepicker-prev-hover {
left: 1px;
}
.ui-datepicker .ui-datepicker-next-hover {
right: 1px;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
display: block;
position: absolute;
left: 50%;
margin-left: -8px;
top: 50%;
margin-top: -8px;
}
.ui-datepicker .ui-datepicker-title {
margin: 0 2.3em;
line-height: 1.8em;
text-align: center;
}
.ui-datepicker .ui-datepicker-title select {
font-size: 1em;
margin: 1px 0;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
width: 45%;
}
.ui-datepicker table {
width: 100%;
font-size: .9em;
border-collapse: collapse;
margin: 0 0 .4em;
}
.ui-datepicker th {
padding: .7em .3em;
text-align: center;
font-weight: bold;
border: 0;
}
.ui-datepicker td {
border: 0;
padding: 1px;
}
.ui-datepicker td span,
.ui-datepicker td a {
display: block;
padding: .2em;
text-align: right;
text-decoration: none;
}
.ui-datepicker .ui-datepicker-buttonpane {
background-image: none;
margin: .7em 0 0 0;
padding: 0 .2em;
border-left: 0;
border-right: 0;
border-bottom: 0;
}
.ui-datepicker .ui-datepicker-buttonpane button {
float: right;
margin: .5em .2em .4em;
cursor: pointer;
padding: .2em .6em .3em .6em;
width: auto;
overflow: visible;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
float: left;
}
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
width: auto;
}
.ui-datepicker-multi .ui-datepicker-group {
float: left;
}
.ui-datepicker-multi .ui-datepicker-group table {
width: 95%;
margin: 0 auto .4em;
}
.ui-datepicker-multi-2 .ui-datepicker-group {
width: 50%;
}
.ui-datepicker-multi-3 .ui-datepicker-group {
width: 33.3%;
}
.ui-datepicker-multi-4 .ui-datepicker-group {
width: 25%;
}
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
border-left-width: 0;
}
.ui-datepicker-multi .ui-datepicker-buttonpane {
clear: left;
}
.ui-datepicker-row-break {
clear: both;
width: 100%;
font-size: 0;
}
/* RTL support */
.ui-datepicker-rtl {
direction: rtl;
}
.ui-datepicker-rtl .ui-datepicker-prev {
right: 2px;
left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next {
left: 2px;
right: auto;
}
.ui-datepicker-rtl .ui-datepicker-prev:hover {
right: 1px;
left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next:hover {
left: 1px;
right: auto;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane {
clear: right;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
float: left;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
.ui-datepicker-rtl .ui-datepicker-group {
float: right;
}
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
border-right-width: 0;
border-left-width: 1px;
}
/* Icons */
.ui-datepicker .ui-icon {
display: block;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
left: .5em;
top: .3em;
}
/* Component containers
----------------------------------*/
.ui-widget {
font-family: Arial,Helvetica,sans-serif;
font-size: 1em;
}
.ui-widget .ui-widget {
font-size: 1em;
}
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
font-family: Arial,Helvetica,sans-serif;
font-size: 1em;
}
.ui-widget.ui-widget-content {
border: 1px solid #c5c5c5;
}
.ui-widget-content {
border: 1px solid #dddddd;
background: #ffffff;
color: #333333;
}
.ui-widget-content a {
color: #333333;
}
.ui-widget-header {
border: 1px solid #dddddd;
background: #e9e9e9;
color: #333333;
font-weight: bold;
}
.ui-widget-header a {
color: #333333;
}
/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
/* We use html here because we need a greater specificity to make sure disabled
works properly when clicked or hovered */
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
border: 1px solid #c5c5c5;
background: #f6f6f6;
font-weight: normal;
color: #454545;
}
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited,
a.ui-button,
a:link.ui-button,
a:visited.ui-button,
.ui-button {
color: #454545;
text-decoration: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
border: 1px solid #cccccc;
background: #ededed;
font-weight: normal;
color: #2b2b2b;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited,
a.ui-button:hover,
a.ui-button:focus {
color: #2b2b2b;
text-decoration: none;
}
.ui-visual-focus {
box-shadow: 0 0 3px 1px rgb(94, 158, 214);
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
border: 1px solid #003eff;
background: #007fff;
font-weight: normal;
color: #ffffff;
}
.ui-icon-background,
.ui-state-active .ui-icon-background {
border: #003eff;
background-color: #ffffff;
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
color: #ffffff;
text-decoration: none;
}
/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
border: 1px solid #dad55e;
background: #fffa90;
color: #777620;
}
.ui-state-checked {
border: 1px solid #dad55e;
background: #fffa90;
}
.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
color: #777620;
}
.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
border: 1px solid #f1a899;
background: #fddfdf;
color: #5f3f3f;
}
.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
color: #5f3f3f;
}
.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
color: #5f3f3f;
}
.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
font-weight: bold;
}
.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
opacity: .7;
-ms-filter: "alpha(opacity=70)"; /* support: IE8 */
font-weight: normal;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
opacity: .35;
-ms-filter: "alpha(opacity=35)"; /* support: IE8 */
background-image: none;
}
.ui-state-disabled .ui-icon {
-ms-filter: "alpha(opacity=35)"; /* support: IE8 - See #6059 */
}
/* Icons
----------------------------------*/
/* states and images */
.ui-icon {
width: 16px;
height: 16px;
}
.ui-icon,
.ui-widget-content .ui-icon {
background-image: url("images/ui-icons_444444_256x240.png");
}
.ui-widget-header .ui-icon {
background-image: url("images/ui-icons_444444_256x240.png");
}
.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon,
.ui-button:hover .ui-icon,
.ui-button:focus .ui-icon {
background-image: url("images/ui-icons_555555_256x240.png");
}
.ui-state-active .ui-icon,
.ui-button:active .ui-icon {
background-image: url("images/ui-icons_ffffff_256x240.png");
}
.ui-state-highlight .ui-icon,
.ui-button .ui-state-highlight.ui-icon {
background-image: url("images/ui-icons_777620_256x240.png");
}
.ui-state-error .ui-icon,
.ui-state-error-text .ui-icon {
background-image: url("images/ui-icons_cc0000_256x240.png");
}
.ui-button .ui-icon {
background-image: url("images/ui-icons_777777_256x240.png");
}
/* positioning */
/* Three classes needed to override `.ui-button:hover .ui-icon` */
.ui-icon-blank.ui-icon-blank.ui-icon-blank {
background-image: none;
}
.ui-icon-caret-1-n { background-position: 0 0; }
.ui-icon-caret-1-ne { background-position: -16px 0; }
.ui-icon-caret-1-e { background-position: -32px 0; }
.ui-icon-caret-1-se { background-position: -48px 0; }
.ui-icon-caret-1-s { background-position: -65px 0; }
.ui-icon-caret-1-sw { background-position: -80px 0; }
.ui-icon-caret-1-w { background-position: -96px 0; }
.ui-icon-caret-1-nw { background-position: -112px 0; }
.ui-icon-caret-2-n-s { background-position: -128px 0; }
.ui-icon-caret-2-e-w { background-position: -144px 0; }
.ui-icon-triangle-1-n { background-position: 0 -16px; }
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
.ui-icon-triangle-1-e { background-position: -32px -16px; }
.ui-icon-triangle-1-se { background-position: -48px -16px; }
.ui-icon-triangle-1-s { background-position: -65px -16px; }
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
.ui-icon-triangle-1-w { background-position: -96px -16px; }
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
.ui-icon-arrow-1-n { background-position: 0 -32px; }
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
.ui-icon-arrow-1-e { background-position: -32px -32px; }
.ui-icon-arrow-1-se { background-position: -48px -32px; }
.ui-icon-arrow-1-s { background-position: -65px -32px; }
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
.ui-icon-arrow-1-w { background-position: -96px -32px; }
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
.ui-icon-arrowthick-1-n { background-position: 1px -48px; }
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
.ui-icon-arrow-4 { background-position: 0 -80px; }
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
.ui-icon-extlink { background-position: -32px -80px; }
.ui-icon-newwin { background-position: -48px -80px; }
.ui-icon-refresh { background-position: -64px -80px; }
.ui-icon-shuffle { background-position: -80px -80px; }
.ui-icon-transfer-e-w { background-position: -96px -80px; }
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
.ui-icon-folder-collapsed { background-position: 0 -96px; }
.ui-icon-folder-open { background-position: -16px -96px; }
.ui-icon-document { background-position: -32px -96px; }
.ui-icon-document-b { background-position: -48px -96px; }
.ui-icon-note { background-position: -64px -96px; }
.ui-icon-mail-closed { background-position: -80px -96px; }
.ui-icon-mail-open { background-position: -96px -96px; }
.ui-icon-suitcase { background-position: -112px -96px; }
.ui-icon-comment { background-position: -128px -96px; }
.ui-icon-person { background-position: -144px -96px; }
.ui-icon-print { background-position: -160px -96px; }
.ui-icon-trash { background-position: -176px -96px; }
.ui-icon-locked { background-position: -192px -96px; }
.ui-icon-unlocked { background-position: -208px -96px; }
.ui-icon-bookmark { background-position: -224px -96px; }
.ui-icon-tag { background-position: -240px -96px; }
.ui-icon-home { background-position: 0 -112px; }
.ui-icon-flag { background-position: -16px -112px; }
.ui-icon-calendar { background-position: -32px -112px; }
.ui-icon-cart { background-position: -48px -112px; }
.ui-icon-pencil { background-position: -64px -112px; }
.ui-icon-clock { background-position: -80px -112px; }
.ui-icon-disk { background-position: -96px -112px; }
.ui-icon-calculator { background-position: -112px -112px; }
.ui-icon-zoomin { background-position: -128px -112px; }
.ui-icon-zoomout { background-position: -144px -112px; }
.ui-icon-search { background-position: -160px -112px; }
.ui-icon-wrench { background-position: -176px -112px; }
.ui-icon-gear { background-position: -192px -112px; }
.ui-icon-heart { background-position: -208px -112px; }
.ui-icon-star { background-position: -224px -112px; }
.ui-icon-link { background-position: -240px -112px; }
.ui-icon-cancel { background-position: 0 -128px; }
.ui-icon-plus { background-position: -16px -128px; }
.ui-icon-plusthick { background-position: -32px -128px; }
.ui-icon-minus { background-position: -48px -128px; }
.ui-icon-minusthick { background-position: -64px -128px; }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-icon-key { background-position: -112px -128px; }
.ui-icon-lightbulb { background-position: -128px -128px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-clipboard { background-position: -160px -128px; }
.ui-icon-copy { background-position: -176px -128px; }
.ui-icon-contact { background-position: -192px -128px; }
.ui-icon-image { background-position: -208px -128px; }
.ui-icon-video { background-position: -224px -128px; }
.ui-icon-script { background-position: -240px -128px; }
.ui-icon-alert { background-position: 0 -144px; }
.ui-icon-info { background-position: -16px -144px; }
.ui-icon-notice { background-position: -32px -144px; }
.ui-icon-help { background-position: -48px -144px; }
.ui-icon-check { background-position: -64px -144px; }
.ui-icon-bullet { background-position: -80px -144px; }
.ui-icon-radio-on { background-position: -96px -144px; }
.ui-icon-radio-off { background-position: -112px -144px; }
.ui-icon-pin-w { background-position: -128px -144px; }
.ui-icon-pin-s { background-position: -144px -144px; }
.ui-icon-play { background-position: 0 -160px; }
.ui-icon-pause { background-position: -16px -160px; }
.ui-icon-seek-next { background-position: -32px -160px; }
.ui-icon-seek-prev { background-position: -48px -160px; }
.ui-icon-seek-end { background-position: -64px -160px; }
.ui-icon-seek-start { background-position: -80px -160px; }
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
.ui-icon-seek-first { background-position: -80px -160px; }
.ui-icon-stop { background-position: -96px -160px; }
.ui-icon-eject { background-position: -112px -160px; }
.ui-icon-volume-off { background-position: -128px -160px; }
.ui-icon-volume-on { background-position: -144px -160px; }
.ui-icon-power { background-position: 0 -176px; }
.ui-icon-signal-diag { background-position: -16px -176px; }
.ui-icon-signal { background-position: -32px -176px; }
.ui-icon-battery-0 { background-position: -48px -176px; }
.ui-icon-battery-1 { background-position: -64px -176px; }
.ui-icon-battery-2 { background-position: -80px -176px; }
.ui-icon-battery-3 { background-position: -96px -176px; }
.ui-icon-circle-plus { background-position: 0 -192px; }
.ui-icon-circle-minus { background-position: -16px -192px; }
.ui-icon-circle-close { background-position: -32px -192px; }
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
.ui-icon-circle-zoomin { background-position: -176px -192px; }
.ui-icon-circle-zoomout { background-position: -192px -192px; }
.ui-icon-circle-check { background-position: -208px -192px; }
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
.ui-icon-circlesmall-close { background-position: -32px -208px; }
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
.ui-icon-squaresmall-close { background-position: -80px -208px; }
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
/* Misc visuals
----------------------------------*/
/* Corner radius */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
border-top-left-radius: 3px;
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
border-top-right-radius: 3px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
border-bottom-left-radius: 3px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
border-bottom-right-radius: 3px;
}
/* Overlays */
.ui-widget-overlay {
background: #aaaaaa;
opacity: .3;
-ms-filter: Alpha(Opacity=30); /* support: IE8 */
}
.ui-widget-shadow {
-webkit-box-shadow: 0px 0px 5px #666666;
box-shadow: 0px 0px 5px #666666;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,331 @@
/*!
* jQuery UI CSS Framework 1.13.2
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/category/theming/
*/
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
display: none;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outline: 0;
line-height: 1.3;
text-decoration: none;
font-size: 100%;
list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
content: "";
display: table;
border-collapse: collapse;
}
.ui-helper-clearfix:after {
clear: both;
}
.ui-helper-zfix {
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
opacity: 0;
-ms-filter: "alpha(opacity=0)"; /* support: IE8 */
}
.ui-front {
z-index: 100;
}
/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
cursor: default !important;
pointer-events: none;
}
/* Icons
----------------------------------*/
.ui-icon {
display: inline-block;
vertical-align: middle;
margin-top: -.25em;
position: relative;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
}
.ui-widget-icon-block {
left: 50%;
margin-left: -8px;
display: block;
}
/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.ui-autocomplete {
position: absolute;
top: 0;
left: 0;
cursor: default;
}
.ui-menu {
list-style: none;
padding: 0;
margin: 0;
display: block;
outline: 0;
}
.ui-menu .ui-menu {
position: absolute;
}
.ui-menu .ui-menu-item {
margin: 0;
cursor: pointer;
/* support: IE10, see #8844 */
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}
.ui-menu .ui-menu-item-wrapper {
position: relative;
padding: 3px 1em 3px .4em;
}
.ui-menu .ui-menu-divider {
margin: 5px 0;
height: 0;
font-size: 0;
line-height: 0;
border-width: 1px 0 0 0;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
margin: -1px;
}
/* icon support */
.ui-menu-icons {
position: relative;
}
.ui-menu-icons .ui-menu-item-wrapper {
padding-left: 2em;
}
/* left-aligned */
.ui-menu .ui-icon {
position: absolute;
top: 0;
bottom: 0;
left: .2em;
margin: auto 0;
}
/* right-aligned */
.ui-menu .ui-menu-icon {
left: auto;
right: 0;
}
.ui-datepicker {
width: 17em;
padding: .2em .2em 0;
display: none;
}
.ui-datepicker .ui-datepicker-header {
position: relative;
padding: .2em 0;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
position: absolute;
top: 2px;
width: 1.8em;
height: 1.8em;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
top: 1px;
}
.ui-datepicker .ui-datepicker-prev {
left: 2px;
}
.ui-datepicker .ui-datepicker-next {
right: 2px;
}
.ui-datepicker .ui-datepicker-prev-hover {
left: 1px;
}
.ui-datepicker .ui-datepicker-next-hover {
right: 1px;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
display: block;
position: absolute;
left: 50%;
margin-left: -8px;
top: 50%;
margin-top: -8px;
}
.ui-datepicker .ui-datepicker-title {
margin: 0 2.3em;
line-height: 1.8em;
text-align: center;
}
.ui-datepicker .ui-datepicker-title select {
font-size: 1em;
margin: 1px 0;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
width: 45%;
}
.ui-datepicker table {
width: 100%;
font-size: .9em;
border-collapse: collapse;
margin: 0 0 .4em;
}
.ui-datepicker th {
padding: .7em .3em;
text-align: center;
font-weight: bold;
border: 0;
}
.ui-datepicker td {
border: 0;
padding: 1px;
}
.ui-datepicker td span,
.ui-datepicker td a {
display: block;
padding: .2em;
text-align: right;
text-decoration: none;
}
.ui-datepicker .ui-datepicker-buttonpane {
background-image: none;
margin: .7em 0 0 0;
padding: 0 .2em;
border-left: 0;
border-right: 0;
border-bottom: 0;
}
.ui-datepicker .ui-datepicker-buttonpane button {
float: right;
margin: .5em .2em .4em;
cursor: pointer;
padding: .2em .6em .3em .6em;
width: auto;
overflow: visible;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
float: left;
}
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
width: auto;
}
.ui-datepicker-multi .ui-datepicker-group {
float: left;
}
.ui-datepicker-multi .ui-datepicker-group table {
width: 95%;
margin: 0 auto .4em;
}
.ui-datepicker-multi-2 .ui-datepicker-group {
width: 50%;
}
.ui-datepicker-multi-3 .ui-datepicker-group {
width: 33.3%;
}
.ui-datepicker-multi-4 .ui-datepicker-group {
width: 25%;
}
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
border-left-width: 0;
}
.ui-datepicker-multi .ui-datepicker-buttonpane {
clear: left;
}
.ui-datepicker-row-break {
clear: both;
width: 100%;
font-size: 0;
}
/* RTL support */
.ui-datepicker-rtl {
direction: rtl;
}
.ui-datepicker-rtl .ui-datepicker-prev {
right: 2px;
left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next {
left: 2px;
right: auto;
}
.ui-datepicker-rtl .ui-datepicker-prev:hover {
right: 1px;
left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next:hover {
left: 1px;
right: auto;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane {
clear: right;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
float: left;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
.ui-datepicker-rtl .ui-datepicker-group {
float: right;
}
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
border-right-width: 0;
border-left-width: 1px;
}
/* Icons */
.ui-datepicker .ui-icon {
display: block;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
left: .5em;
top: .3em;
}

View File

@ -0,0 +1,5 @@
/*! jQuery UI - v1.13.2 - 2022-10-07
* http://jqueryui.com
* Copyright jQuery Foundation and other contributors; Licensed MIT */
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;-ms-filter:"alpha(opacity=0)"}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}

View File

@ -0,0 +1,446 @@
/*!
* jQuery UI CSS Framework 1.13.2
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/category/theming/
*
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
*/
/* Component containers
----------------------------------*/
.ui-widget {
font-family: Arial,Helvetica,sans-serif;
font-size: 1em;
}
.ui-widget .ui-widget {
font-size: 1em;
}
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
font-family: Arial,Helvetica,sans-serif;
font-size: 1em;
}
.ui-widget.ui-widget-content {
border: 1px solid #c5c5c5;
}
.ui-widget-content {
border: 1px solid #dddddd;
background: #ffffff;
color: #333333;
}
.ui-widget-content a {
color: #333333;
}
.ui-widget-header {
border: 1px solid #dddddd;
background: #e9e9e9;
color: #333333;
font-weight: bold;
}
.ui-widget-header a {
color: #333333;
}
/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
/* We use html here because we need a greater specificity to make sure disabled
works properly when clicked or hovered */
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
border: 1px solid #c5c5c5;
background: #f6f6f6;
font-weight: normal;
color: #454545;
}
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited,
a.ui-button,
a:link.ui-button,
a:visited.ui-button,
.ui-button {
color: #454545;
text-decoration: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
border: 1px solid #cccccc;
background: #ededed;
font-weight: normal;
color: #2b2b2b;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited,
a.ui-button:hover,
a.ui-button:focus {
color: #2b2b2b;
text-decoration: none;
}
.ui-visual-focus {
box-shadow: 0 0 3px 1px rgb(94, 158, 214);
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
border: 1px solid #003eff;
background: #007fff;
font-weight: normal;
color: #ffffff;
}
.ui-icon-background,
.ui-state-active .ui-icon-background {
border: #003eff;
background-color: #ffffff;
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
color: #ffffff;
text-decoration: none;
}
/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
border: 1px solid #dad55e;
background: #fffa90;
color: #777620;
}
.ui-state-checked {
border: 1px solid #dad55e;
background: #fffa90;
}
.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
color: #777620;
}
.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
border: 1px solid #f1a899;
background: #fddfdf;
color: #5f3f3f;
}
.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
color: #5f3f3f;
}
.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
color: #5f3f3f;
}
.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
font-weight: bold;
}
.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
opacity: .7;
-ms-filter: "alpha(opacity=70)"; /* support: IE8 */
font-weight: normal;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
opacity: .35;
-ms-filter: "alpha(opacity=35)"; /* support: IE8 */
background-image: none;
}
.ui-state-disabled .ui-icon {
-ms-filter: "alpha(opacity=35)"; /* support: IE8 - See #6059 */
}
/* Icons
----------------------------------*/
/* states and images */
.ui-icon {
width: 16px;
height: 16px;
}
.ui-icon,
.ui-widget-content .ui-icon {
background-image: url("images/ui-icons_444444_256x240.png");
}
.ui-widget-header .ui-icon {
background-image: url("images/ui-icons_444444_256x240.png");
}
.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon,
.ui-button:hover .ui-icon,
.ui-button:focus .ui-icon {
background-image: url("images/ui-icons_555555_256x240.png");
}
.ui-state-active .ui-icon,
.ui-button:active .ui-icon {
background-image: url("images/ui-icons_ffffff_256x240.png");
}
.ui-state-highlight .ui-icon,
.ui-button .ui-state-highlight.ui-icon {
background-image: url("images/ui-icons_777620_256x240.png");
}
.ui-state-error .ui-icon,
.ui-state-error-text .ui-icon {
background-image: url("images/ui-icons_cc0000_256x240.png");
}
.ui-button .ui-icon {
background-image: url("images/ui-icons_777777_256x240.png");
}
/* positioning */
/* Three classes needed to override `.ui-button:hover .ui-icon` */
.ui-icon-blank.ui-icon-blank.ui-icon-blank {
background-image: none;
}
.ui-icon-caret-1-n { background-position: 0 0; }
.ui-icon-caret-1-ne { background-position: -16px 0; }
.ui-icon-caret-1-e { background-position: -32px 0; }
.ui-icon-caret-1-se { background-position: -48px 0; }
.ui-icon-caret-1-s { background-position: -65px 0; }
.ui-icon-caret-1-sw { background-position: -80px 0; }
.ui-icon-caret-1-w { background-position: -96px 0; }
.ui-icon-caret-1-nw { background-position: -112px 0; }
.ui-icon-caret-2-n-s { background-position: -128px 0; }
.ui-icon-caret-2-e-w { background-position: -144px 0; }
.ui-icon-triangle-1-n { background-position: 0 -16px; }
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
.ui-icon-triangle-1-e { background-position: -32px -16px; }
.ui-icon-triangle-1-se { background-position: -48px -16px; }
.ui-icon-triangle-1-s { background-position: -65px -16px; }
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
.ui-icon-triangle-1-w { background-position: -96px -16px; }
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
.ui-icon-arrow-1-n { background-position: 0 -32px; }
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
.ui-icon-arrow-1-e { background-position: -32px -32px; }
.ui-icon-arrow-1-se { background-position: -48px -32px; }
.ui-icon-arrow-1-s { background-position: -65px -32px; }
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
.ui-icon-arrow-1-w { background-position: -96px -32px; }
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
.ui-icon-arrowthick-1-n { background-position: 1px -48px; }
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
.ui-icon-arrow-4 { background-position: 0 -80px; }
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
.ui-icon-extlink { background-position: -32px -80px; }
.ui-icon-newwin { background-position: -48px -80px; }
.ui-icon-refresh { background-position: -64px -80px; }
.ui-icon-shuffle { background-position: -80px -80px; }
.ui-icon-transfer-e-w { background-position: -96px -80px; }
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
.ui-icon-folder-collapsed { background-position: 0 -96px; }
.ui-icon-folder-open { background-position: -16px -96px; }
.ui-icon-document { background-position: -32px -96px; }
.ui-icon-document-b { background-position: -48px -96px; }
.ui-icon-note { background-position: -64px -96px; }
.ui-icon-mail-closed { background-position: -80px -96px; }
.ui-icon-mail-open { background-position: -96px -96px; }
.ui-icon-suitcase { background-position: -112px -96px; }
.ui-icon-comment { background-position: -128px -96px; }
.ui-icon-person { background-position: -144px -96px; }
.ui-icon-print { background-position: -160px -96px; }
.ui-icon-trash { background-position: -176px -96px; }
.ui-icon-locked { background-position: -192px -96px; }
.ui-icon-unlocked { background-position: -208px -96px; }
.ui-icon-bookmark { background-position: -224px -96px; }
.ui-icon-tag { background-position: -240px -96px; }
.ui-icon-home { background-position: 0 -112px; }
.ui-icon-flag { background-position: -16px -112px; }
.ui-icon-calendar { background-position: -32px -112px; }
.ui-icon-cart { background-position: -48px -112px; }
.ui-icon-pencil { background-position: -64px -112px; }
.ui-icon-clock { background-position: -80px -112px; }
.ui-icon-disk { background-position: -96px -112px; }
.ui-icon-calculator { background-position: -112px -112px; }
.ui-icon-zoomin { background-position: -128px -112px; }
.ui-icon-zoomout { background-position: -144px -112px; }
.ui-icon-search { background-position: -160px -112px; }
.ui-icon-wrench { background-position: -176px -112px; }
.ui-icon-gear { background-position: -192px -112px; }
.ui-icon-heart { background-position: -208px -112px; }
.ui-icon-star { background-position: -224px -112px; }
.ui-icon-link { background-position: -240px -112px; }
.ui-icon-cancel { background-position: 0 -128px; }
.ui-icon-plus { background-position: -16px -128px; }
.ui-icon-plusthick { background-position: -32px -128px; }
.ui-icon-minus { background-position: -48px -128px; }
.ui-icon-minusthick { background-position: -64px -128px; }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-icon-key { background-position: -112px -128px; }
.ui-icon-lightbulb { background-position: -128px -128px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-clipboard { background-position: -160px -128px; }
.ui-icon-copy { background-position: -176px -128px; }
.ui-icon-contact { background-position: -192px -128px; }
.ui-icon-image { background-position: -208px -128px; }
.ui-icon-video { background-position: -224px -128px; }
.ui-icon-script { background-position: -240px -128px; }
.ui-icon-alert { background-position: 0 -144px; }
.ui-icon-info { background-position: -16px -144px; }
.ui-icon-notice { background-position: -32px -144px; }
.ui-icon-help { background-position: -48px -144px; }
.ui-icon-check { background-position: -64px -144px; }
.ui-icon-bullet { background-position: -80px -144px; }
.ui-icon-radio-on { background-position: -96px -144px; }
.ui-icon-radio-off { background-position: -112px -144px; }
.ui-icon-pin-w { background-position: -128px -144px; }
.ui-icon-pin-s { background-position: -144px -144px; }
.ui-icon-play { background-position: 0 -160px; }
.ui-icon-pause { background-position: -16px -160px; }
.ui-icon-seek-next { background-position: -32px -160px; }
.ui-icon-seek-prev { background-position: -48px -160px; }
.ui-icon-seek-end { background-position: -64px -160px; }
.ui-icon-seek-start { background-position: -80px -160px; }
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
.ui-icon-seek-first { background-position: -80px -160px; }
.ui-icon-stop { background-position: -96px -160px; }
.ui-icon-eject { background-position: -112px -160px; }
.ui-icon-volume-off { background-position: -128px -160px; }
.ui-icon-volume-on { background-position: -144px -160px; }
.ui-icon-power { background-position: 0 -176px; }
.ui-icon-signal-diag { background-position: -16px -176px; }
.ui-icon-signal { background-position: -32px -176px; }
.ui-icon-battery-0 { background-position: -48px -176px; }
.ui-icon-battery-1 { background-position: -64px -176px; }
.ui-icon-battery-2 { background-position: -80px -176px; }
.ui-icon-battery-3 { background-position: -96px -176px; }
.ui-icon-circle-plus { background-position: 0 -192px; }
.ui-icon-circle-minus { background-position: -16px -192px; }
.ui-icon-circle-close { background-position: -32px -192px; }
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
.ui-icon-circle-zoomin { background-position: -176px -192px; }
.ui-icon-circle-zoomout { background-position: -192px -192px; }
.ui-icon-circle-check { background-position: -208px -192px; }
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
.ui-icon-circlesmall-close { background-position: -32px -208px; }
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
.ui-icon-squaresmall-close { background-position: -80px -208px; }
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
/* Misc visuals
----------------------------------*/
/* Corner radius */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
border-top-left-radius: 3px;
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
border-top-right-radius: 3px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
border-bottom-left-radius: 3px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
border-bottom-right-radius: 3px;
}
/* Overlays */
.ui-widget-overlay {
background: #aaaaaa;
opacity: .3;
-ms-filter: Alpha(Opacity=30); /* support: IE8 */
}
.ui-widget-shadow {
-webkit-box-shadow: 0px 0px 5px #666666;
box-shadow: 0px 0px 5px #666666;
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,74 @@
{
"name": "jquery-ui",
"title": "jQuery UI",
"description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.",
"version": "1.13.2",
"homepage": "http://jqueryui.com",
"author": {
"name": "jQuery Foundation and other contributors",
"url": "https://github.com/jquery/jquery-ui/blob/1.13.2/AUTHORS.txt"
},
"main": "ui/widget.js",
"maintainers": [
{
"name": "Jörn Zaefferer",
"email": "joern.zaefferer@gmail.com",
"url": "http://bassistance.de"
},
{
"name": "Mike Sherov",
"email": "mike.sherov@gmail.com",
"url": "http://mike.sherov.com"
},
{
"name": "TJ VanToll",
"email": "tj.vantoll@gmail.com",
"url": "http://tjvantoll.com"
},
{
"name": "Felix Nagel",
"email": "info@felixnagel.com",
"url": "http://www.felixnagel.com"
},
{
"name": "Alex Schmitz",
"email": "arschmitz@gmail.com",
"url": "https://github.com/arschmitz"
}
],
"repository": {
"type": "git",
"url": "git://github.com/jquery/jquery-ui.git"
},
"bugs": {
"url": "https://github.com/jquery/jquery-ui/issues"
},
"license": "MIT",
"scripts": {
"test": "grunt"
},
"dependencies": {
"jquery": ">=1.8.0 <4.0.0"
},
"devDependencies": {
"commitplease": "3.2.0",
"eslint-config-jquery": "3.0.0",
"glob": "7.2.0",
"grunt": "1.5.3",
"grunt-bowercopy": "1.2.5",
"grunt-cli": "1.4.3",
"grunt-compare-size": "0.4.2",
"grunt-contrib-concat": "1.0.1",
"grunt-contrib-csslint": "2.0.0",
"grunt-contrib-qunit": "5.1.1",
"grunt-contrib-requirejs": "1.0.0",
"grunt-contrib-uglify": "5.0.1",
"grunt-eslint": "23.0.0",
"grunt-git-authors": "3.2.0",
"grunt-html": "14.5.0",
"load-grunt-tasks": "5.1.0",
"rimraf": "3.0.2",
"testswarm": "1.1.2"
},
"keywords": []
}

1
haxhq/haxhq/static/jquery-ui.css vendored Symbolic link
View File

@ -0,0 +1 @@
jquery-ui-1.13.2.custom/jquery-ui.css

1
haxhq/haxhq/static/jquery-ui.min.js vendored Symbolic link
View File

@ -0,0 +1 @@
jquery-ui-1.13.2.custom/jquery-ui.min.js

1
haxhq/haxhq/static/jquery.min.js vendored Symbolic link
View File

@ -0,0 +1 @@
jquery-3.7.1.min.js

View File

@ -0,0 +1,163 @@
:root { --header-bg-color: #011627;
--headers-color: #7cbacf;
--header-color: #369fc3;
--card-bg-color: #e8eef3;
--hover-bg-red: #bc3b3b;
--white-text: white;
--internal-bg-color: #d1edd1;
--external-bg-color: #fbe5ad;
--crit-bg-color: #91243e;
--high-bg-color: #dd4b50;
--medium-bg-color: #f18c43;
--low-bg-color: #f8c851;
--info-bg-color: #67ace1;
}
h1 { color: var(--header-bg-color); opacity: 0.8; }
h3 { color: var(--header-bg-color); opacity: 0.8; }
h4 { color: var(--header-bg-color); }
h5 { color: var(--header-bg-color); }
input, textarea { border-color: lightgrey; }
p, span, td, th, a,
select, input,
textarea { opacity: 0.9; }
.terms a:visited, h4 a:visited,
#loginform a:visited { color: blue; }
#page { background: white; }
.logo { width: 160px; height: 65px; margin: 0 auto; background-image: url('/static/img/logo_white.png'); }
#header { background-color: var(--header-bg-color); }
#menu-overlay { background-color: var(--header-bg-color); }
#footer { background-color: var(--header-bg-color); }
.dropdown { background-color: var(--header-bg-color); }
#burgerimg { opacity: 0.8; }
#crossimg { opacity: 0.8; }
#usermenuimg { filter: brightness(90%); }
.dropdown li a:link,
.dropdown li a:visited,
.dropdown li a { color: white; opacity: 0.8; }
.dropdown li a:hover{ opacity: 1; }
#user-menu { color: var(--header-color); }
.fromdropdown li a { color: var(--header-color); opacity: 0.5; }
.fromdropdown li a:hover { opacity: 1; }
.menulink,
.menulink a:link,
.menulink a:visited { color: var(--header-color); opacity: 0.7; }
#header-menu a:hover{ color: var(--header-color); opacity: 1; }
.headertext { color: white; opacity: 0.8; }
#header-menu #current
{ font-weight: bold; opacity: 1; }
#gethelp, #footer a { color: white; opacity: 0.8; }
.flash.info { background-color: #b3e1b2; }
.flash.error { background-color: #f9d377; }
.loginform { background-color: #f6f8fa; border-color: lightgrey; }
.mfa_form { background-color: #f6f8fa; border-color: lightgrey; }
#active_engagement { background-color: var(--card-bg-color); }
.eng_form { background-color: var(--card-bg-color); }
.eng_form label { opacity: 0.8; }
.eng_form select { opacity: 0.8; }
#list_engagements,
.engagement { background-color: #325065; }
#show_eng_form { color: white; }
.org_name { font-weight: bold; opacity: 0.8; }
.eng_outline { border-top-color: darkgrey; }
#list_engagements a,
.engagement a { color: white; opacity: 0.8; }
.engagement a:visited,
.engagement a:link { color: white; }
#list_engagements a:hover,
.engagement a:hover { color: black; opacity: 0.9; }
.eng_category { font-weight: 500; opacity: 0.8; }
.update, #libview,
.libsearch { background-color: var(--card-bg-color); }
.libsearch input,
.libsearch select { border-color: lightgrey; }
.libtitle:hover { background-color: var(--card-bg-color); }
.libentry { color: blue; }
.current_text { color: black; }
.current_text:hover { color: black; }
#scantype { background-color: #fbe5ad; }
.internal { background-color: #d1edd1; }
.external { background-color: #fbe5ad; }
.reporting_table th,
#hoststable th { background-color: #042036; color: white; opacity: 0.9; }
#load_lib, .libpending, #load_lib a:link, .libpending a:link, .load_lib a:visited, .libpending a:visited
{ color: blue; }
.libpending.current_text { color: black; }
#hoststable td { border-top-color: lightgrey; }
.first_row td { border-top-color: #262626 !important; }
.hover:hover { background-color: var(--card-bg-color); }
.linkmenu { color: #d0dcee; background-color: #0d6efd; }
.linkmenu:hover { color: white; }
#issue_hosts_wrapper{ background-color: #eae9e9; }
#addhost { background-color: green; color: white; opacity: 0.8; }
.labelled_box { border-color: grey; }
.wide-card,
#usersettings { background-color: var(--card-bg-color); }
#libsearchtype,
.template-item { background-color: white; }
.overlay { background-color: var(--header-bg-color); opacity: 0.9; }
.import-file-name,
.import-status { color: var(--header-bg-color); }
.upload-bar { background-color: lightgrey; }
.upload-percent { background-color: #4cb04f; }
.warning { background-color: #fff9c4; }
.cefail { background-color: red; }
.ceunknown { background-color: yellow; }
.button { border-color: grey; }
a:hover.green_btn { color: white; }
.cvssjs input,
.green_btn { background-color: green; color: white; opacity: 0.8; }
.blue_btn { background-color: #2e7be9; color: white; }
.red_btn { background-color: #ff6868; color: white; }
.error { background: #f0d6d6; }
.good { background: #c8e6c9; }
.green { color: green; }
.red { color: red; }
.soft { opacity: 0.9; }
.softer { opacity: 0.8; }
.Crit { background-color: #91243e; color: white; opacity: 1; }
.High { background-color: #dd4b50; opacity: 1; }
.Medium { background-color: #f18c43; opacity: 1; }
.Low { background-color: #f8c851; opacity: 1; }
.Info { background-color: #67ace1; opacity: 1; }
.valid { border-color: green !important; }
.invalid { border-color: red !important; }
.reqd { border-left-color: red !important; }
#timeoutwarn { background-color: white; }
.popup { background-color: white; }

View File

@ -0,0 +1,483 @@
* { padding: 0; margin: 0; vertical-align: top; box-sizing: inherit; }
*:before, *:after { box-sizing: inherit; }
html { box-sizing: border-box; font-family: sans-serif; }
h1 { width: 100%; text-align: center; padding: 20px; pointer-events: none; }
h3 { text-align: center; margin-bottom: 30px; }
h4 { text-align: center; }
h5 { font-size: 1.2em; }
table { border-collapse: collapse; }
th { font-weight: normal; vertical-align: middle; }
input, textarea,
select { padding: 5px; border-radius: 5px; border-width: 1px; border-style: solid; font-size: 1em; }
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}
#logo { position: fixed; top: 10px; left: 5%; width: 160px; height: 65px; }
#login_logo { display: block; margin: 0 auto; opacity: 0.9;}
#page { width: 100%; min-height: 100vh; }
#content { min-height: calc(100vh - 30px); overflow: auto; width: 100%; margin: 0 auto; padding: 90px 5% 32px; }
#header { width: 100%; height: 90px; position: fixed; top: 0; left: 0; z-index: 1; }
#burgerimg { position: fixed; top: 30px; right: 10%; z-index: 3; cursor: pointer; }
#crossimg { position: fixed; top: 30px; right: 10%; cursor: pointer; display: none; }
#menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; display: none; z-index: -1; }
#footer { width: 100%; height: 30px; padding-top: 5px; }
#user-menu { z-index: 11; font: bolder 14pt arial, sans-serif; margin: 30px 5%; display: flex; gap: 20px;
align-items: center; }
.dropdown { position: absolute; right: 5%; top: 60px; list-style-type: none; text-align: center;
display: none; border-radius: 5px; margin-top: 0px; padding: 40px 40px 24px; }
.dropdown li { padding: 10px 0; font-weight: normal; }
.dropdown li a:link,
.dropdown li a:visited,
.dropdown li a { text-decoration: none; }
.dropdown li a:hover{ text-decoration: underline; }
.fromdropdown li a { position: relative; list-style-type: none; font: bolder 18pt arial, sans-serif; text-decoration: none;
z-index: 11; display: block; width: max-content; margin: 0; padding: 0; }
.menulink,
.menulink a:link,
.menulink a:visited { font: bolder 18pt arial, sans-serif; text-decoration: none; z-index: 13; display: block; width: fit-content; }
.headertext { font: bolder 18pt arial, sans-serif; text-align: center; padding-top: 20px; }
#header-menu { z-index: 11; }
#header-menu #current
{ margin-top: 28px; }
#supportform { display: none; }
#getupdates,
#gethelp { font-size: 0.9em; text-align: center; cursor: pointer; }
.update { margin: 15px 0; display: flex; justify-content: space-between; padding: 5px; }
#updates-content p { margin: 10px; }
.flash { padding: 0.5em 30px; margin: 10px auto 0; width: fit-content !important; max-width: 90%; border-radius: 5px; }
.table_row { display: table-row; }
.table_cell { display: table-cell; padding-right: 10px; }
#viewlink { display: block; width: 90%; margin: auto; text-align: right; }
.check_ok { width: 20px; height: 18px; }
#quicklinks { display: flex; gap: 10%; padding: 10px 0 10px 5px; }
.loginform { width: 90%; max-width: 460px; padding: 50px 0; border-radius: 5px; border-width: 1px; border-style: solid;
margin: 30px auto; }
.mfa_form { width: 100%; max-width: 600px; border-width: 1px; border-style: solid; margin: 30px auto;}
.mfa_form input { min-width: 120px; width: 40%; font-size: 1.2em; padding: 5px; margin: 16px auto; }
.mfa_form h5 { margin: 15px 0 5px; }
#qr_code { display: block; width: 180px; height: 180px; margin: 10px auto 0; }
.terms { width: max-content; margin: 20px auto; }
.terms a { margin-right: 10px; text-decoration: none; }
.terms a:hover { text-decoration: underline; }
#loginform input,
#reset_pass input { width: 80%; margin: 16px auto; display: block; font-size: 16px; padding: 5px; }
#reset_link { display: block; width: 75%; margin: 0 auto; text-align: right; }
#loginform img { display: block; margin: 0 auto 40px; }
.flexrow { display: inline-block; width: max-content; height: fit-content; }
.flexedrow { display: flex; flex-wrap: wrap; gap: 10px; }
.flexedrow span { display: block; width: max-content; white-space: nowrap; overflow: hidden; }
#engagements { display: flex; gap: 2%; margin-top: 20px; }
.eng_form { width: 100%; border-radius: 5px; padding: 10px; }
.eng_form input,
.eng_form select,
.eng_form textarea { width: 50%; padding: 4px; }
#eng_buttons { display: flex; justify-content: space-between; padding: 10px 2% 10px; }
#existing_engs,
#create_eng { display: flex; flex-direction: column; gap: 9px; }
#show_eng_form { min-width: fit-content; width: 45%; padding: 4px; }
#cancel_new_eng { display: block; position: relative; top: 40px; left: auto; text-align: right; }
.org_name { font-size: 2em; font-style: italic; margin-left: 5px; }
.eng_outline { width: 100%; margin: 0 auto; padding: 10px; border-top-width: 1px; border-top-style: solid; }
.eng_outline p { margin: 5px 0; }
.engagement { display: flex; justify-content: space-between; }
.engagement .org_name {font-size: 1em; }
#list_engagements a { display: block; width: 100%; text-align: center; }
#list_engagements a,
.engagement a { text-decoration: none; padding: 5px; }
.eng_category { margin: 5px 0 0 10px; }
#mk_dummy { min-width: fit-content; }
.eng_link { display: block; }
.eng_del { width: 55px; }
#library { display: flex; gap: 16px; margin-top: 20px; }
#libview { border-radius: 5px; padding: 10px; }
.libsearch { display: flex; justify-content: space-between; width: 100%; padding: 10px; border-radius: 5px; }
.libsearch input,
.libsearch select { border-width: 1px; border-style: solid; border-radius: 5px; padding: 5px; }
#libsearchstr { width: 50%; }
.libtitle { margin: 0; padding: 5px 10px; cursor: pointer; }
#load_lib { display: block; width: 80%; font-weight: bold; font-size: 0.9em; }
.libpending { font-weight: bold; font-size: 0.9em; margin: 10px 15px -5px 0; text-decoration: none; }
.current_text { font-weight: bold; margin: 10px 15px -5px 0; cursor: default; }
.altlib { width: 80%; display: flex; gap: 8px; margin: 16px 0 4px; }
.lib_loaded { font-weight: bold; order: -1; }
.libentry { padding: 0 5px ; cursor: pointer; font-weight: bold; }
.edit_issue { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 10px; }
.edit_issue label { font-size: 0.9em; }
#sev-cvss { width: fit-content; }
#cvss-calc-container{ max-width: 585px; width: 90%; min-width: 390px; z-index: 1; position: absolute; top: 180px; left: 50%;
transform: translate(-50%); height: max-content; display: none; border-radius: 5px; }
#cvss3 { width: 70px; min-width: 70px; padding: 5px 30px 5px 5px; margin-right: -16px; }
#sev-cvss label { position: relative; top: 5px; }
#cvss-calc { height: 18px; width: auto; aspect-ratio: 15/14; position: relative; left: -14px; top: 6px; cursor: pointer; }
#cvss-calc-container form { text-align: center; }
.cvssjs dl { margin: 8px 4px; }
.cvssjs hr { display: none; }
.cvssjs input { margin-top: 16px; padding: 5px 10px; cursor: pointer; width: 160px; }
.cvssjs dd:hover small { position: absolute; left: 0; top: auto; width: 340px; max-width: 390px; }
.largetext { min-height: 250px; }
#actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }
#file_import { display: flex; gap: 15px; align-items: center; margin-bottom: 30px; }
#scantype { padding: 6px; }
#xmlform { display: flex; gap: 10px 5px; height: max-content; }
#external_scans,
#internal_scans { padding: 0 0 10px; overflow: auto; }
.filename { float: left; display: block; padding: 3px 10px; }
.delscan { float: right; padding: 3px 10px; }
.svc_findings { display: grid; gap: 10px; margin: 10px 0; justify-content: flex-start; }
.vuln_label { grid-column: 1; padding: 2px 5px; width: 80px; text-align: center; }
.vuln_link { grid-column: 2; }
.svc_data { font-weight: bold; }
#filterform { display: flex; flex-direction: row; justify-content: space-between; }
#filterform input { padding: 5px; }
#export-txt { width: auto; height: 18px; aspect-ratio: 1/1; position: absolute; top: auto; left: calc(5% + 15px); }
#sfilter { width: 100%; padding: 0 3px; }
.filter.datepicker { width: 150px; }
.reporting_table,
#hoststable { width: 100%; border-collapse: separate; border-spacing: 0; padding: 0; margin-top: 10px; }
.reporting_table th,
#hoststable th { display: table-cell; height: 2em; padding: 0 5px; }
.rep-top-left { border-top-left-radius: 5px; width: 80px; }
.rep-top-right { border-top-right-radius: 5px; padding-right: 12px; width: max-content; }
.reporting_table th img { height: 16px; width: 16px; vertical-align: middle; }
.reporting_table th p { vertical-align: middle; }
#hoststable td { display: table-cell; padding: 5px; border-top-width: 1px; border-top-style: solid; overflow: hidden;
cursor: pointer; }
.first_row td { padding-top: 10px; }
#reportmenu { display: flex; gap: 3%; width: 90%; max-width: 850px; margin: 20px auto; justify-content: center; }
#hide_repmenu { display: none; position: relative !important; left: 160px; }
.linkmenu { display: block; text-decoration: none; font-weight: bold; width: max-content; white-space: nowrap;
cursor: pointer; }
#report_by { display: flex; gap: 0.5em; width: 90%; margin: 20px auto; }
#report_by a,
#report_by p { white-space: nowrap; width: max-content; }
#affected_wrapper { margin: 10px auto; }
#affected-hosts-grid{ display: grid; grid-template-columns: 140px auto 30px 50px 50px; row-gap: 10px; column-gap: 10px;}
#issue_hosts_wrapper{ width: 100%; max-width: 650px; margin: 4px auto 20px; max-height: 316px; overflow: auto; border-radius: 5px; }
.issue_hosts { width: 100%; padding: 10px; display: flex; justify-content: space-evenly; }
.issue_hosts input { padding: 2px; height: 20px; }
.ip { min-width: 90px; width: 100px; }
.hostname { min-width: 110px; }
.protocol, .port { width: 45px; }
#addhost, .hidehost { padding: 0 5px; min-width: 70px; max-width: 100px; }
#vuln_affected { padding: 10px; min-width: fit-content; width: 100%; border-radius: 5px; max-height: 316px;
overflow: auto; margin: 0 auto; }
.affected_host { overflow: hidden; }
#show_addhost { margin-top: 10px; text-align: right; }
#addissuehost_tr { margin-top: 10px; }
#addhostform { display: flex; justify-content: space-between; }
#addhostform .ip { width: 30%; min-width: unset; max-width: 130px; }
#addhostform .hostname { width: 40%; }
.smallprint { font-size: 10pt; }
.labelled_box { margin: 0 auto; border-width: 1px; border-style: solid; border-radius: 5px; padding: 10px; }
#home_view .labelled_box { margin-top: 20px; }
.labelled_box table { width: 100%; padding: 10px; }
.labelled_box legend{ padding: 0 5px; }
.label { display: block; width: fit-content; padding: 0 10px; margin: -25px 0 0; }
#usersettings { width: 100%; max-width: 800px; margin: 30px auto; }
.usersetting form { display: flex; justify-content: space-between; }
.usersetting { margin: 24px 2%; }
.usersetting input { padding: 5px; max-height: 30px; max-width: 170px; margin: auto 0; }
.row-to-col { display: flex; gap: 5px; width: 75%; }
#results_legend { width: 90%; text-align: right; margin-top: -20px; }
#vulnstats th { padding: 0 10px; }
.stats_narrow_data { width: 120px; text-align: center; }
.form_right { float: right; margin: 5px 5px; width: 15em; }
.wide-card { width: 90%; max-width: 1000px; margin: 0 auto 20px; border-radius: 8px; }
.card-label { font-size: 14pt; font-weight: bold; margin: 5px 0 16px; }
#userstable { width: 100%; margin-top: 20px; }
.userrow { margin: 5px 0; display: flex; justify-content: space-between; }
.userdata { display: flex; width: max-content; gap: 0 10px; flex-wrap: wrap; }
.userattr { display: flex; flex-direction: column; }
#adduserform { width: 100%; margin-top: 32px; }
#adduser,
a#addlicense,
#addlicense { display: block; width: max-content; margin: 20px auto 0; }
.templaterow { display: flex; justify-content: space-between; margin: 20px 0; }
.button.adminbtn { width: 100px; min-width: 95px; text-align: center; }
.template-prms { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.template-item { width: 225px; }
.overlay { width: 100%; height: 100%; position: fixed; top: 0; left: 0; opacity: 0.6; display: none; }
#progress-panel { padding: 16px 0; top: 160px; border-radius: 4px; }
#progress-panel-grid{ display: grid; grid-template-columns: 63% 27%; align-items: center;
justify-content: space-evenly; }
#progress-panel a { display: inline-block; position:relative; bottom: 0; left: 50%; transform: translate(-50%); margin-top: 10px; }
.import-file-name { grid-column: 1; overflow: hidden; }
.import-status { display: block; position: absolute; top: -3px; left: 50%; transform: translate(-50%); }
.upload-bar { position: relative; grid-column: 2; height: 1em; border-radius: 4px; margin-bottom: -4px; }
.upload-percent { display: inline-block; width: 0; height: 1em; border-radius: 4px; }
#mgr_report { margin: 20px auto 40px; justify-content: space-evenly; max-width: 800px; }
.warning { padding: 2px; display: inline; }
.hidden { display: none; }
.jslink { cursor: pointer; }
.button { min-width: 80px; border-width: 1px; border-style: solid; border-radius: 5px; padding: 5px 20px;
text-decoration: none; font-size: 1em; }
button.update_btn { min-width: 120px; }
.green_btn,
.blue_btn,
.red_btn { padding: 5px 10px; cursor: pointer; }
.error { padding: 0.5em; margin-bottom: 1em; clear: both; }
.msg { width: 90%; text-align: center; padding: 0.5em; margin: 0 auto 1em; }
.center { text-align: center; }
.middle { vertical-align: middle; }
.left { float: left; }
.right { float: right; }
.green { font-weight: 500; }
.red { font-weight: 500; }
.larger { font-size: 200%; }
.rounded { border-radius: 5px; padding: 5px 10px; }
.clear { width: 100%; clear: both; float: none !important; padding: 0 !important; margin: 0 !important; }
.nav-div { width: 90%; margin-right:auto; margin-left:auto; }
.table_cell { padding-right: 10px; }
.left_col p { margin-bottom: 0.5rem; }
.title { font-size: 1.25em; }
.affectedlist { display: inline-block; width: fit-content; margin: 3px; padding: 3px 6px; border-radius: 5px; }
.text-center { text-align: center; }
.valid { border-width: 2px; border-style: solid; }
.invalid { border-width: 2px; border-style: solid; }
.reqd { border-left-width: 2px; border-left-style: solid; }
#timeoutwarn { width: 400px; height: 200px; position: absolute; top: 30%; left: 36%; z-index: 10;
padding: 10px; text-align: center; visibility: hidden; }
.popup { position: absolute; top: calc(50% - 30%); left: 50%; transform: translate(-50%); max-width: 1000px;
height: max-content; padding: 2%; display: none; border-radius: 5px; }
.formrow { display: flex; justify-content: space-between; margin: 10px 0; }
.formrow input,
.formrow select { width: 50%; }
.popup-title { font-size: 1.8em; padding-top: 10px; }
#contact-popup form { display: flex; flex-direction: column; align-items: center; gap: 20px; }
#contact-popup input { width: 30%; }
.close-popup { float: right; cursor: pointer; text-decoration: underline; }
.disabled { border: none; }
@media (max-width: 480px) {
.issue_hosts { gap: 1%; }
}
@media (min-width: 481px) {
.issue_hosts { gap: 3%; }
}
@media (max-width: 799px) {
#hoststable { table-layout: fixed; }
#hoststable th:nth-child(1) { width: auto; }
#hoststable th:nth-child(2),
#hoststable th:nth-child(5) { width: 90px; }
.edit_issue textarea { width: 100% !important; }
#altlib { margin-bottom: -16px; }
.altlib { width: 75%; justify-content: flex-end; }
.libpending,
.current_text { margin: 10px 0 -20px; font-size: 0.8em; text-align: center; }
#load_lib { text-align: right; margin-bottom: -16px; font-size: 0.8em; }
.affected_host, #show_addhost { font-size: 0.8em; }
#show_addhost { margin-bottom: 12px; }
#affected-hosts-grid { grid-template-columns: 115px auto 25px 40px 40px; }
#addhostform .hostname { max-width: 120px; }
.row-to-col { flex-direction: column; }
.svc-num { display: block; }
.svc-detail { display: none; }
}
@media (min-width: 800px) {
#hoststable { table-layout: auto; }
#hoststable th { width: auto; }
.edit_issue textarea { width: 80% !important; }
.affected_host, #show_addhost { font-size: 1em; }
#show_addhost { margin-bottom: 0; }
#affected-hosts-grid { grid-template-columns: 140px auto 30px 50px 50px; }
#addhostform .hostname { max-width: unset; }
.row-to-col { flex-direction: row; }
.svc-num { display: none; }
.svc-detail { display: block; }
#load_lib { text-align: left; margin-bottom: 4px; }
.libpending { margin: 10px 15px 0 0; }
.current_text { margin: 10px 15px 0 0; }
}
@media (min-width: 320px) {
.fromdropdown,
#header-menu { display: none; flex-direction: column; justify-content: space-evenly; align-items: center; width: 30%;
position: absolute; top: calc(0px + 90px); left: calc(50% - 15%); min-height: calc(100vh - 120px - 30px);
margin-left: 0; }
#user-menu { float: none; }
#greeting,
#usermenuimg { display: none; }
#reporting_burger, #usermenulink, #burgerimg,
#quicklinks p { display: block; }
#engagements { flex-direction: column; gap: 10px; }
#mk_dummy { width: 45%; }
.engagement.hidden,
#list_engagements.hidden { display: none; }
#existing_engs,
#create_eng { width: 100%; }
#eng_buttons label, #eng_form, .optinline,
.optblock { display: none; }
#show_eng_form, #list_engagements,
#cancel_new_eng { display: block; }
.popup { width: 80%; }
#contact-popup textarea { width: 95%; height: 30vh; }
#file_import { flex-direction: column; }
#external_scans,
#internal_scans { width: 100%; height: fit-content; max-height: 150px; }
#xmlform { flex-direction: row; width: 100%; justify-content: end; }
#xmlform input { width: max-content; }
#xmlform select { width: min-content; }
#xmlform .green_btn { min-width: 120px; }
.filter { width: 30%; }
#hoststable td.optfld,
#hoststable th.optfld,
.optfld { display: none; }
#report_by { flex-direction: column; align-items: center; }
.reporting_table { font-size: 0.85em; }
.reporting_table td { padding: 5px 2px 0; }
.rep-top-left { width: 70px; }
.merge_btn { width: 100%; }
#affected_wrapper { width: 100%; }
#library { flex-direction: column; }
#libview { width: 100%; max-width: unset; }
#issuelist { width: 100%; max-width: unset;}
#libresults { max-height: 128px; overflow: auto; }
.wide-card { padding: 20px 2vw; }
}
@media (min-width: 1080px) {
#header-menu { display: flex; position: absolute; top: 12px; left: 0; right: unset; flex-direction: row;
justify-content: flex-start; gap: 5%; min-height: 3.5em; width: 50%; margin-left: calc(5% + 240px); }
#user-menu { float: right; }
#greeting,
#usermenuimg { display: block; }
#usermenulink,
#burgerimg,
#quicklinks p,
#show_eng_form,
#eng_search,
#reporting_burger,
#cancel_new_eng { display: none; }
#engagements { flex-direction: row; } /* container for existing and new eng form */
#existing_engs { width: 50%; } /* container for existing */
#create_eng,
#mk_dummy { width: 50%; }
.engagement.hidden,
#list_engagements.hidden { display: none; }
#eng_buttons label, #eng_form,
.optblock { display: block; }
.optinline { display: inline-block; }
.popup { width: 60%; }
#contact-popup textarea { width: 80%; height: 40vh; }
#file_import { flex-direction: row; }
#external_scans,
#internal_scans { width: 38%; height: 200px; }
#xmlform { flex-direction: column; width: 20%; align-items: end; justify-content: center; }
#xmlform input,
#xmlform select { width: 100%; }
.filter { width: 18%; }
#hoststable td.optfld,
#hoststable th.optfld,
.optfld { display: table-cell; }
#report_by { flex-direction: row; justify-content: center; }
.reporting_table { font-size: 1em; }
.reporting_table td { padding: 5px 5px 0; }
.rep-top-right { width: 85px; }
.merge_btn { width: 100px; margin-left: 50%; transform: translate(-42%); }
#affected_wrapper { width: 80%; max-width: 1200px; }
#library { flex-direction: row; }
#libview { width: 58%; }
#issuelist { width: 42%; }
#libresults { max-height: calc(100vh - 160px); overflow: auto; }
.wide-card { padding: 20px; }
}

View File

@ -0,0 +1,3 @@
{% for field in hform %}
{{ field }}
{% endfor %}

View File

@ -0,0 +1,25 @@
{% extends 'layout.j2' %}
{% block body %}
<h1 id='page_title'>Add finding</h1>
<form id='issueeditor' method='POST' action = '{% if vuln %}{{url_for('reporting', iid=vuln.id)}}{% else %}{{url_for('add_issue')}}{% endif %}'>
<div id='affected_wrapper'>
<h4>Affected Hosts</h4>
<div id='issue_hosts_wrapper'>
<div class='issue_hosts'>
{% for field in hform %} {{ field }} {% endfor %}
</div>
</div>
</div>
<fieldset class='labelled_box'>
<h4>Finding details</h4>
{% include 'edit-issue-form.j2' %}
<div id='actions'>
<button type='button' class='button blue_btn' id='saveLib'>Save to Library</button>
<button type='button' class='button blue_btn' id='saveRep'>Save to Report</button>
<button type='button' class='button green_btn' id='saveRepLib'>Save to Library & Report</button>
</div>
</fieldset>
</form>
{% endblock %}

View File

@ -0,0 +1,127 @@
{% extends 'layout.j2' %}
{% block body %}
<h1 id='page-title'>Administration</h1>
<div class='wide-card'>
<p class='card-label'>Users</p>
<div>
<p>Edit a user to see all saved information</p>
<div id='userstable'>
{% for user in users %}
<div class='userrow'>
<div class='userdata'>
<span><b>{{ user['email'] }}</b></span>
<span>
{% if user['disabled'] %}Disabled
{% else %}
{% if user['admin'] %}Admin, {% endif %}{{ user['group'] }}
{% endif %}
</span>
</div>
<button uid={{ user['id'] }} class='button green_btn adminbtn edituser'>Edit</button>
</div>
{% endfor %}
{% if has_free_license %}
<button id='adduser' class='button green_btn'>Add user</button>
{% else %}
{% if email_enabled %}
<button id='addlicense' class='button green_btn'>Increase license limit</button>
{% else %}
<a id='addlicense' href='mailto:support@haxhq.com?subject=We have grown 🎉 and need more licenses!' class='button green_btn'>Increase license limit</a>
{% endif %}
{% endif %}
</div>
</div>
</div>
<div class='wide-card'>
<p class='card-label'>Two factor authentication</p>
<div class='userrow'>
<p>Require 2FA for all users:</p>
<a class='button green_btn adminbtn' href={{ url_for('set_subscriber_mfa') }}>
{% if mfa_required %}Disable{% else %}Enable{% endif %}
</a>
</div>
</div>
<div class='wide-card'>
<p class='card-label'>Client certificate authentication</p>
<div class='userrow'>
{% if certauthenabled %}
{% if cert_remaining %}
<p>Client certificates are required:</p>
<a class='button green_btn adminbtn' href={{ url_for('disable_cert_auth') }}>Disable</a>
{% elif certfp %}
<p>Require client certificates for all users:</p>
<a class='button green_btn adminbtn' href={{ url_for('enable_cert_auth') }}>Enable</a>
{% else %}
<div>
<p style='margin-bottom: 10px;'>To enable client certificate authentication, please create your certificate first from the <a href={{ url_for('usersettings') }}>user settings page</a> and install it in your browser.</p>
<p>Once certificate authentication is enabled, you will not be able to access this web interface without a certificate. You can always disable certificate authentication from the command line if you have access to the HaxHQ VM.</p>
</div>
{% endif %}
</div>
<p>Users without certificates:
{% set nocert = {'seen': False} %}
{% for user in users %}
{% if not user.disabled and not user.certfp %}
{% if nocert.update({'seen': True}) %} {% endif %}
<span class='red'> {{ user.email }} </span>
{% endif %}
{% endfor %}
{% if not nocert.seen %}<span class='green'>None 🎉</span>{% endif %}
</p>
{% else %}
<p>Certificate authentication is disabled on this host as it needs to be available to everyone. Please contact us for a demonstration.</p>
</div>
{% endif %}
</div>
<div class='wide-card'>
<p class='card-label'>Manage report templates</p>
<p>Customised templates: {#{ customised_templates }#}</p>
<form class='templaterow' method='GET' action={{url_for('get_template')}}>
<div class='template-prms'>
{% for field in gettemplateform %}
{% if field.label.text == 'Download' %}
</div>
{{ field }}
{% else %}
{{ field }}
{% endif %}
{% endfor %}
</form>
<form class='templaterow' method='POST' action={{url_for('set_template')}} enctype=multipart/form-data>
<div class='template-prms'>
{% for field in settemplateform %}
{% if field.label.text == 'Update' %}
</div>
{{ field }}
{% else %}
{{ field }}
{% endif %}
{% endfor %}
</form>
</div>
<div class='wide-card'>
<p class='card-label'>Login logo</p>
<p style='margin-bottom: 20px;' >Default image is 160x65, any size accepted and no automatic resizing is done.<br>Supported file types: jpg, jpeg, png, gif, webp</p>
<img src='{{ login_logo_src }}' width={{ login_logo_width }} height={{ login_logo_height }} >
<form class='templaterow' method='POST' action={{url_for('update_login_logo')}} enctype=multipart/form-data>
<div class='template-prms'>
{% for field in updatelogoform %}
{% if field.label.text == 'Update' %}
</div>
{{ field }}
{% else %}
{{ field }}
{% endif %}
{% endfor %}
</form>
</div>
<div id='adduser-popup' class='popup'>
<a class='close-popup'>Cancel</a>
<div style='margin-top: 40px;'>
<div class='msg'></div>
<div id='user-popup-content' style='margin-top: 40px;'></div>
</div>
</div>
{% endblock %}

View File

@ -0,0 +1,21 @@
{% extends 'layout.j2' %}
{% block body %}
<div class='logo'></div>
<form id='2fa_check' class='mfa_form rounded' method='POST' action='{{ url_for('check_2fa') }}'>
<h3>Enter 2FA code</h3>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class='flash {{category}}'>{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
<p style='margin-bottom: 20px;'>Two-factor authentication is required for signing in.</p>
<p>Please generate a code with your authenticator app and enter it below.</p>
{% for field in form %}
{{ field }}
{% endfor %}
<p class='clear'></p>
</form>
{% endblock %}

View File

@ -0,0 +1,73 @@
{% extends 'layout.j2' %}
{% block body %}
<div>
<h3 id='vuln_title' style='margin-top: 20px;'> {{ vuln.title }}</h3>
{% if vuln.name and vuln.name != vuln.title %}
<h4>{{ vuln.name }}</h4>
{% endif %}
<a href='{{ url_for('reporting', iid='all') }}' style='margin-right: 20px'>Back to list</a>
<a href='{{ url_for('reporting', iid=vuln.iid) }}'>Back to issue</a>
<p class='center' style='margin-bottom: 0;'>Affected services</p>
<div id='affected_wrapper' style='width: fit-content; max-height: 400px; overflow: auto; text-align: center;' >
{% for hoststr in vuln.affected %}
<div class='affectedlist {% if vuln.exposure == 'external' %}external{% else %}internal{% endif %}'>
{{ hoststr }}
</div>
{% endfor %}
</div>
<p style='margin: 20px 0 0;'>Merge candidates:</p>
<form id='mergeform' method='POST' action = '{{url_for('merge_issues', iid=vuln.iid)}}'>
{{ form.csrf_token }}
<table class='reporting_table'>
<tr>
<th class='rep-top-left'>Severity</th>
<th>Title</th>
<th style='width: min-content; white-space: wrap;'>Additional services</th>
<th style='width: min-content; white-space: wrap;'>Repeat services</th>
<th class='rep-top-right'>Merge</th>
</tr>
{% for issue in merge_candidates %}
<tr class='first_row rep_issue'>
<td style='padding: 5px 0;'>
{% if issue.severity == '4' %}<p class='Crit'>Critical</p>
{% elif issue.severity == '3' %}<p class='High'>High</p>
{% elif issue.severity == '2' %}<p class='Medium'>Medium</p>
{% elif issue.severity == '1' %}<p class='Low'>Low</p>
{% elif issue.severity == '0' %}<p class='Info'>Info</p>
{% endif %}
</td>
<td>{{ issue.title }}</td>
<td class='text-center' style='width: max-content;'>
{% if issue.missing %}
<span class='svc-num'>{{ issue.missing|length }}</span>
{% for service in issue.missing %}
<p class='svc-detail'>{{ service }}</p>
{% endfor %}
{% else %}
<span class='green'>none</span>
{% endif %}
</td>
<td class='text-center' style='width: max-content;'>
{% if not issue.repeat %}
<span class='red'>none</span>
{% elif issue.repeat|length == vuln.affected_count %}
<span class='green'>all</span>
{% else %}
{{ issue.repeat|length }}/{{ vuln.affected_count }}
{% endif %}
</td>
<td class="text-center"><input type='checkbox' class='merge' name='{{ issue.id }}'></td>
</tr>
{% endfor %}
<tr>
<td colspan=5 style='text-align: right;'>
<input class="button green_btn" type='submit' value='merge'>
</td>
</tr>
</table>
</form>
</div>
{% endblock body %}

View File

@ -0,0 +1,78 @@
{% if 'rationale' in form %}
{# CSA findings #}
{% for field in form %}
{% if not vuln or field.label.text != 'Exposure' %}
<div class='edit_issue'>
{% if field.label.text not in hidden_fields %}
{{ field.label }}
{% endif %}
{{ field }}
</div>
{% endif %}
{% endfor %}
{% else %}
{# pentesting findings #}
{% for field in form %}
{% if field.name == 'cvss3' %}
{# do nothing, handled manually below #}
{% elif field.name == 'severity' %}
<div class='edit_issue'>
{{ field.label }}
<div id='sev-cvss'>
{{ form['cvss3'].label }}
{{ form['cvss3'] }}
<img id='cvss-calc' src={{ url_for('static', filename='img/calc-small-grey.svg') }} alt='calculator' />
{{ field }}
</div>
</div>
{% else %}
{# only add DIEs for High and Critical and on the library page #}
{% if field.name in ['discoverability', 'exploitability', 'impact'] %}
{% if page == 'library' or (vuln and vuln.severity > 2) %}
{% if field.name in scanner_changes %}
<div class='edit_issue' style='margin-bottom: 0'>
<p></p>
<div class='altlib'>
<a class='libpending {{ field.name }} new_scanner_text current_text'>New&nbsp;scanner text</a>
<a class='libpending {{ field.name }} old_scanner_text' >Old&nbsp;scanner text</a>
<a class='libpending {{ field.name }} libtext' >Library text</a>
</div>
</div>
{% endif %}
<div class='edit_issue'>
{{ field.label }}
{{ field }}
</div>
{% endif %}
{% else %}
{% if field.name == 'name' %}
<div class='edit_issue autocomplete'>
{% else %}
{% if field.name in scanner_changes %}
<div class='edit_issue' style='margin-bottom: 0'>
<p></p>
<div class='altlib'>
<a class='libpending {{ field.name }} new_scanner_text current_text' href='#'>New scanner text</a>
<a class='libpending {{ field.name }} old_scanner_text' href='#'>Old scanner text</a>
<a class='libpending {{ field.name }} libtext' href='#'>Library text</a>
</div>
</div>
{% endif %}
<div class='edit_issue'>
{% endif %}
{% if field.label.text not in hidden_fields %}
{{ field.label }}
{% endif %}
{{ field }}
</div>
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% for field in scanner_changes %}
{# field refers to the div container here not the form #}
<div class='hidden {{ field }} old_scanner_text'>{{ scanner_changes[field].old_scanner_text }}</div>
<div class='hidden {{ field }} new_scanner_text'>{{ scanner_changes[field].new_scanner_text }}</div>
<div class='hidden {{ field }} libtext'>{{ scanner_changes[field].libentry }}</div>
{% endfor %}
<div id='cvss-calc-container'></div>

View File

@ -0,0 +1,96 @@
{% extends 'layout.j2' %}
{% block body %}
<div id='home_view' class='view'>
{% if active_engagement %}
<h1>{{ active_engagement.org_name }}</h1>
<div>
<a href='{{ url_for('reporting', iid='all') }}' style='display: block; margin-bottom: 20px;' >Back to list</a>
{% if vuln %}
{# single vuln details #}
<h3 id='vuln_title'>{{ vuln.title }}</h3>
{% if vuln.name != vuln.title %}
<p class='center'>Shown in report as: <b>{{ vuln.name }}</b></p>
{% endif %}
<div id='affected_wrapper'>
<div id='vuln_affected' class='{% if vuln.exposure == 'external' %}external{% else %}internal{% endif %}'>
<div id='affected-hosts-grid'>
{% for host in affected %}
{% for field in host if field not in ['sid', 'hid'] %}
<div class='affected_host' style='grid-column: {{ loop.index }};' >
{% if field == 'ip' %}
<a href='{{ url_for('hacking', hid=host.hid) }}'>{{ host[field] }}</a>
{% elif field not in ['hid', 'sid'] %}
{{ host[field] }}
{% endif %}
</div>
{% endfor %}
<div style='grid-column: 5; text-align: right;'>
{% if eng_type != 'audit' and affected|length > 1 %}
<a class='affected_host delete' href='{{ url_for('del_issue_host', issue_id=vuln.id, sid=host.sid) }}'>delete</a>
{% endif %}
</div>
{% endfor %}
</div>
<div id='addissuehost_tr' class='hidden'>
<form id='addhostform' method=POST action={{url_for('add_host', iid=vuln.id)}}>
{% for field in hform %}
{% if field.label.text not in hidden_fields %}
{{ field }}
{% endif %}
{% endfor %}
{{ form.csrf_token }}
</form>
</div>
</div>
{% if eng_type != 'audit' %}
<a style='display: block' href='#' id='show_addhost'>Add host</a>
{% endif %}
</div>
{% if libentry_exists %}
<div class='edit_issue' style='margin-bottom: 0'>
<p></p>
<div id='load_lib'>
{% if libentry_exists != 'match' %}
<a href='{{ url_for('library', libsearchstr=vuln.title, libsearchtype=libentry_exists, repiid=vuln.id) }}'>View in library</a><span class='red'>&nbsp;({{ libentry_exists }})</span>
{% else %}
<a href='{{ url_for('library', libsearchstr=vuln.title, libsearchtype=vuln.exposure, repiid=vuln.id) }}'>View in library</a>
{% endif %}
</div>
</div>
{% else %}
<p style='margin-top: 30px;'></p>
{% endif %}
<form id='issueeditor' method='POST' action = '{% if vuln %}{{url_for('reporting', iid=vuln.id)}}{% else %}{{url_for('add_issue')}}{% endif %}'>
{% include 'edit-issue-form.j2' %}
<div id='actions'>
<button type='button' id='delRep' class='button red_btn'>Delete</button>
{% if vuln and vuln.mergeables %}
<button type='button' id='getMerge' class='button blue_btn'>Get Merge Candidates</button>
{% endif %}
<button type='button' id='saveLib' class='button blue_btn'>Save to Library</button>
<button type='button' id='saveRep' class='button blue_btn'>Save to Report</button>
<button type='button' id='saveRepLib' class='button green_btn'>Save to Library & Report</button>
</div>
{% else %}
<h3>Vulnerability not found</h3>
{% endif %}
</form>
</div>
{% if xtra_info %}
<fieldset class='labelled_box'>
<legend>Additional information</legend>
{% for x in xtra_info %}
<p>{{ x }}</p>
{% endfor %}
</fieldset>
{% endif %}
{% else %}
<h1>No active engagement!</h1>
<h3><a href='{{ url_for('engagement') }}'>Please define/activate an engagement</a></h3>
{% endif %}
{% include 'suggestion_popup.j2' %}
</div>
{% endblock body %}

View File

@ -0,0 +1,121 @@
{% extends 'layout.j2' %}
{% block body %}
<div id='engagements'>
<div id='existing_engs'>
{% if engagements|length %}
{% set flags = {'active_loaded': False, 'engs_hidden': False} %}
{% for engagement in engagements %}
{% if engagement.primary_contact %}
{% if flags.update({'active_loaded': True}) %}{% endif %}
<div id='active_engagement' class='rounded'>
<p class='flexedrow'>
<span class="org_name" style='white-space: normal; margin-right: 20px;'>{{ engagement.org_name }}</span>
<span class='soft' style='margin: auto 0'> ( end {{ engagement.eng_end }} )</span>
</p>
<p class='eng_category'>Contacts</p>
<div class='eng_outline'>
<p class='soft flexedrow'>
<span>{{ engagement.primary_contact.name }}</span>
<span>{{ engagement.primary_contact.role }}</span>
<span><a href='mailto:{{ engagement.primary_contact.email }}'>{{ engagement.primary_contact.email }}</a></span>
<span>{{ engagement.primary_contact.phone }}</span>
</p>
{% if engagement.secondary_contact %}
<p class='soft flexedrow'>
<span>{{ engagement.secondary_contact.name }}</span>
<span>{{ engagement.secondary_contact.role }}</span>
<span><a href='mailto:{{ engagement.secondary_contact.email }}'>{{ engagement.secondary_contact.email }}</a></span>
<span>{{ engagement.secondary_contact.phone }}</span>
</p>
{% endif %}
</div>
<p class='eng_category'>Scope</p>
<div class='eng_outline'>
{% if engagement.subnets %}
<p class='soft flexedrow'>
{% for subnet in engagement.subnets %}<span>{{ subnet }}{% if not loop.last %},{% endif %}</span>{% endfor %}
</p>
{% endif %}
{% if engagement.urls %}
<p class='soft flexedrow'>
{% for url in engagement.urls %}<span>{{ url }}{% if not loop.last %},{% endif %}</span>{% endfor %}
</p>
{% endif %}
</div>
{% if engagement.notes %}
<p>{{ notes }}</p>
{% endif %}
</div>
{% else %}
{% set addclass = '' %}
{% if engagements|length > 6 %} {% set threshold = 5 %} {% else %} {% set threshold = 6 %} {% endif %}
{% if flags.active_loaded %}
{% if loop.index > threshold %}
{% set addclass = ' hidden' %}
{% if flags.update({'engs_hidden': True}) %}{% endif %}
{% endif %}
{% else %}
{% if loop.index > threshold - 1 %}
{% set addclass = ' hidden' %}
{% if flags.update({'engs_hidden': True}) %}{% endif %}
{% endif %}
{% endif %}
<div class='rounded engagement{{ addclass }}'>
<a class='eng_link' href='{{ url_for('activate', eid=engagement.eid) }}'>
<p class='flexedrow'>
<span class="org_name">{{ engagement.org_name }}</span>
<span>( {{ engagement.test_type }}, end {{ engagement.eng_end }} )</span>
</p>
</a>
{% if engagement.expired %}
<a class='eng_del confirm' href='{{ url_for('delete_engagement', eid=engagement.eid) }}'>delete</a>
{% endif %}
</div>
{% endif %}
{% endfor %}
{% if not flags.engs_hidden %}{% set addclass = ' hidden' %}{% endif %}
<div id='list_engagements' class='rounded{{ addclass }}'>
<a id='show_eng_list' class='eng_link' href=''>Show all engagements</a>
</div>
{% else %}
<h4>Please create an engagement</h4>
{% endif %}
</div>
<div id='create_eng'>
<div id='eng_form' class='eng_form'>
<form method='POST' action = "{{ url_for('engagement') }}">
{% for field in form %}
{% if loop.index == 10 %}
<a style='display: block; opacity: 0.8;' class='clear' id='show_secondary' href='#'>Add secondary contact</a>
{% endif %}
<div class='clear'>
{% if field.label.text in hidden_fields %}
{{ field.label(class='hidden') }}
{% elif field.label.text.startswith('Secondary') %}
{{ field.label(class='hidden secondary_contact') }}
{% else %}
{{ field.label }}
{% endif %}
{% if field.name in form.errors %}
{% set fclass = {'class': field.render_kw.class} %}
{% if fclass.update({'class': fclass.class + ' invalid'}) %}{% endif %}
{{ field(class=fclass.class) }}
{% else %}
{{ field }}
{% endif %}
</div>
{% endfor %}
</form>
<a id='cancel_new_eng' href=''>Cancel</a>
</div>
<div id='eng_buttons' class='eng_form rounded'>
<label style='margin: auto 0;'>Quick create</label>
<input id='mk_dummy' type='submit' class='button blue_btn' value='Create dummy engagement'/>
<button id='show_eng_form' class='button green_btn'>Create engagement</button>
</div>
</div>
</div>
{% endblock %}

View File

@ -0,0 +1,13 @@
<div id="generic-popup" class="popup">
<div class="popup-body">
<div id='help_content' class="popup-content">
{% if popup_title and popup_content %}
<p class='popup_title'>{{ popup_title }}</p>
<p>{% include popup_content %}</p>
{% endif %}
</div>
<span class="popup-exit">Close</span>
</div>
</div>
<div class="popup-overlay"></div>

View File

@ -0,0 +1,136 @@
{#
active_engagement: { org_name: '', eid: '', notes: '', target_urls: [], target_subnets: [] }
#}
{% extends 'layout.j2' %}
{% block body %}
{% if active_engagement %}
<h1>{{ active_engagement.org_name }}</h1>
{### FILE IMPORT ###}
<div id='file_import'>
<div id='external_scans' class='external rounded'>
<p class='center'>
External scans: {{ external_scans|length }}
{% if external_scans|length > 5 %}(Scroll here to view){% endif %}
</p>
{% for file in external_scans %}
<div class='impt_file'>
<span class='filename'>{{ file.filename }}</span>
<a class='delscan' href='{{ url_for('delete_scan', scan_id=file.scanner+'/'+file.id) }}'>del</a>
<p class='clear'></p>
</div>
{% endfor %}
</div>
<div id='internal_scans' class='internal rounded'>
<p class='center'>
Internal scans: {{ internal_scans|length }}
{% if internal_scans|length > 5 %}(Scroll here to view){% endif %}
</p>
{% for file in internal_scans %}
<div class='impt_file'>
<span class='filename'>{{ file.filename }}</span>
<a class='delscan' href='{{ url_for('delete_scan', filename=file.filename, scan_id=file.scanner+'/'+file.id) }}'>del</a>
<p class='clear'></p>
</div>
{% endfor %}
</div>
<form id='xmlform' method='POST' action='{{ url_for('upload_file') }}' enctype=multipart/form-data>
{% for field in form %}
{{ field }}
{% endfor %}
</form>
</div>
{### FILTERING ###}
{% set optflds = ['service', 'software', 'errors'] %}
{% set optfldnums = [3,4,6] %}
<div id='filter' class='autocomplete'>
<form id='filterform' method='POST' action='{{ url_for('hacking', hid='filter') }}' enctype='multipart/form-data'>
{% for field in filterform %}
{{ field }}
{% endfor %}
<input id='apply_filter' class='blue_btn' type='submit' value='Apply filter' />
</form>
</div>
{### HOST TABLES ###}
<table class='labelled_box' id='hoststable'>
<tr>
{# MAIN VIEW #}
{% for col in main_colset %}
<th{% if col in optflds %} class='optfld' {% endif %}>
{% if col == 'host' %}
<img id='export-txt' class='jslink' src={{url_for('static', filename='img/downloads_white.svg')}}>
{% endif %}
{{ col }}
</th>
{% endfor %}
</tr>
{% if data %}
{% for host in data %}
<tr class='first_row' hid={{ host['hid'] }}>
{% for col in host['first_row'] %}
<td {% if loop.first and host.rows %}rowspan='{{ host.rows|length + 1 }}' {% endif %}
{% if loop.index in optfldnums %} class='optfld' {% endif %}
>
{% if loop.last %}
<a href='{{ url_for('hacking', hid=host['hid']) }}'>
{% endif %}
{% for el in col %}
{{ el }}<br>
{% endfor %}
{% if loop.last %}
</a>
{% endif %}
</td>
{% endfor %}
</tr>
{% set optfldnums = [2,3,5] %}
{% for row in host['rows'] %}
<tr class='xtra_row' hid={{ host['hid'] }}>
{% for col in row %}
<td class='highlight {% if loop.index in optfldnums %} optfld {% endif %}'>
{% for el in col %}
{{ el }}<br>
{% endfor %}
</td>
{% endfor %}
</tr>
{% endfor %}
{% endfor %}
{% elif view == 'filter' %}
<tr>
<td colspan='{{ main_colset|length }}'>
<h3 style='margin-bottom: 30px;'>No results</h3>
</td>
</tr>
{% else %}
<tr>
<td colspan='{{ main_colset|length }}'>
<h3 style='margin-bottom: 30px;'>No hosts found - please import scans or <a href='{{ url_for('add_issue') }}'>add issues manually.</a></h3>
</td>
</tr>
{% endif %}
</table>
{% else %}
<h3 style='margin-top: 30px;'><a href='{{ url_for('engagement') }}'>Please define/activate an engagement</a></h3>
{% endif %}
{# progress bar #}
<div id='progress-panel' class='popup'>
<div id='progress-panel-grid'>
{#
<p class='import-file-name'>Scan_Report_hudd_ithc_sc5nm_20221216.xml</p>
<p class='upload-bar'>
<span class='upload-percent'></span>
<span class='import-status'>uploading</span>
</p>
<p class='import-file-name'>Printers_w9oczu.nessus</p>
<p class='upload-bar'>
<span class='upload-percent'></span>
<span class='import-status'>uploading</span>
</p>
#}
</div>
<a href='{{ url_for('hacking', hid='main') }}'>Cancel</a>
</div>
{% endblock %}

View File

@ -0,0 +1,135 @@
<!DOCTYPE html>
{% set need_header = ['Engagement', 'Hacking', 'Reporting', 'Library', 'Add finding', 'Edit finding', 'Stats', 'Reports',
'Merge findings', 'User settings', 'Administration', 'Enable 2FA', 'Token authenticated'] %}
<html lang="en">
<head>
<title>HaxHQ - {{ subtitle }}</title>
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='cvssjs/cvss.css') }}">
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}">
{% if session and 'colour_mode' in session %}
<link rel=stylesheet type=text/css href="{{ url_for('static', filename=session['colour_mode'] + '.css') }}">
{% else %}
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='light.css') }}"
media="screen and (prefers-color-scheme: light)">
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='dark.css') }}"
media="screen and (prefers-color-scheme: dark)">
{% endif %}
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='jquery-ui.css') }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='favicon/apple-touch-icon.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='favicon/favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='favicon/favicon-16x16.png') }}">
<link rel="manifest" href="{{ url_for('static', filename='favicon/site.webmanifest') }}">
<script src="{{ url_for('static', filename='jquery.min.js') }}"></script>
<script src="{{ url_for('static', filename='jquery-ui.min.js') }}"></script>
<script src="{{ url_for('static', filename='haxhq.js') }}"></script>
<script src="{{ url_for('static', filename='cvssjs/cvss.js') }}"></script>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />
{% if 'MATOMO_TRACKER' in config %}
{{ config['MATOMO_TRACKER'] }}
{% endif %}
</head>
<body>
<div id='page'>
{% if subtitle in need_header %}
<div id='header'>
<img id='logo' alt='HaxHQ Logo' src="{{ url_for('static', filename='img/logo.png') }}"/>
<img id='burgerimg' src="{{ url_for('static', filename='img/burger-white.png') }}" width=30 height=17 alt='Menu' />
<div id='menu-overlay'>
<img id='crossimg' src="{{ url_for('static', filename='img/cross.png') }}" width=17 height=17 alt='Close' />
</div>
<div id='header-menu'>
{% if user_groups %}
{% if 'hackers' in user_groups or 'csa' in user_groups or 'cloud' in user_groups %}
<a class='menulink' {% if page == 'engagement' %}id='current'{% endif %} href="{{ url_for('engagement') }}" >Engagement</a>
<a class='menulink' {% if page == 'hacking' %}id='current'{% endif %} href="{{ url_for('hacking', hid='main') }}" >Hacking</a>
<a class='menulink' {% if page == 'reporting' %}id='current'{% endif %} href="{{ url_for('reporting', iid='all') }}" >Reporting</a>
<a class='menulink' {% if page == 'library' %}id='current'{% endif %} href="{{ url_for('library') }}" >Library</a>
{% elif false %}
<a class='menulink' {% if page == 'stats' %}id='current'{% endif %} href="{{ url_for('stats') }}" >Stats</a>
{% elif false %}
<a class='menulink' {% if page == 'reports' %}id='current'{% endif %} href="{{ url_for('reports') }}" >Reports</a>
{% endif %}
<a class='menulink' id='usermenulink' href='#'>User menu</a>
{% endif %}
</div>
<div id='user-menu'>
<p id='greeting'>Hi {{ user }}!</p>
<img id='usermenuimg' src='{{url_for('static', filename='img/usermenu.png')}}'/>
<ul class='dropdown' style='display: none'>
{# TODO: add "main menu" link for escaping the user menu when overlayed #}
{% if has_stats %}
<li><a href="{{ url_for('stats')}}" >Stats</a></li>
{% endif %}
{% if isadmin %}
<li><a id='getupdates'>Check for updates</a></li>
<li><a href='{{ url_for('admin') }}'>Administration</a></li>
{% endif %}
<li><a href='{{ url_for('usersettings') }}'>User settings</a></li>
<li><a href="{{ url_for('logout') }}">Logout</a></li>
</ul>
</div>
</div>
{#
<div id='timeoutwarn'>
<h3>Inactivity timeout</h3>
<p>Your session will time out in <span id='timeleft'>60</span> seconds.</p>
<p>Press a key or click anywhere to remain logged in.</p>
</div>
#}
<div id='content'>
{#% if updates_pending %}
<div id='updates_pending'>
{% for update_type in updates_pending %}
<div class='updates'>Update {{ update_type }}</div>
{% endfor %}
</div>
{% endif %#}
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class='flash {{category}}'>{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
{% else %}
<div id='content'>
{% endif %}
{% block body %}{% endblock %}
</div> {# end content #}
{% if subtitle in need_header %}
<div id='footer' >
<p id='gethelp'>Contact support</p>
</div>
<div class='overlay'></div>
<div id='contact-popup' class='popup rounded'>
<a href='#' class='close-popup'>Cancel</a>
<h1 class='popup-title'>Contact support</h1>
<form method='POST' action='{{ url_for('contact') }}' enctype=multipart/form-data>
{#<p>Please use the form below or email <a href='mailto:support@haxhq.com'>support@haxhq.com</a></p>
<p style='margin-top: -15px;'>Thank you!</p>#}
<p>How can we help?</p>
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<textarea id='message' name='message'></textarea>
<div style='width: 90%; max-width: 420px; display: flex; flex-direction: row; justify-content: space-between;'>
<button id='getlogs' class='button blue_btn' style='width: 42%;'>Get logs</button>
{% if email_enabled %}
<input type='submit' class='button green_btn' value='Send' style='width: 42%;'/>
{% else %}
<a id='sendmail' href='mailto:support@haxhq.com?subject=Support%20Request' class='button green_btn'>Contact support</a>
{% endif %}
</div>
</form>
</div>
<div id='updates-popup' class='popup rounded'>
<a href='#' class='close-popup'>Close</a>
<h1 class='popup-title'>Check updates status</h1>
<p style='width: 90%; margin: -10px auto 20px; text-align: center;'>It is good practice to create a snapshot of your VM before upgrading Python or Debian packages.</p>
<div id='updates-content'></div>
<p id='updates-status'></p>
</div>
{% endif %}
</div> {# end page #}
</body>
</html>

View File

@ -0,0 +1,42 @@
{% extends 'layout.j2' %}
{% block body %}
<div id='library'>
<div id='issuelist'>
<form id='libsearch' class='libsearch' method='GET' action="{{ url_for('library') }}">
{% for field in searchform %}
{{ field }}
{% endfor %}
<input type="submit" value="Search" class='button green_btn'>
</form>
<div id='libresults'>
{% for entry in data %}
<p class='libtitle'>
{% if entry.exposure in ['internal', 'adreview'] %}
<span style='pointer-events: none' class='internal-small'>[{{ entry.exposure[0] }}]</span>
{% else %}
<span style='pointer-events: none' class='external-small'>[e]</span>
{% endif %}
&nbsp;<span style='pointer-events: none'>{{ entry.title }}</span></p>
{% endfor %}
</div>
</div>
<div id='libview'>
<h4 id='formtitle' style='margin-top: 10px;'> </h4>
<div id='altlib' class='altlib' style='float: right;'></div>
<form id='libeditor' class='clear' method='POST' action = "{{ url_for('library') }}">
<input type='hidden' id='title' name='title'>
{% include 'edit-issue-form.j2' %}
<div id='actions'>
<button type='submit' id='delLib' class='button red_btn hidden'>Delete</button>
{% if repiid %}
<input type='hidden' id='repiid' name='repiid' value='{{ repiid }}'>
<button type='submit' id='saveRepLib' class='button green_btn'>Save and load to report</button>
{% endif %}
<button type='submit' id='saveLib' class='button green_btn'>Save</button>
</div>
</form>
</div>
</div>
{% endblock %}

View File

@ -0,0 +1,40 @@
{% extends 'layout.j2' %}
{% block body %}
{% if login_logo_src %}
<img id='login_logo' src='{{ login_logo_src }}' width={{ login_logo_width }} height={{ login_logo_height }} >
{% else %}
<div class='logo'></div>
{% endif %}
<form id='loginform' class='loginform' method='POST' action='{{ url_for('login') }}'>
<h3>Sign in to HaxHQ</h3>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class='flash {{category}}'>{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
{% for field in form %}
{{ field }}
{% endfor %}
<a id='reset_link' href='{{ url_for('reset_pass') }}'>Password reset</a>
</form>
{% if demo %}
<div class='loginform'>
<h4 style='display: flex; width: 80%; margin: auto; justify-content: center; flex-wrap: wrap; gap: 0.5em;'>
<p class='flexrow'>Need an account?</p>
<a class='flexrow' href='https://haxhq.com/pentest-report-automation'>Sign up here.</a>
</h4>
<p style='width: 90%; text-align: center; font-size: 9pt; margin: 20px auto 0;'>This fully featured instance of HaxHQ is not intended for production use and comes with no guarantees.</p>
</div>
<div class='terms'>
<a href='https://haxhq.com/terms' target='_blank'>Terms</a>
<a href='https://haxhq.com/privacy' target='_blank'>Privacy</a>
<a href='https://haxhq.com/security' target='_blank'>Security</a>
<a href='https://Haxhq.com/#contact-slide' target='_blank'>Contact HaxHQ</a>
</div>
{% endif %}
{% endblock %}

View File

@ -0,0 +1,102 @@
{% extends 'layout.j2' %}
{% block body %}
{% if active_engagement %}
<h1>{{ active_engagement.org_name }}</h1>
<div id='reportmenu'>
<a id='hide_repmenu' href=''>Cancel</a>
{% if eng_type != 'audit' %}
<a class='linkmenu rounded' href='{{ url_for('add_issue') }}'>Add finding</a>
{% endif %}
{% if data %}
<a class='linkmenu rounded' id='generate_report' href=''>Generate report</a>
{% if eng_type != 'audit' %}
<a class='linkmenu rounded optblock' href='{{ url_for('autoupdate_issues') }}'>Import library data</a>
{% endif %}
<a class='linkmenu rounded optblock' href='{{ url_for('export_xlsx') }}'>Export xlsx</a>
<a class='linkmenu rounded optblock{% if rep_changed %} confirm'{% else %}'{% endif %} href='{{ url_for('summarise_findings', drop_existing=1) }}'>Drop and summarise again</a>
{% endif %}
<a id='reporting_burger' class='linkmenu rounded'>
<img id='repburgerimg' src="{{ url_for('static', filename='img/burger-white.png') }}" width=30 height=17 alt='Reporting menu' />
</a>
</div>
{% if summarised and eng_type != 'audit' %}
<div id='report_by'>
<p>Report will be generated by <span id='current_reportby'>hostname</span>.</p>
<a id='reportby_link' href=''>Report by <span id='reportby_changeto'>IP address</span></a>
</div>
{% endif %}
<div>
{% if data %}
{# issue listing #}
{% for exposure in data|sort %}
<h5>{{ exposure }}</h5>
<form id='merge_{{ exposure }}' method='POST' action='{{ url_for('merge_issues', iid='') }}'>
{{ form.csrf_token }}
<table class='reporting_table'>
<thead>
<tr>
<th class='rep-top-left'>severity</th>
<th>title</th>
<th class='text-center' style='width: max-content;'>
<img src='{{ url_for('static', filename='img/checkmark.png') }}' alt='ready' />
<p class='optinline'>ready</p>
</th>
{% if eng_type != 'audit' %}
<th class='text-center' style='width: max-content; max-width: 200px;'>
<img src='{{ url_for('static', filename='img/square.png') }}' alt='merge on'/>
<p class='optinline'>merge on</p>
</th>
<th class='rep-top-right text-center' style='width: max-content; max-width: 200px;'>
<img src='{{ url_for('static', filename='img/red_cross.png') }}' alt='merge' width='21px' height='20px' />
<p class='optinline'>merge</p>
</th>
{% endif %}
</tr>
</thead>
{% for severity in data[exposure]|sort|reverse %}
{% for issue in data[exposure][severity] %}
<tr class='hover rep_issue'>
<td>
{% if severity == 4 %}<p class='text-center Crit'>Critical</p>
{% elif severity == 3 %}<p class='text-center High'>High</p>
{% elif severity == 2 %}<p class='text-center Medium'>Medium</p>
{% elif severity == 1 %}<p class='text-center Low'>Low</p>
{% else %}<p class='text-center Info'>Info</p>
{% endif %}
</td>
<td style='width: max-content;'><a href='{{ url_for('reporting', iid=issue.id) }}'>{{ issue.title }}</a></td>
<td class='text-center'>
{% if issue.ready %}<img src='{{url_for('static', filename='img/check_ok.png')}}' class='check_ok'>
{% elif issue.autoupdated %}<img src='{{url_for('static', filename='img/check_auto_ok.png')}}' class='check_ok'>
{% endif %}
</td>
{% if eng_type != 'audit' %}
<td class="text-center"><input type='checkbox' class='merge_on' name='merge_on_{{ issue.id }}'></td>
<td class="text-center"><input type='checkbox' class='merge' name='{{ issue.id }}'></td>
{% endif %}
</tr>
{% endfor %}
{% endfor %}
{% if eng_type != 'audit' %}
<tr>
<td colspan=3></td>
<td colspan=2>
<input class="button green_btn merge_btn" type='submit' value='merge'>
</td>
</tr>
{% endif %}
</table>
</form>
{% endfor %}
{% else %}
<h3>Nothing to report on - please <a href='{{ url_for('hacking', hid='main') }}'>import scans</a> or add findings manually.</h3>
{% endif %}
</div>
{% else %}
<h1>No engagement to report on</h1>
<h3><a href='{{ url_for('engagement') }}'>Please define/activate an engagement</a></h3>
{% endif %}
{% endblock %}

View File

@ -0,0 +1,25 @@
{% extends 'layout.j2' %}
{% block body %}
<h1>Penetration testing engagements</h1>
<form id='mgr_report' class='flexedrow' method='POST' action='{{ url_for('reports') }}' enctype=multipart/form-data>
{% for field in form %}
{{ field }}
{% endfor %}
</form>
<table class='reporting_table'>
<tr>
{% for key in engagements[0] %}
<th>{% if key == 'report_done' %}report done{% else %}{{ key }}{% endif %}</th>
{% endfor %}
</tr>
{% for eng in engagements %}
<tr>
{% for key in eng %}
<td>{{ eng[key] }}</td>
{% endfor %}
</tr>
{% endfor %}
</table>
{% endblock %}

View File

@ -0,0 +1,29 @@
{% extends 'layout.j2' %}
{% block body %}
<div class='logo'></div>
<form id='loginform' class='form loginform' method='POST' action='{{ url_for('reset_pass') }}'>
<h3>Reset your password</h3>
{% if email_enabled %}
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class='flash {{category}}'>{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
{% for field in form %}
{{ field }}
{% endfor %}
{% else %}
<p style='width: 90%; margin: 0 auto 20px;'>This HaxHQ instance does not have an outbound SMTP server set. Passwords can only be reset from the CLI.</p>
{% endif %}
<a id='reset_link' href='{{ url_for('login') }}'>Back to login</a>
</form>
{% if demo %}
<div class='loginform'>
<h4>Need an account? <a href='https://haxhq.com/pentest-report-automation'>Sign up here.</a></h4>
</div>
{% endif %}
{% endblock %}

View File

@ -0,0 +1,28 @@
{% extends 'layout.j2' %}
{% block body %}
<h3 style='margin-top: 30px;'>Enable two-factor authentication (2FA)</h3>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class='flash {{category}}'>{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
<form class='mfa_form rounded' method='POST' action='{{ url_for('setup_mfa') }}'>
<h5>Set up your authenticator app</h5>
<p>Use an app to generate 2FA codes when prompted during authentication</p>
<h5>Scan the QR code</h5>
<p>Using the authenticator app scan the code below. If you cannot scan, you can manually enter this secret: {{ secret }}</p>
<img id='qr_code' width=180 height=180 src="{{ url_for('qrcode') }}"/>
<h5>Verify the code from your app</h5>
{% for field in form %}
{{ field }}
{% endfor %}
{% if subtitle in need_header %}
<a href='{{ url_for('usersettings') }}' style='float: right; margin: 20px 25px 0 0;'>Cancel</a>
{% endif %}
<p class='clear'></p>
</form>
{% endblock %}

View File

@ -0,0 +1,94 @@
{#
active_engagement: { org_name: '', eid: '', notes: '', target_urls: [], target_subnets: [] }
#}
{% extends 'layout.j2' %}
{% block body %}
<div id='home_view' class='view'>
{% if active_engagement %}
<h1>{{ active_engagement.org_name }}</h1>
<a href='{{ url_for('hacking', hid='main') }}'>All hosts</a>
{% if host %}
<h3> {% if host.ipv4 %}{{ host.ipv4 }}{% else %}{{ host.ipv6 }}{% endif %} </h3>
<p class='center' style='margin-top: -20px;'>
{% if host.os %}
<span>{{ host.os }}</span><br>
{% endif %}
{% if host.hostnames %}
{% for hostname in host.hostnames %}
<span>{{ hostname }}{% if not loop.last %}, {% endif %}</span>
{% endfor %}
{% endif %}
</p>
{% for s in host.vuln_services %}
<div class='labelled_box'>
<p class='svc_label'>
{{ s.protocol }}/{{ s.port }} ({% if s.webappurl %}{{ s.webappurl }}{% else %}{{ s.service }}{% endif %})
{% if s.embedded_server %} - embedded server{% endif %}
{% if s.software %} - {{ s.software }}
{% for sw in ['drupal', 'wordpress', 'python'] %}
{% if s[sw] %} - {{ s[sw] }}{% endif %}
{% endfor %}
{% if s.dotnet_handlers|length %} - .NET {% endif %}
{% else %}
{% for sw in ['drupal', 'wordpress', 'python'] %}
{% if s[sw] %}{{ s[sw] }}{% if not loop.last %}/{% endif %}{% endif %}
{% endfor %}
{% endif %}
</p>
<div class='svc_findings'>
{% for f in s.findings %}
<p class='{{ f.severity }} vuln_label'><span>{{ f.severity }}</span></p>
<a class='vuln_link' href='{{ url_for('reporting', iid=f.report_vuln_id) }}'>{{ f.title }}</a>
{% endfor %}
</div>
{% if s.errors|length %}
<p style='margin: 10px 0;'>Scanner errors:
{% for error in s.errors %}
{{ error }}
{% endfor %}
</p>
{% endif %}
{% for param in s %}
{% if param not in ['protocol', 'port', 'service', 'findings', 'errors', 'software', 'drupal', 'wordpress',
'python', 'embedded_server', 'webappurl'] %}
<p style='margin: 10px 0;'><span class='svc_data'>{{ param }}</span>: {{ s[param] }}</p>
{% endif %}
{% endfor %}
</div>
{% endfor %}
<div class='labelled_box'>
<p class='svc_label'>Services without detected issues at any severity</p>
{% for s in host.services %}
<p class='svc'>
{{ s.protocol }}/{{ s.port }} ({{ s.service }})
{% if s.embedded_server %} - embedded server{% endif %}
{% if s.software %} - {{ s.software }}
{% for sw in ['drupal', 'wordpress', 'python'] %}
{% if s[sw] %} - {{ s[sw] }}{% endif %}
{% endfor %}
{% if s.dotnet_handlers|length %} - .NET {% endif %}
{% else %}
{% for sw in ['drupal', 'wordpress', 'python'] %}
{% if s[sw] %}{{ s[sw] }}{% if not loop.last %}/{% endif %}{% endif %}
{% endfor %}
{% endif %}
{% if s.errors|length %}
<span>Scanner errors:
{% for error in s.errors %}
{{ error }}
{% endfor %}
</span>
{% endif %}
</p>
{% endfor %}
</div>
{% else %}
<h3>Host not found</h3>
{% endif %}
{% else %}
<h3><a href='{{ url_for('engagement') }}'>Please define/activate an engagement</a></h3>
{% endif %}
</div>
{% endblock %}

Some files were not shown because too many files have changed in this diff Show More