@extends('layouts.app') @section('title', ($name ? '編輯' : '新增') . ' Compose') @section('content')

{{ $name ? '編輯:'.$name.'.yml' : '新增 Compose' }}

返回
{{-- 左欄:YAML 編輯器 --}}
docker-compose.yml
@if(!$name)
只能使用英文、數字、底線、連字號
@endif
{{-- 右欄:Metadata --}}
標記資訊
方便識別此 Compose 的用途
@if(!empty($meta['created_at']))
建立:{{ $meta['created_at'] }}
@if(!empty($meta['updated_at'])) 更新:{{ $meta['updated_at'] }} @endif
@endif
@if(!empty($localImages))
本機 Images(點擊插入)
@foreach($localImages as $tag) @endforeach
@endif
取消
@endsection @push('scripts') @endpush