54 lines
1.8 KiB
JavaScript
54 lines
1.8 KiB
JavaScript
/**
|
|
* yunkong2.vis
|
|
* https://github.com/yunkong2/yunkong2.vis
|
|
*
|
|
* Copyright (c) 2013-2018 bluefox https://github.com/GermanBluefox, hobbyquaker https://github.com/hobbyquaker
|
|
* Creative Common Attribution-NonCommercial (CC BY-NC)
|
|
*
|
|
* http://creativecommons.org/licenses/by-nc/4.0/
|
|
*
|
|
* Short content:
|
|
* Licensees may copy, distribute, display and perform the work and make derivative works based on it only if they give the author or licensor the credits in the manner specified by these.
|
|
* Licensees may copy, distribute, display, and perform the work and make derivative works based on it only for noncommercial purposes.
|
|
* (Free for non-commercial use).
|
|
*/
|
|
/* jshint browser:true */
|
|
/* global _ */
|
|
/* global $ */
|
|
/* global systemDictionary */
|
|
/* global vis:true */
|
|
/* jshint -W097 */// jshint strict:false
|
|
|
|
'use strict';
|
|
|
|
$.extend(systemDictionary, {
|
|
'Edit' : {"en": 'Edit', "de": 'Editieren', "ru": 'Редактировать'},
|
|
"OFF": {"en": "OFF", "de": "AUS", "ru": "ВЫКЛ"},
|
|
"ON": {"en": "ON", "de": "AN", "ru": "ВКЛ"},
|
|
"Filter:": {"en": "Filter:", "de": "Filter:", "ru": "Фильтр:"}
|
|
});
|
|
vis.createDemoView = function () {
|
|
|
|
var obj =
|
|
{
|
|
"settings": {
|
|
"style": {
|
|
"background_class": "hq-background-blue-marine-lines"
|
|
},
|
|
"theme": "redmond",
|
|
"sizex": "1280",
|
|
"sizey": "720",
|
|
"hideDescription": false,
|
|
"gridSize": ""
|
|
},
|
|
"widgets": {
|
|
},
|
|
"rerender": false,
|
|
"filterList": [
|
|
_("light"),
|
|
_( "data")
|
|
],
|
|
"activeWidgets": []
|
|
};
|
|
return obj;
|
|
}; |