aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/legacy
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-09-20 13:44:17 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-09-20 13:47:08 +0200
commitdec9a39a1845c59e7237fa966725949d38b6e9e8 (patch)
treeb413ed00dbc3ca306ca858cbf87dc4d5b9511c2e /core/templates/legacy
parent4c067fcbae56bbaa1f70280d4e209013f68f9862 (diff)
downloadnextcloud-server-dec9a39a1845c59e7237fa966725949d38b6e9e8.tar.gz
nextcloud-server-dec9a39a1845c59e7237fa966725949d38b6e9e8.zip
chore: Move legacy dialogs template from files to core until we can remove it
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'core/templates/legacy')
-rw-r--r--core/templates/legacy/fileexists.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/core/templates/legacy/fileexists.html b/core/templates/legacy/fileexists.html
new file mode 100644
index 00000000000..de213803e0e
--- /dev/null
+++ b/core/templates/legacy/fileexists.html
@@ -0,0 +1,35 @@
+<!--
+ - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-only
+ -->
+<div id="{dialog_name}" title="{title}" class="fileexists">
+ <span class="why">{why}<!-- Which files do you want to keep --></span><br/>
+ <span class="what">{what}<!-- If you select both versions, the copied file will have a number added to its name. --></span><br/>
+ <br/>
+ <table>
+ <th><input id="checkbox-allnewfiles" class="allnewfiles checkbox" type="checkbox" /><label for="checkbox-allnewfiles">{allnewfiles}<span class="count"></span></label></th>
+ <th><input id="checkbox-allexistingfiles" class="allexistingfiles checkbox" type="checkbox" /><label for="checkbox-allexistingfiles">{allexistingfiles}<span class="count"></span></label></th>
+ </table>
+ <div class="conflicts">
+ <div class="template">
+ <div class="filename"></div>
+ <div class="replacement">
+ <input type="checkbox" class="checkbox u-left"/>
+ <label>
+ <span class="svg icon"></span>
+ <div class="mtime"></div>
+ <div class="size"></div>
+ </label>
+ </div>
+ <div class="original">
+ <input type="checkbox" class="checkbox u-left" />
+ <label>
+ <span class="svg icon"></span>
+ <div class="mtime"></div>
+ <div class="size"></div>
+ <div class="message"></div>
+ </label>
+ </div>
+ </div>
+ </div>
+</div>