1
0
Эх сурвалжийг харах

WebAdmin events page: set fixed sizes for potentially long fields

Signed-off-by: Nicola Murino <[email protected]>
Nicola Murino 1 жил өмнө
parent
commit
3cb884fad2

+ 3 - 0
templates/webadmin/events.html

@@ -518,6 +518,7 @@ explicit grant from the SFTPGo Team ([email protected]).
                     {
                         data: "virtual_path",
                         defaultContent: "",
+                        width: '20%',
                         render: function(data, type, row) {
                             if (type === 'display') {
                                 if (!data){
@@ -564,6 +565,7 @@ explicit grant from the SFTPGo Team ([email protected]).
                     {
                         data: "status",
                         defaultContent: "",
+                        width: '15%',
                         render: function(data, type, row) {
                             if (type === 'display') {
                                 let info = "";
@@ -927,6 +929,7 @@ explicit grant from the SFTPGo Team ([email protected]).
                     {
                         data: "message",
                         defaultContent: "",
+                        width: '25%',
                         render: function(data, type, row) {
                             if (type === 'display') {
                                 if (data){

+ 4 - 1
templates/webadmin/iplists.html

@@ -332,7 +332,10 @@ explicit grant from the SFTPGo Team ([email protected]).
                         visible: true,
                         render: function(data, type, row) {
                             if (type === 'display') {
-                                return escapeHTML(data);
+                                if (data){
+                                    return escapeHTML(data);
+                                }
+                                return ""
                             }
                             return data;
                         }