<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Juxt Admin Panel</title>
    <link rel="stylesheet" type="text/css" href="/css/juxt.css">
</head>
<body>

<h2 style="display: inline-block; margin-left: 20px">Juxt Admin Panel - <%= user.user_id %></h2> <img style="width: 57px; display: inline-block; position: absolute; right: 8px;" src="<%= mii_image_CDN %>/<%= user.pid %>/normal_face.png">

<div class="row">
    <div class="left" style="background-color:#bbb;max-width: 10%;">
        <ul id="myMenu">
            <li><a href="/">Home</a></li>
            <li><a href="/communities">Communities</a></li>
            <li><a href="/audit">Audit Log</a></li>
            <li><a href="/announcements">Announcements</a></li>
            <li><a href="/users">Users</a></li>
            <li><a href="/discovery">Discovery</a></li>
        </ul>
    </div>

    <div class="right" style="background-color:#ddd;">
        <h2>Discovery Server Status</h2>
        <form action="/v1/discovery/update" enctype="multipart/form-data" target="formSubmitFrame" method="post">
            <select name="has_error">
                <option value="0" selected>OPEN</option>
                <option value="1">SYSTEM_UPDATE_REQUIRED</option>
                <option value="2">SETUP_NOT_COMPLETE</option>
                <option value="3">SERVICE_MAINTENANCE</option>
                <option value="4">SERVICE_CLOSED</option>
                <option value="5">PARENTAL_CONTROLS_ENABLED</option>
                <option value="6">POSTING_LIMITED_PARENTAL_CONTROLS</option>
                <option value="7">PNID_BANNED</option>
                <option value="8">SERVER_ERROR</option>
            </select>
            <input type="submit" value="Submit">
            <br>
            <br>
            <iframe name="formSubmitFrame"></iframe>
        </form>
    </div>
</div>

</body>
</html>
