ソースを参照

登録ボタンは一致

peertube
コミット
f066512204
  1. 7
      resources/views/theme/techsuwa/component/peertube/parts/common/subscribe.blade.php
  2. 2
      resources/views/theme/techsuwa/component/peertube/parts/w/info/first.blade.php
  3. 39
      resources/views/theme/techsuwa/component/peertube/parts/w/info/subscribe.blade.php

7
resources/views/theme/techsuwa/component/peertube/parts/common/subscribe.blade.php

@ -0,0 +1,7 @@
<my-subscribe-button size="small">
<div class="btn-group-subscribe btn subscribe-button">
<button type="button" role="button" class="btn btn-sm ng-star-inserted">登録</button>
<button type="button" role="button" class="btn btn-sm ng-star-inserted">リモート登録</button>
<button type="button" role="button" class="btn btn-sm ng-star-inserted">RSSで登録</button>
</div>
</my-subscribe-button>

2
resources/views/theme/techsuwa/component/peertube/parts/w/info/first.blade.php

@ -21,7 +21,7 @@
</div>
<div class="pt-3 border-top video-info-channel d-flex">
@include('theme.'.env('THEME').'.component.peertube.parts.w.info.channel')
@include('theme.'.env('THEME').'.component.peertube.parts.w.info.subscribe')
@include('theme.'.env('THEME').'.component.peertube.parts.common.subscribe')
</div>
</div>
</div>

39
resources/views/theme/techsuwa/component/peertube/parts/w/info/subscribe.blade.php

@ -1,39 +0,0 @@
<my-subscribe-button size="small">
<div class="btn-group-subscribe btn-group subscribe-button">
<button type="button" class="btn btn-sm ng-star-inserted">
<span class="ng-star-inserted">チャンネル登録する</span>
</button>
<!--div autoclose="outside" placement="bottom-right bottom-left" role="group" aria-label="Multiple ways to subscribe to the current channel" class="btn-group dropdown">
<button aria-label="チャンネル登録のドロップダウンメニューを開く" class="dropdown-toggle btn btn-sm dropdown-toggle-split" aria-expanded="false"></button>
<div class="dropdown-menu" x-placement="bottom-right">
<h6 class="dropdown-header">ActivityPubアプリケーションのアカウントを使用</h6>
<button class="dropdown-item">
<span class="ng-star-inserted">ローカルアカウントで登録する</span>
</button>
<button class="dropdown-item dropdown-item-neutral">
<div class="mb-1">リモートアカウントで登録する:</div>
<my-remote-subscribe>
<form novalidate="" class="ng-untouched ng-pristine ng-invalid">
<div class="form-group mb-2">
<input type="email" formcontrolname="text" placeholder="jane_doe@example.com" class="form-control ng-untouched ng-pristine ng-invalid">
</div>
<button type="submit" class="btn btn-sm btn-remote-follow" disabled="">
<span class="ng-star-inserted">リモートアカウントで登録</span>
</button>
<my-help class="ng-star-inserted">
<span role="button" container="body" tabindex="0" popoverclass="help-popover" class="help-tooltip-button" title="ヘルプを表示" aria-pressed="false">
<my-global-icon>
SVG
</my-global-icon>
</span>
</my-help>
</form>
</my-remote-subscribe>
</button>
<div class="dropdown-divider"></div>
<h6 class="dropdown-header">フィードを使用</h6>
<a target="_blank" class="dropdown-item" href="/feeds/videos.xml?videoChannelId=4">RSSで登録する</a>
</div>
</div-->
</div>
</my-subscribe-button>
読み込み中…
キャンセル
保存