edwrodrig/template_composer_webapp

View on GitHub
data/modules/admin/errors_screen.html

Summary

Maintainability
Test Coverage
<div id="errors_screen">
    <div class="d-flex d-column mb-2">
        <form data-id="get_error_form" class="form-inline ml-auto">
            <div class="form-group">
                <label class="sr-only">Error id</label>
                <input type="text" name="error_id" class="form-control" placeholder="codigo">
            </div>
            <button type="submit" data-id="submit" class="btn btn-primary ml-3" data-waiting-text="Buscando..." data-ready-text="Buscar">Buscar</button>
        </form>
    </div>
    <table data-id="errors_table" data-waiting-text="Obteniendo errores..." class="table">
        <thead>
        <tr>
            <th>Codigo</th>
            <th>Mensage usuario</th>
            <th>Mensaje desarrollo</th>
            <th>Fecha</th>
            <th></th>
        </tr>
        </thead>
        <tbody data-id="body">
        </tbody>
    </table>
    <template data-id="errors_table_item">
        <tr>
            <td data-id="error_id"></td>
            <td data-id="user_msg"></td>
            <td data-id="dev_msg"></td>
            <td data-id="date"></td>
            <td class="text-right"><a class="btn btn-secondary" data-id="link" target="_blank">Ver</a></td>
        </tr>
    </template>
</div>