@{
    ViewData["Title"] = "VPS Management";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

@model EForT.Models.AdminModel

<div class="app-content container center-layout py-3">
    <div class="content-header row">
        <div class="content-header-left col-12 mb-2">
            <h1 class="content-header-title mb-0">VPS Management</h1>
            <div class="row breadcrumbs-top">
                <div class="breadcrumb-wrapper col-12">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item">
                            <a href="@Url.Action("AdminAccount", "UserManagement")">Administrator Home</a>
                        </li>
                        <li class="breadcrumb-item active">
                            VPS List
                        </li>
                    </ol>
                </div>
            </div>
        </div>
    </div>
    <div class="content-wrapper">
        <div class="content-body">
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        <div class="card-header pb-0">
                            <div class="font-medium-2 bottom-border">
                                <p>VPS List</p>
                            </div>
                            <div class="heading-elements">
                                <button id="add-server" class="btn btn-sm btn-icon btn-primary" data-toggle="modal" data-target="#addServerModal">Add Server</button>
                            </div>
                        </div>
                        <div class="card-body pt-0" id="listVPServers">
                            <partial name="_ListOfServers" model="Model" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Modal -->
<div id="add-server-modal">
    <partial name="_ModalAddServer" />
</div>
<div id="connect-server-modal">
    <partial name="_ModalConnectServer" />
</div>
<div id="edit-terminal-modal">
    <partial name="_ModalEditTerminal" />
</div>
<!--/Modal-->
