Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ASE_Y2S1_CP_G4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Joshua Gill
ASE_Y2S1_CP_G4
Commits
16651772
Commit
16651772
authored
3 years ago
by
John Watkins
Browse files
Options
Downloads
Patches
Plain Diff
Increased width for email to have room
parent
06a421cb
No related branches found
No related tags found
1 merge request
!114
LoggingService service class, new method to add a log to the "Logs" table when...
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/resources/static/js/manageStaff.js
+1
-1
1 addition, 1 deletion
src/main/resources/static/js/manageStaff.js
src/main/resources/templates/fragments/manageStaff.html
+1
-1
1 addition, 1 deletion
src/main/resources/templates/fragments/manageStaff.html
with
2 additions
and
2 deletions
src/main/resources/static/js/manageStaff.js
+
1
−
1
View file @
16651772
...
@@ -10,7 +10,7 @@ function submit(shopId, email={"value":""}){
...
@@ -10,7 +10,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" style="width:
5
0%; margin-bottom: 0">
${
emailValue
}
</p>
<p class="subtitle is-6" style="width:
8
0%; margin-bottom: 0">
${
emailValue
}
</p>
<button class="button is-danger is-outlined" style="border-bottom: 1px solid #00b89c"
<button class="button is-danger is-outlined" style="border-bottom: 1px solid #00b89c"
onclick="submit(
${
document
.
getElementById
(
"
shopId
"
).
value
}
,this);">
onclick="submit(
${
document
.
getElementById
(
"
shopId
"
).
value
}
,this);">
<span class="icon is-small">
<span class="icon is-small">
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/templates/fragments/manageStaff.html
+
1
−
1
View file @
16651772
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<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"
>
<p
class=
"subtitle is-6"
th:text=
"${user.userEmail}"
style=
"width:
5
0%; margin-bottom: 0"
></p>
<p
class=
"subtitle is-6"
th:text=
"${user.userEmail}"
style=
"width:
8
0%; margin-bottom: 0"
></p>
<button
class=
"button is-danger is-outlined"
style=
"border-bottom: 1px solid #00b89c"
th:onclick=
"'submit('+${shop.shopId}+',this);'"
>
<button
class=
"button is-danger is-outlined"
style=
"border-bottom: 1px solid #00b89c"
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>
...
...
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