File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,8 @@ def create_page(
136
136
137
137
# Initial html code including the navbar is stored in a separate html file.
138
138
html = ""
139
- with open ("templates/pagination/navbar.html" , "r" ) as f :
139
+ navbar_path = os .path .join (app .root_path , "static" , "navbar.html.txt" )
140
+ with open (navbar_path , "r" ) as f :
140
141
html = f .read ()
141
142
142
143
# Generate HTML
File renamed without changes.
Original file line number Diff line number Diff line change @@ -204,14 +204,14 @@ <h4>Field Widths for Log Dashboard</h4>
204
204
document . getElementById ( '{{ field_name }}' ) . addEventListener ( 'input' , function ( ) {
205
205
const value = parseInt ( this . value ) ;
206
206
if ( value < 1 ) this . value = 1 ;
207
- if ( value > 50 ) this . value = 50 ;
207
+ if ( value > 70 ) this . value = 70 ;
208
208
} ) ;
209
209
{ % endfor % }
210
210
{ % for field_name , label in log_fields % }
211
211
document . getElementById ( '{{ field_name }}' ) . addEventListener ( 'input' , function ( ) {
212
212
const value = parseInt ( this . value ) ;
213
213
if ( value < 1 ) this . value = 1 ;
214
- if ( value > 50 ) this . value = 50 ;
214
+ if ( value > 70 ) this . value = 70 ;
215
215
} ) ;
216
216
{ % endfor % }
217
217
You can’t perform that action at this time.
0 commit comments