<html>
<head>
    <title>3DPrinterOS Client</title>
    <link rel="stylesheet" type="text/css" href="/static/styles/style.css">
    <script src="/static/scripts/jquery.js" type="text/javascript"></script>
</head>
<body bgcolor=#003333>
<div id='host_version' align='right' style='align: right; color: #006666'>!!!URL!!! !!!VERSION!!!</div>
<div class="block1">
    <div class="block2">
        3DPrinterOS Client
    </div>
    <center>
        <div class="block3" id="form-block">
            <h2>
                Proxy setup
            </h2>
            <form method="post" action="/edit_network" id="manage-network-form" onsubmit="return manageInstance.validate_proxy_url_or_ip()">

                <div style="column-count:2; column-gap:2px; display: inline">
                    <div>
                        <label>
                            HTTP proxy:
                        </label>
                        <input type="text"
                               name="http_proxy"
                               maxlength="128"
                               style="margin-left: 10px;"
                               placeholder="http://proxyserver.url:port"
                               id="http_proxy"
                               class="text_field">
                    </div>
                    <div style="color: red;margin-top: -10px;margin-bottom: 15px;" id="http_proxy_error"></div>
                    <div>
                        <label>
                            HTTPS proxy:
                        </label>
                        <input type="text"
                               name="https_proxy"
                               maxlength="128"
                               placeholder="http://proxyserver.url:port"
                               class="text_field">
                    </div>
                     <div style="color: red;margin-top: -10px;margin-bottom: 15px;" id="https_proxy_error"></div>
                    <div style="text-align: left;margin-left: 39px;">
                        <label>Enabled</label>
                        <input type="checkbox" name="enabled" id="enabled" onchange="manageInstance.change_state_proxies_fields(this)">
                    </div>
                </div>
                <div>
                    <input type="button" onClick="location.href='/'" value="Back" style="" class="big_button">

                    <input type="submit"
                           style="background: #ff9900"
                           class="big_button"
                           value="Save">
                </div>
            </form>
        </div>
    </center>
</div>
<script src="/static/scripts/manage_network.js" type="text/javascript"></script>
</body>
</html>
