このリポジトリは2023-09-09にアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュ、イシューの作成、プルリクエストはできません。
LightPeer/resources/views/layout/component/about/about/features.blade.php

103 行
4.4 KiB
PHP

<div class="feature-table ng-star-inserted">
<table class="table ng-star-inserted" style="color: #fcfcfc;">
<caption>このインスタンスの特徴</caption>
<tr>
<th scope="row" class="label">PeerTubeバージョン</th>
<td class="value">{{ $conf->serverVersion }}</td>
</tr>
<tr>
<th scope="row" class="label">
<div>デフォルトのNSFW/センシティブな動画へのポリシー</div>
<div class="c-hand more-info">ユーザーは設定変更ができます</div>
</th>
@php
$censorloli = '不明';
if ($conf->instance->defaultNSFWPolicy == 'display') $censorloli = '表示する(ロリは安全)';
else if ($conf->instance->defaultNSFWPolicy == 'blur') $censorloli = '検閲する(自分で選べる)';
else if ($conf->instance->defaultNSFWPolicy == 'do_not_list') $censorloli = 'BANする(インスタンス主は子供)';
@endphp
<td class="value">{{ $censorloli }}</td>
</tr>
<tr>
<th scope="row" class="label">新規ユーザー登録</th>
@include('layout.component.about.about.isfeature', ['check' => $conf->signup->allowed])
</tr>
<tr>
<th colspan="2" class="label">動画のアップロード</th>
</tr>
<tr>
<th scope="row" class="sub-label">複数の解像度へのトランスコーディング</th>
@include('layout.component.about.about.isfeature', ['check' => count($conf->transcoding->enabledResolutions) != 0])
</tr>
<tr>
<th scope="row" class="sub-label">動画のアップロード</th>
<td>
<span class="ng-star-inserted">{{ $conf->autoBlacklist->videos->ofUsers->enabled ? '手動で管理者に確認する事が必要です。' : '自動的に投稿されます' }}</span>
</td>
</tr>
<tr>
<th scope="row" class="sub-label">動画容量の制限</th>
<td class="value"> {{ $conf->user->videoQuota / 1024 / 1024 / 1024 }} GiB ({{ $conf->user->videoQuota / 1024 / 1024 / 1024 }} GiB per day)</td>
</tr>
<tr>
<th colspan="2" class="label">ライブ配信</th>
</tr>
<tr>
<th scope="row" class="sub-label">ライブ配信</th>
@include('layout.component.about.about.isfeature', ['check' => $conf->live->enabled])
</tr>
<tr class="ng-star-inserted">
<th scope="row" class="sub-label">複数の解像度でのライブ配信のトランスコーディング</th>
@include('layout.component.about.about.isfeature', ['check' => $conf->live->transcoding->enabled && count($conf->live->transcoding->enabledResolutions) > 1])
</tr>
<tr class="ng-star-inserted">
<th scope="row" class="sub-label">同時ライブ配信の最大</th>
<td>{{ $conf->live->maxUserLives }} ユーザー / {{ $conf->live->maxInstanceLives }} インスタンス </td>
</tr>
<tr>
<th colspan="2" class="label">インポート</th>
</tr>
<tr>
<th scope="row" class="sub-label">HTTP でのインポート (YouTube、Vimeo、ダイレクトURLなど)</th>
@include('layout.component.about.about.isfeature', ['check' => $conf->import->videos->http->enabled])
</tr>
<tr>
<th scope="row" class="sub-label">Torrent でのインポート</th>
@include('layout.component.about.about.isfeature', ['check' => $conf->import->videos->torrent->enabled])
</tr>
<tr>
<th colspan="2" class="label">プレーヤー</th>
</tr>
<tr>
<th scope="row" class="sub-label">P2P機能</th>
@include('layout.component.about.about.isfeature', ['check' => $conf->tracker->enabled])
</tr>
<tr>
<th colspan="2" class="label">検索</th>
</tr>
<tr>
<th scope="row" class="sub-label">他のインスタンスのコンテンツ</th>
@include('layout.component.about.about.isfeature', ['check' => $conf->search->searchIndex->enabled])
</tr>
<tr>
<th colspan="2" class="label">Plugins &amp; Themes</th>
</tr>
<tr>
<th scope="row" class="sub-label">Available themes</th>
<td>
@foreach ($conf->theme->registered as $them)
<span class="theme ng-star-inserted"> {{ $them->name }} </span>
@endforeach
</td>
</tr>
<tr>
<th scope="row" class="sub-label">Plugins enabled</th>
<td>
@foreach ($conf->plugin->registered as $plug)
<span class="plugin ng-star-inserted"> {{ $plug->name }} </span>
@endforeach
</td>
</tr>
</table>
</div>