Відмінності між версіями «Test2»

Матеріал з Вікіпедія ЄСІТС
Перейти до навігації Перейти до пошуку
Рядок 1: Рядок 1:
<div class="mbox-text-div">
<html>
{{Ambox
<head>
| style = margin-left:0px; max-width:50%
    <meta charset="UTF-8">
| text = <big>Список шаблонів заяв та клопотань станом на [[Date:: 02 лютого 2022]]</big>
    <title></title>
{{Ambox
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
| text = <big>Універсальний шаблон: <code><b>Клопотання / Заява</b></code></big>
</head>
| style = width:70%; margin-left:0px
<body>
| type = content
 
| image = none
    <div class="table-container">
}}
        <label>Buscar:</label><input type="text" onkeyup="filter(event)">
}}
        <table id="easy-table" class="table is-striped is-bordered">
</div>
            <thead>
                <tr>
            <th>Id шаблону</th>
<th>Назва шаблону</th>
<th>Інстанція</th>
<th>Justice</th>
<th>Категорія</th>
<th>Судочинство</th>
<th>Підкатегорія</th>
<th>Doc type</th>
<th>Representative</th>
<th>Is active</th>
<th>Порядок кроків у шаблоні</th>
                </tr>
            </thead>
            <tbody>
            </tbody>
        </table>
        <div id="paginator"></div>
    </div>
 
    <script src="js/script.js"></script>
    <script>
        // dummy data
        const NAMES = ['Paul', 'Anne', 'Benji', 'Carl', 'Sarah', 'Julie', 'Ryan', 'Steve','Peter', 'Samantha'];
        const LAST_NAMES = ['Smith', 'Anderson', 'Morrison', 'Kane', 'Ferguson', 'Warner', 'Hammer', 'Phillips','Thompson', 'Chang'];
        const COUNTRIES = ['South Africa', 'England', 'Australia', 'Mexico', 'China', 'Japan', 'Honduras','Canada','France','Spain']
 
        let data = [];
        for(let i = 0; i < 100; i++){
            let row = {
                id: i,
                name: NAMES[Math.floor(Math.random() * 10)],
                last_name: LAST_NAMES[Math.floor(Math.random() * 10)],
                country: COUNTRIES[Math.floor(Math.random() * 10)],
                age: Math.floor(Math.random() * 99)
            }
            data.push(row);
        }
 
        // required options
        const options = {
            tableId:'easy-table',
            currentPage:1,
            perPage:10,
            autoHeaders:true,
            arrowUp:'⇑',
            arrowDown:'⇓',
            previousText:'&#10094',
            nextText:'&#10095',
        }
 
        setTable(data, options);
 
    </script>
</body>
</html>

Версія за 04:45, 9 лютого 2022

Id шаблону Назва шаблону Інстанція Justice Категорія Судочинство Підкатегорія Doc type Representative Is active Порядок кроків у шаблоні