<!doctype html>
<html>

<head>
    
    <h2>檢查伺服器狀況</h2>  

    
</head>

<body> 

    <form method="POST" action="{{ url_for('check_ping') }}">
    	<p><input type="submit" name="send" value="檢查連線"></p>
    </form>
    

    <form method="post" action="{{ url_for('check_gogs') }}">
    <p><input type="submit" name="send" value="檢查gogs"></p>
    </form>

    <form method="post" action="{{ url_for('check_watchdog') }}">
    <p><input type="submit" name="send" value="檢查watchdog"></p>
    </form>

    <form method="post" action="{{ url_for('check_mosquitto') }}">
    <p><input type="submit" name="send" value="檢查mosquitto"></p>
    </form>

    <pre>{{context}}</pre>
    <pre>{{gogs}}</pre>
    <pre>{{watchdog}}</pre>
    <pre>{{mosquitto}}</pre>
</body>    

</html>