Commit 8dc830c5 authored by Grady Moran's avatar Grady Moran
Browse files

added a modal to /useradmin before an admin blocks a user

closes 118
parent 6c745736
Pipeline #797 passed with stage
in 1 minute and 22 seconds
......@@ -177,11 +177,32 @@ SRCT Go • Administration Panel
<!-- display our removal and blacking buttons -->
<!-- display our removal and blocking buttons -->
<div class="form-group">
<input type="submit" name="_remove" value="Remove" class="btn btn-danger btn-sm">
<input type="submit" name="_block" value="Block" class="btn btn-default btn-sm btn-blockUsr" style="background-color: black; color: white;">
<a class="btn btn-default btn-sm btn-blockUsr" data-target="#blockModal-{{url.short}}" data-toggle="modal" style="background-color: black; color: white;"> Block
<!--Define Block Modal-->
<div id="blockModal-{{url.short}}" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px">
<div class="modal-header" style="text-align:center;">
<h4 class="modal-title text-center"
style="font-weight:bold; font-size: 21px !important;">
Are you sure you would like to block this user?</h4>
<h6 style="font-weight:500; margin-top: 0px; margin-bottom: 0px;">
Please remember the user's feelings</h6>
<div class="modal-body" style="padding-bottom: 80px">
<a type="button" class="btn btn-success btn-lg" style="border-width: 0px;float:left; width:49%; background-color: #A9B0AD; color: #ffffff; border-radius: 4px;" data-dismiss="modal">Cancel</a>
<input type="submit" name="_block" value="Block" class="btn btn-danger btn-lg" style="border-width: 0px; float:right; width:49%;background-color: #000000; color: #ffffff; border-radius: 4px;">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment