|
@@ -0,0 +1,181 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+
|
|
|
+<template xml:space="preserve">
|
|
|
+
|
|
|
+ <!-- Base configuration template -->
|
|
|
+ <t t-name="BaseConfigTemplate">
|
|
|
+ <div class="oe_view_manager oe_view_manager_inline">
|
|
|
+ <div class="oe_view_manager_wrapper">
|
|
|
+ <div>
|
|
|
+ <div class="oe_view_manager_body">
|
|
|
+ <div class="oe_view_manager_view_form">
|
|
|
+ <div class="oe_formview oe_view">
|
|
|
+ <div class="oe_form_container">
|
|
|
+ <div class="oe_form">
|
|
|
+ <div class="oe_form_nosheet">
|
|
|
+ <t t-raw="0" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+
|
|
|
+ <!-- Docker section template -->
|
|
|
+ <t t-name="DockerSectionTemplate">
|
|
|
+ <table border="0" cellpadding="0" cellspacing="0" class="oe_form_group">
|
|
|
+ <tbody>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell" colspan="1" width="50%">
|
|
|
+ <div class="oe_horizontal_separator oe_clear">Docker</div>
|
|
|
+ <table border="0" cellpadding="0" cellspacing="0" class="oe_form_group">
|
|
|
+ <tbody>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell oe_form_group_cell_label" colspan="1" width="1%">
|
|
|
+ <label for="socket-input" class="oe_form_label oe_align_right">Socket</label>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell oe_form_group_cell_label" colspan="1" width="99%">
|
|
|
+ <span class="oe_form_field oe_form_field_char">
|
|
|
+ <input id="socket-input" maxlength="100" type="text" placeholder="/var/run/docker.sock" />
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell oe_form_group_cell_label" colspan="1" width="1%">
|
|
|
+ <label for="exclusions-input" class=" oe_form_label oe_align_right">Lista de exclusión</label>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell" colspan="1" width="99%">
|
|
|
+ <span class="oe_form_field oe_tags">
|
|
|
+ <textarea id="exclusions-input" rows="1"></textarea>
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell oe_group_right" colspan="1" width="50%"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </t>
|
|
|
+
|
|
|
+ <!-- Odoo section template -->
|
|
|
+ <t t-name="OdooSectionTemplate">
|
|
|
+ <table border="0" cellpadding="0" cellspacing="0" class="oe_form_group">
|
|
|
+ <tbody>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell" colspan="1" width="50%">
|
|
|
+ <div class="oe_horizontal_separator oe_clear">Odoo</div>
|
|
|
+ <table border="0" cellpadding="0" cellspacing="0" class="oe_form_group">
|
|
|
+ <tbody>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell oe_form_group_cell_label" colspan="1" width="1%">
|
|
|
+ <label for="oe-field-input-4" class=" oe_form_label oe_align_right">Imagen docker</label>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell" colspan="1" width="99%">
|
|
|
+ <span class="oe_form_field oe_form_field_char">
|
|
|
+ <input id="oe-field-input-4" maxlength="50" type="text" />
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell oe_form_group_cell_label" colspan="1" width="1%">
|
|
|
+ <label for="oe-field-input-5" class=" oe_form_label oe_align_right">Red virtual</label>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell" colspan="1" width="99%">
|
|
|
+ <span class="oe_form_field oe_form_field_char">
|
|
|
+ <input id="oe-field-input-5" maxlength="50" type="text" />
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell oe_form_group_cell_label" colspan="1" width="1%">
|
|
|
+ <label for="oe-field-input-6" class=" oe_form_label oe_align_right">Rango de puertos</label>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell" colspan="1" width="99%">
|
|
|
+ <span class="oe_form_field oe_form_field_char">
|
|
|
+ <input id="oe-field-input-6" maxlength="50" type="text" />
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell oe_form_group_cell_label" colspan="1" width="1%">
|
|
|
+ <label for="oe-field-input-7" class=" oe_form_label oe_align_right">Ruta raíz</label>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell" colspan="1" width="99%">
|
|
|
+ <span class="oe_form_field oe_form_field_char">
|
|
|
+ <input id="oe-field-input-7" maxlength="50" type="text" />
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell oe_form_group_cell_label" colspan="1" width="1%">
|
|
|
+ <label for="oe-field-input-8" class=" oe_form_label oe_align_right">Base de datos</label>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell" colspan="1" width="99%">
|
|
|
+ <span class="oe_form_field oe_form_field_char">
|
|
|
+ <input id="oe-field-input-8" maxlength="50" type="text" />
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell oe_group_right" colspan="1" width="50%"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </t>
|
|
|
+
|
|
|
+ <!-- Git section template -->
|
|
|
+ <t t-name="GitSectionTemplate">
|
|
|
+ <table border="0" cellpadding="0" cellspacing="0" class="oe_form_group">
|
|
|
+ <tbody>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell" colspan="1" width="50%">
|
|
|
+ <div class="oe_horizontal_separator oe_clear">Git</div>
|
|
|
+ <table border="0" cellpadding="0" cellspacing="0" class="oe_form_group ">
|
|
|
+ <tbody>
|
|
|
+ <tr class="oe_form_group_row">
|
|
|
+ <td class="oe_form_group_cell oe_form_group_cell_label" colspan="1" width="1%">
|
|
|
+ <label for="oe-field-input-9" class=" oe_form_label oe_align_right">Ruta del repositorio</label>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell" colspan="1" width="99%">
|
|
|
+ <span class="oe_form_field oe_form_field_char">
|
|
|
+ <input id="oe-field-input-9" maxlength="100" type="text" />
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </td>
|
|
|
+ <td class="oe_form_group_cell oe_group_right" colspan="1" width="50%"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </t>
|
|
|
+
|
|
|
+ <!-- Configuration template -->
|
|
|
+ <t t-name="ConfigTemplate">
|
|
|
+ <t t-call="BaseConfigTemplate">
|
|
|
+ <header>
|
|
|
+ <button type="button" class="oe_button oe_form_button oe_highlight">
|
|
|
+ <span>Guardar</span>
|
|
|
+ </button>
|
|
|
+ o
|
|
|
+ <button type="button" class="oe_button oe_form_button oe_link">
|
|
|
+ <span>Cancelar</span>
|
|
|
+ </button>
|
|
|
+ </header>
|
|
|
+ <div name="general">
|
|
|
+ <t t-call="DockerSectionTemplate" />
|
|
|
+ <t t-call="OdooSectionTemplate" />
|
|
|
+ <t t-call="GitSectionTemplate" />
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ </t>
|
|
|
+</template>
|