This commit is contained in:
zakhy 2025-01-15 14:33:20 +07:00
parent 5eef73eb3b
commit af6d9c6da4
244 changed files with 49 additions and 25 deletions

View File

@ -93,7 +93,7 @@
<li class="paginate_button page-item" id="mypaginator_next">
<a class="page-link" href="?module=clients&page={{end_page_list|add:1}}" aria-controls="mypaginator" data-dt-idx="{{end_page_list|add:1}}" style="padding: .3rem .5rem;"><span>..</span></a>
</li>
{% endif %}
</ul>
@ -144,12 +144,12 @@
</div>
</div>
</form>
</form>
</td>
<td><a href="user/?id={{catalog.id}}">{{ catalog.username }} </a></td>
<td>
<a href="user/?id={{catalog.id}}">
<h6>{{catalog.profile.get_role}}</h6>
<h6>{{catalog.profile.get_role}}</h6>
</a>
</td>
@ -159,7 +159,7 @@
{% endif %}
</tbody>
</table>
</div> <!-- /.card-body -->
</div> <!-- /.card -->
</div> <!-- /.col -->
@ -257,7 +257,7 @@
<option value = "asd" {% if gtosystem == "asd" %} selected {% endif %}>АСД "Карьер"</option>
</select>
</div>
</div>
</div>
<div class="form-group row">
<label for="id_gtoadress" class="col-sm-1 col-form-label">Адрес сервера : </label>
<div class="col-sm-4">
@ -281,7 +281,7 @@
<div class="col-sm-4">
<input type="text" name="gtodatabase" value='{{gtodatabase}}' placeholder='Пароль' class="form-control" autofocus="" id="id_gtodatabase">
</div>
</div>
</div>
</div> <!-- /.card-body -->
<div class="card-footer">
<button id="btnok" type="submit" class="btn bg-gradient-primary">Сохранить</button>
@ -310,8 +310,8 @@
<option {% if wlocationsystem == "Внешняя ссылка" %} selected {% endif %}>Внешняя ссылка</option>
<option {% if wlocationsystem == "RTLS" %} selected {% endif %}>RTLS</option>
<option {% if wlocationsystem == "Radiusip" %} selected {% endif %}>Radiusip</option>
</select>
</select>
</div>
</div>
@ -404,17 +404,32 @@
</form>
</section>
<div class="row">
<div class="col-md-12">
<div class="card ">
<div class="card-body">
<section class="content text-sm">
<form action="./?module=settings&cmd=oset_save" method="post" class="form-horizontal">
{% csrf_token %}
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header text-sm">
<h5 class="card-title">Интерактивная карта</h5>
</div> <!-- /.card-header -->
<div class="card-body">
<div class="form-group row">
<label for="id_organization" class="col-sm-1 col-form-label">Организация : </label>
<div class="col-sm-4">
<input type="text" name="organization" value='{{organization}}' placeholder='Наименование организации' class="form-control" autofocus="" id="id_organization">
</div>
</div>
</div> <!-- /.card-body -->
<div class="card-footer">
<button id="btnok" type="submit" class="btn bg-gradient-primary">Сохранить</button>
</div>
</div> <!-- /.card -->
</div> <!-- /.row -->
</div><!-- /.container-fluid -->
</form>
</section>
</div> <!-- /.card-body -->
<div class="card-footer">
</div>
</div> <!-- /.card -->
</div> <!-- /.row -->
</div><!-- /.container-fluid -->
{% endblock %}
{% block script_footer %}
@ -428,21 +443,21 @@
var Rec = $.ajax({
method: 'POST',
url: window.location.pathname+'user/delete/',
async:true,
async:true,
data: {
id: id,
cmd:'delete',
},
success: function (data) {
document.getElementById("tr_" + id).remove();
$('#large_' + id).modal('hide');
$('body').removeClass('modal-open');
$('#large_' + id).modal('hide');
$('body').removeClass('modal-open');
$('body').css({ "height": "auto", "padding-right": "0px" });
$('.modal-backdrop').remove();
},
error: function (dataerr) {
$('#large_' + id).modal('hide');
$('body').removeClass('modal-open');
$('#large_' + id).modal('hide');
$('body').removeClass('modal-open');
$('.modal-backdrop').remove();
alert('Ошибка выполнение команды')
@ -450,9 +465,9 @@
//timeout: 120000
});
});
return false;
}
</script>

View File

@ -74,6 +74,15 @@ def oset_save(request):
logging.error(traceback.format_exc())
return redirect('/management/')
@login_required(login_url='/')
@never_cache
def file_save(request):
try:
return redirect('/management/?module=settings')
except Exception as err:
logging.error(traceback.format_exc())
return redirect('/management/')
@login_required(login_url='/')
@never_cache

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Some files were not shown because too many files have changed in this diff Show More