ロリ
このコミットが含まれているのは:
コミット
17e6c6c78e
|
@ -112,7 +112,7 @@ function ptDuration ($v) {
|
||||||
$minutes = sprintf("%02d", floor($seconds / 60));
|
$minutes = sprintf("%02d", floor($seconds / 60));
|
||||||
$seconds -= sprintf("%02d", $minutes * 60);
|
$seconds -= sprintf("%02d", $minutes * 60);
|
||||||
|
|
||||||
return $hours != 0 ? $hours.':' : ''.$minutes != 0 ? $minutes.':' : '0:'.$seconds;
|
return ($hours != 0 ? $hours.':' : '').($minutes != 0 ? $minutes.':' : '0:').$seconds;
|
||||||
}
|
}
|
||||||
|
|
||||||
function ptAvatar ($v) {
|
function ptAvatar ($v) {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url(SourceSans3VF-Roman.ttf.123081915e9fbb9f01bd.woff2) format("woff2")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -13,7 +12,6 @@
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url(SourceSans3VF-Italic.ttf.797355866311afb6142d.woff2) format("woff2")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.peertube-button {
|
.peertube-button {
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
<div class="margin-content offset-content">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-12 col-xl-6">
|
|
||||||
@include('pages.peertube.about.components.about.ippan')
|
|
||||||
@include('pages.peertube.about.components.about.admin')
|
|
||||||
@include('pages.peertube.about.components.about.creation')
|
|
||||||
@include('pages.peertube.about.components.about.mentelife')
|
|
||||||
@include('pages.peertube.about.components.about.business')
|
|
||||||
@include('pages.peertube.about.components.about.information')
|
|
||||||
@include('pages.peertube.about.components.about.moderation')
|
|
||||||
@include('pages.peertube.about.components.about.cock')
|
|
||||||
@include('pages.peertube.about.components.about.terms')
|
|
||||||
@include('pages.peertube.about.components.about.other')
|
|
||||||
</div>
|
|
||||||
<div class="col-md-12 col-xl-6">
|
|
||||||
@include('pages.peertube.about.components.features')
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
@include('pages.peertube.about.components.statistics')
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
|
@ -20,14 +20,14 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="label">新規ユーザー登録</th>
|
<th scope="row" class="label">新規ユーザー登録</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->signup->allowed])
|
@include('layout.component.about.about.isfeature', ['check' => $conf->signup->allowed])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2" class="label">動画のアップロード</th>
|
<th colspan="2" class="label">動画のアップロード</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">複数の解像度へのトランスコーディング</th>
|
<th scope="row" class="sub-label">複数の解像度へのトランスコーディング</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => count($conf->transcoding->enabledResolutions) != 0])
|
@include('layout.component.about.about.isfeature', ['check' => count($conf->transcoding->enabledResolutions) != 0])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">動画のアップロード</th>
|
<th scope="row" class="sub-label">動画のアップロード</th>
|
||||||
|
@ -44,11 +44,11 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">ライブ配信</th>
|
<th scope="row" class="sub-label">ライブ配信</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->live->enabled])
|
@include('layout.component.about.about.isfeature', ['check' => $conf->live->enabled])
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="ng-star-inserted">
|
<tr class="ng-star-inserted">
|
||||||
<th scope="row" class="sub-label">複数の解像度でのライブ配信のトランスコーディング</th>
|
<th scope="row" class="sub-label">複数の解像度でのライブ配信のトランスコーディング</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->live->transcoding->enabled && count($conf->live->transcoding->enabledResolutions) > 1])
|
@include('layout.component.about.about.isfeature', ['check' => $conf->live->transcoding->enabled && count($conf->live->transcoding->enabledResolutions) > 1])
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="ng-star-inserted">
|
<tr class="ng-star-inserted">
|
||||||
<th scope="row" class="sub-label">同時ライブ配信の最大</th>
|
<th scope="row" class="sub-label">同時ライブ配信の最大</th>
|
||||||
|
@ -59,25 +59,25 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">HTTP でのインポート (YouTube、Vimeo、ダイレクトURLなど)</th>
|
<th scope="row" class="sub-label">HTTP でのインポート (YouTube、Vimeo、ダイレクトURLなど)</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->import->videos->http->enabled])
|
@include('layout.component.about.about.isfeature', ['check' => $conf->import->videos->http->enabled])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">Torrent でのインポート</th>
|
<th scope="row" class="sub-label">Torrent でのインポート</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->import->videos->torrent->enabled])
|
@include('layout.component.about.about.isfeature', ['check' => $conf->import->videos->torrent->enabled])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2" class="label">プレーヤー</th>
|
<th colspan="2" class="label">プレーヤー</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">P2P機能</th>
|
<th scope="row" class="sub-label">P2P機能</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->tracker->enabled])
|
@include('layout.component.about.about.isfeature', ['check' => $conf->tracker->enabled])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2" class="label">検索</th>
|
<th colspan="2" class="label">検索</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">他のインスタンスのコンテンツ</th>
|
<th scope="row" class="sub-label">他のインスタンスのコンテンツ</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->search->searchIndex->enabled])
|
@include('layout.component.about.about.isfeature', ['check' => $conf->search->searchIndex->enabled])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2" class="label">Plugins & Themes</th>
|
<th colspan="2" class="label">Plugins & Themes</th>
|
||||||
|
|
|
@ -104,12 +104,12 @@
|
||||||
<?php echo nl2br($res['about']->instance->terms); ?>
|
<?php echo nl2br($res['about']->instance->terms); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@include('pages.peertube.about.components.about.other')
|
@include('layout.component.about.about.other')
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12 col-xl-6">
|
<div class="col-md-12 col-xl-6">
|
||||||
<h2 class="sr-only">特徴</h2>
|
<h2 class="sr-only">特徴</h2>
|
||||||
</div>
|
</div>
|
||||||
@include('pages.peertube.about.components.about.features')
|
@include('layout.component.about.about.features')
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div id="statistics" class="anchor"></div>
|
<div id="statistics" class="anchor"></div>
|
||||||
<a class="anchor-link" href="/about/instance#statistics">
|
<a class="anchor-link" href="/about/instance#statistics">
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
<a class="anchor-link ng-star-inserted" href="/about/instance#other-information">
|
<a class="anchor-link ng-star-inserted" href="/about/instance#other-information">
|
||||||
<h2 class="middle-title">その他の情報</h2>
|
<h2 class="middle-title">その他の情報</h2>
|
||||||
</a>
|
</a>
|
||||||
@include('pages.peertube.about.components.about.other.hardware')
|
@include('layout.component.about.about.other.hardware')
|
||||||
|
|
|
@ -27,14 +27,14 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="label">新規ユーザー登録</th>
|
<th scope="row" class="label">新規ユーザー登録</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->signup->allowed])
|
@include('layout.component.about.isfeature', ['check' => $conf->signup->allowed])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2" class="label">動画のアップロード</th>
|
<th colspan="2" class="label">動画のアップロード</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">複数の解像度へのトランスコーディング</th>
|
<th scope="row" class="sub-label">複数の解像度へのトランスコーディング</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => count($conf->transcoding->enabledResolutions) != 0])
|
@include('layout.component.about.isfeature', ['check' => count($conf->transcoding->enabledResolutions) != 0])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">動画のアップロード</th>
|
<th scope="row" class="sub-label">動画のアップロード</th>
|
||||||
|
@ -51,11 +51,11 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">ライブ配信</th>
|
<th scope="row" class="sub-label">ライブ配信</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->live->enabled])
|
@include('layout.component.about.isfeature', ['check' => $conf->live->enabled])
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="ng-star-inserted">
|
<tr class="ng-star-inserted">
|
||||||
<th scope="row" class="sub-label">複数の解像度でのライブ配信のトランスコーディング</th>
|
<th scope="row" class="sub-label">複数の解像度でのライブ配信のトランスコーディング</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->live->transcoding->enabled && count($conf->live->transcoding->enabledResolutions) > 1])
|
@include('layout.component.about.isfeature', ['check' => $conf->live->transcoding->enabled && count($conf->live->transcoding->enabledResolutions) > 1])
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="ng-star-inserted">
|
<tr class="ng-star-inserted">
|
||||||
<th scope="row" class="sub-label">同時ライブ配信の最大</th>
|
<th scope="row" class="sub-label">同時ライブ配信の最大</th>
|
||||||
|
@ -66,25 +66,25 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">HTTP でのインポート (YouTube、Vimeo、ダイレクトURLなど)</th>
|
<th scope="row" class="sub-label">HTTP でのインポート (YouTube、Vimeo、ダイレクトURLなど)</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->import->videos->http->enabled])
|
@include('layout.component.about.isfeature', ['check' => $conf->import->videos->http->enabled])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">Torrent でのインポート</th>
|
<th scope="row" class="sub-label">Torrent でのインポート</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->import->videos->torrent->enabled])
|
@include('layout.component.about.isfeature', ['check' => $conf->import->videos->torrent->enabled])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2" class="label">プレーヤー</th>
|
<th colspan="2" class="label">プレーヤー</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">P2P機能</th>
|
<th scope="row" class="sub-label">P2P機能</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->tracker->enabled])
|
@include('layout.component.about.isfeature', ['check' => $conf->tracker->enabled])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2" class="label">検索</th>
|
<th colspan="2" class="label">検索</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" class="sub-label">他のインスタンスのコンテンツ</th>
|
<th scope="row" class="sub-label">他のインスタンスのコンテンツ</th>
|
||||||
@include('pages.peertube.about.components.isfeature', ['check' => $conf->search->searchIndex->enabled])
|
@include('layout.component.about.isfeature', ['check' => $conf->search->searchIndex->enabled])
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2" class="label">Plugins & Themes</th>
|
<th colspan="2" class="label">Plugins & Themes</th>
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
<div class="margin-content offset-content">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12 col-xl-6">
|
||||||
|
@include('layout.component.about.about.ippan')
|
||||||
|
@include('layout.component.about.about.admin')
|
||||||
|
@include('layout.component.about.about.creation')
|
||||||
|
@include('layout.component.about.about.mentelife')
|
||||||
|
@include('layout.component.about.about.business')
|
||||||
|
@include('layout.component.about.about.information')
|
||||||
|
@include('layout.component.about.about.moderation')
|
||||||
|
@include('layout.component.about.about.cock')
|
||||||
|
@include('layout.component.about.about.terms')
|
||||||
|
@include('layout.component.about.about.other')
|
||||||
|
</div>
|
||||||
|
<div class="col-md-12 col-xl-6">
|
||||||
|
@include('layout.component.about.features')
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
@include('layout.component.about.statistics')
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -5,17 +5,17 @@
|
||||||
<section class="ng-star-inserted">
|
<section class="ng-star-inserted">
|
||||||
<h3>ローカル</h3>
|
<h3>ローカル</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@include('pages.peertube.about.components.statcard', ['value' => $res['stats']->totalUsers, 'label' => 'ユーザー'])
|
@include('layout.component.about.statcard', ['value' => $res['stats']->totalUsers, 'label' => 'ユーザー'])
|
||||||
@include('pages.peertube.about.components.statcard', ['value' => $res['stats']->totalLocalVideos, 'label' => '動画'])
|
@include('layout.component.about.statcard', ['value' => $res['stats']->totalLocalVideos, 'label' => '動画'])
|
||||||
@include('pages.peertube.about.components.statcard', ['value' => $res['stats']->totalLocalVideoViews, 'label' => '動画視聴回数'])
|
@include('layout.component.about.statcard', ['value' => $res['stats']->totalLocalVideoViews, 'label' => '動画視聴回数'])
|
||||||
@include('pages.peertube.about.components.statcard', ['value' => $res['stats']->totalLocalVideoComments, 'label' => '動画のコメント'])
|
@include('layout.component.about.statcard', ['value' => $res['stats']->totalLocalVideoComments, 'label' => '動画のコメント'])
|
||||||
@include('pages.peertube.about.components.statcard', ['value' => round($res['stats']->totalLocalVideoFilesSize / 1024 / 1024 / 1024, 1).' GiB', 'label' => '合計アップロードサイズ'])
|
@include('layout.component.about.statcard', ['value' => round($res['stats']->totalLocalVideoFilesSize / 1024 / 1024 / 1024, 1).' GiB', 'label' => '合計アップロードサイズ'])
|
||||||
</div>
|
</div>
|
||||||
<h3>他インスタンスとの連合</h3>
|
<h3>他インスタンスとの連合</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@include('pages.peertube.about.components.statcard', ['value' => $res['stats']->totalVideos, 'label' => '動画'])
|
@include('layout.component.about.statcard', ['value' => $res['stats']->totalVideos, 'label' => '動画'])
|
||||||
@include('pages.peertube.about.components.statcard', ['value' => $res['stats']->totalVideoComments, 'label' => '動画のコメント'])
|
@include('layout.component.about.statcard', ['value' => $res['stats']->totalVideoComments, 'label' => '動画のコメント'])
|
||||||
@include('pages.peertube.about.components.statcard', ['value' => $res['stats']->totalInstanceFollowers, 'label' => 'フォロワー'])
|
@include('layout.component.about.statcard', ['value' => $res['stats']->totalInstanceFollowers, 'label' => 'フォロワー'])
|
||||||
@include('pages.peertube.about.components.statcard', ['value' => $res['stats']->totalInstanceFollowing, 'label' => 'フォロー'])
|
@include('layout.component.about.statcard', ['value' => $res['stats']->totalInstanceFollowing, 'label' => 'フォロー'])
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<div class="miniature">
|
<div class="miniature">
|
||||||
<my-link class="miniature-thumbnail">
|
<my-link class="miniature-thumbnail">
|
||||||
<a tabindex="0" href="/w/p/{{ $v->shortUUID }}" class="ng-star-inserted">
|
<a tabindex="0" href="/w/p/{{ $v->shortUUID }}" class="ng-star-inserted">
|
||||||
<img alt="" aria-labelledby="{{ $v->displayName }}" src="{{ !is_null($v->thumbnailPath) ? {{ env('PEER_URI') }}.$v->thumbnailPath : '/img/noicon.jpg' }}" class="ng-star-inserted" />
|
<img alt="" aria-labelledby="{{ $v->displayName }}" src="{{ !is_null($v->thumbnailPath) ? env('PEER_URI').$v->thumbnailPath : '/img/noicon.jpg' }}" class="ng-star-inserted" />
|
||||||
<div class="miniature-playlist-info-overlay ng-star-inserted">動画数:{{ $v->videosLength }} </div>
|
<div class="miniature-playlist-info-overlay ng-star-inserted">動画数:{{ $v->videosLength }} </div>
|
||||||
<div class="play-overlay ng-star-inserted">
|
<div class="play-overlay ng-star-inserted">
|
||||||
<div class="icon"></div>
|
<div class="icon"></div>
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
}
|
}
|
||||||
else if ($res['page'] == 'notification') {
|
else if ($res['page'] == 'notification') {
|
||||||
$name = '通知';
|
$name = '通知';
|
||||||
$canonical = '/my-account/notifications'
|
$canonical = '/my-account/notifications';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<div class="main-row">
|
<div class="main-row">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@include('layout.component.about.menu', ['active' => 'instance'])
|
@include('layout.component.about.menu', ['active' => 'instance'])
|
||||||
@include('layout.component.about.about')
|
@include('layout.component.about.instance')
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
新しいイシューから参照