Skip to content
Permalink
Browse files

fix

  • Loading branch information
WangNingkai committed Jul 1, 2019
1 parent 46447c7 commit 80c9c27909c5a5c8aaf9853b4696b1a629d39f27
Showing with 29 additions and 29 deletions.
  1. +29 −29 resources/views/mdui/one.blade.php
@@ -178,7 +178,7 @@ class="mdui-m-t-3 thumb-view mdui-row-xs-3 mdui-row-sm-4 mdui-row-md-5 mdui-row-
<a target="_blank"
href="{{ route('show',\App\Utils\Tool::encodeUrl($originPath ? $originPath.'/'.$item['name'] : $item['name'])) }}">
<div class="col-icon">
@if(in_array($item['ext'],explode(' ',setting('image'))))
@if(in_array($item['ext'],explode(' ',setting('image')),false))
<img class="lazy"
data-original="{{ \Illuminate\Support\Arr::get($item,'thumbnails.0.small.url') }}"
src="{{ asset('img/loading.gif') }}" alt="">
@@ -215,7 +215,7 @@ class="mdui-m-t-3 thumb-view mdui-row-xs-3 mdui-row-sm-4 mdui-row-md-5 mdui-row-
</div>
@endif

@if(auth()->user())
@if(auth()->user())
<div class="mdui-fab-wrapper" mdui-fab>
<button class="mdui-fab mdui-ripple mdui-color-theme-accent">
<i class="mdui-icon material-icons">add</i>
@@ -283,37 +283,37 @@ class="mdui-icon material-icons" mdui-dialog="{target: '#exportDirect'}">list</i
</div>
</div>

@else
@if(setting('export_download'))
<div class="mdui-fab-wrapper" mdui-fab>
<button class="mdui-fab mdui-ripple mdui-color-theme-accent">
<i class="mdui-icon material-icons">add</i>
<i class="mdui-icon mdui-fab-opened material-icons">close</i>
</button>
<div class="mdui-fab-dial">
<a href="javascript:void(0)" class="mdui-fab mdui-fab-mini mdui-ripple mdui-color-blue"><i
class="mdui-icon material-icons" mdui-dialog="{target: '#exportDirect'}">list</i>
</a>
</div>
@else
@if(setting('export_download'))
<div class="mdui-fab-wrapper" mdui-fab>
<button class="mdui-fab mdui-ripple mdui-color-theme-accent">
<i class="mdui-icon material-icons">add</i>
<i class="mdui-icon mdui-fab-opened material-icons">close</i>
</button>
<div class="mdui-fab-dial">
<a href="javascript:void(0)" class="mdui-fab mdui-fab-mini mdui-ripple mdui-color-blue"><i
class="mdui-icon material-icons" mdui-dialog="{target: '#exportDirect'}">list</i>
</a>
</div>
<div class="mdui-dialog" id="exportDirect">
<div class="mdui-dialog-content">
<div class="mdui-dialog-title">导出直链</div>
<p class="mdui-text-color-red">
链接将在 {{ setting('access_token_expires') }}
后失效</p>
<div class="mdui-textfield">
<label class="mdui-textfield-label" for="dl">链接</label>
<textarea name="urls" id="dl" class="mdui-textfield-input" rows="3"></textarea>
</div>
</div>
<div class="mdui-dialog-actions">
<button class="mdui-btn mdui-ripple" mdui-dialog-close>取消</button>
<button class="mdui-btn mdui-ripple" onclick="getDirect()">点击获取</button>
</div>
<div class="mdui-dialog" id="exportDirect">
<div class="mdui-dialog-content">
<div class="mdui-dialog-title">导出直链</div>
<p class="mdui-text-color-red">
链接将在 {{ setting('access_token_expires') }}
后失效</p>
<div class="mdui-textfield">
<label class="mdui-textfield-label" for="dl">链接</label>
<textarea name="urls" id="dl" class="mdui-textfield-input" rows="3"></textarea>
</div>
</div>
@endif
<div class="mdui-dialog-actions">
<button class="mdui-btn mdui-ripple" mdui-dialog-close>取消</button>
<button class="mdui-btn mdui-ripple" onclick="getDirect()">点击获取</button>
</div>
</div>
@endif
@endif

</div>
@stop

0 comments on commit 80c9c27

Please sign in to comment.
You can’t perform that action at this time.