|
|
@@ -9,32 +9,6 @@
|
|
|
<div class="timo-detail-title">基本信息</div>
|
|
|
<table class="layui-table timo-detail-table">
|
|
|
<tbody>
|
|
|
- <span th:if="${app} == null">
|
|
|
- <th>项目</th>
|
|
|
- <td>
|
|
|
- <div class="layui-form-item">
|
|
|
- <div class="layui-input-inline">
|
|
|
- <select name="app.proj.projId">
|
|
|
- <option th:each="item:${projs}" th:value="${item.key}" >[[${item.value}]]</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </span>
|
|
|
- <span th:if="${app?.proj} != null">
|
|
|
- <tr>
|
|
|
- <th>项目</th>
|
|
|
- <td>
|
|
|
- <div class="layui-form-item">
|
|
|
- <div class="layui-input-inline">
|
|
|
- <select name="app.proj.projId">
|
|
|
- <option th:each="item:${projs}" th:value="${item.key}" th:selected="${app.proj.projId} eq ${item.key}">[[${item.value}]]</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </span>
|
|
|
<tr>
|
|
|
<th>应用 ID</th>
|
|
|
<td>
|
|
|
@@ -138,40 +112,38 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<!-- TODO 若选择了项目,则仓库、编译和打包配置不用选择 -->
|
|
|
- <span th:if="${app?.proj} == null">
|
|
|
- <tr>
|
|
|
- <th>仓库认证(若选择了项目则不必选择)</th>
|
|
|
- <td>
|
|
|
- <div class="layui-form-item">
|
|
|
- <div class="layui-input-inline">
|
|
|
- <select name="repoAuthConfig.name">
|
|
|
- <option th:each="item : ${repoAuths}" th:value="${item.key}" th:selected="${app?.repoAuthConfig?.name} eq ${item.key}">[[${item.value}]]</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <th>编译器(若选择了项目则不必选择)</th>
|
|
|
- <td>
|
|
|
- <div class="layui-form-item">
|
|
|
- <div class="layui-input-inline">
|
|
|
- <select name="compilerConfig.name">
|
|
|
- <option th:each="item : ${compilers}" th:value="${item.key}" th:selected="${app?.compilerConfig?.name} eq ${item.key}">[[${item.value}]]</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <th>打包工具(若选择了项目则不必选择)</th>
|
|
|
- <td>
|
|
|
- <div class="layui-form-item">
|
|
|
- <div class="layui-input-inline">
|
|
|
- <select name="packerConfig.name">
|
|
|
- <option th:each="item : ${packers}" th:value="${item.key}" th:selected="${app?.packerConfig?.name} eq ${item.key}">[[${item.value}]]</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </span>
|
|
|
+ <tr>
|
|
|
+ <th>仓库认证(若选择了项目则不必选择)</th>
|
|
|
+ <td>
|
|
|
+ <div class="layui-form-item">
|
|
|
+ <div class="layui-input-inline">
|
|
|
+ <select name="repoAuthConfig.name">
|
|
|
+ <option th:each="item : ${repoAuths}" th:value="${item.key}" th:selected="${app?.repoAuthConfig?.name} eq ${item.key}">[[${item.value}]]</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <th>编译器(若选择了项目则不必选择)</th>
|
|
|
+ <td>
|
|
|
+ <div class="layui-form-item">
|
|
|
+ <div class="layui-input-inline">
|
|
|
+ <select name="compilerConfig.name">
|
|
|
+ <option th:each="item : ${compilers}" th:value="${item.key}" th:selected="${app?.compilerConfig?.name} eq ${item.key}">[[${item.value}]]</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <th>打包工具(若选择了项目则不必选择)</th>
|
|
|
+ <td>
|
|
|
+ <div class="layui-form-item">
|
|
|
+ <div class="layui-input-inline">
|
|
|
+ <select name="packerConfig.name">
|
|
|
+ <option th:each="item : ${packers}" th:value="${item.key}" th:selected="${app?.packerConfig?.name} eq ${item.key}">[[${item.value}]]</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
<tr>
|
|
|
<th>Dockerfile</th>
|
|
|
<td>
|