File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
application-server/src/main/java/com/ase/angelos_kb_backend/service Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 55
66import org .springframework .scheduling .annotation .Scheduled ;
77import org .springframework .stereotype .Service ;
8+ import org .springframework .transaction .annotation .Transactional ;
89
910import com .ase .angelos_kb_backend .repository .EventRepository ;
1011
12+
1113@ Service
1214public class CleanupService {
1315 private final EventRepository eventLogRepository ;
@@ -17,6 +19,7 @@ public CleanupService(EventRepository eventLogRepository) {
1719 }
1820
1921 @ Scheduled (cron = "0 15 2 * * ?" )
22+ @ Transactional
2023 public void cleanOldEventLogs () {
2124 Instant cutoff = Instant .now ().minus (365 , ChronoUnit .DAYS );
2225 long countBefore = eventLogRepository .count ();
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ $logo-size: 40px;
104104 display : flex ;
105105 flex-direction : column ;
106106 justify-content : flex-start ;
107+
108+ @media (max-width : 900px ) {
109+ padding : 8px
110+ }
107111 }
108112
109113 .message {
@@ -122,6 +126,11 @@ $logo-size: 40px;
122126 margin : 4px 0 ;
123127 }
124128
129+ @media (max-width : 900px ) {
130+ font-size : 14px ;
131+ padding : 8px ;
132+ }
133+
125134 & .system {
126135 background-color : $tum-light-blue ;
127136 color : white ;
@@ -233,6 +242,12 @@ $logo-size: 40px;
233242 margin-top : 2px ;
234243 }
235244
245+ @media (max-width : 900px ) {
246+ font-size : 11px ;
247+ gap : 2px ;
248+ margin-top : 3px ;
249+ }
250+
236251 a {
237252 color : $tum-blue-light-dark ;
238253 font-weight : 600 ;
You can’t perform that action at this time.
0 commit comments