mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
use new style for all warning dialogs
This commit is contained in:
parent
f862838458
commit
e8ae9b3605
@ -37,7 +37,7 @@ define(['globalize', 'loading', 'connectionManager'], function (globalize, loadi
|
|||||||
confirm({
|
confirm({
|
||||||
|
|
||||||
text: globalize.translate('MessageConfirmRecordingCancellation'),
|
text: globalize.translate('MessageConfirmRecordingCancellation'),
|
||||||
primary: 'cancel',
|
primary: 'delete',
|
||||||
confirmText: globalize.translate('HeaderCancelRecording'),
|
confirmText: globalize.translate('HeaderCancelRecording'),
|
||||||
cancelText: globalize.translate('HeaderKeepRecording')
|
cancelText: globalize.translate('HeaderKeepRecording')
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ define(['globalize', 'loading', 'connectionManager'], function (globalize, loadi
|
|||||||
confirm({
|
confirm({
|
||||||
|
|
||||||
text: globalize.translate('MessageConfirmRecordingCancellation'),
|
text: globalize.translate('MessageConfirmRecordingCancellation'),
|
||||||
primary: 'cancel',
|
primary: 'delete',
|
||||||
confirmText: globalize.translate('HeaderCancelSeries'),
|
confirmText: globalize.translate('HeaderCancelSeries'),
|
||||||
cancelText: globalize.translate('HeaderKeepSeries')
|
cancelText: globalize.translate('HeaderKeepSeries')
|
||||||
|
|
||||||
|
@ -707,7 +707,7 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
|
|||||||
title: globalize.translate("HeaderRestart"),
|
title: globalize.translate("HeaderRestart"),
|
||||||
text: globalize.translate("MessageConfirmRestart"),
|
text: globalize.translate("MessageConfirmRestart"),
|
||||||
confirmText: globalize.translate("ButtonRestart"),
|
confirmText: globalize.translate("ButtonRestart"),
|
||||||
primary: "cancel"
|
primary: "delete"
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
var page = dom.parentWithClass(btn, "page");
|
var page = dom.parentWithClass(btn, "page");
|
||||||
buttonEnabled(page.querySelector("#btnRestartServer"), false);
|
buttonEnabled(page.querySelector("#btnRestartServer"), false);
|
||||||
@ -722,7 +722,7 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
|
|||||||
title: globalize.translate("HeaderShutdown"),
|
title: globalize.translate("HeaderShutdown"),
|
||||||
text: globalize.translate("MessageConfirmShutdown"),
|
text: globalize.translate("MessageConfirmShutdown"),
|
||||||
confirmText: globalize.translate("ButtonShutdown"),
|
confirmText: globalize.translate("ButtonShutdown"),
|
||||||
primary: "cancel"
|
primary: "delete"
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
var page = dom.parentWithClass(btn, "page");
|
var page = dom.parentWithClass(btn, "page");
|
||||||
buttonEnabled(page.querySelector("#btnRestartServer"), false);
|
buttonEnabled(page.querySelector("#btnRestartServer"), false);
|
||||||
|
Loading…
Reference in New Issue
Block a user