diff options
author | 2021-08-13 00:45:01 +0530 | |
---|---|---|
committer | 2021-08-13 00:45:01 +0530 | |
commit | 2d27d5e66649d4f5baf127a53ee5ae524eae3a59 (patch) | |
tree | c592ea219ac8cd987fc367f57b54034c450ab2ab /src/internal-server/resources/views/transfer.edge | |
parent | Ferdi v5.6.0 (diff) | |
parent | 5.6.1-nightly.24 [skip ci] (diff) | |
download | ferdium-app-2d27d5e66649d4f5baf127a53ee5ae524eae3a59.tar.gz ferdium-app-2d27d5e66649d4f5baf127a53ee5ae524eae3a59.tar.zst ferdium-app-2d27d5e66649d4f5baf127a53ee5ae524eae3a59.zip |
chore: merge from nightly branch into release branch in prep for next beta
Diffstat (limited to 'src/internal-server/resources/views/transfer.edge')
-rw-r--r-- | src/internal-server/resources/views/transfer.edge | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/internal-server/resources/views/transfer.edge b/src/internal-server/resources/views/transfer.edge new file mode 100644 index 000000000..58febb24b --- /dev/null +++ b/src/internal-server/resources/views/transfer.edge | |||
@@ -0,0 +1,32 @@ | |||
1 | @layout('layouts.main') | ||
2 | |||
3 | @section('content') | ||
4 | <h2>Import/Export data from another Ferdi server</h2> | ||
5 | @if(success === true) | ||
6 | <div class="alert" style="background-color:#28C76F;"> | ||
7 | Sucessfully imported your account data | ||
8 | </div> | ||
9 | @endif | ||
10 | |||
11 | <h3>Import data</h3> | ||
12 | <div> | ||
13 | <label>Account data</label> | ||
14 | <div> | ||
15 | <input type="file" name="file" id="file" value="" accept=".json,.ferdi-data" required> | ||
16 | </div> | ||
17 | </div> | ||
18 | |||
19 | <form action="/transfer" method="POST"> | ||
20 | <input type="hidden" name="file" id="fileoutput" value=""> | ||
21 | <div> | ||
22 | <button style="background-color:#28C76F;margin-bottom:1rem;" id="submit" disabled>Import data</button> | ||
23 | </div> | ||
24 | </form> | ||
25 | |||
26 | <h3>Export data</h3> | ||
27 | <a class="button" style="background-color:#28C76F;margin-bottom:1rem;" href="/export">Export data</a> | ||
28 | |||
29 | </div> | ||
30 | <script src="/js/transfer.js"></script> | ||
31 | |||
32 | @endsection \ No newline at end of file | ||