]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-instance/instance-features-table.component.html
Implement two factor in client
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-instance / instance-features-table.component.html
CommitLineData
2989628b 1<div *ngIf="serverConfig" class="feature-table">
41a676db 2
4c8749cb 3 <table *ngIf="serverConfig">
45800f7e 4 <caption i18n>Features found on this instance</caption>
dbdf2d51 5 <tr>
45800f7e 6 <th i18n class="label" scope="row">PeerTube version</th>
dbdf2d51
C
7
8 <td class="value">{{ getServerVersionAndCommit() }}</td>
9 </tr>
10
c8000975 11 <tr>
45800f7e 12 <th i18n class="label" scope="row">
a00045a2 13 <div>Default NSFW/sensitive videos policy</div>
43a3d281 14 <div class="c-hand more-info" (click)="openQuickSettingsHighlight()">can be redefined by the users</div>
45800f7e 15 </th>
c8000975
C
16
17 <td class="value">{{ buildNSFWLabel() }}</td>
18 </tr>
19
a00045a2 20 <tr>
45800f7e 21 <th i18n class="label" scope="row">User registration allowed</th>
c0e04e46 22 <td>
ba430d75 23 <my-feature-boolean [value]="serverConfig.signup.allowed"></my-feature-boolean>
c0e04e46
C
24 </td>
25 </tr>
26
41a676db 27 <tr>
45800f7e 28 <th i18n class="label" colspan="2">Video uploads</th>
a00045a2
C
29 </tr>
30
31 <tr>
45800f7e 32 <th i18n class="sub-label" scope="row">Transcoding in multiple resolutions</th>
a00045a2 33 <td>
ba430d75 34 <my-feature-boolean [value]="serverConfig.transcoding.enabledResolutions.length !== 0"></my-feature-boolean>
a00045a2
C
35 </td>
36 </tr>
37
38 <tr>
45800f7e 39 <th i18n class="sub-label" scope="row">Video uploads</th>
a00045a2 40 <td>
97eae838
FB
41 <span i18n *ngIf="serverConfig.autoBlacklist.videos.ofUsers.enabled">Requires manual validation by moderators</span>
42 <span i18n *ngIf="!serverConfig.autoBlacklist.videos.ofUsers.enabled">Automatically published</span>
a00045a2
C
43 </td>
44 </tr>
45
46 <tr>
45800f7e 47 <th i18n class="sub-label" scope="row">Video quota</th>
41a676db
C
48
49 <td class="value">
50 <ng-container *ngIf="initialUserVideoQuota !== -1">
61318dd6 51 {{ initialUserVideoQuota | bytes: 0 }} <ng-container *ngIf="dailyUserVideoQuota !== -1">({{ dailyUserVideoQuota | bytes: 0 }} per day)</ng-container>
41a676db 52
421d935d
C
53 <my-help tooltipPlacement="auto" helpType="custom">
54 <ng-template ptTemplate="customHtml">
55 <div [innerHTML]="quotaHelpIndication"></div>
56 </ng-template>
57 </my-help>
41a676db
C
58 </ng-container>
59
60 <ng-container i18n *ngIf="initialUserVideoQuota === -1">
61318dd6 61 Unlimited <ng-container *ngIf="dailyUserVideoQuota !== -1">({{ dailyUserVideoQuota | bytes: 0 }} per day)</ng-container>
41a676db
C
62 </ng-container>
63 </td>
64 </tr>
a00045a2 65
c6c0fa6c
C
66 <tr>
67 <th i18n class="label" colspan="2">Live streaming</th>
68 </tr>
69
70 <tr>
71 <th i18n class="sub-label" scope="row">Live streaming enabled</th>
72 <td>
73 <my-feature-boolean [value]="serverConfig.live.enabled"></my-feature-boolean>
74 </td>
75 </tr>
76
fe228901 77 <tr *ngIf="serverConfig.live.enabled">
c6c0fa6c
C
78 <th i18n class="sub-label" scope="row">Transcode live video in multiple resolutions</th>
79 <td>
80 <my-feature-boolean [value]="serverConfig.live.transcoding.enabled && serverConfig.live.transcoding.enabledResolutions.length > 1"></my-feature-boolean>
81 </td>
82 </tr>
83
fe228901 84 <tr *ngIf="serverConfig.live.enabled">
a056ca48
C
85 <th i18n class="sub-label" scope="row">Max parallel lives</th>
86 <td i18n>
87 {{ maxUserLives }} per user / {{ maxInstanceLives }} per instance
88 </td>
89 </tr>
90
a00045a2 91 <tr>
45800f7e 92 <th i18n class="label" colspan="2">Import</th>
a00045a2
C
93 </tr>
94
95 <tr>
45800f7e 96 <th i18n class="sub-label" scope="row">HTTP import (YouTube, Vimeo, direct URL...)</th>
a00045a2 97 <td>
ba430d75 98 <my-feature-boolean [value]="serverConfig.import.videos.http.enabled"></my-feature-boolean>
a00045a2
C
99 </td>
100 </tr>
101
102 <tr>
45800f7e 103 <th i18n class="sub-label" scope="row">Torrent import</th>
a00045a2 104 <td>
ba430d75 105 <my-feature-boolean [value]="serverConfig.import.videos.torrent.enabled"></my-feature-boolean>
a00045a2
C
106 </td>
107 </tr>
108
2a491182
F
109 <tr>
110 <th i18n class="sub-label" scope="row">Channel synchronization with other platforms (YouTube, Vimeo, ...)</th>
111 <td>
112 <my-feature-boolean [value]="serverConfig.import.videoChannelSynchronization.enabled"></my-feature-boolean>
113 </td>
114 </tr>
115
9677fca7 116 <tr>
45800f7e 117 <th i18n class="label" colspan="2">Search</th>
9677fca7
RK
118 </tr>
119
120 <tr>
45800f7e 121 <th i18n class="sub-label" scope="row">Users can resolve distant content</th>
9677fca7
RK
122 <td>
123 <my-feature-boolean [value]="serverConfig.search.remoteUri.users"></my-feature-boolean>
124 </td>
125 </tr>
7337a75b
C
126
127 <tr>
128 <th i18n class="label" colspan="2">Plugins & Themes</th>
129 </tr>
130
131 <tr>
132 <th i18n class="sub-label" scope="row">Available themes</th>
133 <td>
134 <span class="theme" *ngFor="let theme of serverConfig.theme.registered">
135 {{ theme.name }}
136 </span>
137 </td>
138 </tr>
139
140 <tr>
141 <th i18n class="sub-label" scope="row">Plugins enabled</th>
142 <td>
143 <span class="plugin" *ngFor="let plugin of serverConfig.plugin.registered">
144 {{ plugin.name }}
145 </span>
146 </td>
147 </tr>
41a676db 148 </table>
c0e04e46 149</div>