You've already forked lubo_comment_query
样式3
This commit is contained in:
@@ -1,52 +1,83 @@
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>录播节目点播信息修改</title>
|
||||
<title>复制常驻留言 - 录播查询</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link href="{{ mix('/css/app.css') }}" rel="stylesheet"/>
|
||||
<script src="{{ mix('/js/manifest.js') }}" rel="script"></script>
|
||||
<link href="{{ asset('/css/vendor/picomplete/picomplete.css') }}" rel="stylesheet"/>
|
||||
</head>
|
||||
<body>
|
||||
<body class="bg-gray-50 dark:bg-gray-900 min-h-screen flex flex-col text-gray-900 dark:text-gray-100">
|
||||
@include("common.header")
|
||||
<form class="w-full lg:w-1/2 lg:ml-6 border-2" action="" method="post" enctype="multipart/form-data">
|
||||
@if($program)
|
||||
<label class="block my-2">
|
||||
结束图像
|
||||
@if(count($program->video_pivots) > 0 && $program->video_pivots->last()->stop_image)
|
||||
<img src="{{$program->video_pivots->last()->stop_image}}" alt="结束图片">
|
||||
@else
|
||||
<div>
|
||||
<a href="{{route("program.construct.video.list", ["program"=>$program->id])}}"
|
||||
class="block px-6 py-2 inline-block rounded-full bg-cyan-600 text-white">
|
||||
去建设
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
</label>
|
||||
@endif
|
||||
<div>
|
||||
复制的常驻留言,请选择:
|
||||
<br>
|
||||
@foreach($broadcastList as $broadcast)
|
||||
<label>
|
||||
<input type="checkbox" name="ids[]" value="{{$broadcast->id}}">
|
||||
【{{$broadcast->from}}】:{{$broadcast->name}}
|
||||
</label>
|
||||
<br>
|
||||
@endforeach
|
||||
</div>
|
||||
@include("common.form_error")
|
||||
@if(sizeof($broadcastList) <= 0)
|
||||
<div class="block my-2 text-center">
|
||||
无可复制内容
|
||||
|
||||
<main class="flex-grow container mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
||||
<div class="max-w-3xl mx-auto">
|
||||
<div class="md:flex md:items-center md:justify-between mb-8">
|
||||
<h1 class="text-2xl font-bold text-gray-900 dark:text-white">
|
||||
复制常驻留言
|
||||
</h1>
|
||||
<a href="{{ route("program.construct.append.list", ["program"=>$program->id]) }}" class="mt-4 md:mt-0 inline-flex items-center text-sm text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200">
|
||||
<svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"></path></svg>
|
||||
返回列表
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="bg-white dark:bg-gray-800 shadow rounded-lg overflow-hidden">
|
||||
<form class="p-6 space-y-6" action="" method="post" enctype="multipart/form-data">
|
||||
@csrf
|
||||
|
||||
@if($program)
|
||||
<div class="bg-gray-50 dark:bg-gray-700/30 rounded-lg p-4 mb-6">
|
||||
<label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">结束图像参考</label>
|
||||
@if(count($program->video_pivots) > 0 && $program->video_pivots->last()->stop_image)
|
||||
<img src="{{$program->video_pivots->last()->stop_image}}" alt="结束图片" class="h-32 w-auto object-cover rounded border border-gray-200 dark:border-gray-600">
|
||||
@else
|
||||
<div class="text-sm text-gray-500 italic">暂无图像</div>
|
||||
<a href="{{route("program.construct.video.list", ["program"=>$program->id])}}" class="mt-2 inline-flex items-center text-xs text-indigo-600 hover:text-indigo-900">去关联视频建设 →</a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div>
|
||||
<h3 class="text-lg font-medium leading-6 text-gray-900 dark:text-white mb-4">选择要复制的留言</h3>
|
||||
|
||||
@if(sizeof($broadcastList) <= 0)
|
||||
<div class="text-center py-8 text-gray-500 dark:text-gray-400">
|
||||
暂无可复制的内容
|
||||
</div>
|
||||
@else
|
||||
<div class="space-y-3 max-h-96 overflow-y-auto border border-gray-200 dark:border-gray-700 rounded-md p-4">
|
||||
@foreach($broadcastList as $broadcast)
|
||||
<div class="relative flex items-start">
|
||||
<div class="flex items-center h-5">
|
||||
<input id="broadcast-{{$broadcast->id}}" name="ids[]" value="{{$broadcast->id}}" type="checkbox"
|
||||
class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded dark:bg-gray-700 dark:border-gray-600">
|
||||
</div>
|
||||
<div class="ml-3 text-sm">
|
||||
<label for="broadcast-{{$broadcast->id}}" class="font-medium text-gray-700 dark:text-gray-300">
|
||||
{{$broadcast->from}}
|
||||
</label>
|
||||
<p class="text-gray-500 dark:text-gray-400">{{$broadcast->name}}</p>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@include("common.form_error")
|
||||
|
||||
@if(sizeof($broadcastList) > 0)
|
||||
<div class="flex items-center justify-end pt-4 border-t border-gray-200 dark:border-gray-700">
|
||||
<button type="submit" class="inline-flex justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
|
||||
确认复制
|
||||
</button>
|
||||
</div>
|
||||
@endif
|
||||
</form>
|
||||
</div>
|
||||
@else
|
||||
<div class="block my-2 text-center">
|
||||
<input class="px-6 py-2 inline-block rounded-full bg-cyan-600 text-white" type="submit">
|
||||
</div>
|
||||
@endempty
|
||||
</form>
|
||||
</main>
|
||||
@include("common.footer")
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
Reference in New Issue
Block a user