84 lines
3.5 KiB
PHP
84 lines
3.5 KiB
PHP
@extends('layouts.app')
|
|
|
|
@section('content')
|
|
@include('layouts.headers.header-content')
|
|
|
|
<div class="container-fluid mt--7">
|
|
|
|
<div class="row mt-5">
|
|
<div class="col-xl-12 mb-5 mb-xl-0">
|
|
<div class="card shadow">
|
|
<div class="card-header border-0">
|
|
<div class="row align-items-center">
|
|
<div class="col">
|
|
<h3 class="mb-0">Manajemen Node Website</h3>
|
|
</div>
|
|
<div class="d-flex justify-content-end">
|
|
<a class="btn btn-outline-primary btn-sm modal_add" href="#add_web" ><i class="fas fa-plus"></i> Tambah</a>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="table-responsive">
|
|
<!-- Projects table -->
|
|
<table class="table align-items-center table-flush">
|
|
<thead class="thead-light">
|
|
<tr>
|
|
<th scope="col">Domain</th>
|
|
<th scope="col">CMS ID</th>
|
|
<th scope="col">Database</th>
|
|
<th scope="col">Theme</th>
|
|
<th scope="col">Created At</th>
|
|
<th scope="col">Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
@foreach($web as $i)
|
|
<tr>
|
|
<th scope="row">
|
|
<a href="http://<?= $i->domain ?>" target="_blank">{{ $i->domain }}</a>
|
|
|
|
</th>
|
|
<td>
|
|
{{ $i->tenant_id }}
|
|
</td>
|
|
<td>
|
|
ucms_{{ $i->tenant_id }}
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
{{ $i->created_at }}
|
|
</td>
|
|
<td>
|
|
<i class="fas fa-arrow-up text-success mr-3"></i> +
|
|
<a href="{{ route('node.delete',$i->tenant_id) }}" class="fas fa-trash text-danger"></a>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
@include('admin.node.modal_add')
|
|
@include('layouts.footers.auth')
|
|
|
|
</div>
|
|
@endsection
|
|
|
|
@push('js')
|
|
<script src="{{ asset('argon') }}/vendor/chart.js/dist/Chart.min.js"></script>
|
|
<script src="{{ asset('argon') }}/vendor/chart.js/dist/Chart.extension.js"></script>
|
|
<script>
|
|
$(".modal_add").click(function(e){
|
|
|
|
$("#modal_add").modal('show');
|
|
|
|
})
|
|
</script>
|
|
@endpush |