@visns-studio/visns-components 4.4.11 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import Table from '../DataGrid';
|
|
3
3
|
import styles from './styles/AuditLogs.module.css';
|
|
4
4
|
|
|
5
|
-
const AuditLogs = () => {
|
|
5
|
+
const AuditLogs = ({ layout }) => {
|
|
6
6
|
const setting = {
|
|
7
7
|
ajaxSetting: {
|
|
8
8
|
url: '/ajax/audits/table',
|
|
@@ -85,8 +85,14 @@ const AuditLogs = () => {
|
|
|
85
85
|
<div>
|
|
86
86
|
<div className={styles.grid}>
|
|
87
87
|
<div className={styles.grid__row}>
|
|
88
|
-
<div
|
|
89
|
-
|
|
88
|
+
<div
|
|
89
|
+
className={`${styles.grid__full} ${
|
|
90
|
+
layout === 'full'
|
|
91
|
+
? styles.crmtitle
|
|
92
|
+
: styles.crmtitleSimple
|
|
93
|
+
}`}
|
|
94
|
+
>
|
|
95
|
+
<h1>Audit Logs</h1>
|
|
90
96
|
</div>
|
|
91
97
|
</div>
|
|
92
98
|
</div>
|
|
@@ -32,36 +32,61 @@
|
|
|
32
32
|
.crmtitle {
|
|
33
33
|
border: none;
|
|
34
34
|
min-height: auto;
|
|
35
|
-
padding:
|
|
35
|
+
padding: 10px 20px;
|
|
36
36
|
margin: 0;
|
|
37
|
-
background: var(--
|
|
37
|
+
background: var(--tertiary-color);
|
|
38
38
|
border-radius: var(--br);
|
|
39
39
|
border: 1px solid rgba(var(--item-color-rgb), 1.15);
|
|
40
40
|
position: relative;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.crmtitle h1 {
|
|
44
|
+
font-weight: 700;
|
|
45
|
+
font-size: 1.45em;
|
|
46
|
+
margin: 0;
|
|
47
|
+
padding: 0.65rem 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.crmtitle h1 a {
|
|
51
|
+
text-decoration: none;
|
|
52
|
+
color: rgba(var(--secondary-color-rgb), 1.1);
|
|
53
|
+
font-weight: 300;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.crmtitle h1 svg {
|
|
57
|
+
color: rgba(var(--primary-color-rgb), 0.25);
|
|
58
|
+
position: relative;
|
|
59
|
+
top: 2px;
|
|
60
|
+
margin: 0 0.25rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.crmtitleSimple {
|
|
64
|
+
border: none;
|
|
65
|
+
min-height: auto;
|
|
66
|
+
padding: 0.65rem 1rem;
|
|
67
|
+
margin-bottom: 0.15rem;
|
|
68
|
+
background: var(--tertiary-color);
|
|
69
|
+
border-radius: var(--br);
|
|
70
|
+
box-sizing: border-box;
|
|
41
71
|
display: flex;
|
|
72
|
+
flex-wrap: nowrap;
|
|
73
|
+
justify-content: space-between;
|
|
42
74
|
align-items: center;
|
|
43
75
|
|
|
44
76
|
h1 {
|
|
45
|
-
|
|
46
|
-
font-weight: 700;
|
|
47
|
-
font-size: 1.15em;
|
|
77
|
+
font-size: 1.25rem;
|
|
48
78
|
margin: 0;
|
|
49
|
-
padding: 0
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
gap: 0.25rem;
|
|
79
|
+
padding: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
53
82
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
83
|
+
.titleInfo {
|
|
84
|
+
position: absolute;
|
|
85
|
+
right: 2em;
|
|
86
|
+
top: 24px;
|
|
87
|
+
}
|
|
58
88
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
top: 0;
|
|
63
|
-
margin: 0 0.5rem;
|
|
64
|
-
max-width: 15px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
89
|
+
.titleInfo span {
|
|
90
|
+
font-size: 0.875em;
|
|
91
|
+
color: rgba(var(--paragraph-color-rgb), 0.65);
|
|
67
92
|
}
|
package/package.json
CHANGED
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"array-move": "^4.0.0",
|
|
13
13
|
"awesome-debounce-promise": "^2.1.0",
|
|
14
14
|
"axios": "^1.7.2",
|
|
15
|
-
"dayjs": "^1.11.
|
|
15
|
+
"dayjs": "^1.11.12",
|
|
16
16
|
"file-saver": "^2.0.5",
|
|
17
|
-
"framer-motion": "^11.3.
|
|
18
|
-
"html-react-parser": "^5.1.
|
|
17
|
+
"framer-motion": "^11.3.8",
|
|
18
|
+
"html-react-parser": "^5.1.12",
|
|
19
19
|
"lodash": "^4.17.21",
|
|
20
20
|
"lodash.debounce": "^4.0.8",
|
|
21
21
|
"moment": "^2.30.1",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"react-dom": "^17.0.1"
|
|
59
59
|
},
|
|
60
60
|
"name": "@visns-studio/visns-components",
|
|
61
|
-
"version": "4.
|
|
61
|
+
"version": "4.5.0",
|
|
62
62
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
63
63
|
"main": "index.js",
|
|
64
64
|
"scripts": {
|