@extends('layouts.demo10.base') @section('content')
@can('view.odk_central')

ODK Central Connections

Home / Projects / {{ $currentProject->name ?? 'Project' }} / ODK Central
@can('create.odk_central') @endcan
@canany(['edit.odk_central', 'delete.odk_central']) @endcanany @forelse($connections as $connection) @canany(['edit.odk_central', 'delete.odk_central']) @endcanany @empty {{-- --}} @endforelse
Sr No Server URL Project ID Form ID Username Auth Last Date Status Actions
{{ $loop->iteration }} {{ $connection->project_id }} {{ $connection->form_id ?? 'Not Connected Form'}} {{ $connection->username ?? 'N/A' }} @if(!empty($connection->username)) Basic @elseif(!empty($connection->auth_token)) Auth @else N/A @endif {{ $connection->updated_at->format('M d, Y') }} {{ ucfirst($connection->status) }}
@can('edit.odk_central') @can('connect.odk_central') @endcan @endcan @can('delete.odk_central') @endcan

No ODK connections found. Start by adding a new one.

@else

Access Denied

You do not have permission to view this page.

@endcan

Add ODK Central Connection

@csrf
Use Auth Token

Edit ODK Connection

@csrf
Use Auth Token
@endsection @section('scripts') @vite('resources/js/pages/odk-central.js') @endsection