From 67971b5fbe9df922e85d7e78bddc77a085d67796 Mon Sep 17 00:00:00 2001 From: Will Budic Date: Mon, 4 Dec 2023 08:32:34 +1100 Subject: [PATCH] Fix. L&F. --- .editorconfig | 59 +++ htdocs/cgi-bin/config.cgi | 19 +- htdocs/cgi-bin/index orig.cnf | 413 ++++++++++++++++++ htdocs/cgi-bin/index.cnf | 14 +- htdocs/cgi-bin/login_ctr.cgi | 2 +- .../modules/HTMLIndexProcessorPlugin.pm | 1 - htdocs/cgi-bin/test.html | 41 ++ htdocs/cgi-bin/wsrc/effects.css | 2 + htdocs/cgi-bin/wsrc/fonts/LeagueMono-VF.woff2 | Bin 0 -> 56576 bytes htdocs/cgi-bin/wsrc/main.css | 21 +- htdocs/cgi-bin/wsrc/main_moon.css | 55 +-- htdocs/cgi-bin/wsrc/main_sun.css | 38 +- 12 files changed, 596 insertions(+), 69 deletions(-) create mode 100644 .editorconfig create mode 100644 htdocs/cgi-bin/index orig.cnf create mode 100644 htdocs/cgi-bin/test.html create mode 100644 htdocs/cgi-bin/wsrc/fonts/LeagueMono-VF.woff2 diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1639887 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,59 @@ +[*] +cpp_indent_braces=false +cpp_indent_multi_line_relative_to=innermost_parenthesis +cpp_indent_within_parentheses=indent +cpp_indent_preserve_within_parentheses=false +cpp_indent_case_labels=false +cpp_indent_case_contents=true +cpp_indent_case_contents_when_block=false +cpp_indent_lambda_braces_when_parameter=true +cpp_indent_goto_labels=one_left +cpp_indent_preprocessor=leftmost_column +cpp_indent_access_specifiers=false +cpp_indent_namespace_contents=true +cpp_indent_preserve_comments=false +cpp_new_line_before_open_brace_namespace=ignore +cpp_new_line_before_open_brace_type=ignore +cpp_new_line_before_open_brace_function=ignore +cpp_new_line_before_open_brace_block=ignore +cpp_new_line_before_open_brace_lambda=ignore +cpp_new_line_scope_braces_on_separate_lines=false +cpp_new_line_close_brace_same_line_empty_type=false +cpp_new_line_close_brace_same_line_empty_function=false +cpp_new_line_before_catch=true +cpp_new_line_before_else=true +cpp_new_line_before_while_in_do_while=false +cpp_space_before_function_open_parenthesis=remove +cpp_space_within_parameter_list_parentheses=false +cpp_space_between_empty_parameter_list_parentheses=false +cpp_space_after_keywords_in_control_flow_statements=true +cpp_space_within_control_flow_statement_parentheses=false +cpp_space_before_lambda_open_parenthesis=false +cpp_space_within_cast_parentheses=false +cpp_space_after_cast_close_parenthesis=false +cpp_space_within_expression_parentheses=false +cpp_space_before_block_open_brace=true +cpp_space_between_empty_braces=false +cpp_space_before_initializer_list_open_brace=false +cpp_space_within_initializer_list_braces=true +cpp_space_preserve_in_initializer_list=true +cpp_space_before_open_square_bracket=false +cpp_space_within_square_brackets=false +cpp_space_before_empty_square_brackets=false +cpp_space_between_empty_square_brackets=false +cpp_space_group_square_brackets=true +cpp_space_within_lambda_brackets=false +cpp_space_between_empty_lambda_brackets=false +cpp_space_before_comma=false +cpp_space_after_comma=true +cpp_space_remove_around_member_operators=true +cpp_space_before_inheritance_colon=true +cpp_space_before_constructor_colon=true +cpp_space_remove_before_semicolon=true +cpp_space_after_semicolon=false +cpp_space_remove_around_unary_operator=true +cpp_space_around_binary_operator=insert +cpp_space_around_assignment_operator=insert +cpp_space_pointer_reference_alignment=left +cpp_space_around_ternary_operator=insert +cpp_wrap_preserve_blocks=one_liners diff --git a/htdocs/cgi-bin/config.cgi b/htdocs/cgi-bin/config.cgi index 0564efd..9b513cc 100755 --- a/htdocs/cgi-bin/config.cgi +++ b/htdocs/cgi-bin/config.cgi @@ -178,7 +178,7 @@ while ( my @row = $dbs->fetchrow_array() ) { . $i . '" type="text" value="' . $v - . '" size="12">'; + . '" size="12" class="ui-button ui-widget">'; $d = '[' . $d . ']'; } elsif ( $n eq "DATE_UNI" ) { @@ -189,7 +189,7 @@ while ( my @row = $dbs->fetchrow_array() ) { else { $u = "SELECTED"; } - $v = qq( ); @@ -202,7 +202,7 @@ while ( my @row = $dbs->fetchrow_array() ) { else { $u = "SELECTED"; } - $v = qq( ); @@ -221,7 +221,7 @@ while ( my @row = $dbs->fetchrow_array() ) { else { $t = $v; } - $v = qq( @@ -242,7 +242,7 @@ while ( my @row = $dbs->fetchrow_array() ) { else { $t = $v; } - $v = qq( @@ -265,7 +265,7 @@ while ( my @row = $dbs->fetchrow_array() ) { $s3 = " SELECTED"; } - $v = qq( Standard Sun Moon @@ -286,7 +286,7 @@ while ( my @row = $dbs->fetchrow_array() ) { else { $u = "SELECTED"; } - $v = qq( ); @@ -299,7 +299,7 @@ while ( my @row = $dbs->fetchrow_array() ) { else { $u = "SELECTED"; } - $v = qq( ); @@ -316,7 +316,7 @@ while ( my @row = $dbs->fetchrow_array() ) { else { $u = "SELECTED"; } - $v = qq( ); @@ -1871,4 +1871,3 @@ qq(
> + +< _HAS_PROCESSING_PRIORITY_ + +[JS[ + [@@[wsrc/main.js]@@] + [@@[wsrc/feeds.js]@@] + [@@[wsrc/jquery.js]@@] + [@@[wsrc/jquery-ui.js]@@] +]JS] +[CSS[ + [@@[wsrc/effects.css]@@] + [@@[wsrc/feeds.css]@@] + [@@[wsrc/jquery-ui.css]@@] + [@@[wsrc/jquery-ui.theme.css]@@] + [@@[wsrc/jquery-ui.theme.css]@@] + [@@[wsrc/main.css]@@] +]CSS] + + :last-child{ + border-bottom: 2px solid #94cde7; + } + + .div_img{ + height:450px; + } + + .md_img{ + height:80%; + } + + code, pre{ + font-family: 'Droid Sans Mono', 'monospace', monospace; + } + + .pre { + border:1px solid black; + background: rgba(255,255,255,0.2); + padding:15px; + text-align: left; + } + .sh { + background: black; + color: lightgreen; + padding: 15px; + width: auto; + border-radius: .32em; + border: 2px solid lightgreen; + margin: inherit; + margin-right: 30px; + } + + div .html { + border:1px solid lightgray; + background: rgba(255,255,255,0.2); + padding:10px; + font-family:monospace; + text-align: left; + } + + div .cnf { + border:1px solid lightgray; + background: rgba(255,255,255,0.2); + padding:10px; + font-family:monospace; + text-align: left; + padding-bottom: 10px; + margin-right: 2px; + margin-top: 15px; + } + + dt{ + margin-right: 2px; + } + + .cnf h1{ + text-align: left; + padding-left: 15px; + margin-top: -20px; + height: 20px; + line-height: 20px; + font-size: 15px; + } + + .cnf h1 span{ + background-color: white; + border:1px solid lightgray; + color:lightgray; + font-size:small; + padding: 3px; + padding-left: 5px; + padding-right: 5px; + } + + + div .perl { + border:1px solid lightgray; + background: rgba(149, 215, 172, 0.2); + padding-left:15px; + font-family:monospace; + text-align: left; + padding-bottom: 20px; + margin-right: 2px; + margin-top: 15px; + } + + .mermaid{ + border:1px solid lightgray; + background: transparent; + padding-left:15px; + text-align: left; + padding-bottom: 20px; + margin-right: 2px; + margin-top: 15px; + } + + .perl h1{ + text-align: left; + padding-left: 15px; + margin-top: -10px; + height: 20px; + line-height: 20px; + font-size: 15px; + } + + .perl h1 span{ + background: rgba(170, 227, 191, 0.75); + border:1px solid lightgray; + color:black; + font-size:small; + padding: 3px; + padding-left: 5px; + padding-right: 5px; + } + + .span_status { + position: absolute; + top: 80px; left:420px; + border: 2px solid #94cde7; + padding: 5px; + text-align: center; + background: #ccffff; + text-decoration-style: wavy; + filter: drop-shadow( 10px 8px 5px #3e6f70); + } + +]#] +>STYLE> + +*> +>STYLE> + +SCRIPT> + +SCRIPT> + + +>>HEADER>TREE> + + + +### +# We in plugin mainly access this PAGE property, <*
*> is linked in for clarity, +# and/or if want to change from keeping the original \<\...\>\> above. +# +< + + <*
*> + + Title: Index Page + OnLoad : onIndexBodyLoad() + + + + +   Page   + + + +
+ Index
+ Life Log
+ RSS Feeds +>#> + >div> +*> + a> + >div> + #> + >span> + *> + >div> + *> + >div> + a> + a> +