Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ShallowSink
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
a272-jones
ShallowSink
Commits
d13ce073
Commit
d13ce073
authored
1 week ago
by
j5-burt
Browse files
Options
Downloads
Patches
Plain Diff
frontend changes
parent
9da99330
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ActualProjectCode/DjangoProject/templates/modelForms/deleteRecord.html
+9
-93
9 additions, 93 deletions
...Code/DjangoProject/templates/modelForms/deleteRecord.html
with
9 additions
and
93 deletions
ActualProjectCode/DjangoProject/templates/modelForms/deleteRecord.html
+
9
−
93
View file @
d13ce073
<!DOCTYPE html>
<html
lang=
"en"
>
<html>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Delete Record
</title>
<style>
/* General Styles */
body
{
font-family
:
Arial
,
sans-serif
;
background-color
:
#f4f4f4
;
color
:
#333
;
margin
:
0
;
padding
:
0
;
line-height
:
1.5
;
}
.container
{
max-width
:
600px
;
margin
:
50px
auto
;
background
:
#ffffff
;
padding
:
20px
;
border-radius
:
8px
;
box-shadow
:
0
4px
6px
rgba
(
0
,
0
,
0
,
0.1
);
text-align
:
center
;
}
h1
{
color
:
#dc3545
;
font-size
:
24px
;
margin-bottom
:
20px
;
}
p
{
font-size
:
16px
;
margin-bottom
:
20px
;
}
/* Warning Box Styles */
.warning-box
{
border
:
2px
solid
#dc3545
;
background-color
:
#f8d7da
;
color
:
#721c24
;
padding
:
20px
;
border-radius
:
8px
;
margin-bottom
:
20px
;
}
/* Button Styles */
.btn
{
display
:
inline-block
;
font-weight
:
bold
;
text-decoration
:
none
;
border-radius
:
5px
;
padding
:
10px
16px
;
color
:
#fff
;
background-color
:
#007bff
;
border
:
none
;
text-align
:
center
;
cursor
:
pointer
;
font-size
:
16px
;
margin
:
10px
5px
;
}
.btn
:hover
{
background-color
:
#0056b3
;
}
.btn-danger
{
background-color
:
#dc3545
;
}
.btn-danger
:hover
{
background-color
:
#b21f2d
;
}
.btn-secondary
{
background-color
:
#6c757d
;
}
.btn-secondary
:hover
{
background-color
:
#5a6268
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<h1>
Delete Confirmation
</h1>
<div
class=
"warning-box"
>
<p>
Are you sure you want to delete this record? This action cannot be undone.
</p>
</div>
<p>
Are you sure you want to delete this record?
</p>
<form
action=
"{% url 'deleteRecord' record.id %}"
method=
"POST"
>
{% csrf_token %}
<p><a
href=
"{% url 'interactionView' %}"
>
Go Back
</a></p>
<input
type=
"submit"
name=
"confirm"
>
</form>
<!-- Form to handle deletion -->
<form
method=
"post"
>
{% csrf_token %}
<button
type=
"submit"
class=
"btn btn-danger"
>
Yes, Delete
</button>
<a
href=
"{% url 'back_to_dashboard' %}"
class=
"btn btn-secondary"
>
Cancel
</a>
</form>
</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment