mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
2 lines
No EOL
4.5 KiB
JavaScript
2 lines
No EOL
4.5 KiB
JavaScript
"use strict";(globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[]).push([[428],{428(t,n,e){e.r(n),e.d(n,{default:()=>T});var o=e(85471),a=e(9165),i=e(81222),r=e(53334),u=e(74095),s=e(66768),c=e(6695),d=e(371);const l=(0,o.pM)({__name:"UpdaterAdminCli",setup:t=>({__sfc:!0,updateInfo:(0,i.C)("core","updateInfo"),mdiInformationOutline:a.nO4,t:r.t,NcButton:u.A,NcGuestContent:s.A,NcIconSvgWrapper:c.A,NcNoteCard:d.A})});var p=e(85072),m=e.n(p),h=e(97825),A=e.n(h),f=e(77659),_=e.n(f),g=e(55056),I=e.n(g),b=e(10540),v=e.n(b),C=e(41113),N=e.n(C),w=e(80064),y={};y.styleTagTransform=N(),y.setAttributes=I(),y.insert=_().bind(null,"head"),y.domAPI=A(),y.insertStyleElement=v(),m()(w.A,y);const k=w.A&&w.A.locals?w.A.locals:void 0,T=(0,e(14486).A)(l,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},80064(t,n,e){e.d(n,{A:()=>u});var o=e(71354),a=e.n(o),i=e(76314),r=e.n(i)()(a());r.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:""}]),r.locals={updaterAdminCli__button:"_updaterAdminCli__button_hEp3C"};const u=r}}]);
|
|
//# sourceMappingURL=428-428.js.map?v=499a9f39f8f9c316fbf5
|