Skip to content
Snippets Groups Projects
Commit 108ecef3 authored by Seb Barnard's avatar Seb Barnard :speech_balloon:
Browse files

Removed borders on email fields

parent c316ab53
No related branches found
No related tags found
3 merge requests!114LoggingService service class, new method to add a log to the "Logs" table when...,!104Branch Update,!103Issue thirty four
...@@ -11,3 +11,7 @@ ...@@ -11,3 +11,7 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.staffManagementContainer:last-child{
border-bottom: none!important;
}
...@@ -46,7 +46,7 @@ function submit(shopId, email={"value":""}){ ...@@ -46,7 +46,7 @@ function submit(shopId, email={"value":""}){
document.getElementById("staffManagement").innerHTML+= document.getElementById("staffManagement").innerHTML+=
`<div id="staffManagement"> `<div id="staffManagement">
<div class="staffManagementContainer"> <div class="staffManagementContainer">
<p class="subtitle is-6" name="staffEmail" style="width:50%; margin-bottom: 0">${emailValue}</p> <p class="subtitle is-6 staffEmail" name="staffEmail" style="width:80%; margin-bottom: 0">${emailValue}</p>
<button class="button is-danger is-outlined" style="border-bottom: 1px solid" <button class="button is-danger is-outlined" style="border-bottom: 1px solid"
onclick="submit(${document.getElementById("shopId").value},this);"> onclick="submit(${document.getElementById("shopId").value},this);">
<span class="icon is-small"> <span class="icon is-small">
...@@ -54,7 +54,7 @@ function submit(shopId, email={"value":""}){ ...@@ -54,7 +54,7 @@ function submit(shopId, email={"value":""}){
</span> </span>
</button> </button>
</div> </div>
<p id="blackLine" class="subtitle is-6" style="border-bottom: 1px solid #00b89c; margin-bottom:1%; width:50%"></p> <p id="blackLine" class="subtitle is-6" style="border-bottom: 1px solid; margin-bottom:1%; width:50%"></p>
</div>` </div>`
} }
......
...@@ -21,15 +21,14 @@ ...@@ -21,15 +21,14 @@
<p><br>Current Admins</p> <p><br>Current Admins</p>
<div id="staffManagement"></div> <div id="staffManagement"></div>
<div id="staffManagement" th:each="user : ${staffMembers}"> <div id="staffManagement" th:each="user : ${staffMembers}">
<div class="staffManagementContainer"> <div class="staffManagementContainer" style="margin-bottom:1%;">
<p class="subtitle is-6" name="staffEmail" th:text="${user.userEmail}" style="width:50%; margin-bottom: 0"></p> <p class="subtitle is-6 staffEmail" name="staffEmail" th:text="${user.userEmail}" style="width:80%; margin-bottom: 0"></p>
<button class="button is-danger is-outlined" style="border-bottom: 1px solid black" th:onclick="'submit('+${shop.shopId}+',this);'"> <button class="button is-danger is-outlined" th:onclick="'submit('+${shop.shopId}+',this);'">
<span class="icon is-small"> <span class="icon is-small">
<i class="fas fa-times is-danger"></i> <i class="fas fa-times is-danger"></i>
</span> </span>
</button> </button>
</div> </div>
<p id="blackLine" class="subtitle is-6" style="border-bottom: 1px solid #00b89c; margin-bottom:1%; width:50%"> </p>
</div> </div>
<input id="shopId" class="input is-hidden" th:value="${shop.shopId}"> <input id="shopId" class="input is-hidden" th:value="${shop.shopId}">
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</div> </div>
<button class="button is-link" style="margin-top: 5px" th:onclick="'send('+${shop.shopId}+');'">Save changes</button> <button class="button is-link" style="margin-top: 5px" th:onclick="'send('+${shop.shopId}+');'">Save changes</button>
</div> </div>
<p style="border-bottom: 1px solid #00b89c;"><br></p> <p style="border-bottom: 1px solid;"><br></p>
</body> </body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment