]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-instance/instance-features-table.component.html
0026952385036a09a59ed1faf6b3f8de1deb9eb9
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-instance / instance-features-table.component.html
1 <div class="feature-table">
2
3 <table class="table" *ngIf="serverConfig">
4 <caption i18n>Features found on this instance</caption>
5 <tr>
6 <th i18n class="label" scope="row">PeerTube version</th>
7
8 <td class="value">{{ getServerVersionAndCommit() }}</td>
9 </tr>
10
11 <tr>
12 <th i18n class="label" scope="row">
13 <div>Default NSFW/sensitive videos policy</div>
14 <div class="more-info">can be redefined by the users</div>
15 </th>
16
17 <td class="value">{{ buildNSFWLabel() }}</td>
18 </tr>
19
20 <tr>
21 <th i18n class="label" scope="row">User registration allowed</th>
22 <td>
23 <my-feature-boolean [value]="serverConfig.signup.allowed"></my-feature-boolean>
24 </td>
25 </tr>
26
27 <tr>
28 <th i18n class="label" colspan="2">Video uploads</th>
29 </tr>
30
31 <tr>
32 <th i18n class="sub-label" scope="row">Transcoding in multiple resolutions</th>
33 <td>
34 <my-feature-boolean [value]="serverConfig.transcoding.enabledResolutions.length !== 0"></my-feature-boolean>
35 </td>
36 </tr>
37
38 <tr>
39 <th i18n class="sub-label" scope="row">Video uploads</th>
40 <td>
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>
43 </td>
44 </tr>
45
46 <tr>
47 <th i18n class="sub-label" scope="row">Video quota</th>
48
49 <td class="value">
50 <ng-container *ngIf="initialUserVideoQuota !== -1">
51 {{ initialUserVideoQuota | bytes: 0 }} <ng-container *ngIf="dailyUserVideoQuota !== -1">({{ dailyUserVideoQuota | bytes: 0 }} per day)</ng-container>
52
53 <my-help tooltipPlacement="auto" helpType="custom">
54 <ng-template ptTemplate="customHtml">
55 <div [innerHTML]="quotaHelpIndication"></div>
56 </ng-template>
57 </my-help>
58 </ng-container>
59
60 <ng-container i18n *ngIf="initialUserVideoQuota === -1">
61 Unlimited <ng-container *ngIf="dailyUserVideoQuota !== -1">({{ dailyUserVideoQuota | bytes: 0 }} per day)</ng-container>
62 </ng-container>
63 </td>
64 </tr>
65
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
77 <tr>
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
84 <tr>
85 <th i18n class="label" colspan="2">Import</th>
86 </tr>
87
88 <tr>
89 <th i18n class="sub-label" scope="row">HTTP import (YouTube, Vimeo, direct URL...)</th>
90 <td>
91 <my-feature-boolean [value]="serverConfig.import.videos.http.enabled"></my-feature-boolean>
92 </td>
93 </tr>
94
95 <tr>
96 <th i18n class="sub-label" scope="row">Torrent import</th>
97 <td>
98 <my-feature-boolean [value]="serverConfig.import.videos.torrent.enabled"></my-feature-boolean>
99 </td>
100 </tr>
101
102
103 <tr>
104 <th i18n class="label" colspan="2">Player</th>
105 </tr>
106
107 <tr>
108 <th i18n class="sub-label" scope="row">P2P enabled</th>
109 <td>
110 <my-feature-boolean [value]="serverConfig.tracker.enabled"></my-feature-boolean>
111 </td>
112 </tr>
113
114 <tr>
115 <th i18n class="label" colspan="2">Search</th>
116 </tr>
117
118 <tr>
119 <th i18n class="sub-label" scope="row">Users can resolve distant content</th>
120 <td>
121 <my-feature-boolean [value]="serverConfig.search.remoteUri.users"></my-feature-boolean>
122 </td>
123 </tr>
124 </table>
125 </div>