@model PantheonRA.BackOffice.Models.BaseGridFilterModel

@{
    ViewBag.Title = Loc.Devices;
    Layout = null;
}

<div>
    <div class="row">
        <div class="col-md-12">
            <div class="ibox search-box form-box">
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-md-9">
                            <p>
                                @Html.TextBoxFor(model => model.Keywords, new { @id = "Keywords", @class = "form-control", @placeholder = Loc.SearchByNameCodeBarcode + "..." })
                                <i class="fa fa-search"></i>
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-12">
            <div class="ibox">
                <div class="ibox-title"></div>
                <div class="ibox-content">
                    <div class="project-list">
                        <table id="mainGrid" data-grid-id="devices" data-url="@Url.Action("_DeviceList", "Devices")" class="list-table">
                            <thead>
                                <tr>
                                    <th>@Loc.Nr</th>
                                    <th>@Loc.Description</th>
                                    <th data-column-id="DeviceType">@Loc.DeviceType</th>
                                    <th data-column-id="CompanyUnitId">@Loc.UnitName</th>
                                    <th data-column-id="IsActivated" data-width="10%">@Loc.Activated</th>
                                    <th data-column-id="IsMasterDevice" data-width="10%">@Loc.IsMaster</th>
                                    <th data-column-id="DevicePassword">@Loc.DevicePassword</th>
                                    <th data-column-id="MBNumber">@Loc.MBNumber</th>
                                    <th data-column-id="IsFiscalCertDownloaded">@Loc.FiscalCertificateDownloaded</th>
                                    <th data-column-id="LastChangeTime">@Loc.Changed</th>
                                    <th data-column-id="LastSync">@Loc.LastSynchronized</th>
                                </tr>
                            </thead>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>