@using PantheonRA.BackOffice.Enums

<div class="wrapper wrapper-content">
    <div class="tabs-container">
        <div class="tab-content">
            <div class="row document-head">
                <div class="col-md-4 col-xs-6">
                </div>
            </div>

            <div class="document-body">
                <div class="project-list">
                    <div class="document-list">
                        <table id="grid-data" data-grid-id="mailboxes" data-url="@Url.Action("GetMailboxes", "Mailbox")" class="list-table">
                            <thead>
                                <tr>
                                    <th data-url="@Url.Action("Edit", "Mailbox")?id=">@Loc.Name</th>
                                    <th>@Loc.Subject</th>
                                    <th>@Loc.Classification</th>
                                    <th>@Loc.Login</th>
                                </tr>
                            </thead>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<input id="GetImportMailboxesUrl" value="@Url.Action("GetImportMailboxes", "Mailbox")" hidden />
<input id="ImportMailboxesUrl" value="@Url.Action("ImportMailboxes", "Mailbox")" hidden />
<input id="ImportMailboxesHelpUrl" value="@SiteHelpAttributeHelper.GetHelpUrl(HelpIds.ImportMailboxes)" hidden />
<input id="CurrentUserLocalization" value="@PantheonRA.BackOffice.CurrentUser.Localization" hidden />
<input id="NameLoc" value="@Loc.Name" hidden />
<input id="SubjectLoc" value="@Loc.Subject" hidden />
<input id="IconLoc" value="@Loc.Icon" hidden />
<input id="ClassificationQIdLoc" value="@Loc.ClassificationQId" hidden />
<input id="LoginQidLoc" value="@Loc.LoginQid" hidden />
<input id="ImportTypeLoc" value="@Loc.ImportType" hidden />
<input id="ForCountryLoc" value="@Loc.ForCountry" hidden />
<input id="DownloadFromServerLoc" value="@Loc.DownloadFromServer" hidden />
<input id="ImportIntoCodebookLoc" value="@Loc.ImportIntoCodebook" hidden />
<input id="ImportTypeAddingLoc" value="@Loc.ImportTypeAdding" hidden />
<input id="ImportTypeAddEditLoc" value="@Loc.ImportTypeAddEdit" hidden />
<input id="ImportMailboxesLoc" value="@Loc.ImportMailboxes" hidden />
<input id="YesLoc" value="@Loc.Yes" hidden />
<input id="NoLoc" value="@Loc.No" hidden />

<script>
    $(document).ready(function () {
        initializeMailboxes();
    });
</script>