partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5a990f72a0399131495ae6f8052c4a6967bfd8ca
parent 1305b2a1ec0f468c173732ecd25620e66dee3d41
Author: Felicitus <felicitus@felicitus.org>
Date:   Mon, 21 Sep 2015 19:23:48 +0200

Adjusted icon classes

Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Components/MenuBar.js | 38++++++++++++++++++--------------------
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/Editor/PartEditor.js | 10+++++-----
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Dialogs/FileUploadDialog.js | 6+++---
Msrc/PartKeepr/FrontendBundle/Resources/public/js/PartKeepr.js | 2+-
4 files changed, 27 insertions(+), 29 deletions(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/MenuBar.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/MenuBar.js @@ -132,7 +132,7 @@ Ext.define('PartKeepr.MenuBar', { }, showUserPreferences: function () { var j = new PartKeepr.UserPreferencePanel({ - iconCls: 'icon-gear', + iconCls: 'web-icon gear', closable: true }); @@ -148,7 +148,7 @@ Ext.define('PartKeepr.MenuBar', { showSystemInformation: function () { var j = Ext.create("PartKeepr.SystemInformationGrid", { title: i18n("System Information"), - iconCls: 'icon-system-monitor', + icon: 'bundles/brainbitsfugueicons/icons/fugue/16/system-monitor.png', closable: true, padding: "5 5 5 5" }); @@ -159,7 +159,7 @@ Ext.define('PartKeepr.MenuBar', { }, showStatisticsSummary: function () { var j = Ext.create("PartKeepr.CurrentStatisticsPanel", { - iconCls: 'icon-chart-bar', + iconCls: 'web-icon chart-bar', closable: true }); @@ -169,7 +169,7 @@ Ext.define('PartKeepr.MenuBar', { }, showStatisticsChart: function () { var j = Ext.create("PartKeepr.StatisticsChartPanel", { - iconCls: 'icon-chart-bar', + iconCls: 'web-icon chart-bar', closable: true }); @@ -180,7 +180,7 @@ Ext.define('PartKeepr.MenuBar', { editStorageLocations: function () { var j = Ext.create("PartKeepr.StorageLocationEditorComponent", { title: i18n("Storage Locations"), - iconCls: 'icon-wooden-box', + icon: 'bundles/brainbitsfugueicons/icons/fugue/16/wooden-box.png', closable: true }); @@ -190,7 +190,7 @@ Ext.define('PartKeepr.MenuBar', { editUnits: function () { var j = Ext.create("PartKeepr.UnitEditorComponent", { title: i18n("Units"), - iconCls: 'icon-unit', + icon: 'bundles/partkeeprfrontend/images/icons/unit.png', closable: true }); @@ -200,7 +200,7 @@ Ext.define('PartKeepr.MenuBar', { editManufacturers: function () { var j = Ext.create("PartKeepr.ManufacturerEditorComponent", { title: i18n("Manufacturers"), - iconCls: 'icon-building', + iconCls: 'web-icon building', closable: true }); @@ -210,7 +210,7 @@ Ext.define('PartKeepr.MenuBar', { editFootprints: function () { var j = Ext.create("PartKeepr.FootprintEditorComponent", { title: i18n("Footprints"), - iconCls: 'icon-footprint', + icon: 'bundles/brainbitsfugueicons/icons/fugue/16/fingerprint.png', closable: true }); @@ -220,7 +220,7 @@ Ext.define('PartKeepr.MenuBar', { editDistributors: function () { var j = Ext.create("PartKeepr.DistributorEditorComponent", { title: i18n("Distributors"), - iconCls: 'icon-lorry', + iconCls: 'web-icon lorry', closable: true }); @@ -230,7 +230,7 @@ Ext.define('PartKeepr.MenuBar', { editUsers: function () { var j = Ext.create("PartKeepr.UserEditorComponent", { title: i18n("Users"), - iconCls: 'icon-user', + iconCls: 'web-icon user', closable: true }); @@ -240,7 +240,7 @@ Ext.define('PartKeepr.MenuBar', { editPartUnits: function () { var j = Ext.create("PartKeepr.PartMeasurementUnitEditorComponent", { title: i18n("Part Measurement Units"), - iconCls: 'icon-ruler', + icon: "bundles/brainbitsfugueicons/icons/fugue/16/ruler.png", closable: true }); @@ -250,7 +250,7 @@ Ext.define('PartKeepr.MenuBar', { editProjects: function () { var j = Ext.create("PartKeepr.ProjectEditorComponent", { title: i18n("Projects"), - iconCls: 'icon-drill', + iconCls: 'web-icon drill', closable: true }); @@ -260,7 +260,7 @@ Ext.define('PartKeepr.MenuBar', { showProjectReports: function () { var j = Ext.create("PartKeepr.ProjectReportView", { title: i18n("Project Reports"), - iconCls: 'icon-drill', + iconCls: 'web-icon drill', closable: true }); @@ -270,7 +270,7 @@ Ext.define('PartKeepr.MenuBar', { showSystemNotices: function () { var j = Ext.create("PartKeepr.SystemNoticeEditorComponent", { title: i18n("System Notices"), - iconCls: 'icon-service-bell', + iconCls: 'web-icon bell', closable: true }); @@ -280,7 +280,7 @@ Ext.define('PartKeepr.MenuBar', { showStockHistory: function () { var j = Ext.create("PartKeepr.StockHistoryGrid", { title: i18n("Stock History"), - iconCls: 'icon-notebook', + icon: 'bundles/brainbitsfugueicons/icons/fugue/16/notebook.png', closable: true }); @@ -300,7 +300,7 @@ Ext.define('PartKeepr.MenuBar', { showPrintStorageLocations: function () { var j = Ext.create("PartKeepr.PrintStorageLocations", { title: i18n("Printing and Labeling: Storage Locations"), - iconCls: 'icon-drill', + iconCls: 'web-icon drill', closable: true }); @@ -310,7 +310,7 @@ Ext.define('PartKeepr.MenuBar', { editPrintingPageBasicLayout: function () { var j = Ext.create("PartKeepr.Printing.PageBasicLayoutEditorComponent", { title: i18n("Labeling Layout"), - iconCls: 'icon-drill', + iconCls: 'web-icon drill', closable: true }); @@ -320,7 +320,7 @@ Ext.define('PartKeepr.MenuBar', { editPrintingJobConfiguration: function () { var j = Ext.create("PartKeepr.Printing.PrintingJobConfigurationEditorComponent", { title: i18n("Printing Configuration"), - iconCls: 'icon-drill', + iconCls: 'web-icon drill', closable: true }); @@ -328,4 +328,3 @@ Ext.define('PartKeepr.MenuBar', { j.show(); } }); - - \ No newline at end of file diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/Editor/PartEditor.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/Editor/PartEditor.js @@ -196,28 +196,28 @@ Ext.define('PartKeepr.PartEditor', { // Creates the distributor grid this.partDistributorGrid = Ext.create("PartKeepr.PartDistributorGrid", { title: i18n("Distributors"), - iconCls: 'icon-lorry', + iconCls: 'web-icon lorry', layout: 'fit' }); // Creates the manufacturer grid this.partManufacturerGrid = Ext.create("PartKeepr.PartManufacturerGrid", { title: i18n("Manufacturers"), - iconCls: 'icon-building', + iconCls: 'web-icon building', layout: 'fit' }); // Creates the parameter grid this.partParameterGrid = Ext.create("PartKeepr.PartParameterGrid", { title: i18n("Parameters"), - iconCls: 'icon-table', + iconCls: 'web-icon table', layout: 'fit' }); // Creates the attachment grid this.partAttachmentGrid = Ext.create("PartKeepr.PartAttachmentGrid", { title: i18n("Attachments"), - iconCls: 'icon-attach', + iconCls: 'web-icon attach', layout: 'fit' }); @@ -276,7 +276,7 @@ Ext.define('PartKeepr.PartEditor', { border: false, items: [ { - iconCls: 'icon-brick', + iconCls: 'web-icon brick', xtype: 'panel', autoScroll: false, layout: 'anchor', diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Dialogs/FileUploadDialog.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Dialogs/FileUploadDialog.js @@ -8,7 +8,7 @@ Ext.define('PartKeepr.FileUploadDialog', { layout: 'fit', resizable: false, modal: true, - iconCls: 'icon-drive-upload', + iconCls: 'web-icon drive-upload', initComponent: function () { @@ -19,7 +19,7 @@ Ext.define('PartKeepr.FileUploadDialog', { this.uploadButton = Ext.create("Ext.button.Button", { text: i18n('Upload'), - iconCls: 'icon-drive-upload', + iconCls: 'web-icon drive-upload', width: 120, handler: Ext.bind(function () { @@ -69,7 +69,7 @@ Ext.define('PartKeepr.FileUploadDialog', { this.fileFormatButton = Ext.create("Ext.button.Button", { text: i18n("Available Formats"), width: 120, - iconCls: 'icon-infocard', + iconCls: 'web-icon infocard', handler: this.showAvailableFormats, scope: this }); diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/PartKeepr.js b/src/PartKeepr/FrontendBundle/Resources/public/js/PartKeepr.js @@ -106,7 +106,7 @@ Ext.application({ this.partManager = Ext.create("PartKeepr.PartManager", { title: i18n("Part Manager"), compactLayout: PartKeepr.getApplication().getUserPreference("partkeepr.partmanager.compactlayout", false), - iconCls: 'icon-brick', + iconCls: 'web-icon brick', closable: false });