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

78 行
3.8 KiB
PHP
Raw 通常表示 履歴

2020-09-23 13:53:07 +09:00
@extends('layouts.site')
@section('content')
<div class="within">
<div class="bar"><a href="/video/{{ $res->slug }}">{{ $res->mgametitle }}</a>{{ $res->gametitle }}{{ $res->title }}</div>
<div class="back">
<video style="max-width: 813px; width: 100%; height: 458px;" src="{{ $res->url }}" controls></video>
2020-09-23 13:53:07 +09:00
</div>
<div class="comment">
<div class="container-fluid">
2020-10-24 14:11:23 +09:00
@if (isset($res->youtube) || isset($res->twitter) || isset($res->nicovideo) || isset($res->bitchute))
2020-09-23 13:53:07 +09:00
<div class="row">
2020-10-24 14:10:18 +09:00
@if (isset($res->youtube) && $res->youtube != '')
<div class="col"><a class="btn btn-block btn-primary" href="{{ $res->youtube }}">ユーチューブで見る</a></div>
@endif
2020-10-24 14:10:18 +09:00
@if (isset($res->twitter) && $res->twitter != '')
<div class="col"><a class="btn btn-block btn-primary" href="{{ $res->twitter }}">ツイッターで見る</a></div>
@endif
2020-10-24 14:11:23 +09:00
@if (isset($res->nicovideo) && $res->nicovideo != '')
<div class="col"><a class="btn btn-block btn-primary" href="{{ $res->nicovideo }}">ニコ動で見る</a></div>
@endif
2020-10-24 14:10:18 +09:00
@if (isset($res->bitchute) && $res->bitchute != '')
<div class="col"><a class="btn btn-block btn-primary" href="{{ $res->bitchute }}">ビットチューブで見る</a></div>
@endif
</div>
</div>
@endif
<div style="margin-top: 4px;" class="row">
2020-09-23 13:53:07 +09:00
<div class="col">
2020-09-23 17:19:30 +09:00
<ul class="nav nav-tabs" id="commenting" role="tablist">
<li class="nav-item" role="presentation">
<a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true">テク諏訪</a>
</li>
@if ($res->ytcomment)
<li class="nav-item" role="presentation">
<a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false">YT</a>
</li>
@endif
@if ($res->nicocomment)
<li class="nav-item" role="presentation">
<a class="nav-link" id="messages-tab" data-toggle="tab" href="#messages" role="tab" aria-controls="messages" aria-selected="false">ニコ動</a>
</li>
@endif
@if ($res->bccomment)
<li class="nav-item" role="presentation">
<a class="nav-link" id="settings-tab" data-toggle="tab" href="#settings" role="tab" aria-controls="settings" aria-selected="false">Bit</a>
</li>
@endif
</ul>
<div class="tab-content">
<div class="tab-pane active" id="home" role="tabpanel" aria-labelledby="home-tab">
2020-10-04 01:51:46 +09:00
<comments slug="{{$res->pageslug}}" isvideo="t" :comments="{{json_encode($res->comments)}}" :user="{{json_encode($res->user)}}" />
2020-09-23 17:19:30 +09:00
</div>
@if ($res->ytcomment)
<div class="tab-pane" id="profile" role="tabpanel" aria-labelledby="profile-tab">
2020-10-04 01:51:46 +09:00
<comments slug="{{$res->pageslug}}" isvideo="n" :comments="{{json_encode($res->ytcomment)}}" :user="{{json_encode($res->user)}}" />
2020-09-23 17:19:30 +09:00
</div>
@endif
@if ($res->nicocomment)
<div class="tab-pane" id="messages" role="tabpanel" aria-labelledby="messages-tab">
2020-10-04 01:51:46 +09:00
<comments slug="{{$res->pageslug}}" isvideo="n" :comments="{{json_encode($res->nicocomment)}}" :user="{{json_encode($res->user)}}" />
2020-09-23 17:19:30 +09:00
</div>
@endif
@if ($res->bccomment)
<div class="tab-pane" id="settings" role="tabpanel" aria-labelledby="settings-tab">
2020-10-04 01:51:46 +09:00
<comments slug="{{$res->pageslug}}" isvideo="n" :comments="{{json_encode($res->bccomment)}}" :user="{{json_encode($res->user)}}" />
2020-09-23 17:19:30 +09:00
</div>
@endif
</div>
2020-09-23 13:53:07 +09:00
</div>
</div>
</div>
</div>
</div>
@endsection