diff --git a/.gitIgnore b/.gitIgnore new file mode 100644 index 0000000..c795b05 --- /dev/null +++ b/.gitIgnore @@ -0,0 +1 @@ +build \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 5c875a4..4d77662 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -from raspbian/systemd:latest +FROM --platform=linux/arm raspbian/systemd:latest workdir /home/chronos RUN echo "deb http://legacy.raspbian.org/raspbian stretch main contrib non-free rpi" > /etc/apt/sources.list @@ -6,7 +6,7 @@ run apt-get update -y && apt-get install python2.7 python-pip cron sqlite3 nginx run useradd pi run mkdir -p /home/pi/chronos_db run CFLAGS="-I/usr/include/openssl" && LDFLAGS="-L/usr/lib/arm-linux-gnueabihf" && UWSGI_PROFILE_OVERRIDE=ssl=true && pip install -trusted-host pypi.org --trusted-host files.pythonhosted.or -I --no-binary=:all: --no-cache-dir uwsgi==2.0.20 -run pip install flask pyserial pymodbus APScheduler==3.6.3 +RUN pip install flask==1.1.4 flask-cors==3.0.10 pyserial pymodbus APScheduler==3.6.3 run pip install --upgrade setuptools run pip install sqlalchemy python-socketio==0.4.1 socketIO_client six==1.15.0 run pip install gevent @@ -14,16 +14,18 @@ run pip install python-engineio==3.11.2 python-socketio==4.4.0 run pip install gevent-websocket -# Try not to touch the above since installing gvenet takes too long -# Install python3 and run the virtual serial emulators run apt-get install python3 python3-pip socat -y + + copy . . copy chronos.sql /home/pi/chronos_db/ run python setup.py install run rm /etc/nginx/sites-enabled/default run ln -s /etc/nginx/sites-enabled/chronos_conf /etc/nginx/sites-enabled/default -#run /usr/local/bin/uwsgi --ini /etc/uwsgi/apps-enabled/socketio_server.ini --pidfile /var/run/uwsgi/uwsgi-socketio.pid --daemonize /var/log/uwsgi/uwsgi-socketio.log +RUN pip install uwsgi +run /usr/local/bin/uwsgi --ini /etc/uwsgi/apps-enabled/socketio_server.ini --pidfile /var/run/uwsgi/uwsgi-socketio.pid --daemonize /var/log/uwsgi/uwsgi-socketio.log run chmod +x entrypoint.sh entrypoint [ "./entrypoint.sh" ] + diff --git a/README.md b/README.md index 69a172e..61a0185 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,83 @@ Chronos is a boiling/cooling water system working on Raspberry Pi. Chronos has a web interface to control the system and tracking for the state. +![Alt text](http://i.imgur.com/8II1ydG.png "A screenshot of the Chronos web interface") +## Frontend and Backend Separation + +### Overview + +The Chronos project has been refactored to separate the frontend and backend components. The backend operates as a standalone service providing APIs, while the frontend is handled separately. + +### A screenshot of API response of Chronos +![Alt text](https://miro.medium.com/v2/resize:fit:720/format:webp/1*p5MTHzrfaLYycSmZFSdmoA.png "A screenshot of API response of Chronos") + +### API Endpoints + +The backend provides the following API endpoints: + +#### Base URL +- **Base URL**: `http://:90` + +#### Endpoints + +- **Get System Data**: + - **URL**: `/` + - **Method**: `GET` + - **Description**: Retrieves the current system data, including temperature settings and mode status. + - **Response**: JSON object containing system data. + +- **Get Rendered Season Templates**: + - **URL**: `/season_templates` + - **Method**: `GET` + - **Description**: Retrieves data for rendering season templates. + - **Response**: JSON object with system results, activity stream, and efficiency details. + +- **Download Log**: + - **URL**: `/download_log` + - **Method**: `GET` + - **Description**: Downloads the system log as a CSV file. + - **Response**: CSV file download. + +- **Update Settings**: + - **URL**: `/update_settings` + - **Method**: `POST` + - **Description**: Updates system settings based on provided form data. + - **Request Body**: Form data with settings to update. + - **Response**: JSON object with the updated form data. + +- **Switch Mode**: + - **URL**: `/switch_mode` + - **Method**: `POST` + - **Description**: Switches the system mode between winter and summer. + - **Request Body**: Form data with the new mode (`TO_WINTER` or `TO_SUMMER`). + - **Response**: JSON object with error status and mode switch lockout time. + +- **Update Device State**: + - **URL**: `/update_state` + - **Method**: `POST` + - **Description**: Updates the state of a specific device based on provided form data. + - **Request Body**: Form data with device number and manual override value. + - **Response**: Empty response. + +- **Winter Mode Data**: + - **URL**: `/winter` + - **Method**: `GET` + - **Description**: Retrieves data specific to the winter mode. + - **Response**: JSON object with system data. + +- **Summer Mode Data**: + - **URL**: `/summer` + - **Method**: `GET` + - **Description**: Retrieves data specific to the summer mode. + - **Response**: JSON object with system data. + +- **Chart Data**: + - **URL**: `/chart_data` + - **Method**: `GET` + - **Description**: Retrieves data for charts. + - **Response**: JSON object containing chart data. + + ![Alt text](http://i.imgur.com/8II1ydG.png "A screenshot of the Chronos web interface") ### Summary of set up ### diff --git a/chronos/chronos.py b/chronos/chronos.py index b636c94..2b30e41 100644 --- a/chronos/chronos.py +++ b/chronos/chronos.py @@ -60,14 +60,6 @@ def get_chronos_status(): @app.route("/season_templates") def get_rendered_season_templates(): data = get_data() - form = render_template("form.html", data=data) - stats = render_template("stats.html", data=data) - system_map = render_template("system_map.html", data=data) - data = { - "form": form, - "stats": stats, - "system_map": system_map - } return jsonify(data) @@ -104,16 +96,7 @@ def switch_mode(): @app.route("/") def index(): data = get_data() - mode = int(data["results"]["mode"]) - if mode == WINTER: - resp = render_template("winter.html", data=data) - elif mode == SUMMER: - resp = render_template("summer.html", data=data) - elif mode == TO_WINTER: - resp = render_template("to_winter.html", data=data) - elif mode == TO_SUMMER: - resp = render_template("to_summer.html", data=data) - return resp + return jsonify(data) @app.route("/update_state", methods=["POST"]) @@ -127,14 +110,14 @@ def update_state(): @app.route("/winter") def winter(): - data = get_data() - return render_template("winter.html", data=data) + data = get_data() + return jsonify(data) @app.route("/summer") def summer(): - data = get_data() - return render_template("summer.html", data=data) + data = get_data() # Get data from the get_data function + return jsonify(data) # Use jsonify to return JSON response @app.route("/chart_data") @@ -149,4 +132,4 @@ def chart_data(): if __name__ == "__main__": - app.run(host='0.0.0.0', port=5000, debug=True) + app.run(host='0.0.0.0', port=5000, debug=True) \ No newline at end of file diff --git a/chronos/static/css/main.css b/chronos/static/css/main.css deleted file mode 100644 index 298177f..0000000 --- a/chronos/static/css/main.css +++ /dev/null @@ -1,33 +0,0 @@ -.no-gutter > [class*="col-"] { - padding-right: 0; - padding-left: 0; - margin-right: 0; - margin-left: 0; -} -.form-horizontal .form-group-no-gutter { - margin: 0; -} -.dl-horizontal-text-left dt, -.form-horizontal-text-left .control-label { - text-align: left; -} -.boiler-caption { - position: absolute; - right: 20px; -} -.boiler-thumbnail { - position: relative; - box-shadow: none; - padding: 0; - border: none; -} -.row-margin { - margin-bottom: 50px; -} -.block-margin-top { - margin-top: 25px; -} - -body{ - background-color: #daba7f; -} diff --git a/chronos/static/images/Boiler-Cold.png b/chronos/static/images/Boiler-Cold.png deleted file mode 100644 index fb3a16e..0000000 Binary files a/chronos/static/images/Boiler-Cold.png and /dev/null differ diff --git a/chronos/static/images/Boiler-Hot.png b/chronos/static/images/Boiler-Hot.png deleted file mode 100644 index d23fa63..0000000 Binary files a/chronos/static/images/Boiler-Hot.png and /dev/null differ diff --git a/chronos/static/images/Icons/Boiler/Boiler-OFF.png b/chronos/static/images/Icons/Boiler/Boiler-OFF.png deleted file mode 100644 index 2c09e44..0000000 Binary files a/chronos/static/images/Icons/Boiler/Boiler-OFF.png and /dev/null differ diff --git a/chronos/static/images/Icons/Boiler/Boiler-ON.png b/chronos/static/images/Icons/Boiler/Boiler-ON.png deleted file mode 100644 index bfffed2..0000000 Binary files a/chronos/static/images/Icons/Boiler/Boiler-ON.png and /dev/null differ diff --git a/chronos/static/images/Icons/Boiler/Chiller-OFF.png b/chronos/static/images/Icons/Boiler/Chiller-OFF.png deleted file mode 100644 index d521b81..0000000 Binary files a/chronos/static/images/Icons/Boiler/Chiller-OFF.png and /dev/null differ diff --git a/chronos/static/images/Icons/Boiler/Chiller-ON.png b/chronos/static/images/Icons/Boiler/Chiller-ON.png deleted file mode 100644 index 2e20ff6..0000000 Binary files a/chronos/static/images/Icons/Boiler/Chiller-ON.png and /dev/null differ diff --git a/chronos/static/images/Icons/Boiler/arrow1.png b/chronos/static/images/Icons/Boiler/arrow1.png deleted file mode 100644 index 3e326f7..0000000 Binary files a/chronos/static/images/Icons/Boiler/arrow1.png and /dev/null differ diff --git a/chronos/static/images/Icons/Boiler/arrow2.png b/chronos/static/images/Icons/Boiler/arrow2.png deleted file mode 100644 index 711fde3..0000000 Binary files a/chronos/static/images/Icons/Boiler/arrow2.png and /dev/null differ diff --git a/chronos/static/images/Icons/Boiler/arrow3.png b/chronos/static/images/Icons/Boiler/arrow3.png deleted file mode 100644 index 0c702e0..0000000 Binary files a/chronos/static/images/Icons/Boiler/arrow3.png and /dev/null differ diff --git a/chronos/static/images/Icons/Boiler/arrow4.png b/chronos/static/images/Icons/Boiler/arrow4.png deleted file mode 100644 index 29b45b5..0000000 Binary files a/chronos/static/images/Icons/Boiler/arrow4.png and /dev/null differ diff --git a/chronos/static/images/Icons/DBWEB/DFDBF.png b/chronos/static/images/Icons/DBWEB/DFDBF.png deleted file mode 100644 index 1ca70e4..0000000 Binary files a/chronos/static/images/Icons/DBWEB/DFDBF.png and /dev/null differ diff --git a/chronos/static/images/Icons/DBWEB/DFDBO.png b/chronos/static/images/Icons/DBWEB/DFDBO.png deleted file mode 100644 index 5ba9c15..0000000 Binary files a/chronos/static/images/Icons/DBWEB/DFDBO.png and /dev/null differ diff --git a/chronos/static/images/Icons/DBWEB/DODBF.png b/chronos/static/images/Icons/DBWEB/DODBF.png deleted file mode 100644 index 59015ff..0000000 Binary files a/chronos/static/images/Icons/DBWEB/DODBF.png and /dev/null differ diff --git a/chronos/static/images/Icons/DBWEB/DODBO.png b/chronos/static/images/Icons/DBWEB/DODBO.png deleted file mode 100644 index b8d42e9..0000000 Binary files a/chronos/static/images/Icons/DBWEB/DODBO.png and /dev/null differ diff --git a/chronos/static/images/Icons/GPIO/GPIOF.png b/chronos/static/images/Icons/GPIO/GPIOF.png deleted file mode 100644 index 8601c08..0000000 Binary files a/chronos/static/images/Icons/GPIO/GPIOF.png and /dev/null differ diff --git a/chronos/static/images/Icons/GPIO/GPIOO.png b/chronos/static/images/Icons/GPIO/GPIOO.png deleted file mode 100644 index e664157..0000000 Binary files a/chronos/static/images/Icons/GPIO/GPIOO.png and /dev/null differ diff --git a/chronos/static/images/Icons/Logo.png b/chronos/static/images/Icons/Logo.png deleted file mode 100644 index adbe4ce..0000000 Binary files a/chronos/static/images/Icons/Logo.png and /dev/null differ diff --git a/chronos/static/images/Icons/MainImage/INlet/InletCold.png b/chronos/static/images/Icons/MainImage/INlet/InletCold.png deleted file mode 100644 index 93c64db..0000000 Binary files a/chronos/static/images/Icons/MainImage/INlet/InletCold.png and /dev/null differ diff --git a/chronos/static/images/Icons/MainImage/INlet/InletHot.png b/chronos/static/images/Icons/MainImage/INlet/InletHot.png deleted file mode 100644 index 36ef434..0000000 Binary files a/chronos/static/images/Icons/MainImage/INlet/InletHot.png and /dev/null differ diff --git a/chronos/static/images/Icons/MainImage/OCIC.png b/chronos/static/images/Icons/MainImage/OCIC.png deleted file mode 100644 index 40e7207..0000000 Binary files a/chronos/static/images/Icons/MainImage/OCIC.png and /dev/null differ diff --git a/chronos/static/images/Icons/MainImage/OCIH.png b/chronos/static/images/Icons/MainImage/OCIH.png deleted file mode 100644 index 9cc6b4b..0000000 Binary files a/chronos/static/images/Icons/MainImage/OCIH.png and /dev/null differ diff --git a/chronos/static/images/Icons/MainImage/OHIC.png b/chronos/static/images/Icons/MainImage/OHIC.png deleted file mode 100644 index 912994f..0000000 Binary files a/chronos/static/images/Icons/MainImage/OHIC.png and /dev/null differ diff --git a/chronos/static/images/Icons/MainImage/OHIH.png b/chronos/static/images/Icons/MainImage/OHIH.png deleted file mode 100644 index 575ae40..0000000 Binary files a/chronos/static/images/Icons/MainImage/OHIH.png and /dev/null differ diff --git a/chronos/static/images/Icons/MainImage/Outlet/OutletColdt.png b/chronos/static/images/Icons/MainImage/Outlet/OutletColdt.png deleted file mode 100644 index bd8f7e7..0000000 Binary files a/chronos/static/images/Icons/MainImage/Outlet/OutletColdt.png and /dev/null differ diff --git a/chronos/static/images/Icons/MainImage/Outlet/OutletHot.png b/chronos/static/images/Icons/MainImage/Outlet/OutletHot.png deleted file mode 100644 index 4922667..0000000 Binary files a/chronos/static/images/Icons/MainImage/Outlet/OutletHot.png and /dev/null differ diff --git a/chronos/static/images/Icons/Manual/Auto.png b/chronos/static/images/Icons/Manual/Auto.png deleted file mode 100644 index c2471c8..0000000 Binary files a/chronos/static/images/Icons/Manual/Auto.png and /dev/null differ diff --git a/chronos/static/images/Icons/Manual/OFF.png b/chronos/static/images/Icons/Manual/OFF.png deleted file mode 100644 index d68f923..0000000 Binary files a/chronos/static/images/Icons/Manual/OFF.png and /dev/null differ diff --git a/chronos/static/images/Icons/Manual/ON.png b/chronos/static/images/Icons/Manual/ON.png deleted file mode 100644 index 8ae4119..0000000 Binary files a/chronos/static/images/Icons/Manual/ON.png and /dev/null differ diff --git a/chronos/static/images/Icons/TINTOUT/TFTF.png b/chronos/static/images/Icons/TINTOUT/TFTF.png deleted file mode 100644 index defae07..0000000 Binary files a/chronos/static/images/Icons/TINTOUT/TFTF.png and /dev/null differ diff --git a/chronos/static/images/Icons/TINTOUT/TFTO.png b/chronos/static/images/Icons/TINTOUT/TFTO.png deleted file mode 100644 index 24ff15b..0000000 Binary files a/chronos/static/images/Icons/TINTOUT/TFTO.png and /dev/null differ diff --git a/chronos/static/images/Icons/TINTOUT/TOTF.png b/chronos/static/images/Icons/TINTOUT/TOTF.png deleted file mode 100644 index 8b8d688..0000000 Binary files a/chronos/static/images/Icons/TINTOUT/TOTF.png and /dev/null differ diff --git a/chronos/static/images/Icons/TINTOUT/TOTO.png b/chronos/static/images/Icons/TINTOUT/TOTO.png deleted file mode 100644 index a416609..0000000 Binary files a/chronos/static/images/Icons/TINTOUT/TOTO.png and /dev/null differ diff --git a/chronos/static/images/Icons/WinterSummer/SOff.png b/chronos/static/images/Icons/WinterSummer/SOff.png deleted file mode 100644 index ef97be1..0000000 Binary files a/chronos/static/images/Icons/WinterSummer/SOff.png and /dev/null differ diff --git a/chronos/static/images/Icons/WinterSummer/SOn.png b/chronos/static/images/Icons/WinterSummer/SOn.png deleted file mode 100644 index 481de88..0000000 Binary files a/chronos/static/images/Icons/WinterSummer/SOn.png and /dev/null differ diff --git a/chronos/static/images/Icons/WinterSummer/WOff.png b/chronos/static/images/Icons/WinterSummer/WOff.png deleted file mode 100644 index 70413e7..0000000 Binary files a/chronos/static/images/Icons/WinterSummer/WOff.png and /dev/null differ diff --git a/chronos/static/images/Icons/WinterSummer/WOn.png b/chronos/static/images/Icons/WinterSummer/WOn.png deleted file mode 100644 index 2438d39..0000000 Binary files a/chronos/static/images/Icons/WinterSummer/WOn.png and /dev/null differ diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/.gitignore b/chronos/static/images/Icons/bootstrap/bootstrap/.gitignore deleted file mode 100644 index 7461c36..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -.grunt -npm-debug.log -node_modules -bower_components -.DS_Store diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/CNAME b/chronos/static/images/Icons/bootstrap/bootstrap/CNAME deleted file mode 100644 index 5024ac6..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/CNAME +++ /dev/null @@ -1 +0,0 @@ -www.bootstrap-switch.org diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/CONTRIBUTING.md b/chronos/static/images/Icons/bootstrap/bootstrap/CONTRIBUTING.md deleted file mode 100644 index a345b13..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/CONTRIBUTING.md +++ /dev/null @@ -1,14 +0,0 @@ -Prerequisites: - -- Node and NPM -- Gulp - -Flow: - -- Checkout `develop` branch -- Run `npm install` to get or update the dependencies -- Run `gulp`. Gulp will run the default task and listen for further files changes -- Work on the Coffeescript or LESS sources. Gulp will automatically build for you -- Once completed, submit a Pull Requests. Be sure to target `develop` as destination branch - -Thank you. diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/LICENSE b/chronos/static/images/Icons/bootstrap/bootstrap/LICENSE deleted file mode 100644 index d9a10c0..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/README.md b/chronos/static/images/Icons/bootstrap/bootstrap/README.md deleted file mode 100644 index a03fe1b..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/README.md +++ /dev/null @@ -1,60 +0,0 @@ -# Bootstrap Switch -[![Dependency Status](https://david-dm.org/nostalgiaz/bootstrap-switch.svg?theme=shields.io)](https://david-dm.org/nostalgiaz/bootstrap-switch) -[![devDependency Status](https://david-dm.org/nostalgiaz/bootstrap-switch/dev-status.svg?theme=shields.io)](https://david-dm.org/nostalgiaz/bootstrap-switch#info=devDependencies) -[![NPM Version](http://img.shields.io/npm/v/bootstrap-switch.svg)](https://www.npmjs.org/) - -Turn checkboxes and radio buttons in toggle switches. - -## Demo and Documentation -http://www.bootstrap-switch.org - -## Usage - -Include the dependencies: jQuery, Bootstrap and Bootstrap Switch CSS + Javascript: - -``` html -[...] - - - - -[...] -``` - -Add your checkbox: - -```html - -``` - -Initialize Bootstrap Switch on it: - -```javascript -$("[name='my-checkbox']").bootstrapSwitch(); -``` - -Enjoy. - -## Less - -If you want to use your bootstrap variables, include `bootstrap-switch.less` in your compilation stack. You can even choose among Bootstrap versions 2.3.2 or 3.*.* compatible source. - -## AngularJs -Two custom directives are available: -- [angular-bootstrap-switch](https://github.com/frapontillo/angular-bootstrap-switch) -- [angular-toggle-switch](https://github.com/JumpLink/angular-toggle-switch) - -## KnockoutJs -A Knockout binding handler is available [here](https://github.com/pauloortins/knockout-bootstrap-switch) - -## NuGet -A NuGet package is available [here](https://github.com/blachniet/bootstrap-switch-nuget) - -## Supported browsers - -IE9+ and all the other modern browsers. - -## License - -Licensed under the Apache License, Version 2.0 -http://www.apache.org/licenses/LICENSE-2.0 diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/bower.json b/chronos/static/images/Icons/bootstrap/bootstrap/bower.json deleted file mode 100644 index aaf1eba..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/bower.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "bootstrap-switch", - "description": "Turn checkboxes and radio buttons in toggle switches.", - "version": "3.0.2", - "main": [ - "dist/js/bootstrap-switch.js", - "dist/css/bootstrap3/bootstrap-switch.css" - ], - "ignore": [ - "docs", - "test", - "CNAME", - "coffeelint.json", - "composer.json", - "CONTRIBUTING.md", - "gulpfile.coffee", - "gulpfile.js", - "index.html", - "package.json" - ], - "dependencies": { - "jquery": ">=1.9.0" - } -} diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/coffeelint.json b/chronos/static/images/Icons/bootstrap/bootstrap/coffeelint.json deleted file mode 100644 index 789bb8f..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/coffeelint.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "coffeescript_error": { - "level": "error" - }, - "arrow_spacing": { - "name": "arrow_spacing", - "level": "ignore" - }, - "no_tabs": { - "name": "no_tabs", - "level": "error" - }, - "no_trailing_whitespace": { - "name": "no_trailing_whitespace", - "level": "error", - "allowed_in_comments": false, - "allowed_in_empty_lines": false - }, - "max_line_length": { - "name": "max_line_length", - "value": 120, - "level": "error", - "limitComments": true - }, - "line_endings": { - "name": "line_endings", - "level": "warn", - "value": "unix" - }, - "no_trailing_semicolons": { - "name": "no_trailing_semicolons", - "level": "error" - }, - "indentation": { - "name": "indentation", - "value": 2, - "level": "error" - }, - "camel_case_classes": { - "name": "camel_case_classes", - "level": "error" - }, - "colon_assignment_spacing": { - "name": "colon_assignment_spacing", - "level": "ignore", - "spacing": { - "left": 0, - "right": 0 - } - }, - "no_implicit_braces": { - "name": "no_implicit_braces", - "level": "ignore", - "strict": true - }, - "no_plusplus": { - "name": "no_plusplus", - "level": "ignore" - }, - "no_throwing_strings": { - "name": "no_throwing_strings", - "level": "error" - }, - "no_backticks": { - "name": "no_backticks", - "level": "error" - }, - "no_implicit_parens": { - "name": "no_implicit_parens", - "strict": true, - "level": "ignore" - }, - "no_empty_param_list": { - "name": "no_empty_param_list", - "level": "error" - }, - "no_stand_alone_at": { - "name": "no_stand_alone_at", - "level": "ignore" - }, - "space_operators": { - "name": "space_operators", - "level": "ignore" - }, - "duplicate_key": { - "name": "duplicate_key", - "level": "error" - }, - "empty_constructor_needs_parens": { - "name": "empty_constructor_needs_parens", - "level": "ignore" - }, - "cyclomatic_complexity": { - "name": "cyclomatic_complexity", - "value": 10, - "level": "ignore" - }, - "newlines_after_classes": { - "name": "newlines_after_classes", - "value": 3, - "level": "error" - }, - "no_unnecessary_fat_arrows": { - "name": "no_unnecessary_fat_arrows", - "level": "error" - }, - "missing_fat_arrows": { - "name": "missing_fat_arrows", - "level": "ignore" - }, - "non_empty_constructor_needs_parens": { - "name": "non_empty_constructor_needs_parens", - "level": "ignore" - }, - "no_unnecessary_double_quotes": { - "name": "no_unnecessary_double_quotes", - "level": "ignore" - }, - "no_debugger": { - "name": "no_debugger", - "level": "warn" - }, - "no_interpolation_in_single_quotes": { - "name": "no_interpolation_in_single_quotes", - "level": "ignore" - } -} diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/composer.json b/chronos/static/images/Icons/bootstrap/bootstrap/composer.json deleted file mode 100644 index b3b9aee..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/composer.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "components/bootstrap-switch", - "description": "Turn checkboxes and radio buttons in toggle switches.", - "version": "3.0.2", - "type": "component", - "keywords": [ - "bootstrap", - "switch", - "javascript", - "js" - ], - "homepage": "http://www.bootstrap-switch.org", - "license": "Apache License Version 2.0", - "authors": [ - { - "name": "Mattia Larentis", - "homepage": "http://www.larentis.eu" - } - ], - "ignore": [ - "docs" - ], - "extra": { - "component": { - "name": "bootstrap-switch", - "files": [ - "dist/**" - ], - "scripts": [ - "dist/js/bootstrap-switch.js" - ], - "shim": { - "exports": "BootstrapSwitch" - } - } - } -} diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap2/bootstrap-switch.css b/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap2/bootstrap-switch.css deleted file mode 100644 index 8cd5fa4..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap2/bootstrap-switch.css +++ /dev/null @@ -1,501 +0,0 @@ -/* ======================================================================== - * bootstrap-switch - v3.0.2 - * http://www.bootstrap-switch.org - * ======================================================================== - * Copyright 2012-2013 Mattia Larentis - * - * ======================================================================== - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ======================================================================== - */ - -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.bootstrap-switch { - display: inline-block; - cursor: pointer; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px solid; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - position: relative; - text-align: left; - overflow: hidden; - line-height: 8px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -o-user-select: none; - user-select: none; - vertical-align: middle; - min-width: 100px; - -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - -moz-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} -.bootstrap-switch.bootstrap-switch-mini { - min-width: 71px; -} -.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label { - padding-bottom: 4px; - padding-top: 4px; - font-size: 10px; - line-height: 9px; -} -.bootstrap-switch.bootstrap-switch-small { - min-width: 79px; -} -.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label { - padding-bottom: 3px; - padding-top: 3px; - font-size: 12px; - line-height: 18px; -} -.bootstrap-switch.bootstrap-switch-large { - min-width: 120px; -} -.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label { - padding-bottom: 9px; - padding-top: 9px; - font-size: 16px; - line-height: normal; -} -.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container { - -webkit-transition: margin-left 0.5s; - -moz-transition: margin-left 0.5s; - -o-transition: margin-left 0.5s; - transition: margin-left 0.5s; -} -.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container { - margin-left: 0%; -} -.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container { - margin-left: -50%; -} -.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-container { - margin-left: -25%; -} -.bootstrap-switch.bootstrap-switch-disabled, -.bootstrap-switch.bootstrap-switch-readonly, -.bootstrap-switch.bootstrap-switch-indeterminate { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default !important; -} -.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label, -.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label, -.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label { - cursor: default !important; -} -.bootstrap-switch.bootstrap-switch-focused { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82, 168, 236, .6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82, 168, 236, .6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82, 168, 236, .6); -} -.bootstrap-switch .bootstrap-switch-container { - display: inline-block; - width: 150%; - top: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-transform: translate3d(0, 0, 0); - -moz-transform: translate3d(0, 0, 0); - -o-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} -.bootstrap-switch .bootstrap-switch-handle-on, -.bootstrap-switch .bootstrap-switch-handle-off, -.bootstrap-switch .bootstrap-switch-label { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - cursor: pointer; - display: inline-block !important; - height: 100%; - padding-bottom: 4px; - padding-top: 4px; - font-size: 14px; - line-height: 20px; -} -.bootstrap-switch .bootstrap-switch-handle-on, -.bootstrap-switch .bootstrap-switch-handle-off { - text-align: center; - z-index: 1; - width: 33.333333333%; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #005fcc; - background-image: -moz-linear-gradient(top, #0044cc, #0088cc); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0044cc), to(#0088cc)); - background-image: -webkit-linear-gradient(top, #0044cc, #0088cc); - background-image: -o-linear-gradient(top, #0044cc, #0088cc); - background-image: linear-gradient(to bottom, #0044cc, #0088cc); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0044cc', endColorstr='#ff0088cc', GradientType=0); - border-color: #0088cc #0088cc #005580; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #0088cc; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:hover, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:hover, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:focus, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:focus, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary.active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary.disabled, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary.disabled, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary[disabled], -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary[disabled] { - color: #ffffff; - background-color: #0088cc; - *background-color: #0077b3; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary.active { - background-color: #006699 \9; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #41a7c5; - background-image: -moz-linear-gradient(top, #2f96b4, #5bc0de); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2f96b4), to(#5bc0de)); - background-image: -webkit-linear-gradient(top, #2f96b4, #5bc0de); - background-image: -o-linear-gradient(top, #2f96b4, #5bc0de); - background-image: linear-gradient(to bottom, #2f96b4, #5bc0de); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2f96b4', endColorstr='#ff5bc0de', GradientType=0); - border-color: #5bc0de #5bc0de #28a1c5; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #5bc0de; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:hover, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:hover, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:focus, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:focus, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info.active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info.disabled, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info.disabled, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info[disabled], -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info[disabled] { - color: #ffffff; - background-color: #5bc0de; - *background-color: #46b8da; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info.active { - background-color: #31b0d5 \9; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #58b058; - background-image: -moz-linear-gradient(top, #51a351, #62c462); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#51a351), to(#62c462)); - background-image: -webkit-linear-gradient(top, #51a351, #62c462); - background-image: -o-linear-gradient(top, #51a351, #62c462); - background-image: linear-gradient(to bottom, #51a351, #62c462); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff51a351', endColorstr='#ff62c462', GradientType=0); - border-color: #62c462 #62c462 #3b9e3b; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #62c462; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:hover, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:hover, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:focus, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:focus, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success.active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success.disabled, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success.disabled, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success[disabled], -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success[disabled] { - color: #ffffff; - background-color: #62c462; - *background-color: #4fbd4f; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success.active { - background-color: #42b142 \9; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #f9a123; - background-image: -moz-linear-gradient(top, #f89406, #fbb450); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f89406), to(#fbb450)); - background-image: -webkit-linear-gradient(top, #f89406, #fbb450); - background-image: -o-linear-gradient(top, #f89406, #fbb450); - background-image: linear-gradient(to bottom, #f89406, #fbb450); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff89406', endColorstr='#fffbb450', GradientType=0); - border-color: #fbb450 #fbb450 #f89406; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #fbb450; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:hover, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:hover, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:focus, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:focus, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning.active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning.disabled, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning.disabled, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning[disabled], -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning[disabled] { - color: #ffffff; - background-color: #fbb450; - *background-color: #faa937; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning.active { - background-color: #fa9f1e \9; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #d14641; - background-image: -moz-linear-gradient(top, #bd362f, #ee5f5b); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#bd362f), to(#ee5f5b)); - background-image: -webkit-linear-gradient(top, #bd362f, #ee5f5b); - background-image: -o-linear-gradient(top, #bd362f, #ee5f5b); - background-image: linear-gradient(to bottom, #bd362f, #ee5f5b); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffbd362f', endColorstr='#ffee5f5b', GradientType=0); - border-color: #ee5f5b #ee5f5b #e51d18; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #ee5f5b; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:hover, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:hover, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:focus, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:focus, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.disabled, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.disabled, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger[disabled], -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger[disabled] { - color: #ffffff; - background-color: #ee5f5b; - *background-color: #ec4844; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.active { - background-color: #e9322d \9; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default { - color: #333333; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #f0f0f0; - background-image: -moz-linear-gradient(top, #e6e6e6, #ffffff); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e6e6e6), to(#ffffff)); - background-image: -webkit-linear-gradient(top, #e6e6e6, #ffffff); - background-image: -o-linear-gradient(top, #e6e6e6, #ffffff); - background-image: linear-gradient(to bottom, #e6e6e6, #ffffff); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe6e6e6', endColorstr='#ffffffff', GradientType=0); - border-color: #ffffff #ffffff #d9d9d9; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #ffffff; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:hover, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:hover, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:focus, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:focus, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.disabled, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.disabled, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default[disabled], -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default[disabled] { - color: #333333; - background-color: #ffffff; - *background-color: #f2f2f2; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:active, -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.active, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active { - background-color: #e6e6e6 \9; -} -.bootstrap-switch .bootstrap-switch-handle-on { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.bootstrap-switch .bootstrap-switch-handle-off { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.bootstrap-switch .bootstrap-switch-label { - text-align: center; - margin-top: -1px; - margin-bottom: -1px; - z-index: 100; - width: 33.333333333%; - border-left: 1px solid #cccccc; - border-right: 1px solid #cccccc; - color: #333333; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #f5f5f5; - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); - background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e6e6e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.bootstrap-switch .bootstrap-switch-label:hover, -.bootstrap-switch .bootstrap-switch-label:focus, -.bootstrap-switch .bootstrap-switch-label:active, -.bootstrap-switch .bootstrap-switch-label.active, -.bootstrap-switch .bootstrap-switch-label.disabled, -.bootstrap-switch .bootstrap-switch-label[disabled] { - color: #333333; - background-color: #e6e6e6; - *background-color: #d9d9d9; -} -.bootstrap-switch .bootstrap-switch-label:active, -.bootstrap-switch .bootstrap-switch-label.active { - background-color: #cccccc \9; -} -.bootstrap-switch input[type='radio'], -.bootstrap-switch input[type='checkbox'] { - position: absolute !important; - top: 0; - left: 0; - opacity: 0; - filter: alpha(opacity=0); - z-index: -1; -} -.bootstrap-switch input[type='radio'].form-control, -.bootstrap-switch input[type='checkbox'].form-control { - height: auto; -} diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap2/bootstrap-switch.min.css b/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap2/bootstrap-switch.min.css deleted file mode 100644 index 4f1cfef..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap2/bootstrap-switch.min.css +++ /dev/null @@ -1,22 +0,0 @@ -/* ======================================================================== - * bootstrap-switch - v3.0.2 - * http://www.bootstrap-switch.org - * ======================================================================== - * Copyright 2012-2013 Mattia Larentis - * - * ======================================================================== - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ======================================================================== - */ - -.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-switch{display:inline-block;cursor:pointer;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;border:1px solid;border-color:rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);position:relative;text-align:left;overflow:hidden;line-height:8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;vertical-align:middle;min-width:100px;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bootstrap-switch.bootstrap-switch-mini{min-width:71px}.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label{padding-bottom:4px;padding-top:4px;font-size:10px;line-height:9px}.bootstrap-switch.bootstrap-switch-small{min-width:79px}.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label{padding-bottom:3px;padding-top:3px;font-size:12px;line-height:18px}.bootstrap-switch.bootstrap-switch-large{min-width:120px}.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label{padding-bottom:9px;padding-top:9px;font-size:16px;line-height:normal}.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container{-webkit-transition:margin-left .5s;-moz-transition:margin-left .5s;-o-transition:margin-left .5s;transition:margin-left .5s}.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container{margin-left:0}.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container{margin-left:-50%}.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-container{margin-left:-25%}.bootstrap-switch.bootstrap-switch-disabled,.bootstrap-switch.bootstrap-switch-readonly,.bootstrap-switch.bootstrap-switch-indeterminate{opacity:.5;filter:alpha(opacity=50);cursor:default!important}.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label{cursor:default!important}.bootstrap-switch.bootstrap-switch-focused{border-color:rgba(82,168,236,.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}.bootstrap-switch .bootstrap-switch-container{display:inline-block;width:150%;top:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.bootstrap-switch .bootstrap-switch-handle-on,.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-label{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block!important;height:100%;padding-bottom:4px;padding-top:4px;font-size:14px;line-height:20px}.bootstrap-switch .bootstrap-switch-handle-on,.bootstrap-switch .bootstrap-switch-handle-off{text-align:center;z-index:1;width:33.33333333%}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#005fcc;background-image:-moz-linear-gradient(top,#04c,#08c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#04c),to(#08c));background-image:-webkit-linear-gradient(top,#04c,#08c);background-image:-o-linear-gradient(top,#04c,#08c);background-image:linear-gradient(to bottom,#04c,#08c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0044cc', endColorstr='#ff0088cc', GradientType=0);border-color:#08c #08c #005580;border-color:rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);*background-color:#08c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:hover,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:hover,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:focus,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:focus,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary.active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary.disabled,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary.disabled,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary[disabled],.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary[disabled]{color:#fff;background-color:#08c;*background-color:#0077b3}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary.active{background-color:#069 \9}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#41a7c5;background-image:-moz-linear-gradient(top,#2f96b4,#5bc0de);background-image:-webkit-gradient(linear,0 0,0 100%,from(#2f96b4),to(#5bc0de));background-image:-webkit-linear-gradient(top,#2f96b4,#5bc0de);background-image:-o-linear-gradient(top,#2f96b4,#5bc0de);background-image:linear-gradient(to bottom,#2f96b4,#5bc0de);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2f96b4', endColorstr='#ff5bc0de', GradientType=0);border-color:#5bc0de #5bc0de #28a1c5;border-color:rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);*background-color:#5bc0de;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:hover,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:hover,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:focus,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:focus,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info.active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info.disabled,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info.disabled,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info[disabled],.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info[disabled]{color:#fff;background-color:#5bc0de;*background-color:#46b8da}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info.active{background-color:#31b0d5 \9}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#58b058;background-image:-moz-linear-gradient(top,#51a351,#62c462);background-image:-webkit-gradient(linear,0 0,0 100%,from(#51a351),to(#62c462));background-image:-webkit-linear-gradient(top,#51a351,#62c462);background-image:-o-linear-gradient(top,#51a351,#62c462);background-image:linear-gradient(to bottom,#51a351,#62c462);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff51a351', endColorstr='#ff62c462', GradientType=0);border-color:#62c462 #62c462 #3b9e3b;border-color:rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);*background-color:#62c462;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:hover,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:hover,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:focus,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:focus,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success.active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success.disabled,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success.disabled,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success[disabled],.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success[disabled]{color:#fff;background-color:#62c462;*background-color:#4fbd4f}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success.active{background-color:#42b142 \9}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#f9a123;background-image:-moz-linear-gradient(top,#f89406,#fbb450);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f89406),to(#fbb450));background-image:-webkit-linear-gradient(top,#f89406,#fbb450);background-image:-o-linear-gradient(top,#f89406,#fbb450);background-image:linear-gradient(to bottom,#f89406,#fbb450);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff89406', endColorstr='#fffbb450', GradientType=0);border-color:#fbb450 #fbb450 #f89406;border-color:rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);*background-color:#fbb450;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:hover,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:hover,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:focus,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:focus,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning.active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning.disabled,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning.disabled,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning[disabled],.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning[disabled]{color:#fff;background-color:#fbb450;*background-color:#faa937}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning.active{background-color:#fa9f1e \9}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#d14641;background-image:-moz-linear-gradient(top,#bd362f,#ee5f5b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#bd362f),to(#ee5f5b));background-image:-webkit-linear-gradient(top,#bd362f,#ee5f5b);background-image:-o-linear-gradient(top,#bd362f,#ee5f5b);background-image:linear-gradient(to bottom,#bd362f,#ee5f5b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffbd362f', endColorstr='#ffee5f5b', GradientType=0);border-color:#ee5f5b #ee5f5b #e51d18;border-color:rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);*background-color:#ee5f5b;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:hover,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:hover,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:focus,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:focus,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.disabled,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.disabled,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger[disabled],.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger[disabled]{color:#fff;background-color:#ee5f5b;*background-color:#ec4844}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.active{background-color:#e9322d \9}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default{color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f0f0f0;background-image:-moz-linear-gradient(top,#e6e6e6,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e6e6e6),to(#fff));background-image:-webkit-linear-gradient(top,#e6e6e6,#fff);background-image:-o-linear-gradient(top,#e6e6e6,#fff);background-image:linear-gradient(to bottom,#e6e6e6,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe6e6e6', endColorstr='#ffffffff', GradientType=0);border-color:#fff #fff #d9d9d9;border-color:rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);*background-color:#fff;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:hover,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:hover,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:focus,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:focus,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.disabled,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.disabled,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default[disabled],.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default[disabled]{color:#333;background-color:#fff;*background-color:#f2f2f2}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:active,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.active,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active{background-color:#e6e6e6 \9}.bootstrap-switch .bootstrap-switch-handle-on{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.bootstrap-switch .bootstrap-switch-handle-off{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.bootstrap-switch .bootstrap-switch-label{text-align:center;margin-top:-1px;margin-bottom:-1px;z-index:100;width:33.33333333%;border-left:1px solid #ccc;border-right:1px solid #ccc;color:#333;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-switch .bootstrap-switch-label:hover,.bootstrap-switch .bootstrap-switch-label:focus,.bootstrap-switch .bootstrap-switch-label:active,.bootstrap-switch .bootstrap-switch-label.active,.bootstrap-switch .bootstrap-switch-label.disabled,.bootstrap-switch .bootstrap-switch-label[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.bootstrap-switch .bootstrap-switch-label:active,.bootstrap-switch .bootstrap-switch-label.active{background-color:#ccc \9}.bootstrap-switch input[type=radio],.bootstrap-switch input[type=checkbox]{position:absolute!important;top:0;left:0;opacity:0;filter:alpha(opacity=0);z-index:-1}.bootstrap-switch input[type=radio].form-control,.bootstrap-switch input[type=checkbox].form-control{height:auto} \ No newline at end of file diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap3/bootstrap-switch.css b/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap3/bootstrap-switch.css deleted file mode 100644 index 8e9b762..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap3/bootstrap-switch.css +++ /dev/null @@ -1,206 +0,0 @@ -/* ======================================================================== - * bootstrap-switch - v3.0.2 - * http://www.bootstrap-switch.org - * ======================================================================== - * Copyright 2012-2013 Mattia Larentis - * - * ======================================================================== - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ======================================================================== - */ - -.bootstrap-switch { - display: inline-block; - cursor: pointer; - border-radius: 4px; - border: 1px solid; - border-color: #cccccc; - position: relative; - text-align: left; - overflow: hidden; - line-height: 8px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - vertical-align: middle; - min-width: 100px; - -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} -.bootstrap-switch.bootstrap-switch-mini { - min-width: 71px; -} -.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label { - padding-bottom: 4px; - padding-top: 4px; - font-size: 10px; - line-height: 9px; -} -.bootstrap-switch.bootstrap-switch-small { - min-width: 79px; -} -.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label { - padding-bottom: 3px; - padding-top: 3px; - font-size: 12px; - line-height: 18px; -} -.bootstrap-switch.bootstrap-switch-large { - min-width: 120px; -} -.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label { - padding-bottom: 9px; - padding-top: 9px; - font-size: 16px; - line-height: normal; -} -.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container { - -webkit-transition: margin-left 0.5s; - transition: margin-left 0.5s; -} -.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container { - margin-left: 0%; -} -.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label { - border-bottom-right-radius: 3px; - border-top-right-radius: 3px; -} -.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container { - margin-left: -50%; -} -.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label { - border-bottom-left-radius: 3px; - border-top-left-radius: 3px; -} -.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-container { - margin-left: -25%; -} -.bootstrap-switch.bootstrap-switch-disabled, -.bootstrap-switch.bootstrap-switch-readonly, -.bootstrap-switch.bootstrap-switch-indeterminate { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default !important; -} -.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on, -.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off, -.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label, -.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label, -.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label { - cursor: default !important; -} -.bootstrap-switch.bootstrap-switch-focused { - border-color: #66afe9; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); -} -.bootstrap-switch .bootstrap-switch-container { - display: inline-block; - width: 150%; - top: 0; - border-radius: 4px; - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} -.bootstrap-switch .bootstrap-switch-handle-on, -.bootstrap-switch .bootstrap-switch-handle-off, -.bootstrap-switch .bootstrap-switch-label { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - cursor: pointer; - display: inline-block !important; - height: 100%; - padding-bottom: 4px; - padding-top: 4px; - font-size: 14px; - line-height: 20px; -} -.bootstrap-switch .bootstrap-switch-handle-on, -.bootstrap-switch .bootstrap-switch-handle-off { - text-align: center; - z-index: 1; - width: 33.333333333%; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary { - color: #fff; - background: #428bca; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info { - color: #fff; - background: #5bc0de; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success { - color: #fff; - background: #5cb85c; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning { - background: #f0ad4e; - color: #fff; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger { - color: #fff; - background: #d9534f; -} -.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default, -.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default { - color: #000; - background: #eeeeee; -} -.bootstrap-switch .bootstrap-switch-handle-on { - border-bottom-left-radius: 3px; - border-top-left-radius: 3px; -} -.bootstrap-switch .bootstrap-switch-handle-off { - border-bottom-right-radius: 3px; - border-top-right-radius: 3px; -} -.bootstrap-switch .bootstrap-switch-label { - text-align: center; - margin-top: -1px; - margin-bottom: -1px; - z-index: 100; - width: 33.333333333%; - color: #333333; - background: #ffffff; -} -.bootstrap-switch input[type='radio'], -.bootstrap-switch input[type='checkbox'] { - position: absolute !important; - top: 0; - left: 0; - opacity: 0; - filter: alpha(opacity=0); - z-index: -1; -} -.bootstrap-switch input[type='radio'].form-control, -.bootstrap-switch input[type='checkbox'].form-control { - height: auto; -} diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap3/bootstrap-switch.min.css b/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap3/bootstrap-switch.min.css deleted file mode 100644 index 1f5986d..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/dist/css/bootstrap3/bootstrap-switch.min.css +++ /dev/null @@ -1,22 +0,0 @@ -/* ======================================================================== - * bootstrap-switch - v3.0.2 - * http://www.bootstrap-switch.org - * ======================================================================== - * Copyright 2012-2013 Mattia Larentis - * - * ======================================================================== - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ======================================================================== - */ - -.bootstrap-switch{display:inline-block;cursor:pointer;border-radius:4px;border:1px solid;border-color:#ccc;position:relative;text-align:left;overflow:hidden;line-height:8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;min-width:100px;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bootstrap-switch.bootstrap-switch-mini{min-width:71px}.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label{padding-bottom:4px;padding-top:4px;font-size:10px;line-height:9px}.bootstrap-switch.bootstrap-switch-small{min-width:79px}.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label{padding-bottom:3px;padding-top:3px;font-size:12px;line-height:18px}.bootstrap-switch.bootstrap-switch-large{min-width:120px}.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label{padding-bottom:9px;padding-top:9px;font-size:16px;line-height:normal}.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container{-webkit-transition:margin-left .5s;transition:margin-left .5s}.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container{margin-left:0}.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container{margin-left:-50%}.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-container{margin-left:-25%}.bootstrap-switch.bootstrap-switch-disabled,.bootstrap-switch.bootstrap-switch-readonly,.bootstrap-switch.bootstrap-switch-indeterminate{opacity:.5;filter:alpha(opacity=50);cursor:default!important}.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label{cursor:default!important}.bootstrap-switch.bootstrap-switch-focused{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.bootstrap-switch .bootstrap-switch-container{display:inline-block;width:150%;top:0;border-radius:4px;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.bootstrap-switch .bootstrap-switch-handle-on,.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-label{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block!important;height:100%;padding-bottom:4px;padding-top:4px;font-size:14px;line-height:20px}.bootstrap-switch .bootstrap-switch-handle-on,.bootstrap-switch .bootstrap-switch-handle-off{text-align:center;z-index:1;width:33.33333333%}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary{color:#fff;background:#428bca}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info{color:#fff;background:#5bc0de}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success{color:#fff;background:#5cb85c}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning{background:#f0ad4e;color:#fff}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger{color:#fff;background:#d9534f}.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default{color:#000;background:#eee}.bootstrap-switch .bootstrap-switch-handle-on{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-switch .bootstrap-switch-handle-off{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch .bootstrap-switch-label{text-align:center;margin-top:-1px;margin-bottom:-1px;z-index:100;width:33.33333333%;color:#333;background:#fff}.bootstrap-switch input[type=radio],.bootstrap-switch input[type=checkbox]{position:absolute!important;top:0;left:0;opacity:0;filter:alpha(opacity=0);z-index:-1}.bootstrap-switch input[type=radio].form-control,.bootstrap-switch input[type=checkbox].form-control{height:auto} \ No newline at end of file diff --git a/chronos/static/images/Icons/bootstrap/bootstrap/dist/js/bootstrap-switch.js b/chronos/static/images/Icons/bootstrap/bootstrap/dist/js/bootstrap-switch.js deleted file mode 100644 index 778a25b..0000000 --- a/chronos/static/images/Icons/bootstrap/bootstrap/dist/js/bootstrap-switch.js +++ /dev/null @@ -1,532 +0,0 @@ -/* ======================================================================== - * bootstrap-switch - v3.0.2 - * http://www.bootstrap-switch.org - * ======================================================================== - * Copyright 2012-2013 Mattia Larentis - * - * ======================================================================== - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ======================================================================== - */ - -(function() { - var __slice = [].slice; - - (function($, window) { - "use strict"; - var BootstrapSwitch; - BootstrapSwitch = (function() { - function BootstrapSwitch(element, options) { - if (options == null) { - options = {}; - } - this.$element = $(element); - this.options = $.extend({}, $.fn.bootstrapSwitch.defaults, { - state: this.$element.is(":checked"), - size: this.$element.data("size"), - animate: this.$element.data("animate"), - disabled: this.$element.is(":disabled"), - readonly: this.$element.is("[readonly]"), - indeterminate: this.$element.data("indeterminate"), - onColor: this.$element.data("on-color"), - offColor: this.$element.data("off-color"), - onText: this.$element.data("on-text"), - offText: this.$element.data("off-text"), - labelText: this.$element.data("label-text"), - baseClass: this.$element.data("base-class"), - wrapperClass: this.$element.data("wrapper-class"), - radioAllOff: this.$element.data("radio-all-off") - }, options); - this.$wrapper = $("
", { - "class": (function(_this) { - return function() { - var classes; - classes = ["" + _this.options.baseClass].concat(_this._getClasses(_this.options.wrapperClass)); - classes.push(_this.options.state ? "" + _this.options.baseClass + "-on" : "" + _this.options.baseClass + "-off"); - if (_this.options.size != null) { - classes.push("" + _this.options.baseClass + "-" + _this.options.size); - } - if (_this.options.animate) { - classes.push("" + _this.options.baseClass + "-animate"); - } - if (_this.options.disabled) { - classes.push("" + _this.options.baseClass + "-disabled"); - } - if (_this.options.readonly) { - classes.push("" + _this.options.baseClass + "-readonly"); - } - if (_this.options.indeterminate) { - classes.push("" + _this.options.baseClass + "-indeterminate"); - } - if (_this.$element.attr("id")) { - classes.push("" + _this.options.baseClass + "-id-" + (_this.$element.attr("id"))); - } - return classes.join(" "); - }; - })(this)() - }); - this.$container = $("
", { - "class": "" + this.options.baseClass + "-container" - }); - this.$on = $("", { - html: this.options.onText, - "class": "" + this.options.baseClass + "-handle-on " + this.options.baseClass + "-" + this.options.onColor - }); - this.$off = $("", { - html: this.options.offText, - "class": "" + this.options.baseClass + "-handle-off " + this.options.baseClass + "-" + this.options.offColor - }); - this.$label = $("