You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/dist/428-428.js

2 lines
4.5 KiB

"use strict";(globalThis.webpackChunknextcloud_ui_legacy||=[]).push([[428],{80064(t,n,e){var o=e(71354),a=e.n(o),r=e(76314),i=e.n(r)()(a());i.push([t.id,"\n._updaterAdminCli__button_hEp3C {\n\tmargin-block: 1rem;\n\tmargin-inline: auto;\n}\n","",{version:3,sources:["webpack://./core/src/views/UpdaterAdminCli.vue"],names:[],mappings:";AAgDA;CACA,kBAAA;CACA,mBAAA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n<script setup lang=\"ts\">\nimport { mdiInformationOutline } from '@mdi/js'\nimport { loadState } from '@nextcloud/initial-state'\nimport { t } from '@nextcloud/l10n'\nimport NcButton from '@nextcloud/vue/components/NcButton'\nimport NcGuestContent from '@nextcloud/vue/components/NcGuestContent'\nimport NcIconSvgWrapper from '@nextcloud/vue/components/NcIconSvgWrapper'\nimport NcNoteCard from '@nextcloud/vue/components/NcNoteCard'\n\nconst updateInfo = loadState<{\n\ttooBig: boolean\n\tcliUpgradeLink: string\n}>('core', 'updateInfo')\n<\/script>\n\n<template>\n\t<NcGuestContent>\n\t\t<h2>{{ t('core', 'Update needed') }}</h2>\n\t\t<p>\n\t\t\t{{ updateInfo.tooBig\n\t\t\t\t? t('core', 'Please use the command line updater because you have a big instance with more than 50 accounts.')\n\t\t\t\t: t('core', 'Please use the command line updater because updating via browser is disabled in your config.php.') }}\n\n\t\t\t<NcButton :class=\"$style.updaterAdminCli__button\" :href=\"updateInfo.cliUpgradeLink\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<NcIconSvgWrapper :path=\"mdiInformationOutline\" />\n\t\t\t\t</template>\n\t\t\t\t{{ t('core', 'Documentation') }}\n\t\t\t</NcButton>\n\t\t</p>\n\n\t\t<NcNoteCard type=\"warning\">\n\t\t\t{{ t('core', 'I know that if I continue doing the update via web UI has the risk, that the request runs into a timeout and could cause data loss, but I have a backup and know how to restore my instance in case of a failure.') }}\n\t\t\t<NcButton\n\t\t\t\thref=\"?IKnowThatThisIsABigInstanceAndTheUpdateRequestCouldRunIntoATimeoutAndHowToRestoreABackup=IAmSuperSureToDoThis\"\n\t\t\t\tvariant=\"tertiary\">\n\t\t\t\t{{ t('core', 'Upgrade via web on my own risk') }}\n\t\t\t</NcButton>\n\t\t</NcNoteCard>\n\t</NcGuestContent>\n</template>\n\n<style module>\n.updaterAdminCli__button {\n\tmargin-block: 1rem;\n\tmargin-inline: auto;\n}\n</style>\n"],sourceRoot:""}]),i.locals={updaterAdminCli__button:"_updaterAdminCli__button_hEp3C"};const u=i;e.d(n,["A",0,u])},428(t,n,e){e.r(n),e.d(n,{default:()=>B});var o=e(85471),a=e(9165),r=e(81222),i=e(53334),u=e(74095),s=e(18724),c=e(6695),d=e(48240);const p=(0,o.pM)({__name:"UpdaterAdminCli",setup:t=>({__sfc:!0,updateInfo:(0,r.C)("core","updateInfo"),mdiInformationOutline:a.nO4,t:i.t,NcButton:u.A,NcGuestContent:s.A,NcIconSvgWrapper:c.A,NcNoteCard:d.A})});var l=e(85072),m=e.n(l),h=e(97825),A=e.n(h),f=e(77659),_=e.n(f),g=e(55056),I=e.n(g),v=e(10540),b=e.n(v),N=e(41113),C=e.n(N),w=e(80064),y={};y.styleTagTransform=C(),y.setAttributes=I(),y.insert=_().bind(null,"head"),y.domAPI=A(),y.insertStyleElement=b(),m()(w.A,y);const k=w.A&&w.A.locals?w.A.locals:void 0,B=(0,e(14486).A)(p,function(){var t=this,n=t._self._c,e=t._self._setupProxy;return n(e.NcGuestContent,[n("h2",[t._v(t._s(e.t("core","Update needed")))]),t._v(" "),n("p",[t._v("\n\t\t"+t._s(e.updateInfo.tooBig?e.t("core","Please use the command line updater because you have a big instance with more than 50 accounts."):e.t("core","Please use the command line updater because updating via browser is disabled in your config.php."))+"\n\n\t\t"),n(e.NcButton,{class:t.$style.updaterAdminCli__button,attrs:{href:e.updateInfo.cliUpgradeLink},scopedSlots:t._u([{key:"icon",fn:function(){return[n(e.NcIconSvgWrapper,{attrs:{path:e.mdiInformationOutline}})]},proxy:!0}])},[t._v("\n\t\t\t"+t._s(e.t("core","Documentation"))+"\n\t\t")])],1),t._v(" "),n(e.NcNoteCard,{attrs:{type:"warning"}},[t._v("\n\t\t"+t._s(e.t("core","I know that if I continue doing the update via web UI has the risk, that the request runs into a timeout and could cause data loss, but I have a backup and know how to restore my instance in case of a failure."))+"\n\t\t"),n(e.NcButton,{attrs:{href:"?IKnowThatThisIsABigInstanceAndTheUpdateRequestCouldRunIntoATimeoutAndHowToRestoreABackup=IAmSuperSureToDoThis",variant:"tertiary"}},[t._v("\n\t\t\t"+t._s(e.t("core","Upgrade via web on my own risk"))+"\n\t\t")])],1)],1)},[],!1,function(t){this.$style=k.locals||k},null,null).exports}}]);
//# sourceMappingURL=428-428.js.map?v=a3ba2fb1e0437d55eb68