aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/modal/admin-welcome-modal.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-27 10:15:55 +0200
committerChocobozzz <me@florianbigard.com>2021-08-27 10:15:55 +0200
commit8f581725651c4b2c213d75fc028e306bbf239d3e (patch)
tree8deb842327c2a227d8e302d9a84bd9f8f9f7affa /client/src/app/modal/admin-welcome-modal.component.html
parent1ff15061b31245df4248e47228d0a90b07ab3f01 (diff)
downloadPeerTube-8f581725651c4b2c213d75fc028e306bbf239d3e.tar.gz
PeerTube-8f581725651c4b2c213d75fc028e306bbf239d3e.tar.zst
PeerTube-8f581725651c4b2c213d75fc028e306bbf239d3e.zip
Allow accounts to skip account setup modal
Diffstat (limited to 'client/src/app/modal/admin-welcome-modal.component.html')
-rw-r--r--client/src/app/modal/admin-welcome-modal.component.html85
1 files changed, 85 insertions, 0 deletions
diff --git a/client/src/app/modal/admin-welcome-modal.component.html b/client/src/app/modal/admin-welcome-modal.component.html
new file mode 100644
index 000000000..f5d2b8799
--- /dev/null
+++ b/client/src/app/modal/admin-welcome-modal.component.html
@@ -0,0 +1,85 @@
1<ng-template #modal let-hide="close">
2 <div class="modal-header">
3 <h4 i18n class="modal-title">Welcome to PeerTube, dear administrator!</h4>
4 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon>
5 </div>
6
7 <div class="modal-body">
8
9 <div class="block-documentation">
10 <div class="columns">
11 <a class="link-block" href="https://docs.joinpeertube.org/maintain-tools" target="_blank" rel="noopener noreferrer">
12 <a i18n class="link-title" href="https://docs.joinpeertube.org/maintain-tools" target="_blank" rel="noopener noreferrer">CLI
13 documentation</a>
14
15 <div i18n>Upload or import videos, parse logs, prune storage directories, reset user password...</div>
16 </a>
17
18 <a class="link-block" href="https://docs.joinpeertube.org/admin-following-instances" target="_blank" rel="noopener noreferrer">
19 <a i18n class="link-title" href="https://docs.joinpeertube.org/admin-following-instances" target="_blank" rel="noopener noreferrer">Administer
20 documentation</a>
21
22 <div i18n>Managing users, following other instances, dealing with spammers...</div>
23 </a>
24
25 <a class="link-block" href="https://docs.joinpeertube.org/use-setup-account" target="_blank" rel="noopener noreferrer">
26 <a i18n class="link-title" href="https://docs.joinpeertube.org/use-setup-account" target="_blank" rel="noopener noreferrer">Use
27 documentation</a>
28
29 <div i18n>Setup your account, managing video playlists, discover third-party applications...</div>
30 </a>
31 </div>
32 </div>
33
34 <div class="two-columns">
35
36 <img class="mascot mascot-fw" src="/client/assets/images/mascot/pointing.svg" alt="mascot">
37
38 <div class="block-links">
39 <div i18n class="subtitle">Useful links</div>
40
41 <ul>
42 <li i18n>Official PeerTube website (news, support, contribute...): <a href="https://joinpeertube.org" target="_blank"
43 rel="noopener noreferrer">https://joinpeertube.org</a></li>
44
45 <li i18n>Put your instance on the public PeerTube index: <a href="https://instances.joinpeertube.org/instances">https://instances.joinpeertube.org/instances</a>
46 </li>
47 </ul>
48 </div>
49 </div>
50
51 <div class="two-columns">
52 <img class="mascot" src="/client/assets/images/mascot/happy.svg" alt="mascot">
53
54 <div class="block-configuration">
55 <div i18n class="subtitle">It's time to configure your instance!</div>
56
57 <p i18n>
58 Choosing your <strong>instance name</strong>, <strong>setting up a description</strong>, specifying <strong>who you are</strong>,
59 why <strong>you created your instance</strong> and <strong>how long</strong> you plan to <strong>maintain your it</strong>
60 is very important for visitors to understand on what type of instance they are.
61 </p>
62
63 <p i18n>
64 If you want to open registrations, please decide what <strong>your moderation rules</strong> and <strong>instance
65 terms of service</strong> are, as well as specify the categories and languages and your moderators speak.
66 This way, you will help users to register on <strong>the appropriate</strong> PeerTube instance.
67 </p>
68 </div>
69 </div>
70 </div>
71
72 <div class="modal-footer inputs">
73 <input
74 type="button" role="button" i18n-value value="Remind me later" class="peertube-button grey-button"
75 (click)="hide()" (key.enter)="hide()"
76 >
77
78 <a i18n (click)="doNotOpenAgain(); hide()" (key.enter)="doNotOpenAgain(); hide()"
79 class="peertube-button-link orange-button" href="/admin/config/edit-custom" target="_blank"
80 rel="noopener noreferrer" ngbAutofocus>
81 Configure my instance
82 </a>
83 </div>
84
85</ng-template>