<div class="interaction-module-list-wrapper">
    <span class="module-title">List tag config</span>
    <table class="interaction-module-list-table">
        <thead class="redirect-head">
            <tr>
                <th class="w-20">#</th>
                <th style="width: 25%;">Refer</th>
                <th style="width: 25%;">Related</th>
                <th style="width: 30%;">Image</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">
                <td style="vertical-align: middle;">@{{ $index + 1 }}</td>
                <td style="vertical-align: middle;">
                    <a href="@{{ '/' + item.refer_url }}" target="_blank">@{{ item.refer_name }}</a>
                </td>
                <td style="vertical-align: middle;">
                    <a href="@{{ '/' + item.related_url }}" target="_blank">
                        @{{ item.related_name }}
                    </a>
                </td>
                <td>
                    <img ng-if="item.image_url" class="comment-image" height="100px" ng-src="@{{ item.image_url }}">
                </td>
                <td style="vertical-align: middle;">
                    <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>
        </tbody>
    </table>
</div>