Commit 98a7cfd7 authored by Grady Moran's avatar Grady Moran
Browse files

removed -{{url.short}} tags from modal names because they aren't necessary

parent 79895564
Pipeline #806 passed with stage
in 1 minute and 11 seconds
...@@ -73,13 +73,13 @@ SRCT Go • Administration Panel ...@@ -73,13 +73,13 @@ SRCT Go • Administration Panel
<!-- a div containing our form submission buttons --> <!-- a div containing our form submission buttons -->
<div class="form-group"> <div class="form-group">
<!-- the modal for approve doesn't work--> <!-- the modal for approve doesn't work-->
<a class="btn btn-primary btn-sm" data-target="#approveModal-{{url.short}}" data-toggle="modal"> Approve </a> <a class="btn btn-primary btn-sm" data-target="#approveModal" data-toggle="modal"> Approve </a>
<!-- input type="submit" name="_approve" value="Approve" class="btn btn-primary btn-sm"--> <!-- input type="submit" name="_approve" value="Approve" class="btn btn-primary btn-sm"-->
<a class="btn btn-danger btn-sm" data-target="#denyModal-{{url.short}}" data-toggle="modal"> Deny </a> <a class="btn btn-danger btn-sm" data-target="#denyModal" data-toggle="modal"> Deny </a>
<a class="btn btn-default btn-sm btn-blockUsr" data-target="#blockModal-{{url.short}}" data-toggle="modal" style="background-color: black; color: white;"> Block </a> <a class="btn btn-default btn-sm btn-blockUsr" data-target="#blockModal" data-toggle="modal" style="background-color: black; color: white;"> Block </a>
<!--Define Approve Modal--> <!--Define Approve Modal-->
<div id="approveModal-{{url.short}}" class="modal fade" role="dialog" tabindex="-1"> <div id="approveModal" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog"> <div class="modal-dialog">
<!-- Modal content--> <!-- Modal content-->
<div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px"> <div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px">
...@@ -97,7 +97,7 @@ SRCT Go &bull; Administration Panel ...@@ -97,7 +97,7 @@ SRCT Go &bull; Administration Panel
</div> </div>
<!--Define Deny Modal--> <!--Define Deny Modal-->
<div id="denyModal-{{url.short}}" class="modal fade" role="dialog" tabindex="-1"> <div id="denyModal" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog"> <div class="modal-dialog">
<!-- Modal content--> <!-- Modal content-->
<div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px"> <div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px">
...@@ -118,7 +118,7 @@ SRCT Go &bull; Administration Panel ...@@ -118,7 +118,7 @@ SRCT Go &bull; Administration Panel
<!--Define Block Modal--> <!--Define Block Modal-->
<!-- Note there is another block modal for the other block button below --> <!-- Note there is another block modal for the other block button below -->
<div id="blockModal-{{url.short}}" class="modal fade" role="dialog" tabindex="-1"> <div id="blockModal" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog"> <div class="modal-dialog">
<!-- Modal content--> <!-- Modal content-->
<div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px"> <div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px">
...@@ -191,10 +191,10 @@ SRCT Go &bull; Administration Panel ...@@ -191,10 +191,10 @@ SRCT Go &bull; Administration Panel
<!-- define an unblock button --> <!-- define an unblock button -->
<div class="form-group"> <div class="form-group">
<!-- input type="submit" name="_unblock" value="Un-Block" class="btn btn-default btn-sm btn-Unblock"--> <!-- input type="submit" name="_unblock" value="Un-Block" class="btn btn-default btn-sm btn-Unblock"-->
<a class="btn btn-default btn-sm btn-Unblock" data-target="#unblockModal-{{url.short}}" data-toggle="modal"> Unblock </a> <a class="btn btn-default btn-sm btn-Unblock" data-target="#unblockModal" data-toggle="modal"> Unblock </a>
<!--Define Un-Block Modal--> <!--Define Un-Block Modal-->
<div id="unblockModal-{{url.short}}" class="modal fade" role="dialog" tabindex="-1"> <div id="unblockModal" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog"> <div class="modal-dialog">
<!-- Modal content--> <!-- Modal content-->
<div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px"> <div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px">
...@@ -261,11 +261,11 @@ SRCT Go &bull; Administration Panel ...@@ -261,11 +261,11 @@ SRCT Go &bull; Administration Panel
<!-- display our removal and blocking buttons --> <!-- display our removal and blocking buttons -->
<div class="form-group"> <div class="form-group">
<a class="btn btn-danger btn-sm" data-target="#removeModal-{{url.short}}" data-toggle="modal"> Remove </a> <a class="btn btn-danger btn-sm" data-target="#removeModal" data-toggle="modal"> Remove </a>
<a class="btn btn-default btn-sm btn-blockUsr" data-target="#blockModal2-{{url.short}}" data-toggle="modal" style="background-color: black; color: white;"> Block </a> <a class="btn btn-default btn-sm btn-blockUsr" data-target="#blockModal2" data-toggle="modal" style="background-color: black; color: white;"> Block </a>
<!--Define Remove Modal--> <!--Define Remove Modal-->
<div id="removeModal-{{url.short}}" class="modal fade" role="dialog" tabindex="-1"> <div id="removeModal" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog"> <div class="modal-dialog">
<!-- Modal content--> <!-- Modal content-->
<div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px"> <div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px">
...@@ -285,7 +285,7 @@ SRCT Go &bull; Administration Panel ...@@ -285,7 +285,7 @@ SRCT Go &bull; Administration Panel
</div> </div>
<!--Define Block Modal 2--> <!--Define Block Modal 2-->
<div id="blockModal2-{{url.short}}" class="modal fade" role="dialog" tabindex="-1"> <div id="blockModal2" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog"> <div class="modal-dialog">
<!-- Modal content--> <!-- Modal content-->
<div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px"> <div class="modal-content" style="background-color:#f5f5f5; border-radius: 7px">
......
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