@extends('layouts.app') @section('title', '專案權限申請') @push('styles') @endpush @section('content')

專案權限申請

選擇申請類型,填寫表單後送出審核
{{-- ── 左側導覽 ── --}} {{-- ── 右側主內容 ── --}}
@if ($errors->any())
    @foreach ($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif {{-- ── 申請類型卡片 ── --}}
{{-- 建立專案(PM 或管理者才能看到) --}} @if($canCreateProject) @endif {{-- 加入專案 --}} {{-- 防火牆申請 --}} {{-- 申請帳號(主管限定) --}} @if($canRequestAccount) @endif
{{-- ── 表單區(依選擇顯示) ── --}}
@csrf {{-- 共用:申請人 Email --}}
{{-- ════ 建立專案 panel ════ --}}
@error('gitlab_username')
{{ $message }}
@enderror
@error('group_id')
{{ $message }}
@enderror
@error('project_name')
{{ $message }}
@enderror
{{-- ════ 加入專案 panel ════ --}}
{{-- 左:GitLab --}}
GitLab
@error('gitlab_project_name')
{{ $message }}
@enderror
找不到可直接輸入(例:group/project)
{{-- 右:平台專案管理 --}}
平台專案管理
{{-- PM toggle 在上方,控制下方專案搜尋顯示 --}}
{{-- 勾選後才顯示的專案選擇 --}}
留空表示不指定平台專案
{{-- ════ 申請帳號 panel(主管限定)════ --}} @if($canRequestAccount)
此功能限主管為新進人員申請 GitLab 帳號使用
{{-- 同時申請平台 PM 權限 --}}
@endif {{-- 共用:備註 & 送出 --}}
取消
{{-- ════ 防火牆申請 panel(獨立 form,不在 gitlabForm 內) ════ --}}
@csrf
填入需要連到目標伺服器的 IP
@error('ip_address')
{{ $message }}
@enderror
@error('ports')
{{ $message }}
@enderror
@error('reason')
{{ $message }}
@enderror
取消
{{-- /右側主內容 --}}
{{-- /gr-layout --}}
@endsection @push('scripts') @endpush