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 @@
justify-content: space-between;
align-items: center;
}
.staffManagementContainer:last-child{
border-bottom: none!important;
}
......@@ -46,7 +46,7 @@ function submit(shopId, email={"value":""}){
document.getElementById("staffManagement").innerHTML+=
`<div id="staffManagement">
<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"
onclick="submit(${document.getElementById("shopId").value},this);">
<span class="icon is-small">
......@@ -54,7 +54,7 @@ function submit(shopId, email={"value":""}){
</span>
</button>
</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>`
}
......
......@@ -21,15 +21,14 @@
<p><br>Current Admins</p>
<div id="staffManagement"></div>
<div id="staffManagement" th:each="user : ${staffMembers}">
<div class="staffManagementContainer">
<p class="subtitle is-6" name="staffEmail" th:text="${user.userEmail}" style="width:50%; margin-bottom: 0"></p>
<button class="button is-danger is-outlined" style="border-bottom: 1px solid black" th:onclick="'submit('+${shop.shopId}+',this);'">
<div class="staffManagementContainer" style="margin-bottom:1%;">
<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" th:onclick="'submit('+${shop.shopId}+',this);'">
<span class="icon is-small">
<i class="fas fa-times is-danger"></i>
</span>
</button>
</div>
<p id="blackLine" class="subtitle is-6" style="border-bottom: 1px solid #00b89c; margin-bottom:1%; width:50%"> </p>
</div>
<input id="shopId" class="input is-hidden" th:value="${shop.shopId}">
......
......@@ -81,7 +81,7 @@
</div>
<button class="button is-link" style="margin-top: 5px" th:onclick="'send('+${shop.shopId}+');'">Save changes</button>
</div>
<p style="border-bottom: 1px solid #00b89c;"><br></p>
<p style="border-bottom: 1px solid;"><br></p>
</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