Added snapshot

This commit is contained in:
Alexey Berezhok
2025-12-24 23:01:50 +03:00
parent bacea404e2
commit 8b4410eee7
6 changed files with 254 additions and 0 deletions

17
views/prjshot_add.erb Normal file
View File

@@ -0,0 +1,17 @@
<%= erb :header %>
<div class="container">
<h2 class="text-center">Удаление сатрых версий пакетов проекта <%= @proj_name %></h2>
<form action="/prjsnap_add/<%= ERB::Util.url_encode(@proj_id) %>" method="post">
<div class="form-check form-switch text-center pb-3">
<input class="form-check-input" type="checkbox" role="switch" id="yes" name="yes">
<label class="form-check-label" for="yes">
Вы уверены, что хотите создать копию текущего репозитория?
</label>
</div>
<div class="mb-3 text-center">
<button type="submit" class="btn btn-primary" name="cancel" value="cancel">Отменить</button>
<button type="submit" class="btn btn-danger" name="create" value="create">Создать</button>
</div>
</form>
</div>
<%= erb :footer %>