Browse Source

Rename parametrics.js to speedslider.js

adaptive-webui-19844
Thomas Piccirello 6 years ago
parent
commit
dbaebf4f33
  1. 2
      src/webui/www/private/downloadlimit.html
  2. 39
      src/webui/www/private/scripts/speedslider.js
  3. 2
      src/webui/www/private/uploadlimit.html
  4. 2
      src/webui/www/webui.qrc

2
src/webui/www/private/downloadlimit.html

@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
<script src="scripts/lib/mootools-1.2-core-yc.js"></script>
<script src="scripts/lib/mootools-1.2-more.js"></script>
<script src="scripts/lib/mocha-0.9.6-yc.js"></script>
<script src="scripts/parametrics.js?v=${VERSION}"></script>
<script src="scripts/speedslider.js?v=${VERSION}"></script>
</head>
<body>

39
src/webui/www/private/scripts/parametrics.js → src/webui/www/private/scripts/speedslider.js

@ -1,18 +1,33 @@ @@ -1,18 +1,33 @@
/*
* Bittorrent Client using Qt and libtorrent.
* Copyright (C) 2019 Thomas Piccirello <thomas.piccirello@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* In addition, as a special exception, the copyright holders give permission to
* link this program with the OpenSSL project's "OpenSSL" library (or with
* modified versions of it that use the same license as the "OpenSSL" library),
* and distribute the linked executables. You must obey the GNU General Public
* License in all respects for all of the code used other than "OpenSSL". If you
* modify file(s), you may extend this exception to your version of the file(s),
* but you are not obligated to do so. If you do not wish to do so, delete this
* exception statement from your version.
*/
Script: Parametrics.js
Initializes the GUI property sliders.
Copyright:
Copyright (c) 2007-2008 Greg Houston, <http://greghoustondesign.com/>.
License:
MIT-style license.
Requires:
Core.js, Window.js
'use strict';
*/
MochaUI.extend({
addUpLimitSlider: function(hashes) {
if ($('uplimitSliderarea')) {

2
src/webui/www/private/uploadlimit.html

@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
<script src="scripts/lib/mootools-1.2-core-yc.js"></script>
<script src="scripts/lib/mootools-1.2-more.js"></script>
<script src="scripts/lib/mocha-0.9.6-yc.js"></script>
<script src="scripts/parametrics.js?v=${VERSION}"></script>
<script src="scripts/speedslider.js?v=${VERSION}"></script>
</head>
<body>

2
src/webui/www/webui.qrc

@ -33,12 +33,12 @@ @@ -33,12 +33,12 @@
<file>private/scripts/lib/mootools-1.2-more.js</file>
<file>private/scripts/misc.js</file>
<file>private/scripts/mocha-init.js</file>
<file>private/scripts/parametrics.js</file>
<file>private/scripts/progressbar.js</file>
<file>private/scripts/prop-files.js</file>
<file>private/scripts/prop-general.js</file>
<file>private/scripts/prop-trackers.js</file>
<file>private/scripts/prop-webseeds.js</file>
<file>private/scripts/speedslider.js</file>
<file>private/setlocation.html</file>
<file>private/shareratio.html</file>
<file>private/statistics.html</file>

Loading…
Cancel
Save