<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})"></head>

<body>
<div class="layui-form timo-compile">
    <form th:action="@{/api/build/compiler}">
        <!--<input type="hidden" name="machineId" th:value="${machineId}"/>-->
        <div class="layui-form-item">
            <label class="layui-form-label">编译类型</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="type" readonly th:value="${compiler.type}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">编译名字</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="name" readonly th:value="${compiler.name}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">编译器主目录</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="homePath" th:value="${compiler.homePath}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">编译脚本</label>
            <div class="layui-input-inline">
                <textarea class="layui-textarea" name="compileScript" th:text="${compiler.compileScript}"></textarea>
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
<script type="text/javascript">
</script>
</body>
</html>