Skip to content
Code-Schnipsel Gruppen Projekte
Commit 08bbdc1f erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fa 4.5

Übergeordneter aeff8dca
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -32,7 +32,7 @@ define('package/quiqqer/cron/bin/CronWindow', [
options: {
title : QUILocale.get('quiqqer/cron', 'cron.window.add.cron.title'),
icon : 'icon-time',
icon : 'fa fa-clock-o',
maxWidth : 750,
maxHeight: 500,
......@@ -40,11 +40,11 @@ define('package/quiqqer/cron/bin/CronWindow', [
cancel_button : {
text : QUILocale.get('quiqqer/system', 'cancel'),
textimage : 'icon-remove fa fa-remove'
textimage : 'fa fa-remove'
},
ok_button : {
text : QUILocale.get('quiqqer/system', 'ok'),
textimage : 'icon-ok fa fa-check'
textimage : 'fa fa-check'
}
},
......
......@@ -43,7 +43,7 @@ define('package/quiqqer/cron/bin/History', [
options: {
title: 'Cron-History',
icon : 'icon-long-arrow-right'
icon : 'fa fa-long-arrow-right'
},
initialize: function (options) {
......
......@@ -41,7 +41,7 @@ define('package/quiqqer/cron/bin/Manager', [
options: {
title: 'Cron-Manager',
icon : 'icon-time'
icon : 'fa fa-clock-o'
},
initialize: function (options) {
......@@ -81,7 +81,7 @@ define('package/quiqqer/cron/bin/Manager', [
for (var i = 0, len = result.length; i < len; i++) {
result[i].status = {
title : QUILocale.get(lg, 'cron.panel.manager.btn.toggle'),
icon : result[i].active == 1 ? 'icon-ok' : 'icon-remove',
icon : result[i].active == 1 ? 'fa fa-check' : 'fa fa-remove',
cronId: result[i].id,
events: {
onClick: toggleCron
......@@ -91,7 +91,7 @@ define('package/quiqqer/cron/bin/Manager', [
result[i].play = {
name : 'cron-play-button-' + result[i].id,
title : QUILocale.get(lg, 'cron.panel.manager.btn.execute'),
icon : 'icon-play',
icon : 'fa fa-play',
cronId: result[i].id,
events: {
onClick: execCron
......@@ -120,7 +120,7 @@ define('package/quiqqer/cron/bin/Manager', [
new QUIButton({
name : 'add',
text : QUILocale.get(lg, 'cron.panel.manager.btn.add'),
textimage: 'icon-plus',
textimage: 'fa fa-plus',
events : {
onClick: function () {
self.openAddCronWindow();
......@@ -135,7 +135,7 @@ define('package/quiqqer/cron/bin/Manager', [
new QUIButton({
name : 'edit',
text : QUILocale.get(lg, 'cron.panel.manager.btn.edit'),
textimage: 'icon-pencil',
textimage: 'fa fa-edit',
events : {
onClick: function () {
self.editMarkedCron();
......@@ -148,7 +148,7 @@ define('package/quiqqer/cron/bin/Manager', [
new QUIButton({
name : 'delete',
text : QUILocale.get(lg, 'cron.panel.manager.btn.delete'),
textimage: 'icon-trash',
textimage: 'fa fa-trash',
events : {
onClick: function () {
self.deleteMarkedCrons();
......@@ -163,7 +163,7 @@ define('package/quiqqer/cron/bin/Manager', [
new QUIButton({
name : 'history',
text : QUILocale.get(lg, 'cron.panel.manager.btn.history'),
textimage: 'icon-long-arrow-right',
textimage: 'fa fa-long-arrow-right',
events : {
onClick: function () {
self.showHistory();
......@@ -322,7 +322,7 @@ define('package/quiqqer/cron/bin/Manager', [
});
new QUIConfirm({
icon : 'icon-remove',
icon : 'fa fa-remove',
title : QUILocale.get(lg, 'cron.window.delete.cron.title'),
text : QUILocale.get(lg, 'cron.window.delete.cron.text'),
information: QUILocale.get(lg, 'cron.window.delete.cron.information', {
......@@ -442,12 +442,12 @@ define('package/quiqqer/cron/bin/Manager', [
}
for (i = 0, len = buttons.length; i < len; i++) {
buttons[i].setAttribute('icon', 'icon-refresh icon-spin');
buttons[i].setAttribute('icon', 'fa fa-spinner fa-spin');
}
Ajax.post('package_quiqqer_cron_ajax_cron_executeCron', function () {
for (i = 0, len = buttons.length; i < len; i++) {
buttons[i].setAttribute('icon', 'icon-play');
buttons[i].setAttribute('icon', 'fa fa-play');
}
}, {
......
......@@ -43,7 +43,9 @@ try {
$Response->send();
} catch (QUI\Exception $Exception) {
QUI\System\Log::addAlert($Exception->getMessage());
QUI\System\Log::addAlert($Exception->getMessage(), array(
'type' => 'cron execution'
));
$Response->setStatusCode(Response::HTTP_SERVICE_UNAVAILABLE);
$Response->send();
......
......@@ -2,7 +2,7 @@
<menu>
<item parent="/extras/"
name="crons"
icon="icon-time"
icon="fa fa-clock-o"
>
Crons
</item>
......@@ -10,7 +10,7 @@
<item parent="/extras/crons/"
name="manager"
require="package/quiqqer/cron/bin/Manager"
icon="icon-time"
icon="fa fa-clock-o"
>
Cron-Manager
</item>
......@@ -18,7 +18,7 @@
<item parent="/extras/crons/"
name="history"
require="package/quiqqer/cron/bin/History"
icon="icon-long-arrow-right"
icon="fa fa-long-arrow-right"
>
Cron-History
</item>
......
......@@ -20,7 +20,7 @@
<locale group="quiqqer/cron" var="settings.title" />
</title>
<params>
<icon>icon-time</icon>
<icon>fa fa-clock-o</icon>
</params>
<categories>
......@@ -28,7 +28,7 @@
<text>
<locale group="quiqqer/cron" var="settings.title" />
</text>
<icon>icon-time</icon>
<icon>fa fa-clock-o</icon>
<settings title="settings" name="settings">
<title>
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren