-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement logging system for Enrollment Requests (#17)
* feat: operation logs for changes into post form * fix: enrollment log for when post is created * fix: mayus fix in object created message * fix: deleted comment in spanish * fix: phpcs fixes * fix: deleted general info field from form * fix: enrollment request type in before object fixed * fix: small adjustments to logs box frontend * fix: logs are displayed in ascending order * refactor: deleted title attribute from email input * fix: post name comparison comment improved * fix: spanish variable names fixed * fix: enrollment logs working, deleted spanish comments * fix: scroll to the bottom without using js * refactor: move code from files to a new model for db management * refactor: add try-catch blocks for errors handling * fix: logs table variable name in english * fix: enrollment array values sanitized before operation * refactor: save enrollment code decoupled * fix: sanitize field without create a variable * fix: end line in plugin logs file * fix: added object_status field for new/modified indication * refactor: styles added to css file * fix: improved if eval for post status * fix: logs table renamed in english * refactor: check main enrollment data decoupled * fix: check enrollment data method call fixed * refactor: added comments to new functions * fix: endline in css file
- Loading branch information
1 parent
93d1429
commit 9d05522
Showing
7 changed files
with
435 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,31 @@ | ||
/** | ||
* All of the CSS for your admin-specific functionality should be | ||
* included in this file. | ||
*/ | ||
*/ | ||
|
||
#namediv{ | ||
padding: 50px 20px 50px 20px; | ||
} | ||
|
||
.logs_box { | ||
max-width: 100%; | ||
max-height: 477px; | ||
border: 1px solid #ccc; | ||
padding: 10px; | ||
white-space: pre-wrap; | ||
word-wrap: break-word; | ||
overflow: auto; | ||
display: flex; | ||
flex-direction: column-reverse; | ||
} | ||
|
||
.log_entry { | ||
background-color: #f2f2f2; | ||
border: 1px solid #ccc; | ||
padding: 10px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.logs_box strong { | ||
font-weight: bold; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.