<div class="table-responsive">
    <table class="table table-hover table-striped">
        <thead class="redirect-head">
            <tr>
                <th>#</th>
                <th class="col-md-5">URL</th>
                <th class="col-md-4">Link redirect</th>
                <th class="col-md-1">Start time</th>
                <th class="col-md-1">Status</th>
                <th></th>
            </tr>
            <tr ng-show="isShowLoading">
                <div class="loading" ng-show="isShowLoading">
                    <div class="loading_line_wrapper">
                        <div class="loading_line">
                            <div class="loading_line_inner loading_line_inner--1"></div>
                            <div class="loading_line_inner loading_line_inner--2"></div>
                        </div>
                    </div>
                </div>
            </tr>
        </thead>
        <tbody class="redirect-body">
            <tr ng-repeat="item in items track by $index">
                <td>@{{ $index + 1 }}</td>
                <td>
                    <p style="word-break: break-all">@{{ item.url }}</p>
                </td>
                <td>
                    <p style="word-break: break-all">
                        @{{ item.link_redirect }}
                    </p>
                </td>
                <td>
                    @{{ summarizeDateTime(item.start_at, true) }}
                </td>                
                <td class="">@{{ item.status }}</td>
                <td align="right">
                    <button class="btn btn-primary" role="button" ng-click="openModal(item)">
                        <i class="fa fa-pencil" aria-hidden="true"></i>
                    </button>
                    <button class="btn btn-danger" role="button" ng-click="delete(item)">
                        <i class="fa fa-times" aria-hidden="true"></i>
                    </button>
                </td>
            </tr>
            <tr ng-if="items.length == 0 && !isShowLoading">
                <td colspan="6">Not found...</td>
            </tr>
        </tbody>
    </table>
</div>