Merge branch 'feature/periodic' into 'develop'
Feature/periodic into develop See merge request 2020-2021/online/s101/group-02/access_controller!33
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
</style>
|
||||
{% block extra_css %}{% endblock %}
|
||||
{% block extra_scripts %}{% endblock %}
|
||||
</head>
|
||||
|
||||
<body class="d-flex flex-column h-100">
|
||||
|
||||
@@ -10,11 +10,15 @@
|
||||
<link rel="stylesheet" href="{% static 'main/css/work.css' %}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="https://unpkg.com/react@17/umd/react.development.js" crossorigin></script>
|
||||
<script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js" crossorigin></script>
|
||||
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
|
||||
{% endblock%}
|
||||
|
||||
{% block content %}
|
||||
<div class="container-md">
|
||||
<div class="new-section">
|
||||
<p class="row page-description">Основная информация о странице</p>
|
||||
</div>
|
||||
|
||||
{% block form %}
|
||||
<form method="post">
|
||||
@@ -37,25 +41,23 @@
|
||||
<table class="light-table">
|
||||
|
||||
<thead>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Role</th>
|
||||
<th>Name(link to profile)</th>
|
||||
<th>Checked</th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tbody id="old_tbody">
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
<td>{{ user.id }}</td>
|
||||
<td><a href="#">{{ user.name }}</a></td>
|
||||
<td>{{ user.user.email }}</td>
|
||||
<td>{{ user.role }}</td>
|
||||
<td><a href="#">{{ user.name }}</a></td>
|
||||
<td class="checkbox_field"></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
<tbody id="new_tbody"></tbody>
|
||||
</table>
|
||||
{% endblock%}
|
||||
|
||||
@@ -103,6 +105,6 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
<script src="{% static 'main/js/control.js'%}"></script>
|
||||
<script src="{% static 'main/js/control.js'%}" type="text/babel"></script>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user