{% extends "base/base.html" %}
{% load staticfiles %}

{% block staticfile %}
<link rel="stylesheet" href="{% static 'css/machine.css' %}">
{% endblock staticfile %}

{% block content %}
            <div id="ContentWrap">
                <button onclick="setMachine()">기계정보 저장</button>
            </div>
    <script>
        function setMachine() {
            $.ajax({
                url: '/machine/setmachine',
                type: 'GET',
                cache: false,
                data: {
                },
                dataType: 'json',
                async: false,
                success: function (response) {
                    console.log(response);
                }
            });
        }
    </script>
{% endblock content %}