mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-21 01:28:53 +00:00
codepaint plugins js files
This commit is contained in:
parent
3e610ec5ba
commit
21f18a75bb
5 changed files with 319 additions and 379 deletions
|
@ -1,7 +1,7 @@
|
||||||
/*!
|
/*!
|
||||||
* blocklist.js
|
* blocklist.js
|
||||||
*
|
*
|
||||||
* Copyright (c) Omar Alvarez 2014 <omar.alvarez@udc.es>
|
* Copyright (C) Omar Alvarez 2014 <omar.alvarez@udc.es>
|
||||||
*
|
*
|
||||||
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||||
* the additional special exception to link portions of this program with the OpenSSL library.
|
* the additional special exception to link portions of this program with the OpenSSL library.
|
||||||
|
|
|
@ -1,36 +1,17 @@
|
||||||
/*
|
/*!
|
||||||
Script: execute.js
|
* execute.js
|
||||||
The client-side javascript code for the Execute plugin.
|
* The client-side javascript code for the Execute plugin.
|
||||||
|
*
|
||||||
Copyright:
|
* Copyright (C) Damien Churchill 2010 <damoxc@gmail.com>
|
||||||
(C) Damien Churchill 2009-2010 <damoxc@gmail.com>
|
*
|
||||||
This program is free software; you can redistribute it and/or modify
|
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||||
it under the terms of the GNU General Public License as published by
|
* the additional special exception to link portions of this program with the OpenSSL library.
|
||||||
the Free Software Foundation; either version 3, or (at your option)
|
* See LICENSE for more details.
|
||||||
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 the code of portions of this program with the OpenSSL
|
|
||||||
library.
|
|
||||||
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) with this
|
|
||||||
exception, 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. If you delete this exception
|
|
||||||
statement from all source files in the program, then also delete it here.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Ext.ns('Deluge.ux');
|
Ext.ns('Deluge.ux');
|
||||||
|
|
||||||
Deluge.ux.ExecuteWindowBase = Ext.extend(Ext.Window, {
|
Deluge.ux.ExecuteWindowBase = Ext.extend(Ext.Window, {
|
||||||
|
|
||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*!
|
/*!
|
||||||
* extractor.js
|
* extractor.js
|
||||||
*
|
*
|
||||||
* Copyright (c) Damien Churchill 2010 <damoxc@gmail.com>
|
* Copyright (C) Calum Lind 2014 <calumlind@gmail.com>
|
||||||
*
|
*
|
||||||
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||||
* the additional special exception to link portions of this program with the OpenSSL library.
|
* the additional special exception to link portions of this program with the OpenSSL library.
|
||||||
|
|
|
@ -1,34 +1,14 @@
|
||||||
/*!
|
/*!
|
||||||
* label.js
|
* label.js
|
||||||
*
|
*
|
||||||
* Copyright (c) Damien Churchill 2010 <damoxc@gmail.com>
|
* Copyright (C) Damien Churchill 2010 <damoxc@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||||
* it under the terms of the GNU General Public License as published by
|
* the additional special exception to link portions of this program with the OpenSSL library.
|
||||||
* the Free Software Foundation; either version 3, or (at your option)
|
* See LICENSE for more details.
|
||||||
* 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 the code of portions of this program with the OpenSSL
|
|
||||||
* library.
|
|
||||||
* 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) with this
|
|
||||||
* exception, 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. If you delete this exception
|
|
||||||
* statement from all source files in the program, then also delete it here.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Ext.ns('Deluge.ux');
|
Ext.ns('Deluge.ux');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,34 +1,13 @@
|
||||||
/*
|
/*!
|
||||||
Script: scheduler.js
|
* scheduler.js
|
||||||
The client-side javascript code for the Scheduler plugin.
|
* The client-side javascript code for the Scheduler plugin.
|
||||||
|
*
|
||||||
Copyright:
|
* Copyright (C) samuel337 2011
|
||||||
(C) samuel337 2011
|
*
|
||||||
This program is free software; you can redistribute it and/or modify
|
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||||
it under the terms of the GNU General Public License as published by
|
* the additional special exception to link portions of this program with the OpenSSL library.
|
||||||
the Free Software Foundation; either version 3, or (at your option)
|
* See LICENSE for more details.
|
||||||
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 the code of portions of this program with the OpenSSL
|
|
||||||
library.
|
|
||||||
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) with this
|
|
||||||
exception, 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. If you delete this exception
|
|
||||||
statement from all source files in the program, then also delete it here.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Ext.ns('Deluge.ux');
|
Ext.ns('Deluge.ux');
|
||||||
|
@ -260,8 +239,8 @@ Deluge.ux.ScheduleSelector = Ext.extend(Ext.form.FieldSet, {
|
||||||
pm = true;
|
pm = true;
|
||||||
if (hour > 12) hour -= 12;
|
if (hour > 12) hour -= 12;
|
||||||
}
|
}
|
||||||
// change 0 hour to 12am
|
|
||||||
else if (hour == 0) {
|
else if (hour == 0) {
|
||||||
|
// change 0 hour to 12am
|
||||||
hour = 12;
|
hour = 12;
|
||||||
}
|
}
|
||||||
this.showCellLeftTooltip(hour + ' ' + (pm ? 'pm' : 'am'), leftTooltipCell);
|
this.showCellLeftTooltip(hour + ' ' + (pm ? 'pm' : 'am'), leftTooltipCell);
|
||||||
|
@ -287,8 +266,8 @@ Deluge.ux.ScheduleSelector = Ext.extend(Ext.form.FieldSet, {
|
||||||
pm = true;
|
pm = true;
|
||||||
if (hour > 12) hour -= 12;
|
if (hour > 12) hour -= 12;
|
||||||
}
|
}
|
||||||
// change 0 hour to 12am
|
|
||||||
else if (hour == 0) {
|
else if (hour == 0) {
|
||||||
|
// change 0 hour to 12am
|
||||||
hour = 12;
|
hour = 12;
|
||||||
}
|
}
|
||||||
this.showCellRightTooltip(hour + ' ' + (pm ? 'pm' : 'am'), rightTooltipCell);
|
this.showCellRightTooltip(hour + ' ' + (pm ? 'pm' : 'am'), rightTooltipCell);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue