test/app/apps/management/templates/map/manage_map.html
zakhy 5069a82ae6 Merge branch 'Idealizm'
Докеризация

# Conflicts:
#	app/apps/events/views/views_events.py
#	app/apps/gto/migrations/0027_auto_20250721_2141.py
#	app/apps/gto/migrations/0028_alter_modeltypeicons_model.py
#	app/apps/gto/models/model_gto_external_system.py
#	app/apps/management/templates/gto_icons.html
#	app/apps/management/templates/icon_add.html
#	app/apps/management/templates/icons/remove_icon.html
#	app/apps/management/views/views_general.py
#	app/apps/management/views/views_geoproc.py
#	app/apps/management/views/views_gto.py
#	app/apps/management/views/views_pla.py
#	app/apps/management/views/views_seismicproc.py
#	app/apps/management/views/views_wklocation.py
#	app/mfssogr/urls.py
#	apps/management/templates/gto/gto_icons.html
#	apps/management/templates/gto/icon_add.html
#	apps/management/templates/gto_icons.html
#	apps/management/templates/icon_add.html
2025-07-24 15:23:47 +07:00

79 lines
3.6 KiB
HTML

{% extends "default.html" %}
{% load static %}
{% load mysettings %}
{% block header_link %}
<!-- Select2 -->
<link rel="stylesheet"
href="{% static 'lte/plugins/select2/css/select2.min.css' %}?ver={% settings_value 'APP_VER' %}">
<link rel="stylesheet"
href="{% static 'lte/plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css' %}?ver={% settings_value 'APP_VER' %}">
<!-- iCheck for checkboxes and radio inputs -->
<link rel="stylesheet"
href="{% static 'lte/plugins/icheck-bootstrap/icheck-bootstrap.min.css' %}?ver={% settings_value 'APP_VER' %}">
{% endblock header_link %}
{% block content %}
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h4>Управление картами</h4>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="/management/general/">Главная</a></li>
<li class="breadcrumb-item">Параметры системы </li>
</ol>
</div>
</div>
</div><!-- /.container-fluid -->
</section>
<section class="content">
<form autocomplete="off" method="post" enctype="multipart/form-data" class="form-horizontal">
{% csrf_token %}
<div class="container-fluid">
<div class="row">
<!-- /.col -->
<div class="col-12">
<div class="card">
<div class="card-header">
<a href="{% url 'management:add_map' %}" class="btn btn-primary">Добавить</a>
</div>
<div class="card-body table-responsive p-0">
<table class="table table-bordered table-hover table-head-fixed text-nowrap">
<thead>
<tr role="row">
<th class="col-1"></th>
<th>Наименование</th>
<th class="col-1"></th>
</tr>
</thead>
<tbody>
{% for map in catalog %}
<tr>
<td>
{{ map.id }}
</td>
<td>
<a href="{% url 'management:edit_map' map.id %}">{{ map.name }}</a>
</td>
<td><a href="{% url 'management:remove_map' map.id %}" class="btn btn-danger btn-block btn-sm"><i class="fa fa-trash"></i> Удалить</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div> <!-- /.card-body -->
</div>
<!-- /.nav-tabs-custom -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div><!-- /.container-fluid -->
</form>
</section>
{% endblock %}