[SSE mobile] removed depricated version
|
@ -1,48 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.application({
|
||||
name: 'SSE',
|
||||
|
||||
icon: 'resources/img/icon.png',
|
||||
tabletStartupScreen: 'resources/img/tablet_startup.png',
|
||||
phoneStartupScreen: 'resources/img/phone_startup.png',
|
||||
|
||||
viewport: {
|
||||
autoMaximize: false // TODO: set as TRUE if standalone version
|
||||
},
|
||||
|
||||
profiles: [
|
||||
'Tablet',
|
||||
'Phone'
|
||||
]
|
||||
});
|
|
@ -1,71 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.controller.ApiEvents', {
|
||||
mixins: {
|
||||
observable: "Ext.mixin.Observable"
|
||||
},
|
||||
|
||||
view : undefined,
|
||||
widget : undefined,
|
||||
element : undefined,
|
||||
handlers : undefined,
|
||||
settings : undefined,
|
||||
enableKeyEvents : false,
|
||||
isSelectMode : false,
|
||||
hasCursor : false,
|
||||
|
||||
constructor: function(config){
|
||||
this.initConfig(config);
|
||||
this.callParent(arguments);
|
||||
return this;
|
||||
},
|
||||
|
||||
init: function (view, widgetElem, canvasElem, handlers, settings) {
|
||||
this.view = view;
|
||||
this.widget = widgetElem;
|
||||
this.element = canvasElem;
|
||||
this.handlers = new window.Asc.asc_CHandlersList(handlers);
|
||||
this.settings = $.extend(true, {}, this.defaults, settings);
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
destroy: function () {
|
||||
$(window).off("." + this.namespace);
|
||||
return this;
|
||||
},
|
||||
|
||||
enableKeyEventsHandler: function (f) {
|
||||
this.enableKeyEvents = !!f;
|
||||
}
|
||||
});
|
|
@ -1,119 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.controller.Document', {
|
||||
extend: 'Ext.app.Controller',
|
||||
|
||||
config: {
|
||||
refs: {
|
||||
},
|
||||
|
||||
control: {
|
||||
'#id-btn-zoom-in': {
|
||||
tap: 'onZoomIn'
|
||||
},
|
||||
'#id-btn-zoom-out': {
|
||||
tap: 'onZoomOut'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
_currZoom : 1,
|
||||
_baseZoom : 1,
|
||||
_maxZoom : 2,
|
||||
_incrementZoom : 0.05,
|
||||
|
||||
init: function() {
|
||||
|
||||
},
|
||||
|
||||
launch: function() {
|
||||
|
||||
},
|
||||
|
||||
setApi: function(o) {
|
||||
this.api = o;
|
||||
|
||||
if (this.api) {
|
||||
this.api.asc_registerCallback('asc_onDoubleTapEvent', Ext.bind(this._onDoubleTapDocument, this));
|
||||
this.api.asc_registerCallback('asc_onStartAction', Ext.bind(this._onLongActionBegin, this));
|
||||
this.api.asc_registerCallback('asc_onEndAction', Ext.bind(this._onLongActionEnd, this));
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
_onLongActionBegin: function(type, id) {
|
||||
// console.log("onStartAction " + arguments[0] + " " + arguments[1]);
|
||||
},
|
||||
|
||||
_onLongActionEnd: function(type, id) {
|
||||
if (type === Asc.c_oAscAsyncActionType['BlockInteraction']) {
|
||||
switch (id) {
|
||||
case Asc.c_oAscAsyncAction['Open']:
|
||||
var i = this.api.asc_getActiveWorksheetIndex();
|
||||
this.api.asc_showWorksheet(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
_onDoubleTapDocument: function(){
|
||||
if (this.api){
|
||||
if (this._currZoom != this._baseZoom){
|
||||
this._currZoom = this._baseZoom;
|
||||
} else {
|
||||
this._currZoom = this._maxZoom;
|
||||
}
|
||||
|
||||
this.api.asc_setZoom(this._currZoom);
|
||||
}
|
||||
},
|
||||
|
||||
onZoomIn: function(event, node, opt){
|
||||
this._currZoom += this._incrementZoom;
|
||||
|
||||
if (this._currZoom > this._maxZoom)
|
||||
this._currZoom = this._maxZoom;
|
||||
|
||||
this.api.asc_setZoom(this._currZoom);
|
||||
},
|
||||
|
||||
onZoomOut: function(event, node, opt){
|
||||
this._currZoom -= this._incrementZoom;
|
||||
|
||||
if (this._currZoom < this._baseZoom)
|
||||
this._currZoom = this._baseZoom;
|
||||
|
||||
this.api.asc_setZoom(this._currZoom);
|
||||
}
|
||||
|
||||
});
|
|
@ -1,126 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.controller.Search', {
|
||||
extend: 'Ext.app.Controller',
|
||||
|
||||
config: {
|
||||
refs: {
|
||||
nextResult : '#id-btn-search-prev',
|
||||
previousResult : '#id-btn-search-next',
|
||||
searchField : '#id-field-search'
|
||||
},
|
||||
|
||||
control: {
|
||||
'#id-btn-search-prev': {
|
||||
tap: 'onPreviousResult'
|
||||
},
|
||||
'#id-btn-search-next': {
|
||||
tap: 'onNextResult'
|
||||
},
|
||||
'#id-field-search': {
|
||||
keyup: 'onSearchKeyUp',
|
||||
change: 'onSearchChange',
|
||||
clearicontap: 'onSearchClear'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
_step: -1,
|
||||
|
||||
init: function() {
|
||||
},
|
||||
|
||||
setApi: function(o) {
|
||||
this.api = o;
|
||||
this.findOptions = new Asc.asc_CFindOptions();
|
||||
this.findOptions.asc_setScanForward(true);
|
||||
this.findOptions.asc_setIsMatchCase(false);
|
||||
this.findOptions.asc_setIsWholeCell(false);
|
||||
this.findOptions.asc_setScanOnOnlySheet(true);
|
||||
this.findOptions.asc_setScanByRows(true);
|
||||
this.findOptions.asc_setLookIn(Asc.c_oAscFindLookIn.Formulas);
|
||||
},
|
||||
|
||||
onNextResult: function(){
|
||||
var searchField = this.getSearchField();
|
||||
if (this.api && searchField){
|
||||
this.findOptions.asc_setFindWhat(searchField.getValue());
|
||||
this.findOptions.asc_setScanForward(true);
|
||||
this.api.asc_findText(this.findOptions);
|
||||
}
|
||||
},
|
||||
|
||||
onPreviousResult: function(){
|
||||
var searchField = this.getSearchField();
|
||||
if (this.api && searchField){
|
||||
this.findOptions.asc_setFindWhat(searchField.getValue());
|
||||
this.findOptions.asc_setScanForward(false);
|
||||
this.api.asc_findText(this.findOptions);
|
||||
}
|
||||
},
|
||||
|
||||
onSearchKeyUp: function(field, e){
|
||||
var keyCode = e.event.keyCode,
|
||||
searchField = this.getSearchField();
|
||||
|
||||
if (keyCode == 13 && this.api) {
|
||||
this.findOptions.asc_setFindWhat(searchField.getValue());
|
||||
this.findOptions.asc_setScanForward(true);
|
||||
this.api.asc_findText(this.findOptions);
|
||||
}
|
||||
this.updateNavigation();
|
||||
},
|
||||
|
||||
onSearchChange: function(field, newValue, oldValue){
|
||||
this.updateNavigation();
|
||||
},
|
||||
|
||||
onSearchClear: function(field, e){
|
||||
this.updateNavigation();
|
||||
|
||||
// workaround blur problem in iframe (bug #12685)
|
||||
window.focus();
|
||||
document.activeElement.blur();
|
||||
},
|
||||
|
||||
updateNavigation: function(){
|
||||
var searchField = this.getSearchField(),
|
||||
nextResult = this.getNextResult(),
|
||||
previousResult = this.getPreviousResult();
|
||||
|
||||
if (searchField && nextResult && previousResult){
|
||||
nextResult.setDisabled(searchField.getValue() == '');
|
||||
previousResult.setDisabled(searchField.getValue() == '');
|
||||
}
|
||||
}
|
||||
});
|
|
@ -1,107 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.controller.WorksheetList', {
|
||||
extend: 'Ext.app.Controller',
|
||||
|
||||
config: {
|
||||
refs: {
|
||||
worksheetList: {
|
||||
selector: 'seworksheetlist list'
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
init: function() {
|
||||
this.control({
|
||||
'seworksheetlist list': {
|
||||
itemtap: this._worksheetSelect
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
setApi: function(o) {
|
||||
this.api = o;
|
||||
|
||||
if (this.api){
|
||||
this.api.asc_registerCallback('asc_onEndAction', Ext.bind(this.onLongActionEnd, this));
|
||||
}
|
||||
},
|
||||
|
||||
_worksheetSelect: function(dataview, index, target, record, event, eOpts){
|
||||
if (this.api){
|
||||
var dataIndex = record.data.index;
|
||||
if ((dataIndex > -1) && (this.api.asc_getActiveWorksheetIndex() != dataIndex))
|
||||
this.api.asc_showWorksheet(dataIndex);
|
||||
}
|
||||
},
|
||||
|
||||
_loadWorksheets: function(){
|
||||
if (this.api) {
|
||||
var worksheetsStore = Ext.getStore('Worksheets'),
|
||||
worksheetList = this.getWorksheetList();
|
||||
|
||||
if (worksheetsStore && worksheetList){
|
||||
worksheetsStore.removeAll(false);
|
||||
|
||||
var worksheetsCount = this.api.asc_getWorksheetsCount();
|
||||
if (worksheetsCount){
|
||||
for(var i = 0; i < worksheetsCount; i++){
|
||||
var result = {
|
||||
text : this.api.asc_getWorksheetName(i),
|
||||
index : i
|
||||
};
|
||||
worksheetsStore.add(result);
|
||||
}
|
||||
|
||||
var rec = worksheetsStore.findRecord('index', this.api.asc_getActiveWorksheetIndex());
|
||||
if (rec)
|
||||
worksheetList.select(rec);
|
||||
else
|
||||
worksheetList.select(worksheetsStore.getAt(0));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
onLongActionEnd: function(type, id) {
|
||||
if (type === Asc.c_oAscAsyncActionType['BlockInteraction']){
|
||||
switch (id) {
|
||||
case Asc.c_oAscAsyncAction['Open']:
|
||||
this._loadWorksheets();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
|
@ -1,90 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.controller.phone.Main', {
|
||||
extend: 'SSE.controller.Main',
|
||||
|
||||
requires: [
|
||||
'Ext.Anim'
|
||||
],
|
||||
|
||||
config: {
|
||||
refs: {
|
||||
viewToolbar : 'viewtoolbar',
|
||||
searchToolbar : 'searchtoolbar'
|
||||
},
|
||||
|
||||
control: {
|
||||
}
|
||||
},
|
||||
|
||||
launch: function() {
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
initControl: function() {
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
initApi: function() {
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
setApi: function(o){
|
||||
this.api = o;
|
||||
this.api.asc_enableKeyEvents(true);
|
||||
},
|
||||
|
||||
setDocumentName: function(name){
|
||||
var caption = this.getDocumentNameLabel();
|
||||
|
||||
if (caption)
|
||||
caption.setHtml(Ext.String.htmlEncode(name));
|
||||
},
|
||||
|
||||
onTapBack: function(){
|
||||
},
|
||||
|
||||
setMode: function(mode) {
|
||||
var viewToolbar = this.getViewToolbar(),
|
||||
searchToolbar = this.getSearchToolbar();
|
||||
|
||||
if (mode == 'edit') {
|
||||
viewToolbar && viewToolbar.hide();
|
||||
searchToolbar && searchToolbar.hide();
|
||||
this.api && this.api.asc_enableKeyEvents(true);
|
||||
} else {
|
||||
viewToolbar && viewToolbar.show();
|
||||
this.api && this.api.asc_enableKeyEvents(false);
|
||||
}
|
||||
}
|
||||
});
|
|
@ -1,87 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.controller.tablet.Main', {
|
||||
extend: 'SSE.controller.Main',
|
||||
|
||||
requires: [
|
||||
'Ext.Anim'
|
||||
],
|
||||
|
||||
config: {
|
||||
refs: {
|
||||
viewToolbar : 'viewtoolbar',
|
||||
searchToolbar : 'searchtoolbar'
|
||||
},
|
||||
|
||||
control: {
|
||||
}
|
||||
},
|
||||
|
||||
launch: function() {
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
initControl: function() {
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
initApi: function() {
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
setApi: function(o){
|
||||
this.api = o;
|
||||
this.api.asc_enableKeyEvents(true);
|
||||
},
|
||||
|
||||
setDocumentName: function(name){
|
||||
var caption = this.getDocumentNameLabel();
|
||||
|
||||
if (caption)
|
||||
caption.setHtml(Ext.String.htmlEncode(name));
|
||||
},
|
||||
|
||||
setMode: function(mode) {
|
||||
var viewToolbar = this.getViewToolbar(),
|
||||
searchToolbar = this.getSearchToolbar();
|
||||
|
||||
if (mode == 'edit') {
|
||||
viewToolbar && viewToolbar.hide();
|
||||
searchToolbar && searchToolbar.hide();
|
||||
this.api && this.api.asc_enableKeyEvents(true);
|
||||
} else {
|
||||
viewToolbar && viewToolbar.show();
|
||||
this.api && this.api.asc_enableKeyEvents(false);
|
||||
}
|
||||
}
|
||||
});
|
|
@ -1,321 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.controller.toolbar.View', {
|
||||
extend: 'Ext.app.Controller',
|
||||
|
||||
config: {
|
||||
refs: {
|
||||
viewToolbar : 'viewtoolbar',
|
||||
searchToolbar : 'searchtoolbar',
|
||||
worksheetPanel : '#id-worksheets-panel',
|
||||
doneButton : '#id-tb-btn-view-done',
|
||||
searchButton : '#id-tb-btn-search',
|
||||
fullscreenButton : '#id-tb-btn-fullscreen',
|
||||
shareButton : '#id-tb-btn-view-share',
|
||||
worksheetsButton : '#id-tb-btn-pages'
|
||||
},
|
||||
|
||||
control: {
|
||||
doneButton : {
|
||||
tap : 'onTapDoneButton'
|
||||
},
|
||||
searchButton : {
|
||||
tap : 'onTapSearchButton'
|
||||
},
|
||||
fullscreenButton: {
|
||||
tap : 'onTapFullscreenButton'
|
||||
},
|
||||
shareButton : {
|
||||
tap : 'onTapShareButton'
|
||||
},
|
||||
worksheetsButton: {
|
||||
tap : 'onTapWorksheets'
|
||||
},
|
||||
'#id-worksheets-panel seworksheetlist list': {
|
||||
itemtap : 'onSelectWorksheet'
|
||||
}
|
||||
},
|
||||
|
||||
searchMode : false,
|
||||
fullscreenMode : false
|
||||
},
|
||||
|
||||
launch: function() {
|
||||
this.callParent(arguments);
|
||||
|
||||
if (Ext.os.is.iOS) {
|
||||
Ext.each(Ext.ComponentQuery.query('button'), function(button) {
|
||||
button.element.dom.ontouchstart = Ext.emptyFn();
|
||||
button.element.dom.ontouchmove = Ext.emptyFn();
|
||||
button.element.dom.ontouchend = Ext.emptyFn();
|
||||
}, this);
|
||||
|
||||
Ext.each(Ext.ComponentQuery.query('toolbar'), function(toolbar) {
|
||||
var preventFn = function(e){
|
||||
e.preventDefault();
|
||||
};
|
||||
|
||||
toolbar.element.dom.ontouchstart = preventFn;
|
||||
toolbar.element.dom.ontouchmove = preventFn;
|
||||
toolbar.element.dom.ontouchend = preventFn;
|
||||
}, this);
|
||||
}
|
||||
|
||||
Common.Gateway.on('init', Ext.bind(this.loadConfig, this));
|
||||
},
|
||||
|
||||
initControl: function() {
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
initApi: function() {
|
||||
//
|
||||
},
|
||||
|
||||
setApi: function(o){
|
||||
this.api = o;
|
||||
|
||||
if (this.api) {
|
||||
this.api.asc_registerCallback('asc_onTapEvent', Ext.bind(this.onSingleTapDocument, this));
|
||||
}
|
||||
},
|
||||
|
||||
loadConfig: function(data) {
|
||||
var doneButton = this.getDoneButton();
|
||||
|
||||
if (doneButton && data && data.config && data.config.canBackToFolder !== false &&
|
||||
data.config.customization && data.config.customization.goback && data.config.customization.goback.url){
|
||||
this.gobackUrl = data.config.customization.goback.url;
|
||||
doneButton.show();
|
||||
}
|
||||
},
|
||||
|
||||
applySearchMode: function(search){
|
||||
if (!Ext.isBoolean(search)) {
|
||||
Ext.Logger.error('Invalid parameters.');
|
||||
} else {
|
||||
var me = this,
|
||||
searchToolbar = me.getSearchToolbar(),
|
||||
searchButton = me.getSearchButton();
|
||||
|
||||
if (searchToolbar) {
|
||||
if (search) {
|
||||
searchButton && searchButton.addCls('x-button-pressing');
|
||||
|
||||
if (me.getFullscreenMode()) {
|
||||
searchToolbar.show({
|
||||
easing: 'ease-out',
|
||||
preserveEndState: true,
|
||||
autoClear: false,
|
||||
from: {
|
||||
top : '22px',
|
||||
opacity : 0.3
|
||||
},
|
||||
to: {
|
||||
top : '44px',
|
||||
opacity : 0.9
|
||||
}
|
||||
});
|
||||
} else {
|
||||
searchToolbar.show();
|
||||
}
|
||||
} else {
|
||||
if (me.getFullscreenMode()) {
|
||||
searchToolbar.hide({
|
||||
easing: 'ease-in',
|
||||
to: {
|
||||
top : '22px',
|
||||
opacity : 0.3
|
||||
}
|
||||
});
|
||||
} else {
|
||||
searchToolbar.hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
return search;
|
||||
}
|
||||
},
|
||||
|
||||
applyFullscreenMode: function(fullscreen) {
|
||||
if (!Ext.isBoolean(fullscreen)) {
|
||||
Ext.Logger.error('Invalid parameters.');
|
||||
} else {
|
||||
var viewToolbar = this.getViewToolbar(),
|
||||
searchToolbar = this.getSearchToolbar(),
|
||||
fullscreenButton= this.getFullscreenButton(),
|
||||
popClipCmp = Ext.ComponentQuery.query('popclip');
|
||||
|
||||
if (popClipCmp.length > 0) {
|
||||
popClipCmp[0].hide();
|
||||
}
|
||||
|
||||
if (viewToolbar && searchToolbar) {
|
||||
if (fullscreen) {
|
||||
fullscreenButton && fullscreenButton.addCls('x-button-pressing');
|
||||
|
||||
viewToolbar.setStyle({
|
||||
position : 'absolute',
|
||||
left : 0,
|
||||
top : 0,
|
||||
right : 0,
|
||||
opacity : 0.9,
|
||||
'z-index' : 17
|
||||
});
|
||||
|
||||
searchToolbar.setStyle({
|
||||
position : 'absolute',
|
||||
left : 0,
|
||||
top : '44px',
|
||||
right : 0,
|
||||
opacity : 0.9,
|
||||
'z-index' : 16
|
||||
});
|
||||
|
||||
this.setHiddenToolbars(true);
|
||||
} else {
|
||||
viewToolbar.setStyle({
|
||||
position : 'initial',
|
||||
opacity : 1
|
||||
});
|
||||
searchToolbar.setStyle({
|
||||
position : 'initial',
|
||||
opacity : 1
|
||||
});
|
||||
|
||||
viewToolbar.setDocked('top');
|
||||
searchToolbar.setDocked('top');
|
||||
}
|
||||
}
|
||||
|
||||
return fullscreen;
|
||||
}
|
||||
},
|
||||
|
||||
setHiddenToolbars: function(hide) {
|
||||
var viewToolbar = this.getViewToolbar(),
|
||||
searchToolbar = this.getSearchToolbar();
|
||||
|
||||
if (viewToolbar && searchToolbar){
|
||||
if (hide){
|
||||
viewToolbar.hide({
|
||||
easing : 'ease-out',
|
||||
from : {opacity : 0.9},
|
||||
to : {opacity : 0}
|
||||
});
|
||||
searchToolbar.hide({
|
||||
easing : 'ease-out',
|
||||
from : {opacity : 0.9},
|
||||
to : {opacity : 0}
|
||||
});
|
||||
} else {
|
||||
viewToolbar.show({
|
||||
preserveEndState: true,
|
||||
easing : 'ease-in',
|
||||
from : {opacity : 0},
|
||||
to : {opacity : 0.9}
|
||||
});
|
||||
this.getSearchMode() && searchToolbar.show({
|
||||
preserveEndState: true,
|
||||
easing : 'ease-in',
|
||||
from : {opacity : 0},
|
||||
to : {opacity : 0.9}
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
onTapDoneButton: function() {
|
||||
if (this.gobackUrl) window.parent.location.href = this.gobackUrl;
|
||||
},
|
||||
|
||||
// onTapEditModeButton: function() {
|
||||
// var mainController = this.getApplication().getController('tablet.Main');
|
||||
//
|
||||
// if (this.getReadableMode())
|
||||
// this.setReadableMode(false);
|
||||
//
|
||||
// if (mainController)
|
||||
// mainController.setMode('edit');
|
||||
// },
|
||||
|
||||
// onTapReaderButton: function() {
|
||||
// this.setReadableMode(!this.getReadableMode());
|
||||
// },
|
||||
|
||||
onTapSearchButton: function(btn) {
|
||||
this.setSearchMode(!this.getSearchMode());
|
||||
},
|
||||
|
||||
onTapFullscreenButton: function(btn) {
|
||||
this.setFullscreenMode(!this.getFullscreenMode());
|
||||
if ( this.api )
|
||||
this.api.asc_Resize();
|
||||
},
|
||||
|
||||
onTapShareButton: function() {
|
||||
this.api && this.api.asc_Print();
|
||||
Common.component.Analytics.trackEvent('ToolBar View', 'Share');
|
||||
},
|
||||
|
||||
onSingleTapDocument: function() {
|
||||
var viewToolbar = this.getViewToolbar();
|
||||
if (viewToolbar && this.getFullscreenMode()) {
|
||||
this.setHiddenToolbars(!viewToolbar.isHidden());
|
||||
}
|
||||
},
|
||||
|
||||
onTapWorksheets: function(){
|
||||
var worksheetPanel = this.getWorksheetPanel(),
|
||||
worksheetsButton = this.getWorksheetsButton();
|
||||
|
||||
if (worksheetPanel){
|
||||
worksheetPanel.showBy(worksheetsButton);
|
||||
}
|
||||
},
|
||||
|
||||
onSelectWorksheet: function(dataview, index, target, record, event, eOpts){
|
||||
var worksheetPanel = this.getWorksheetPanel();
|
||||
|
||||
if (worksheetPanel)
|
||||
worksheetPanel.hide();
|
||||
}
|
||||
|
||||
// onTapIncFontSizeButton: function() {
|
||||
// this.api && this.api.IncreaseReaderFontSize();
|
||||
// },
|
||||
//
|
||||
// onTapDecFontSizeButton: function() {
|
||||
// this.api && this.api.DecreaseReaderFontSize();
|
||||
// }
|
||||
});
|
|
@ -1,41 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.model.Worksheet', {
|
||||
extend: 'Ext.data.Model',
|
||||
config: {
|
||||
fields: [
|
||||
{ name:'index', type: 'int' },
|
||||
{ name:'text', type:'string' }
|
||||
]
|
||||
}
|
||||
});
|
|
@ -1,64 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.profile.Phone', {
|
||||
extend: 'Ext.app.Profile',
|
||||
|
||||
config: {
|
||||
name: 'phone',
|
||||
namespace: 'phone',
|
||||
controllers: [
|
||||
'Main',
|
||||
'SSE.controller.Document',
|
||||
'SSE.controller.Search',
|
||||
'SSE.controller.WorksheetList',
|
||||
'SSE.controller.toolbar.View'
|
||||
],
|
||||
views: [
|
||||
'Main'
|
||||
],
|
||||
models: [
|
||||
'SSE.model.Worksheet'
|
||||
],
|
||||
stores: [
|
||||
'SSE.store.Worksheets'
|
||||
]
|
||||
},
|
||||
|
||||
isActive: function() {
|
||||
return (Ext.os.is.Phone && (Ext.os.is.iOS || Ext.os.is.Android));
|
||||
},
|
||||
|
||||
launch: function() {
|
||||
Ext.widget('sephonemain');
|
||||
}
|
||||
});
|
|
@ -1,64 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.profile.Tablet', {
|
||||
extend: 'Ext.app.Profile',
|
||||
|
||||
config: {
|
||||
name: 'tablet',
|
||||
namespace: 'tablet',
|
||||
controllers: [
|
||||
'Main',
|
||||
'SSE.controller.Document',
|
||||
'SSE.controller.Search',
|
||||
'SSE.controller.WorksheetList',
|
||||
'SSE.controller.toolbar.View'
|
||||
],
|
||||
views: [
|
||||
'Main'
|
||||
],
|
||||
models: [
|
||||
'SSE.model.Worksheet'
|
||||
],
|
||||
stores: [
|
||||
'SSE.store.Worksheets'
|
||||
]
|
||||
},
|
||||
|
||||
isActive: function() {
|
||||
return (Ext.browser.is.WebKit && ((Ext.os.is.Tablet && (Ext.os.is.iOS || Ext.os.is.Android)) || Ext.os.is.Desktop));
|
||||
},
|
||||
|
||||
launch: function() {
|
||||
Ext.widget('setabletmain');
|
||||
}
|
||||
});
|
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.store.Worksheets', {
|
||||
extend: 'Ext.data.Store',
|
||||
config: {
|
||||
model: 'SSE.model.Worksheet'
|
||||
}
|
||||
});
|
|
@ -1,40 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.view.Main', {
|
||||
extend: 'Ext.Container',
|
||||
alias: 'widget.semainview',
|
||||
|
||||
initialize: function() {
|
||||
this.callParent(arguments);
|
||||
}
|
||||
});
|
|
@ -1,239 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.view.OpenCsvPanel', {
|
||||
extend: 'Ext.form.Panel',
|
||||
alias: 'widget.seopencsvpanel',
|
||||
|
||||
requires: [
|
||||
'Ext.form.Panel',
|
||||
'Ext.form.FieldSet',
|
||||
'Ext.field.Select'
|
||||
],
|
||||
|
||||
config: {
|
||||
style: "padding: 0;"
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
var me = this;
|
||||
|
||||
this.add({
|
||||
xtype: 'fieldset',
|
||||
title: this.txtTitle,
|
||||
instructions: this.txtHint,
|
||||
defaults: {
|
||||
labelWidth: '36%'
|
||||
},
|
||||
items: [
|
||||
{
|
||||
xtype: 'selectfield',
|
||||
name : 'encoding',
|
||||
label: this.txtEncoding,
|
||||
options: [
|
||||
{value:37, text:'IBM EBCDIC (US-Canada)'},
|
||||
{value:437, text:'OEM United States'},
|
||||
{value:500, text:'IBM EBCDIC (International)'},
|
||||
{value:708, text:'Arabic (ASMO 708)'},
|
||||
{value:720, text:'Arabic (DOS)'},
|
||||
{value:737, text:'Greek (DOS)'},
|
||||
{value:775, text:'Baltic (DOS)'},
|
||||
{value:850, text:'Western European (DOS)'},
|
||||
{value:852, text:'Central European (DOS)'},
|
||||
{value:855, text:'OEM Cyrillic'},
|
||||
{value:857, text:'Turkish (DOS)'},
|
||||
{value:858, text:'OEM Multilingual Latin I'},
|
||||
{value:860, text:'Portuguese (DOS)'},
|
||||
{value:861, text:'Icelandic (DOS)'},
|
||||
{value:862, text:'Hebrew (DOS)'},
|
||||
{value:863, text:'French Canadian (DOS)'},
|
||||
{value:864, text:'Arabic (864) '},
|
||||
{value:865, text:'Nordic (DOS)'},
|
||||
{value:866, text:'Cyrillic (DOS)'},
|
||||
{value:869, text:'Greek, Modern (DOS)'},
|
||||
{value:870, text:'IBM EBCDIC (Multilingual Latin-2)'},
|
||||
{value:874, text:'Thai (Windows)'},
|
||||
{value:875, text:'IBM EBCDIC (Greek Modern)'},
|
||||
{value:932, text:'Japanese (Shift-JIS)'},
|
||||
{value:936, text:'Chinese Simplified (GB2312)'},
|
||||
{value:949, text:'Korean'},
|
||||
{value:950, text:'Chinese Traditional (Big5)'},
|
||||
{value:1026, text:'IBM EBCDIC (Turkish Latin-5)'},
|
||||
{value:1047, text:'IBM Latin-1'},
|
||||
{value:1140, text:'IBM EBCDIC (US-Canada-Euro)'},
|
||||
{value:1141, text:'IBM EBCDIC (Germany-Euro)'},
|
||||
{value:1142, text:'IBM EBCDIC (Denmark-Norway-Euro)'},
|
||||
{value:1143, text:'IBM EBCDIC (Finland-Sweden-Euro)'},
|
||||
{value:1144, text:'IBM EBCDIC (Italy-Euro)'},
|
||||
{value:1145, text:'IBM EBCDIC (Spain-Euro)'},
|
||||
{value:1146, text:'IBM EBCDIC (UK-Euro)'},
|
||||
{value:1147, text:'IBM EBCDIC (France-Euro)'},
|
||||
{value:1148, text:'IBM EBCDIC (International-Euro)'},
|
||||
{value:1149, text:'IBM EBCDIC (Icelandic-Euro)'},
|
||||
{value:1200, text:'Unicode'},
|
||||
{value:1201, text:'Unicode (Big-Endian)'},
|
||||
{value:1250, text:'Central European (Windows)'},
|
||||
{value:1251, text:'Cyrillic (Windows)'},
|
||||
{value:1252, text:'Western European (Windows)'},
|
||||
{value:1253, text:'Greek (Windows)'},
|
||||
{value:1254, text:'Turkish (Windows)'},
|
||||
{value:1255, text:'Hebrew (Windows) '},
|
||||
{value:1256, text:'Arabic (Windows) '},
|
||||
{value:1257, text:'Baltic (Windows)'},
|
||||
{value:1258, text:'Vietnamese (Windows)'},
|
||||
{value:1361, text:'Korean (Johab)'},
|
||||
{value:10000, text:'Western European (Mac)'},
|
||||
{value:10001, text:'Japanese (Mac)'},
|
||||
{value:10002, text:'Chinese Traditional (Mac)'},
|
||||
{value:10003, text:'Korean (Mac)'},
|
||||
{value:10004, text:'Arabic (Mac) '},
|
||||
{value:10005, text:'Hebrew (Mac)'},
|
||||
{value:10006, text:'Greek (Mac) '},
|
||||
{value:10007, text:'Cyrillic (Mac)'},
|
||||
{value:10008, text:'Chinese Simplified (Mac)'},
|
||||
{value:10010, text:'Romanian (Mac)'},
|
||||
{value:10017, text:'Ukrainian (Mac)'},
|
||||
{value:10021, text:'Thai (Mac)'},
|
||||
{value:10029, text:'Central European (Mac) '},
|
||||
{value:10079, text:'Icelandic (Mac)'},
|
||||
{value:10081, text:'Turkish (Mac)'},
|
||||
{value:10082, text:'Croatian (Mac)'},
|
||||
{value:12000, text:'Unicode (UTF-32)'},
|
||||
{value:12001, text:'Unicode (UTF-32 Big-Endian)'},
|
||||
{value:20000, text:'Chinese Traditional (CNS)'},
|
||||
{value:20001, text:'TCA Taiwan'},
|
||||
{value:20002, text:'Chinese Traditional (Eten)'},
|
||||
{value:20003, text:'IBM5550 Taiwan'},
|
||||
{value:20004, text:'TeleText Taiwan'},
|
||||
{value:20005, text:'Wang Taiwan'},
|
||||
{value:20105, text:'Western European (IA5)'},
|
||||
{value:20106, text:'German (IA5)'},
|
||||
{value:20107, text:'Swedish (IA5) '},
|
||||
{value:20108, text:'Norwegian (IA5) '},
|
||||
{value:20127, text:'US-ASCII'},
|
||||
{value:20261, text:'T.61 '},
|
||||
{value:20269, text:'ISO-6937'},
|
||||
{value:20273, text:'IBM EBCDIC (Germany)'},
|
||||
{value:20277, text:'IBM EBCDIC (Denmark-Norway) '},
|
||||
{value:20278, text:'IBM EBCDIC (Finland-Sweden)'},
|
||||
{value:20280, text:'IBM EBCDIC (Italy)'},
|
||||
{value:20284, text:'IBM EBCDIC (Spain)'},
|
||||
{value:20285, text:'IBM EBCDIC (UK)'},
|
||||
{value:20290, text:'IBM EBCDIC (Japanese katakana)'},
|
||||
{value:20297, text:'IBM EBCDIC (France)'},
|
||||
{value:20420, text:'IBM EBCDIC (Arabic)'},
|
||||
{value:20423, text:'IBM EBCDIC (Greek)'},
|
||||
{value:20424, text:'IBM EBCDIC (Hebrew)'},
|
||||
{value:20833, text:'IBM EBCDIC (Korean Extended)'},
|
||||
{value:20838, text:'IBM EBCDIC (Thai)'},
|
||||
{value:20866, text:'Cyrillic (KOI8-R)'},
|
||||
{value:20871, text:'IBM EBCDIC (Icelandic) '},
|
||||
{value:20880, text:'IBM EBCDIC (Cyrillic Russian)'},
|
||||
{value:20905, text:'IBM EBCDIC (Turkish)'},
|
||||
{value:20924, text:'IBM Latin-1 '},
|
||||
{value:20932, text:'Japanese (JIS 0208-1990 and 0212-1990)'},
|
||||
{value:20936, text:'Chinese Simplified (GB2312-80) '},
|
||||
{value:20949, text:'Korean Wansung '},
|
||||
{value:21025, text:'IBM EBCDIC (Cyrillic Serbian-Bulgarian)'},
|
||||
{value:21866, text:'Cyrillic (KOI8-U)'},
|
||||
{value:28591, text:'Western European (ISO) '},
|
||||
{value:28592, text:'Central European (ISO)'},
|
||||
{value:28593, text:'Latin 3 (ISO)'},
|
||||
{value:28594, text:'Baltic (ISO)'},
|
||||
{value:28595, text:'Cyrillic (ISO) '},
|
||||
{value:28596, text:'Arabic (ISO)'},
|
||||
{value:28597, text:'Greek (ISO) '},
|
||||
{value:28598, text:'Hebrew (ISO-Visual)'},
|
||||
{value:28599, text:'Turkish (ISO)'},
|
||||
{value:28603, text:'Estonian (ISO)'},
|
||||
{value:28605, text:'Latin 9 (ISO)'},
|
||||
{value:29001, text:'Europa'},
|
||||
{value:38598, text:'Hebrew (ISO-Logical)'},
|
||||
{value:50220, text:'Japanese (JIS)'},
|
||||
{value:50221, text:'Japanese (JIS-Allow 1 byte Kana) '},
|
||||
{value:50222, text:'Japanese (JIS-Allow 1 byte Kana - SO/SI)'},
|
||||
{value:50225, text:'Korean (ISO)'},
|
||||
{value:50227, text:'Chinese Simplified (ISO-2022)'},
|
||||
{value:51932, text:'Japanese (EUC)'},
|
||||
{value:51936, text:'Chinese Simplified (EUC) '},
|
||||
{value:51949, text:'Korean (EUC)'},
|
||||
{value:52936, text:'Chinese Simplified (HZ)'},
|
||||
{value:54936, text:'Chinese Simplified (GB18030)'},
|
||||
{value:57002, text:'ISCII Devanagari '},
|
||||
{value:57003, text:'ISCII Bengali '},
|
||||
{value:57004, text:'ISCII Tamil'},
|
||||
{value:57005, text:'ISCII Telugu '},
|
||||
{value:57006, text:'ISCII Assamese '},
|
||||
{value:57007, text:'ISCII Oriya'},
|
||||
{value:57008, text:'ISCII Kannada'},
|
||||
{value:57009, text:'ISCII Malayalam '},
|
||||
{value:57010, text:'ISCII Gujarati'},
|
||||
{value:57011, text:'ISCII Punjabi'},
|
||||
{value:65000, text:'Unicode (UTF-7)'},
|
||||
{value:65001, text:'Unicode (UTF-8)'}
|
||||
]
|
||||
},
|
||||
{
|
||||
xtype: 'selectfield',
|
||||
name : 'delimiter',
|
||||
label: this.txtDelimiter,
|
||||
options: [
|
||||
{value:4, text:','},
|
||||
{value:2, text:';'},
|
||||
{value:3, text:':'},
|
||||
{value:1, text:this.txtTab},
|
||||
{value:5, text:this.txtSpace}
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
this.add({
|
||||
xtype : 'button',
|
||||
text : 'OK',
|
||||
handler : function () {
|
||||
me.fireEvent('close', this, {
|
||||
encoding: me.getValues().encoding,
|
||||
delimiter: me.getValues().delimiter
|
||||
}
|
||||
);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
txtEncoding : 'Encoding ',
|
||||
txtDelimiter: 'Delimiter',
|
||||
txtTab : 'Tab',
|
||||
txtSpace : 'Space',
|
||||
txtTitle : 'Choose CSV opening options',
|
||||
txtHint : 'Please enter the information above.'
|
||||
});
|
|
@ -1,66 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.view.WorksheetList', {
|
||||
extend: 'Ext.Container',
|
||||
requires: ([
|
||||
'Ext.dataview.List',
|
||||
'Ext.XTemplate'
|
||||
]),
|
||||
alias: ['widget.seworksheetlist'],
|
||||
|
||||
config: {
|
||||
layout: {
|
||||
type: 'fit'
|
||||
}
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
var worksheetItemTpl = Ext.create('Ext.XTemplate',
|
||||
'<tpl for=".">' +
|
||||
'<div class="worksheet-item">{text:htmlEncode}</div>' +
|
||||
'</tpl>'
|
||||
);
|
||||
|
||||
this.add({
|
||||
xtype : 'list',
|
||||
store : 'Worksheets',
|
||||
itemTpl : worksheetItemTpl,
|
||||
singleSelect: true,
|
||||
itemSelector: 'div.worksheet-item',
|
||||
emptyText : '',
|
||||
cls : 'x-worksheet-item x-select-overlay'
|
||||
});
|
||||
|
||||
this.callParent(arguments);
|
||||
}
|
||||
});
|
|
@ -1,101 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.view.phone.Main', {
|
||||
extend: 'SSE.view.Main',
|
||||
alias: 'widget.sephonemain',
|
||||
|
||||
requires: ([
|
||||
// 'Ext.Label',
|
||||
'Ext.field.Search'
|
||||
]),
|
||||
|
||||
config: {
|
||||
cls: 'de-phone-main',
|
||||
fullscreen: true,
|
||||
layout: {
|
||||
type: 'vbox',
|
||||
pack: 'center'
|
||||
}
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
var me = this;
|
||||
|
||||
this.add(Ext.create('SSE.view.phone.toolbar.View', {
|
||||
hidden : true
|
||||
}));
|
||||
|
||||
this.add(Ext.create('SSE.view.phone.toolbar.Search', {
|
||||
hidden : true
|
||||
}));
|
||||
|
||||
this.add({
|
||||
xtype : 'container',
|
||||
id : 'id-pnl-top-fixed',
|
||||
docked : 'top',
|
||||
style : 'opacity: 0;'
|
||||
});
|
||||
|
||||
this.add({
|
||||
xtype : 'container',
|
||||
layout : 'vbox',
|
||||
id : 'id-container-document',
|
||||
flex : 1,
|
||||
items : [
|
||||
{
|
||||
xtype : 'container',
|
||||
flex : 1,
|
||||
id : 'id-sdkeditor'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
this.add({
|
||||
xtype : 'panel',
|
||||
layout : 'fit',
|
||||
width : 200,
|
||||
height : 200,
|
||||
id : 'id-worksheets-panel',
|
||||
top : 0,
|
||||
left : 0,
|
||||
modal : true,
|
||||
hidden : true,
|
||||
hideOnMaskTap: true,
|
||||
items: [{
|
||||
xtype: 'seworksheetlist'
|
||||
}]
|
||||
});
|
||||
|
||||
this.callParent(arguments);
|
||||
}
|
||||
});
|
|
@ -1,81 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.view.phone.toolbar.Search', {
|
||||
extend: 'Ext.Toolbar',
|
||||
xtype: 'searchtoolbar',
|
||||
|
||||
requires: ([
|
||||
'Ext.Label',
|
||||
'Ext.field.Search'
|
||||
]),
|
||||
|
||||
config: {
|
||||
docked : 'top',
|
||||
minHeight : 52,
|
||||
ui : 'search'
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
this.add([
|
||||
{
|
||||
xtype : 'searchfield',
|
||||
id : 'id-field-search',
|
||||
placeHolder : this.searchText,
|
||||
flex: 1
|
||||
},
|
||||
{
|
||||
xtype : 'segmentedbutton',
|
||||
allowToggle : false,
|
||||
ui : 'base',
|
||||
items : [
|
||||
{
|
||||
id : 'id-btn-search-prev',
|
||||
ui : 'base',
|
||||
iconCls : 'search-prev',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id : 'id-btn-search-next',
|
||||
ui : 'base',
|
||||
iconCls : 'search-next',
|
||||
disabled: true
|
||||
}
|
||||
]
|
||||
}
|
||||
]);
|
||||
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
searchText: 'Search'
|
||||
});
|
|
@ -1,91 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.view.phone.toolbar.View', {
|
||||
extend: 'Ext.Toolbar',
|
||||
xtype: 'viewtoolbar',
|
||||
|
||||
config: {
|
||||
docked : 'top',
|
||||
minHeight : 44,
|
||||
ui : 'edit'
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
this.add([
|
||||
{
|
||||
id : 'id-tb-btn-view-done',
|
||||
ui : 'base-blue',
|
||||
cls : 'text-offset-12',
|
||||
hidden : true,
|
||||
text : this.doneText
|
||||
},
|
||||
// {
|
||||
// id : 'id-tb-btn-editmode',
|
||||
// ui : 'base',
|
||||
// cls : 'text-offset-12',
|
||||
// text : this.editText
|
||||
// },
|
||||
{
|
||||
xtype : 'spacer'
|
||||
},
|
||||
{
|
||||
id : 'id-tb-btn-search',
|
||||
ui : 'base',
|
||||
iconCls : 'search'
|
||||
},
|
||||
{
|
||||
id : 'id-tb-btn-pages',
|
||||
ui : 'base',
|
||||
iconCls : 'pages'
|
||||
},
|
||||
{
|
||||
id : 'id-tb-btn-fullscreen',
|
||||
ui : 'base',
|
||||
iconCls : 'fullscreen'
|
||||
},
|
||||
{
|
||||
xtype : 'spacer'
|
||||
},
|
||||
{
|
||||
id : 'id-tb-btn-view-share',
|
||||
ui : 'base',
|
||||
iconCls : 'share'
|
||||
}
|
||||
]);
|
||||
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
doneText: 'Done',
|
||||
editText: 'Edit'
|
||||
});
|
|
@ -1,92 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.view.tablet.Main', {
|
||||
extend: 'SSE.view.Main',
|
||||
alias: 'widget.setabletmain',
|
||||
|
||||
requires: ([
|
||||
'SSE.view.tablet.toolbar.Search',
|
||||
'SSE.view.tablet.toolbar.View',
|
||||
'SSE.view.WorksheetList'
|
||||
]),
|
||||
|
||||
config: {
|
||||
fullscreen: true,
|
||||
layout: {
|
||||
type: 'vbox',
|
||||
pack: 'center'
|
||||
}
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
this.add(Ext.create('SSE.view.tablet.toolbar.View', {
|
||||
hidden : true
|
||||
}));
|
||||
|
||||
this.add(Ext.create('SSE.view.tablet.toolbar.Search', {
|
||||
hidden : true
|
||||
}));
|
||||
|
||||
this.add({
|
||||
xtype : 'container',
|
||||
layout : 'vbox',
|
||||
id : 'id-container-document',
|
||||
flex : 1,
|
||||
items : [
|
||||
{
|
||||
xtype : 'container',
|
||||
flex : 1,
|
||||
id : 'id-sdkeditor'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
this.add({
|
||||
xtype : 'panel',
|
||||
layout : 'fit',
|
||||
width : 200,
|
||||
height : 200,
|
||||
id : 'id-worksheets-panel',
|
||||
top : 0,
|
||||
left : 0,
|
||||
modal : true,
|
||||
hidden : true,
|
||||
hideOnMaskTap: true,
|
||||
items: [{
|
||||
xtype: 'seworksheetlist'
|
||||
}]
|
||||
});
|
||||
|
||||
this.callParent(arguments);
|
||||
}
|
||||
});
|
|
@ -1,81 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.view.tablet.toolbar.Search', {
|
||||
extend: 'Ext.Toolbar',
|
||||
xtype: 'searchtoolbar',
|
||||
|
||||
requires: ([
|
||||
'Ext.Label',
|
||||
'Ext.field.Search'
|
||||
]),
|
||||
|
||||
config: {
|
||||
docked : 'top',
|
||||
minHeight : 52,
|
||||
ui : 'search'
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
this.add([
|
||||
{
|
||||
xtype : 'searchfield',
|
||||
id : 'id-field-search',
|
||||
placeHolder : this.searchText,
|
||||
flex: 1
|
||||
},
|
||||
{
|
||||
xtype : 'segmentedbutton',
|
||||
allowToggle : false,
|
||||
ui : 'base',
|
||||
items : [
|
||||
{
|
||||
id : 'id-btn-search-prev',
|
||||
ui : 'base',
|
||||
iconCls : 'search-prev',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id : 'id-btn-search-next',
|
||||
ui : 'base',
|
||||
iconCls : 'search-next',
|
||||
disabled: true
|
||||
}
|
||||
]
|
||||
}
|
||||
]);
|
||||
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
searchText: 'Search'
|
||||
});
|
|
@ -1,91 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2016
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
Ext.define('SSE.view.tablet.toolbar.View', {
|
||||
extend: 'Ext.Toolbar',
|
||||
xtype: 'viewtoolbar',
|
||||
|
||||
config: {
|
||||
docked : 'top',
|
||||
minHeight : 44,
|
||||
ui : 'edit'
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
this.add([
|
||||
{
|
||||
id : 'id-tb-btn-view-done',
|
||||
ui : 'base-blue',
|
||||
cls : 'text-offset-12',
|
||||
hidden : true,
|
||||
text : this.doneText
|
||||
},
|
||||
// {
|
||||
// id : 'id-tb-btn-editmode',
|
||||
// ui : 'base',
|
||||
// cls : 'text-offset-12',
|
||||
// text : this.editText
|
||||
// },
|
||||
{
|
||||
xtype : 'spacer'
|
||||
},
|
||||
{
|
||||
id : 'id-tb-btn-search',
|
||||
ui : 'base',
|
||||
iconCls : 'search'
|
||||
},
|
||||
{
|
||||
id : 'id-tb-btn-pages',
|
||||
ui : 'base',
|
||||
iconCls : 'pages'
|
||||
},
|
||||
{
|
||||
id : 'id-tb-btn-fullscreen',
|
||||
ui : 'base',
|
||||
iconCls : 'fullscreen'
|
||||
},
|
||||
{
|
||||
xtype : 'spacer'
|
||||
},
|
||||
{
|
||||
id : 'id-tb-btn-view-share',
|
||||
ui : 'base',
|
||||
iconCls : 'share'
|
||||
}
|
||||
]);
|
||||
|
||||
this.callParent(arguments);
|
||||
},
|
||||
|
||||
doneText: 'Done',
|
||||
editText: 'Edit'
|
||||
});
|
|
@ -1,284 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>ONLYOFFICE Spreadsheet</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="description" content="" />
|
||||
<meta name="keywords" content="" />
|
||||
|
||||
<!-- splash -->
|
||||
|
||||
<style type="text/css">
|
||||
.loadmask {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
background-color: #f4f4f4;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.loader-page {
|
||||
width: 100%;
|
||||
height: 170px;
|
||||
bottom: 42%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
line-height: 10px;
|
||||
}
|
||||
|
||||
.loader-logo {
|
||||
max-height: 160px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.loader-page-romb {
|
||||
width: 40px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.loader-page-text {
|
||||
width: 100%;
|
||||
bottom: 42%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
color: #888;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.loader-page-text-loading {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.loader-page-text-customer {
|
||||
font-size: 16px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.romb {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
-webkit-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
-moz-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
-ms-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
-o-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
position: absolute;
|
||||
background: red;
|
||||
border-radius: 6px;
|
||||
-webkit-animation: movedown 3s infinite ease;
|
||||
-moz-animation: movedown 3s infinite ease;
|
||||
-ms-animation: movedown 3s infinite ease;
|
||||
-o-animation: movedown 3s infinite ease;
|
||||
animation: movedown 3s infinite ease;
|
||||
}
|
||||
|
||||
#blue {
|
||||
z-index: 3;
|
||||
background: #55bce6;
|
||||
-webkit-animation-name: blue;
|
||||
-moz-animation-name: blue;
|
||||
-ms-animation-name: blue;
|
||||
-o-animation-name: blue;
|
||||
animation-name: blue;
|
||||
}
|
||||
|
||||
#red {
|
||||
z-index:1;
|
||||
background: #de7a59;
|
||||
-webkit-animation-name: red;
|
||||
-moz-animation-name: red;
|
||||
-ms-animation-name: red;
|
||||
-o-animation-name: red;
|
||||
animation-name: red;
|
||||
}
|
||||
|
||||
#green {
|
||||
z-index: 2;
|
||||
background: #a1cb5c;
|
||||
-webkit-animation-name: green;
|
||||
-moz-animation-name: green;
|
||||
-ms-animation-name: green;
|
||||
-o-animation-name: green;
|
||||
animation-name: green;
|
||||
}
|
||||
|
||||
@-webkit-keyframes red {
|
||||
0% { top:120px; background: #de7a59; }
|
||||
10% { top:120px; background: #F2CBBF; }
|
||||
14% { background: #f4f4f4; top:120px; }
|
||||
15% { background: #f4f4f4; top:0;}
|
||||
20% { background: #E6E4E4; }
|
||||
30% { background: #D2D2D2; }
|
||||
40% { top:120px; }
|
||||
100% { top:120px; background: #de7a59; }
|
||||
}
|
||||
|
||||
@keyframes red {
|
||||
0% { top:120px; background: #de7a59; }
|
||||
10% { top:120px; background: #F2CBBF; }
|
||||
14% { background: #f4f4f4; top:120px; }
|
||||
15% { background: #f4f4f4; top:0; }
|
||||
20% { background: #E6E4E4; }
|
||||
30% { background: #D2D2D2; }
|
||||
40% { top:120px; }
|
||||
100% { top:120px; background: #de7a59; }
|
||||
}
|
||||
|
||||
@-webkit-keyframes green {
|
||||
0% { top:110px; background: #a1cb5c; opacity:1; }
|
||||
10% { top:110px; background: #CBE0AC; opacity:1; }
|
||||
14% { background: #f4f4f4; top:110px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #EFEFEF; top:0; opacity:1; }
|
||||
30% { background:#E6E4E4; }
|
||||
70% { top:110px; }
|
||||
100% { top:110px; background: #a1cb5c; }
|
||||
}
|
||||
|
||||
@keyframes green {
|
||||
0% { top:110px; background: #a1cb5c; opacity:1; }
|
||||
10% { top:110px; background: #CBE0AC; opacity:1; }
|
||||
14% { background: #f4f4f4; top:110px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #EFEFEF; top:0; opacity:1; }
|
||||
30% { background:#E6E4E4; }
|
||||
70% { top:110px; }
|
||||
100% { top:110px; background: #a1cb5c; }
|
||||
}
|
||||
|
||||
@-webkit-keyframes blue {
|
||||
0% { top:100px; background: #55bce6; opacity:1; }
|
||||
10% { top:100px; background: #BFE8F8; opacity:1; }
|
||||
14% { background: #f4f4f4; top:100px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #f4f4f4; top:0; opacity:0; }
|
||||
45% { background: #EFEFEF; top:0; opacity:0,2; }
|
||||
100% { top:100px; background: #55bce6; }
|
||||
}
|
||||
|
||||
@keyframes blue {
|
||||
0% { top:100px; background: #55bce6; opacity:1; }
|
||||
10% { top:100px; background: #BFE8F8; opacity:1; }
|
||||
14% { background: #f4f4f4; top:100px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #f4f4f4; top:0; opacity:0; }
|
||||
45% { background: #EFEFEF; top:0; opacity:0,2; }
|
||||
100% { top:100px; background: #55bce6; }
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- vendors -->
|
||||
<link rel="stylesheet" type="text/css" href="../../../../sdkjs/cell/css/main-mobile.css"/>
|
||||
|
||||
<script type="text/javascript" src="../../../vendor/touch/sencha-touch-all.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/megapixel/megapix-image-min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jszip/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jszip-utils/jszip-utils.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jsrsasign/jsrsasign-latest-all-min.js"></script>
|
||||
|
||||
<!-- SDK -->
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/AllFonts.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/sdk-all-min.js"></script>
|
||||
|
||||
<!-- Application -->
|
||||
|
||||
<script type="text/javascript">
|
||||
var injectStyleElement = function(url) {
|
||||
var style = document.createElement('link'),
|
||||
documentHead = typeof document != 'undefined' && (document.head || document.getElementsByTagName('head')[0]);
|
||||
|
||||
style.rel = 'stylesheet';
|
||||
style.href = url;
|
||||
style.type = 'text/css';
|
||||
|
||||
if (documentHead) {
|
||||
documentHead.appendChild(style);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
injectStyleElement((window.devicePixelRatio > 1)
|
||||
? 'resources/css/application-retina.css'
|
||||
: 'resources/css/application-normal.css'
|
||||
);
|
||||
</script>
|
||||
<script type="text/javascript" src="../../../apps/spreadsheeteditor/mobile/app-all.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
if (!(Ext.browser.is.WebKit && (Ext.os.is.iOS || Ext.os.is.Android || Ext.os.is.Desktop))) {
|
||||
document.write(
|
||||
'<div id="unsuported-view-id" class="unsuported-view"></div>'
|
||||
);
|
||||
} else {
|
||||
function getUrlParams() {
|
||||
var e,
|
||||
a = /\+/g, // Regex for replacing addition symbol with a space
|
||||
r = /([^&=]+)=?([^&]*)/g,
|
||||
d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
|
||||
q = window.location.search.substring(1),
|
||||
urlParams = {};
|
||||
|
||||
while (e = r.exec(q))
|
||||
urlParams[d(e[1])] = d(e[2]);
|
||||
|
||||
return urlParams;
|
||||
}
|
||||
|
||||
function encodeUrlParam(str) {
|
||||
return str.replace(/&/g, '&')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>');
|
||||
}
|
||||
|
||||
var params = getUrlParams(),
|
||||
lang = (params["lang"] || 'en').split("-")[0],
|
||||
customer = params["customer"] ? ('<div class="loader-page-text-customer">' + encodeUrlParam(params["customer"]) + '</div>') : '',
|
||||
margin = (customer !== '') ? 50 : 20,
|
||||
loading = 'Loading...',
|
||||
logo = params["logo"] ? ((params["logo"] !== 'none') ? ('<img src="' + encodeUrlParam(params["logo"]) + '" class="loader-logo" />') : '') : null;
|
||||
|
||||
if ( lang == 'de') loading = 'Ladevorgang...';
|
||||
else if ( lang == 'es') loading = 'Cargando...';
|
||||
else if ( lang == 'fr') loading = 'Chargement en cours...';
|
||||
else if ( lang == 'it') loading = 'Caricamento in corso...';
|
||||
else if ( lang == 'pt') loading = 'Carregando...';
|
||||
else if ( lang == 'ru') loading = 'Загрузка...';
|
||||
else if ( lang == 'sl') loading = 'Nalaganje...';
|
||||
else if ( lang == 'tr') loading = 'Yükleniyor...';
|
||||
|
||||
document.write(
|
||||
'<div id="loading-mask" class="loadmask">' +
|
||||
'<div class="loader-page" style="margin-bottom: ' + margin + 'px;' + ((logo!==null) ? 'height: auto;' : '') + '">' +
|
||||
((logo!==null) ? logo :
|
||||
'<div class="loader-page-romb">' +
|
||||
'<div class="romb" id="blue"></div>' +
|
||||
'<div class="romb" id="green"></div>' +
|
||||
'<div class="romb" id="red"></div>' +
|
||||
'</div>') +
|
||||
'</div>' +
|
||||
'<div class="loader-page-text">' + customer +
|
||||
'<div class="loader-page-text-loading">' + loading + '</div>' +
|
||||
'</div>' +
|
||||
'</div>');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,202 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>ONLYOFFICE Spreadsheet</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="description" content="" />
|
||||
<meta name="keywords" content="" />
|
||||
|
||||
<!-- splash -->
|
||||
|
||||
<style type="text/css">
|
||||
.loadmask {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
background-color: #f4f4f4;
|
||||
z-index: 20002;
|
||||
}
|
||||
|
||||
.loadmask-body {
|
||||
position:relative;
|
||||
top:44%;
|
||||
}
|
||||
|
||||
.loadmask-logo {
|
||||
display:inline-block;
|
||||
min-width:220px;
|
||||
min-height:62px;
|
||||
vertical-align:top;
|
||||
background-image:url('./resources/img/loading-logo.gif');
|
||||
background-image: -webkit-image-set(url('./resources/img/loading-logo.gif') 1x, url('./resources/img/loading-logo@2x.gif') 2x);
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- vendors -->
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../../../sdk/Excel/css/main-mobile.css"/>
|
||||
|
||||
<script type="text/javascript" src="../../../vendor/touch/sencha-touch-all.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/megapixel/src/megapix-image.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
|
||||
<!-- Application -->
|
||||
|
||||
<script type="text/javascript" src="../../common/Analytics.js"></script>
|
||||
<script type="text/javascript" src="../../common/Gateway.js"></script>
|
||||
<script type="text/javascript" src="../../common/mobile/loader.js"></script>
|
||||
<script type="text/javascript" src="app.js"></script>
|
||||
<script type="text/javascript" src="../../common/locale.js"></script>
|
||||
|
||||
<!-- SDK -->
|
||||
|
||||
<script type="text/javascript" src="../../../sdk/Common/AllFonts.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/browser.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/docscoapisettings.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/docscoapi.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/downloaderfiles.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/apiCommon.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/commonDefines.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/editorscommon.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/NumFormat.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/Charts/charts.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/Charts/DrawingObjects.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/font_engine.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/FontFile.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/FontManager.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/HatchPattern.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/Externals.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/Graphics.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/Metafile.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/GlobalLoaders.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/trackFile.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/apiDefines.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/offlinedocs/test-workbook9/Editor.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/offlinedocs/empty-workbook.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/utils/utils.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/clipboard.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/autofilters.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/graphics/DrawingContext.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/graphics/pdfprinter.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/CollaborativeEditing.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/ConditionalFormatting.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/parserFormula.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/dateandtimeFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/engineeringFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/cubeFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/databaseFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/textanddataFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/statisticalFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/financialFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/mathematicFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/lookupandreferenceFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/informationFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/logicalFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/Serialize.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/WorkbookElems.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/Workbook.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/CellInfo.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/AdvancedOptions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/History.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/UndoRedo.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/CellComment.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/StringRender.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/CellTextRender.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/CellEditorView.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/WorksheetView.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/HandlerList.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/EventsController.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/WorkbookView.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/scroll.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/ColorArray.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/Shapes/EditorSettings.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/Shapes/Serialize.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/Shapes/SerializeWriter.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Editor/SerializeCommon.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Format.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/CreateGeometry.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Geometry.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Path.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/Math.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/ArcTo.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/SerializeCommonWordExcel.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/DrawingObjectsController.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/States.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/GroupShape.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Image.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Shape.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/TextBody.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Styles.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Numbering.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/ParagraphContent.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Paragraph.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/DocumentContent.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/FontClassification.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Chart.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/ChartLayout.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/ChartLegend.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/ChartTitle.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/AdjustmentTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/ResizeTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/RotateTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/NewShapeTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/PolyLine.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/Spline.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/MoveTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Hit.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Controls.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Graphics.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Overlay.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/GlobalCounters.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/DrawingDocument.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/ShapeDrawer.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/apiCommon.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/api.js"></script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
if (!(Ext.browser.is.WebKit && (Ext.os.is.iOS || Ext.os.is.Android || Ext.os.is.Desktop))) {
|
||||
document.write(
|
||||
'<div id="unsuported-view-id" class="unsuported-view"></div>'
|
||||
);
|
||||
} else {
|
||||
document.write(
|
||||
'<div id="loading-mask" class="loadmask">' +
|
||||
'<div class="loadmask-body" align="center">' +
|
||||
'<div class="loadmask-logo"></div>' +
|
||||
'</div>' +
|
||||
'</div>');
|
||||
}
|
||||
|
||||
var injectStyleElement = function(url) {
|
||||
var style = document.createElement('link'),
|
||||
documentHead = typeof document != 'undefined' && (document.head || document.getElementsByTagName('head')[0]);
|
||||
|
||||
style.rel = 'stylesheet';
|
||||
style.href = url;
|
||||
style.type = 'text/css';
|
||||
|
||||
if (documentHead) {
|
||||
documentHead.appendChild(style);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
injectStyleElement(
|
||||
(window.devicePixelRatio > 1)
|
||||
? 'resources/css/application-retina.css'
|
||||
: 'resources/css/application-normal.css'
|
||||
);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"SSE.controller.Main.convertationErrorText": "Konvertierung ist fehlgeschlagen.",
|
||||
"SSE.controller.Main.convertationTimeoutText": "Timeout für die Konvertierung wurde überschritten.",
|
||||
"SSE.controller.Main.criticalErrorExtText": "Klicken Sie auf \"OK\", um die Seite neu zu laden.",
|
||||
"SSE.controller.Main.criticalErrorTitle": "Fehler",
|
||||
"SSE.controller.Main.downloadErrorText": "Download ist fehlgeschlagen.",
|
||||
"SSE.controller.Main.errorDefaultMessage": "Fehlercode: %1",
|
||||
"SSE.controller.Main.errorKeyEncrypt": "Unbekannter Schlüsseldeskriptor",
|
||||
"SSE.controller.Main.errorKeyExpire": "Der Schlüsseldeskriptor ist abgelaufen",
|
||||
"SSE.controller.Main.errorUsersExceed": "Die nach dem Zahlungsplan erlaubte Benutzeranzahl ist überschritten",
|
||||
"SSE.controller.Main.notcriticalErrorTitle": "Warnung",
|
||||
"SSE.controller.Main.printText": "Drucken...",
|
||||
"SSE.controller.Main.textAnonymous": "Anonym",
|
||||
"SSE.controller.Main.textLoadingDocument": "Ladevorgang",
|
||||
"SSE.controller.Main.unknownErrorText": "Unbekannter Fehler.",
|
||||
"SSE.controller.Main.unsupportedBrowserErrorText ": "Ihr Webbrowser wird nicht unterstützt.",
|
||||
"SSE.controller.Main.uploadImageExtMessage": "Unbekanntes Bildformat.",
|
||||
"SSE.controller.Main.uploadImageFileCountMessage": "Keine Bilder hochgeladen.",
|
||||
"SSE.controller.Main.uploadImageSizeMessage": "Die maximal zulässige Bildgröße ist überschritten.",
|
||||
"SSE.view.OpenCsvPanel.txtDelimiter": "Trennzeichen",
|
||||
"SSE.view.OpenCsvPanel.txtEncoding": "Codierung ",
|
||||
"SSE.view.OpenCsvPanel.txtHint": "Bitte geben Sie die oben angegebenen Daten ein.",
|
||||
"SSE.view.OpenCsvPanel.txtSpace": "Leerzeichen",
|
||||
"SSE.view.OpenCsvPanel.txtTab": "Tabulator",
|
||||
"SSE.view.OpenCsvPanel.txtTitle": "CSV-Öffnungsoptionen wählen",
|
||||
"SSE.view.phone.toolbar.Search.searchText": "Suchen",
|
||||
"SSE.view.phone.toolbar.View.doneText": "Fertig",
|
||||
"SSE.view.tablet.toolbar.Search.searchText": "Suchen",
|
||||
"SSE.view.tablet.toolbar.View.doneText": "Fertig"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"SSE.controller.Main.convertationErrorText": "Conversion failed.",
|
||||
"SSE.controller.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
"SSE.controller.Main.criticalErrorExtText": "Press \"OK\" to reload view page.",
|
||||
"SSE.controller.Main.criticalErrorTitle": "Error",
|
||||
"SSE.controller.Main.downloadErrorText": "Download failed.",
|
||||
"SSE.controller.Main.errorDefaultMessage": "Error code: %1",
|
||||
"SSE.controller.Main.errorKeyEncrypt": "Unknown key descriptor",
|
||||
"SSE.controller.Main.errorKeyExpire": "Key descriptor expired",
|
||||
"SSE.controller.Main.errorUsersExceed": "The number of users allowed by the pricing plan was exceeded",
|
||||
"SSE.controller.Main.notcriticalErrorTitle": "Warning",
|
||||
"SSE.controller.Main.printText": "Printing...",
|
||||
"SSE.controller.Main.textAnonymous": "Anonymous",
|
||||
"SSE.controller.Main.textLoadingDocument": "Loading document",
|
||||
"SSE.controller.Main.unknownErrorText": "Unknown error.",
|
||||
"SSE.controller.Main.unsupportedBrowserErrorText ": "Your browser is not supported.",
|
||||
"SSE.controller.Main.uploadImageExtMessage": "Unknown image format.",
|
||||
"SSE.controller.Main.uploadImageFileCountMessage": "No images uploaded.",
|
||||
"SSE.controller.Main.uploadImageSizeMessage": "Maximium image size limit exceeded.",
|
||||
"SSE.view.OpenCsvPanel.txtDelimiter": "Delimiter",
|
||||
"SSE.view.OpenCsvPanel.txtEncoding": "Encoding ",
|
||||
"SSE.view.OpenCsvPanel.txtHint": "Please enter the information above.",
|
||||
"SSE.view.OpenCsvPanel.txtSpace": "Space",
|
||||
"SSE.view.OpenCsvPanel.txtTab": "Tab",
|
||||
"SSE.view.OpenCsvPanel.txtTitle": "Choose CSV opening options",
|
||||
"SSE.view.phone.toolbar.Search.searchText": "Search",
|
||||
"SSE.view.phone.toolbar.View.doneText": "Done",
|
||||
"SSE.view.tablet.toolbar.Search.searchText": "Search",
|
||||
"SSE.view.tablet.toolbar.View.doneText": "Done"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"SSE.controller.Main.convertationErrorText": "Conversión fallida.",
|
||||
"SSE.controller.Main.convertationTimeoutText": "Tiempo de conversión está superado.",
|
||||
"SSE.controller.Main.criticalErrorExtText": "Pulse \"OK\" para recargar la página",
|
||||
"SSE.controller.Main.criticalErrorTitle": "Error",
|
||||
"SSE.controller.Main.downloadErrorText": "Descarga fallida.",
|
||||
"SSE.controller.Main.errorDefaultMessage": "Código de error: %1",
|
||||
"SSE.controller.Main.errorKeyEncrypt": "Descriptor de clave desconocido",
|
||||
"SSE.controller.Main.errorKeyExpire": "Descriptor de clave ha expirado",
|
||||
"SSE.controller.Main.errorUsersExceed": "El número de usuarios permitido según su plano de precios fue excedido",
|
||||
"SSE.controller.Main.notcriticalErrorTitle": "Aviso",
|
||||
"SSE.controller.Main.printText": "Imprimiendo...",
|
||||
"SSE.controller.Main.textAnonymous": "Anónimo",
|
||||
"SSE.controller.Main.textLoadingDocument": "Cargando documento",
|
||||
"SSE.controller.Main.unknownErrorText": "Error desconocido.",
|
||||
"SSE.controller.Main.unsupportedBrowserErrorText ": "Su navegador no está soportado.",
|
||||
"SSE.controller.Main.uploadImageExtMessage": "Formato de imagen desconocido.",
|
||||
"SSE.controller.Main.uploadImageFileCountMessage": "No hay imágenes subidas.",
|
||||
"SSE.controller.Main.uploadImageSizeMessage": "Tamaño de imagen máximo está superado.",
|
||||
"SSE.view.OpenCsvPanel.txtDelimiter": "Delimitador",
|
||||
"SSE.view.OpenCsvPanel.txtEncoding": "Codificación ",
|
||||
"SSE.view.OpenCsvPanel.txtHint": "Por favor introduzca la información más arriba.",
|
||||
"SSE.view.OpenCsvPanel.txtSpace": "Espacio",
|
||||
"SSE.view.OpenCsvPanel.txtTab": "Tab",
|
||||
"SSE.view.OpenCsvPanel.txtTitle": "Seleccione las opciones de apertura CSV",
|
||||
"SSE.view.phone.toolbar.Search.searchText": "Búsqueda",
|
||||
"SSE.view.phone.toolbar.View.doneText": "Listo",
|
||||
"SSE.view.tablet.toolbar.Search.searchText": "Búsqueda",
|
||||
"SSE.view.tablet.toolbar.View.doneText": "Listo"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"SSE.controller.Main.convertationErrorText": "Échec de la conversion.",
|
||||
"SSE.controller.Main.convertationTimeoutText": "Expiration du délai de conversion.",
|
||||
"SSE.controller.Main.criticalErrorExtText": "Cliquez sur \"Ok\" pour recharger la page.",
|
||||
"SSE.controller.Main.criticalErrorTitle": "Erreur",
|
||||
"SSE.controller.Main.downloadErrorText": "Échec du téléchargement.",
|
||||
"SSE.controller.Main.errorDefaultMessage": "Code d'erreur: %1",
|
||||
"SSE.controller.Main.errorKeyEncrypt": "Descripteur de clés inconnu",
|
||||
"SSE.controller.Main.errorKeyExpire": "Descripteur de clés expiré",
|
||||
"SSE.controller.Main.errorUsersExceed": "Le nombre d'utilisateurs autorisés par le plan tarifaire a été dépassé",
|
||||
"SSE.controller.Main.notcriticalErrorTitle": "Avertissement",
|
||||
"SSE.controller.Main.printText": "Impression en cours...",
|
||||
"SSE.controller.Main.textAnonymous": "Anonyme",
|
||||
"SSE.controller.Main.textLoadingDocument": "Chargement du document",
|
||||
"SSE.controller.Main.unknownErrorText": "Erreur inconnue.",
|
||||
"SSE.controller.Main.unsupportedBrowserErrorText ": "Votre navigateur n'est pas pris en charge.",
|
||||
"SSE.controller.Main.uploadImageExtMessage": "Format d'image inconnu.",
|
||||
"SSE.controller.Main.uploadImageFileCountMessage": "Aucune image n'est téléchargée.",
|
||||
"SSE.controller.Main.uploadImageSizeMessage": "La taille de l'image a dépassé la limite maximale.",
|
||||
"SSE.view.OpenCsvPanel.txtDelimiter": "Délimiteur",
|
||||
"SSE.view.OpenCsvPanel.txtEncoding": "Codage ",
|
||||
"SSE.view.OpenCsvPanel.txtHint": "Entrez les informations ci-dessus.",
|
||||
"SSE.view.OpenCsvPanel.txtSpace": "Espace",
|
||||
"SSE.view.OpenCsvPanel.txtTab": "Tabulation",
|
||||
"SSE.view.OpenCsvPanel.txtTitle": "Sélectionnez les options d'ouverture de CSV",
|
||||
"SSE.view.phone.toolbar.Search.searchText": "Recherche",
|
||||
"SSE.view.phone.toolbar.View.doneText": "Fait",
|
||||
"SSE.view.tablet.toolbar.Search.searchText": "Recherche",
|
||||
"SSE.view.tablet.toolbar.View.doneText": "Fait"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"SSE.controller.Main.convertationErrorText": "Conversione fallita.",
|
||||
"SSE.controller.Main.convertationTimeoutText": "E' stato superato il tempo limite della conversione.",
|
||||
"SSE.controller.Main.criticalErrorExtText": "Clicca su \"OK\" per ricaricare la pagina.",
|
||||
"SSE.controller.Main.criticalErrorTitle": "Errore",
|
||||
"SSE.controller.Main.downloadErrorText": "Download fallito.",
|
||||
"SSE.controller.Main.errorDefaultMessage": "Codice errore: %1",
|
||||
"SSE.controller.Main.errorKeyEncrypt": "Descrittore di chiave sconosciuto",
|
||||
"SSE.controller.Main.errorKeyExpire": "Descrittore di chiave scaduto",
|
||||
"SSE.controller.Main.errorUsersExceed": "E' stato superato il numero di utenti consentito dal piano tariffario",
|
||||
"SSE.controller.Main.notcriticalErrorTitle": "Avviso",
|
||||
"SSE.controller.Main.printText": "Stampa in corso...",
|
||||
"SSE.controller.Main.textAnonymous": "Anonimo",
|
||||
"SSE.controller.Main.textLoadingDocument": "Caricamento del documento",
|
||||
"SSE.controller.Main.unknownErrorText": "Errore sconosciuto.",
|
||||
"SSE.controller.Main.unsupportedBrowserErrorText ": "Il tuo browser non è supportato.",
|
||||
"SSE.controller.Main.uploadImageExtMessage": "Formato immagine sconosciuto.",
|
||||
"SSE.controller.Main.uploadImageFileCountMessage": "Nessun immagine caricata.",
|
||||
"SSE.controller.Main.uploadImageSizeMessage": "E' stata superata la dimensione massima.",
|
||||
"SSE.view.OpenCsvPanel.txtDelimiter": "Delimitatore",
|
||||
"SSE.view.OpenCsvPanel.txtEncoding": "Codifica ",
|
||||
"SSE.view.OpenCsvPanel.txtHint": "Si prega di inserire le informazioni al di sopra.",
|
||||
"SSE.view.OpenCsvPanel.txtSpace": "Spazio",
|
||||
"SSE.view.OpenCsvPanel.txtTab": "Tabulazione",
|
||||
"SSE.view.OpenCsvPanel.txtTitle": "Seleziona opzioni di apertura CSV",
|
||||
"SSE.view.phone.toolbar.Search.searchText": "Ricerca",
|
||||
"SSE.view.phone.toolbar.View.doneText": "Fatto",
|
||||
"SSE.view.tablet.toolbar.Search.searchText": "Ricerca",
|
||||
"SSE.view.tablet.toolbar.View.doneText": "Fatto"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"SSE.controller.Main.convertationErrorText": "Conversion failed.",
|
||||
"SSE.controller.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
"SSE.controller.Main.criticalErrorExtText": "Press \"OK\" to reload view page.",
|
||||
"SSE.controller.Main.criticalErrorTitle": "Error",
|
||||
"SSE.controller.Main.downloadErrorText": "Download failed.",
|
||||
"SSE.controller.Main.errorDefaultMessage": "Error code: %1",
|
||||
"SSE.controller.Main.errorKeyEncrypt": "Unknown key descriptor",
|
||||
"SSE.controller.Main.errorKeyExpire": "Key descriptor expired",
|
||||
"SSE.controller.Main.errorUsersExceed": "The number of users allowed by the pricing plan was exceeded",
|
||||
"SSE.controller.Main.notcriticalErrorTitle": "Warning",
|
||||
"SSE.controller.Main.printText": "Drukā...",
|
||||
"SSE.controller.Main.textAnonymous": "Anonymous",
|
||||
"SSE.controller.Main.textLoadingDocument": "Loading document",
|
||||
"SSE.controller.Main.unknownErrorText": "Unknown error.",
|
||||
"SSE.controller.Main.unsupportedBrowserErrorText ": "Your browser is not supported.",
|
||||
"SSE.controller.Main.uploadImageExtMessage": "Unknown image format.",
|
||||
"SSE.controller.Main.uploadImageFileCountMessage": "No images uploaded.",
|
||||
"SSE.controller.Main.uploadImageSizeMessage": "Maximium image size limit exceeded.",
|
||||
"SSE.view.OpenCsvPanel.txtDelimiter": "Norobežotājs",
|
||||
"SSE.view.OpenCsvPanel.txtEncoding": "Kodēšana",
|
||||
"SSE.view.OpenCsvPanel.txtHint": "Lūdzu ievadiet informāciju augstāk.",
|
||||
"SSE.view.OpenCsvPanel.txtSpace": "Space",
|
||||
"SSE.view.OpenCsvPanel.txtTab": "Tab",
|
||||
"SSE.view.OpenCsvPanel.txtTitle": "Izvēlieties CSV atvēršanas opcijas",
|
||||
"SSE.view.phone.toolbar.Search.searchText": "Search",
|
||||
"SSE.view.phone.toolbar.View.doneText": "Done",
|
||||
"SSE.view.tablet.toolbar.Search.searchText": "Search",
|
||||
"SSE.view.tablet.toolbar.View.doneText": "Done"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"SSE.controller.Main.convertationErrorText": "Conversão falhou.",
|
||||
"SSE.controller.Main.convertationTimeoutText": "Tempo limite de conversão excedido.",
|
||||
"SSE.controller.Main.criticalErrorExtText": "Pressione \"OK\" para recarregar visualização da página.",
|
||||
"SSE.controller.Main.criticalErrorTitle": "Erro",
|
||||
"SSE.controller.Main.downloadErrorText": "Download falhou.",
|
||||
"SSE.controller.Main.errorDefaultMessage": "Código do erro: %1",
|
||||
"SSE.controller.Main.errorKeyEncrypt": "Descritor de chave desconhecido",
|
||||
"SSE.controller.Main.errorKeyExpire": "Descritor de chave expirado",
|
||||
"SSE.controller.Main.errorUsersExceed": "O número de usuários permitidos pelo plano de preços foi excedido",
|
||||
"SSE.controller.Main.notcriticalErrorTitle": "Aviso",
|
||||
"SSE.controller.Main.printText": "Imprimindo...",
|
||||
"SSE.controller.Main.textAnonymous": "Anônimo",
|
||||
"SSE.controller.Main.textLoadingDocument": "Carregando documento",
|
||||
"SSE.controller.Main.unknownErrorText": "Erro desconhecido.",
|
||||
"SSE.controller.Main.unsupportedBrowserErrorText ": "Seu navegador não é suportado.",
|
||||
"SSE.controller.Main.uploadImageExtMessage": "Formato de imagem desconhecido.",
|
||||
"SSE.controller.Main.uploadImageFileCountMessage": "Sem imagens carregadas.",
|
||||
"SSE.controller.Main.uploadImageSizeMessage": "Tamanho limite máximo da imagem excedido.",
|
||||
"SSE.view.OpenCsvPanel.txtDelimiter": "Delimitador",
|
||||
"SSE.view.OpenCsvPanel.txtEncoding": "Codificação",
|
||||
"SSE.view.OpenCsvPanel.txtHint": "Insira a informação acima.",
|
||||
"SSE.view.OpenCsvPanel.txtSpace": "Espaço",
|
||||
"SSE.view.OpenCsvPanel.txtTab": "Aba",
|
||||
"SSE.view.OpenCsvPanel.txtTitle": "Escolha as opções de abertura CSV",
|
||||
"SSE.view.phone.toolbar.Search.searchText": "Pesquisar",
|
||||
"SSE.view.phone.toolbar.View.doneText": "Concluído",
|
||||
"SSE.view.tablet.toolbar.Search.searchText": "Pesquisar",
|
||||
"SSE.view.tablet.toolbar.View.doneText": "Concluído"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"SSE.controller.Main.convertationErrorText": "Конвертация не удалась.",
|
||||
"SSE.controller.Main.convertationTimeoutText": "Превышено время ожидания конвертации.",
|
||||
"SSE.controller.Main.criticalErrorExtText": "Нажмите \"OK\", чтобы обновить страницу.",
|
||||
"SSE.controller.Main.criticalErrorTitle": "Ошибка",
|
||||
"SSE.controller.Main.downloadErrorText": "Загрузка не удалась.",
|
||||
"SSE.controller.Main.errorDefaultMessage": "Код ошибки: %1",
|
||||
"SSE.controller.Main.errorKeyEncrypt": "Неизвестный дескриптор ключа",
|
||||
"SSE.controller.Main.errorKeyExpire": "Срок действия дескриптора ключа истек",
|
||||
"SSE.controller.Main.errorUsersExceed": "Превышено количество пользователей, разрешенных согласно тарифному плану",
|
||||
"SSE.controller.Main.notcriticalErrorTitle": "Предупреждение",
|
||||
"SSE.controller.Main.printText": "Печать...",
|
||||
"SSE.controller.Main.textAnonymous": "Аноним",
|
||||
"SSE.controller.Main.textLoadingDocument": "Загрузка документа",
|
||||
"SSE.controller.Main.unknownErrorText": "Неизвестная ошибка.",
|
||||
"SSE.controller.Main.unsupportedBrowserErrorText ": "Ваш браузер не поддерживается.",
|
||||
"SSE.controller.Main.uploadImageExtMessage": "Неизвестный формат изображения.",
|
||||
"SSE.controller.Main.uploadImageFileCountMessage": "Ни одного изображения не загружено.",
|
||||
"SSE.controller.Main.uploadImageSizeMessage": "Превышен максимальный размер изображения.",
|
||||
"SSE.view.OpenCsvPanel.txtDelimiter": "Разделитель",
|
||||
"SSE.view.OpenCsvPanel.txtEncoding": "Кодировка ",
|
||||
"SSE.view.OpenCsvPanel.txtHint": "Пожалуйста, введите информацию выше.",
|
||||
"SSE.view.OpenCsvPanel.txtSpace": "Пробел",
|
||||
"SSE.view.OpenCsvPanel.txtTab": "Табуляция",
|
||||
"SSE.view.OpenCsvPanel.txtTitle": "Выбрать параметры открытия CSV",
|
||||
"SSE.view.phone.toolbar.Search.searchText": "Поиск",
|
||||
"SSE.view.phone.toolbar.View.doneText": "Готово",
|
||||
"SSE.view.tablet.toolbar.Search.searchText": "Поиск",
|
||||
"SSE.view.tablet.toolbar.View.doneText": "Готово"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"SSE.controller.Main.convertationErrorText": "Pretvorba ni uspela.",
|
||||
"SSE.controller.Main.convertationTimeoutText": "Pretvorbena prekinitev presežena.",
|
||||
"SSE.controller.Main.criticalErrorExtText": "Pritisnite \"OK\" za osvežitev pogleda strani.",
|
||||
"SSE.controller.Main.criticalErrorTitle": "Napaka",
|
||||
"SSE.controller.Main.downloadErrorText": "Prenos ni uspel.",
|
||||
"SSE.controller.Main.errorDefaultMessage": "Koda napake: %1",
|
||||
"SSE.controller.Main.errorKeyEncrypt": "Neznan ključni deskriptor",
|
||||
"SSE.controller.Main.errorKeyExpire": "Ključni deskriptor je potekel",
|
||||
"SSE.controller.Main.errorUsersExceed": "Število uporabnikov, ki ga dovoljuje cenovni načrt, je bilo preseženo",
|
||||
"SSE.controller.Main.notcriticalErrorTitle": "Opozorilo",
|
||||
"SSE.controller.Main.printText": "Tiskanje...",
|
||||
"SSE.controller.Main.textAnonymous": "Anonimno",
|
||||
"SSE.controller.Main.textLoadingDocument": "Nalaganje Dokumenta",
|
||||
"SSE.controller.Main.unknownErrorText": "Neznana napaka.",
|
||||
"SSE.controller.Main.unsupportedBrowserErrorText ": "Vaš brskalnik ni podprt.",
|
||||
"SSE.controller.Main.uploadImageExtMessage": "Neznan format slike.",
|
||||
"SSE.controller.Main.uploadImageFileCountMessage": "Ni naloženih slik.",
|
||||
"SSE.controller.Main.uploadImageSizeMessage": "Maksimalni limit velikosti slike je presežen.",
|
||||
"SSE.view.OpenCsvPanel.txtDelimiter": "Ločilo",
|
||||
"SSE.view.OpenCsvPanel.txtEncoding": "Kodiranje",
|
||||
"SSE.view.OpenCsvPanel.txtHint": "Informacije prosim vnesite zgoraj.",
|
||||
"SSE.view.OpenCsvPanel.txtSpace": "Razmik",
|
||||
"SSE.view.OpenCsvPanel.txtTab": "Zavihek",
|
||||
"SSE.view.OpenCsvPanel.txtTitle": "Izberi možnosti CSV odpiranja",
|
||||
"SSE.view.phone.toolbar.Search.searchText": "Iskanje",
|
||||
"SSE.view.phone.toolbar.View.doneText": "Končano",
|
||||
"SSE.view.tablet.toolbar.Search.searchText": "Iskanje",
|
||||
"SSE.view.tablet.toolbar.View.doneText": "Končano"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"SSE.controller.Main.convertationErrorText": "Değişim başarısız oldu.",
|
||||
"SSE.controller.Main.convertationTimeoutText": "Değişim süresi aşıldı.",
|
||||
"SSE.controller.Main.criticalErrorExtText": "Görüntüleme sayfasını yenilemek için \"TAMAM\"'a basın.",
|
||||
"SSE.controller.Main.criticalErrorTitle": "Hata",
|
||||
"SSE.controller.Main.downloadErrorText": "Yükleme başarısız oldu.",
|
||||
"SSE.controller.Main.errorDefaultMessage": "Hata kodu: %1",
|
||||
"SSE.controller.Main.errorKeyEncrypt": "Bilinmeyen anahtar tanımlayıcı",
|
||||
"SSE.controller.Main.errorKeyExpire": "Anahtar tanımlayıcının süresi doldu",
|
||||
"SSE.controller.Main.errorUsersExceed": "Fiyat planının izin verdiği kullanıcı sayısı aşıldı",
|
||||
"SSE.controller.Main.notcriticalErrorTitle": "Dikkat",
|
||||
"SSE.controller.Main.printText": "Yazdırılıyor...",
|
||||
"SSE.controller.Main.textAnonymous": "Anonim",
|
||||
"SSE.controller.Main.textLoadingDocument": "Döküman yükleniyor",
|
||||
"SSE.controller.Main.unknownErrorText": "Bilinmeyen hata.",
|
||||
"SSE.controller.Main.unsupportedBrowserErrorText ": "Tarayıcınız desteklenmiyor.",
|
||||
"SSE.controller.Main.uploadImageExtMessage": "Bilinmeyen resim formatı",
|
||||
"SSE.controller.Main.uploadImageFileCountMessage": "Resim yüklenmedi.",
|
||||
"SSE.controller.Main.uploadImageSizeMessage": "Maksimum resim boyutu aşıldı.",
|
||||
"SSE.view.OpenCsvPanel.txtDelimiter": "Sınırlayıcı",
|
||||
"SSE.view.OpenCsvPanel.txtEncoding": "Kodlama",
|
||||
"SSE.view.OpenCsvPanel.txtHint": "Lütfen yukarıdaki bilgiyi giriniz.",
|
||||
"SSE.view.OpenCsvPanel.txtSpace": "Boşluk",
|
||||
"SSE.view.OpenCsvPanel.txtTab": "Sekme",
|
||||
"SSE.view.OpenCsvPanel.txtTitle": "CSV açılış seçenekleri seç",
|
||||
"SSE.view.phone.toolbar.Search.searchText": "Ara",
|
||||
"SSE.view.phone.toolbar.View.doneText": "Tamamlandı",
|
||||
"SSE.view.tablet.toolbar.Search.searchText": "Ara",
|
||||
"SSE.view.tablet.toolbar.View.doneText": "Tamamlandı"
|
||||
}
|
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 728 B |
Before Width: | Height: | Size: 669 B |
Before Width: | Height: | Size: 618 B |
Before Width: | Height: | Size: 788 B |
Before Width: | Height: | Size: 752 B |
|
@ -1,130 +0,0 @@
|
|||
// Basic
|
||||
$base-color : #cbcbcb;
|
||||
$active-color : #798d45;
|
||||
$base-gradient : 'matte';
|
||||
$include-default-icons : false;
|
||||
$include-default-uis : false;
|
||||
|
||||
// Toolbar
|
||||
$toolbar-icon-size : 1.0em;
|
||||
|
||||
// Setting list
|
||||
$settinglist-icon-size : 24px;
|
||||
$settinglist-image-width : 72px;
|
||||
$settinglist-image-height : 48px;
|
||||
|
||||
// Image default icons
|
||||
$icons-default-size : 24px;
|
||||
$icons-default-image-width : 72px;
|
||||
$icons-default-image-height : 624px;
|
||||
|
||||
@import 'sencha-touch/default';
|
||||
|
||||
@import 'sencha-touch/default/src/Class';
|
||||
@import 'sencha-touch/default/src/Button';
|
||||
@import 'sencha-touch/default/src/Panel';
|
||||
@import 'sencha-touch/default/src/Sheet';
|
||||
@import 'sencha-touch/default/src/MessageBox';
|
||||
@import 'sencha-touch/default/src/Toolbar';
|
||||
@import 'sencha-touch/default/src/Toast';
|
||||
@import 'sencha-touch/default/src/Menu';
|
||||
//@import 'sencha-touch/default/src/carousel/Carousel';
|
||||
@import 'sencha-touch/default/src/form/Panel';
|
||||
@import 'sencha-touch/default/src/form/FieldSet';
|
||||
@import 'sencha-touch/default/src/field/Field';
|
||||
@import 'sencha-touch/default/src/field/Checkbox';
|
||||
@import 'sencha-touch/default/src/field/Radio';
|
||||
@import 'sencha-touch/default/src/field/Search';
|
||||
@import 'sencha-touch/default/src/field/Select';
|
||||
//@import 'sencha-touch/default/src/field/Slider';
|
||||
//@import 'sencha-touch/default/src/field/Spinner';
|
||||
//@import 'sencha-touch/default/src/field/TextArea';
|
||||
//@import 'sencha-touch/default/src/dataview/IndexBar';
|
||||
@import 'sencha-touch/default/src/dataview/List';
|
||||
//@import 'sencha-touch/default/src/picker/Picker';
|
||||
//@import 'sencha-touch/default/src/plugin/ListPaging';
|
||||
//@import 'sencha-touch/default/src/plugin/PullRefresh';
|
||||
//@import 'sencha-touch/default/src/slider/Slider';
|
||||
@import 'sencha-touch/default/src/slider/Toggle';
|
||||
//@import 'sencha-touch/default/src/tab/Panel';
|
||||
//@import 'sencha-touch/default/src/grid/Grid';
|
||||
|
||||
@import 'common-buttons';
|
||||
@import 'common-dataview';
|
||||
@import 'common-toolbar';
|
||||
@import 'common-settingspanel';
|
||||
@import 'common-planarspinner';
|
||||
@import 'common-settingslist';
|
||||
@import 'common-messagebox';
|
||||
|
||||
@import 'application-mixins';
|
||||
//@import 'application-dataview';
|
||||
|
||||
@include common-settings-panel;
|
||||
@include common-planar-spinner;
|
||||
|
||||
@include common-toolbar-ui('edit', $base-color);
|
||||
@include common-toolbar-ui('search', $base-color);
|
||||
|
||||
//@include application-icon-normal('save', 0);
|
||||
//@include application-icon-normal('undo', 1);
|
||||
@include application-icon-normal('share', 2);
|
||||
//@include application-icon-normal('font-style', 3);
|
||||
//@include application-icon-normal('font-color', 4);
|
||||
//@include application-icon-normal('bold', 5);
|
||||
//@include application-icon-normal('italic', 6);
|
||||
//@include application-icon-normal('underline', 7);
|
||||
//@include application-icon-normal('align-left', 8);
|
||||
//@include application-icon-normal('align-center', 9);
|
||||
//@include application-icon-normal('align-right', 10);
|
||||
//@include application-icon-normal('align-fill', 11);
|
||||
@include application-icon-normal('pages', 12);
|
||||
@include application-icon-normal('search-prev', 13);
|
||||
@include application-icon-normal('search-next', 14);
|
||||
//@include application-icon-normal('insert', 15);
|
||||
@include application-icon-normal('search', 16);
|
||||
@include application-icon-normal('fullscreen', 17);
|
||||
//@include application-icon-normal('spinner-down', 18);
|
||||
//@include application-icon-normal('spinner-up', 19);
|
||||
//@include application-icon-normal('table', 20);
|
||||
//@include application-icon-normal('picture', 21);
|
||||
//@include application-icon-normal('insert-row', 22);
|
||||
//@include application-icon-normal('insert-column', 23);
|
||||
//@include application-icon-normal('textbigger', 24);
|
||||
//@include application-icon-normal('textless', 25);
|
||||
|
||||
|
||||
@include common-button-ui('base', $base-color);
|
||||
@include common-button-ui('light', lighten($base-color, 100%));
|
||||
@include common-button-ui('base-blue', $active-color, 'dark');
|
||||
@include common-button-ui('back', $base-color);
|
||||
|
||||
/*
|
||||
* unsupport
|
||||
*/
|
||||
|
||||
//TODO: need retina resolution
|
||||
.unsuported-view {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: url(../img/ios-only.png) no-repeat center #efefef;
|
||||
background-attachment: fixed;
|
||||
z-index: 90000;
|
||||
}
|
||||
|
||||
/*
|
||||
* Additional styles
|
||||
*/
|
||||
|
||||
.x-button.text-offset-12 {
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
.x-button.text-offset-30 {
|
||||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
@mixin application-icon-normal($name, $index) {
|
||||
.x-button-icon.#{$name},
|
||||
.list-icon.#{$name} {
|
||||
background-image: url($icons-default-path);
|
||||
background-color: transparent;
|
||||
background-position: 0 -1 * $index * $icons-default-size;
|
||||
background-size: $icons-default-image-width $icons-default-image-height;
|
||||
}
|
||||
|
||||
.x-button-pressing,
|
||||
.x-button-pressed,
|
||||
.x-button-active,
|
||||
.x-item-pressed {
|
||||
.x-button-icon.#{$name},
|
||||
.list-icon.#{$name} {
|
||||
background-position: -1 * $icons-default-size -1 * $index * $icons-default-size;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
$icons-default-path : '../img/icons/icons-normal.png';
|
||||
$icons-setting-list-image : '../img/icons/list-normal.png';
|
||||
|
||||
@import 'application-base';
|
|
@ -1,4 +0,0 @@
|
|||
$icons-default-path : '../img/icons/icons-retina.png';
|
||||
$icons-setting-list-image : '../img/icons/list-retina.png';
|
||||
|
||||
@import 'application-base';
|
|
@ -1,14 +0,0 @@
|
|||
# Get the directory that this configuration file exists in
|
||||
dir = File.dirname(__FILE__)
|
||||
|
||||
# Load the sencha-touch framework automatically.
|
||||
load File.join(dir, '..', '..', '..', '..', '..', 'vendor', 'touch', 'resources', 'themes')
|
||||
|
||||
# Add include path for command styles
|
||||
add_import_path File.join(dir, '..', '..', '..', '..', '..', 'apps', 'common', 'mobile', 'resources', 'sass')
|
||||
|
||||
# Compass configurations
|
||||
sass_path = dir
|
||||
css_path = File.join(dir, "..", "css")
|
||||
environment = :development
|
||||
output_style = :expanded
|
|
@ -1,15 +0,0 @@
|
|||
# Get the directory that this configuration file exists in
|
||||
dir = File.dirname(__FILE__)
|
||||
|
||||
# Load the sencha-touch framework automatically.
|
||||
load File.join(dir, '..', '..', '..', '..', '..', 'vendor', 'touch', 'resources', 'themes')
|
||||
|
||||
# Add include path for command styles
|
||||
add_import_path File.join(dir, '..', '..', '..', '..', '..', 'apps', 'common', 'mobile', 'resources', 'sass')
|
||||
|
||||
# Compass configurations
|
||||
sass_path = dir
|
||||
css_path = File.join(dir, "..", "css")
|
||||
fonts_path = File.join(dir, '..', '..', '..', '..', '..', 'apps', 'common', 'mobile', 'resources', 'fonts')
|
||||
environment = :production
|
||||
output_style = :compressed
|