2015-05-02 04:02:55 +08:00
|
|
|
//
|
|
|
|
// ZoneMinder base static javascript file, $Date$, $Revision$
|
|
|
|
// Copyright (C) 2001-2008 Philip Coombes
|
|
|
|
//
|
|
|
|
// 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
|
2016-12-26 23:23:16 +08:00
|
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2015-05-02 04:02:55 +08:00
|
|
|
//
|
|
|
|
|
|
|
|
//
|
|
|
|
// This file should only contain static JavaScript and no php.
|
|
|
|
// Use skin.js.php for JavaScript that need pre-processing
|
|
|
|
//
|
|
|
|
|
|
|
|
// Javascript window sizes
|
|
|
|
var popupSizes = {
|
2017-10-12 23:54:29 +08:00
|
|
|
'bandwidth': { 'width': 300, 'height': 220 },
|
2015-05-02 04:02:55 +08:00
|
|
|
'console': { 'width': 750, 'height': 312 },
|
|
|
|
'control': { 'width': 380, 'height': 480 },
|
|
|
|
'controlcaps': { 'width': 780, 'height': 320 },
|
|
|
|
'controlcap': { 'width': 400, 'height': 400 },
|
|
|
|
'cycle': { 'addWidth': 32, 'minWidth': 384, 'addHeight': 62 },
|
|
|
|
'device': { 'width': 260, 'height': 150 },
|
|
|
|
'devices': { 'width': 400, 'height': 240 },
|
|
|
|
'donate': { 'width': 500, 'height': 280 },
|
2017-03-18 15:00:51 +08:00
|
|
|
'event': { 'addWidth': 108, 'minWidth': 496, 'addHeight': 230, 'minHeight': 540 },
|
2017-06-06 07:52:32 +08:00
|
|
|
'eventdetail': { 'width': 600, 'height': 420 },
|
2017-10-17 03:19:22 +08:00
|
|
|
'events': { 'width': 1020, 'height': 780 },
|
2015-05-02 04:02:55 +08:00
|
|
|
'export': { 'width': 400, 'height': 340 },
|
2017-06-19 22:18:44 +08:00
|
|
|
'filter': { 'width': 820, 'height': 700 },
|
2017-07-06 22:48:52 +08:00
|
|
|
'frame': { 'addWidth': 32, 'minWidth': 384, 'addHeight': 200 },
|
|
|
|
'frames': { 'width': 600, 'height': 700 },
|
2017-10-17 03:16:54 +08:00
|
|
|
'function': { 'width': 400, 'height': 250 },
|
2017-10-25 07:09:12 +08:00
|
|
|
'group': { 'width': 660, 'height': 520 },
|
2015-05-02 04:02:55 +08:00
|
|
|
'groups': { 'width': 440, 'height': 220 },
|
|
|
|
'image': { 'addWidth': 48, 'addHeight': 80 },
|
|
|
|
'log': { 'width': 1080, 'height': 720 },
|
|
|
|
'login': { 'width': 720, 'height': 480 },
|
2016-07-23 04:04:18 +08:00
|
|
|
'logout': { 'width': 260, 'height': 150 },
|
2017-11-17 09:39:48 +08:00
|
|
|
'monitor': { 'width': 700, 'height': 720 },
|
2015-05-02 04:02:55 +08:00
|
|
|
'monitorpreset':{ 'width': 440, 'height': 200 },
|
|
|
|
'monitorprobe': { 'width': 500, 'height': 240 },
|
|
|
|
'monitorselect':{ 'width': 160, 'height': 200 },
|
2017-10-24 08:02:21 +08:00
|
|
|
'monitors': { 'width': 300, 'height': 640 },
|
2015-05-02 04:02:55 +08:00
|
|
|
'montage': { 'width': -1, 'height': -1 },
|
2016-08-10 01:09:47 +08:00
|
|
|
'onvifprobe': { 'width': 700, 'height': 550 },
|
2015-05-02 04:02:55 +08:00
|
|
|
'optionhelp': { 'width': 400, 'height': 320 },
|
|
|
|
'options': { 'width': 1000, 'height': 660 },
|
|
|
|
'preset': { 'width': 300, 'height': 120 },
|
|
|
|
'settings': { 'width': 220, 'height': 225 },
|
|
|
|
'state': { 'width': 370, 'height': 134 },
|
|
|
|
'stats': { 'width': 840, 'height': 200 },
|
|
|
|
'timeline': { 'width': 760, 'height': 540 },
|
|
|
|
'user': { 'width': 360, 'height': 420 },
|
|
|
|
'version': { 'width': 360, 'height': 140 },
|
|
|
|
'video': { 'width': 420, 'height': 360 },
|
|
|
|
'videoview': { 'addWidth': 48, 'addHeight': 80 },
|
|
|
|
'watch': { 'addWidth': 96, 'minWidth': 420, 'addHeight': 384 },
|
|
|
|
'zone': { 'addWidth': 450, 'addHeight': 200, 'minHeight': 450 },
|
|
|
|
'zones': { 'addWidth': 72, 'addHeight': 232 }
|
|
|
|
};
|