@extends('layouts.master')
@section('content')

    <div class="container-xxl flex-grow-1 container-p-y">

        <div class="card" style="display: grid;height: 100%;">
            <div class="table-responsive text-nowrap" style="display: inline-table !important;">
                <table class="display table " style="height: 100%;">
                    <thead>
                        <tr class="text-nowrap">
                            <th>#</th>

                            <th>Photo Frame</th>
                            {{-- <th>Action</th> --}}
                        </tr>
                    </thead>
                    <tbody>
                        @foreach ($alarm_list as $index => $list)
                            <tr>
                                <td>{{ ++$index }}</td>

                                <td>
                                    <a download href="data:image/png;base64, {{ $list['photo_frame'] }}">
                                        <img src="data:image/png;base64, {{ $list['photo_frame'] }}" style="height:100px;" />
                                    </a>
                                </td>
                            </tr>
                        @endforeach
                    </tbody>
                </table>
            </div>
        </div>
        <div class="row" style=" text-align: center; display: block; margin-top: 100px; margin-bottom: 65px; ">
            {{-- <a href="" class="btn btn-secondary" style="width: 150px;margin-right: 50px;">Back</a> --}}
            {{-- <a href="" class="btn btn-primary" style="width: 150px;">Next</a> --}}
        </div>
    </div>
@endSection
