diff --git a/public/backgrounds/TAI-cozynight.jpg b/public/backgrounds/TAI-cozynight.jpg new file mode 100644 index 000000000..1f2c09caf Binary files /dev/null and b/public/backgrounds/TAI-cozynight.jpg differ diff --git a/public/backgrounds/TAI-getrest.jpg b/public/backgrounds/TAI-getrest.jpg new file mode 100644 index 000000000..a721084ba Binary files /dev/null and b/public/backgrounds/TAI-getrest.jpg differ diff --git a/public/backgrounds/TAI-kingdom.jpg b/public/backgrounds/TAI-kingdom.jpg new file mode 100644 index 000000000..20933e8a2 Binary files /dev/null and b/public/backgrounds/TAI-kingdom.jpg differ diff --git a/public/backgrounds/TAI-market.jpg b/public/backgrounds/TAI-market.jpg new file mode 100644 index 000000000..7bf13c716 Binary files /dev/null and b/public/backgrounds/TAI-market.jpg differ diff --git a/public/backgrounds/TAI-noble1.jpg b/public/backgrounds/TAI-noble1.jpg new file mode 100644 index 000000000..8bf74677c Binary files /dev/null and b/public/backgrounds/TAI-noble1.jpg differ diff --git a/public/backgrounds/TAI-noble2.jpg b/public/backgrounds/TAI-noble2.jpg new file mode 100644 index 000000000..d127d57a3 Binary files /dev/null and b/public/backgrounds/TAI-noble2.jpg differ diff --git a/public/backgrounds/TAI-outdoor.jpg b/public/backgrounds/TAI-outdoor.jpg new file mode 100644 index 000000000..66ef9dfe0 Binary files /dev/null and b/public/backgrounds/TAI-outdoor.jpg differ diff --git a/public/backgrounds/TAI-tavern.jpg b/public/backgrounds/TAI-tavern.jpg new file mode 100644 index 000000000..a0af2cf82 Binary files /dev/null and b/public/backgrounds/TAI-tavern.jpg differ diff --git a/public/backgrounds/TAI-theredlake.jpg b/public/backgrounds/TAI-theredlake.jpg new file mode 100644 index 000000000..5f625a22b Binary files /dev/null and b/public/backgrounds/TAI-theredlake.jpg differ diff --git a/public/backgrounds/TAI-warmtown.jpg b/public/backgrounds/TAI-warmtown.jpg new file mode 100644 index 000000000..8f607d838 Binary files /dev/null and b/public/backgrounds/TAI-warmtown.jpg differ diff --git a/public/backgrounds/TAI-whitesnow.jpg b/public/backgrounds/TAI-whitesnow.jpg new file mode 100644 index 000000000..32e704e89 Binary files /dev/null and b/public/backgrounds/TAI-whitesnow.jpg differ diff --git a/public/backgrounds/_pattern-bokeh1.jpg b/public/backgrounds/_pattern-bokeh1.jpg new file mode 100644 index 000000000..fc9277142 Binary files /dev/null and b/public/backgrounds/_pattern-bokeh1.jpg differ diff --git a/public/backgrounds/_pattern-bokeh2.jpg b/public/backgrounds/_pattern-bokeh2.jpg new file mode 100644 index 000000000..7897643cf Binary files /dev/null and b/public/backgrounds/_pattern-bokeh2.jpg differ diff --git a/public/backgrounds/_pattern.jpg b/public/backgrounds/_pattern.jpg new file mode 100644 index 000000000..26892a2a9 Binary files /dev/null and b/public/backgrounds/_pattern.jpg differ diff --git a/public/backgrounds/barmodern.jpg b/public/backgrounds/barmodern.jpg new file mode 100644 index 000000000..557f235c0 Binary files /dev/null and b/public/backgrounds/barmodern.jpg differ diff --git a/public/backgrounds/beach1.jpg b/public/backgrounds/beach1.jpg new file mode 100644 index 000000000..23284cd50 Binary files /dev/null and b/public/backgrounds/beach1.jpg differ diff --git a/public/backgrounds/beach2.jpg b/public/backgrounds/beach2.jpg new file mode 100644 index 000000000..61a8b2c90 Binary files /dev/null and b/public/backgrounds/beach2.jpg differ diff --git a/public/backgrounds/bedroom1.jpg b/public/backgrounds/bedroom1.jpg new file mode 100644 index 000000000..40d15bf4f Binary files /dev/null and b/public/backgrounds/bedroom1.jpg differ diff --git a/public/backgrounds/bedroom2.jpg b/public/backgrounds/bedroom2.jpg new file mode 100644 index 000000000..da0b640cc Binary files /dev/null and b/public/backgrounds/bedroom2.jpg differ diff --git a/public/backgrounds/bedroom4.jpg b/public/backgrounds/bedroom4.jpg new file mode 100644 index 000000000..1cd6e112a Binary files /dev/null and b/public/backgrounds/bedroom4.jpg differ diff --git a/public/backgrounds/bedroom5.jpg b/public/backgrounds/bedroom5.jpg new file mode 100644 index 000000000..67ddc843d Binary files /dev/null and b/public/backgrounds/bedroom5.jpg differ diff --git a/public/backgrounds/classroom1.jpg b/public/backgrounds/classroom1.jpg new file mode 100644 index 000000000..b2c76a9b6 Binary files /dev/null and b/public/backgrounds/classroom1.jpg differ diff --git a/public/backgrounds/classroom3.jpg b/public/backgrounds/classroom3.jpg new file mode 100644 index 000000000..f62aad527 Binary files /dev/null and b/public/backgrounds/classroom3.jpg differ diff --git a/public/backgrounds/classroom4.jpg b/public/backgrounds/classroom4.jpg new file mode 100644 index 000000000..f1549166a Binary files /dev/null and b/public/backgrounds/classroom4.jpg differ diff --git a/public/backgrounds/classroom5.jpg b/public/backgrounds/classroom5.jpg new file mode 100644 index 000000000..581e9b5c1 Binary files /dev/null and b/public/backgrounds/classroom5.jpg differ diff --git a/public/backgrounds/cozynight.jpg b/public/backgrounds/cozynight.jpg deleted file mode 100644 index ce1391a4c..000000000 Binary files a/public/backgrounds/cozynight.jpg and /dev/null differ diff --git a/public/backgrounds/cyberpunkbedroom.jpg b/public/backgrounds/cyberpunkbedroom.jpg new file mode 100644 index 000000000..9b95e2062 Binary files /dev/null and b/public/backgrounds/cyberpunkbedroom.jpg differ diff --git a/public/backgrounds/cyberpunkbedroom2.jpg b/public/backgrounds/cyberpunkbedroom2.jpg new file mode 100644 index 000000000..6468e6894 Binary files /dev/null and b/public/backgrounds/cyberpunkbedroom2.jpg differ diff --git a/public/backgrounds/cyberpunkcity.jpg b/public/backgrounds/cyberpunkcity.jpg new file mode 100644 index 000000000..5766d134c Binary files /dev/null and b/public/backgrounds/cyberpunkcity.jpg differ diff --git a/public/backgrounds/cyberpunkstreet.jpg b/public/backgrounds/cyberpunkstreet.jpg new file mode 100644 index 000000000..67a2d771b Binary files /dev/null and b/public/backgrounds/cyberpunkstreet.jpg differ diff --git a/public/backgrounds/fantasycity.jpg b/public/backgrounds/fantasycity.jpg new file mode 100644 index 000000000..1b13b496d Binary files /dev/null and b/public/backgrounds/fantasycity.jpg differ diff --git a/public/backgrounds/fantasycity2.jpg b/public/backgrounds/fantasycity2.jpg new file mode 100644 index 000000000..792ebcc4b Binary files /dev/null and b/public/backgrounds/fantasycity2.jpg differ diff --git a/public/backgrounds/fantasylandscape.jpg b/public/backgrounds/fantasylandscape.jpg new file mode 100644 index 000000000..5c242d585 Binary files /dev/null and b/public/backgrounds/fantasylandscape.jpg differ diff --git a/public/backgrounds/fantasylandscape3.jpg b/public/backgrounds/fantasylandscape3.jpg new file mode 100644 index 000000000..82b92778c Binary files /dev/null and b/public/backgrounds/fantasylandscape3.jpg differ diff --git a/public/backgrounds/fantasylandscape4.jpg b/public/backgrounds/fantasylandscape4.jpg new file mode 100644 index 000000000..9e8d82546 Binary files /dev/null and b/public/backgrounds/fantasylandscape4.jpg differ diff --git a/public/backgrounds/fantasylandscape5.jpg b/public/backgrounds/fantasylandscape5.jpg new file mode 100644 index 000000000..1d763c65b Binary files /dev/null and b/public/backgrounds/fantasylandscape5.jpg differ diff --git a/public/backgrounds/fantasylandscaperiver.jpg b/public/backgrounds/fantasylandscaperiver.jpg new file mode 100644 index 000000000..54283d21b Binary files /dev/null and b/public/backgrounds/fantasylandscaperiver.jpg differ diff --git a/public/backgrounds/fantasylandscapesakura.jpg b/public/backgrounds/fantasylandscapesakura.jpg new file mode 100644 index 000000000..1d6c553d3 Binary files /dev/null and b/public/backgrounds/fantasylandscapesakura.jpg differ diff --git a/public/backgrounds/fantasylandscapesakura2.jpg b/public/backgrounds/fantasylandscapesakura2.jpg new file mode 100644 index 000000000..267478cef Binary files /dev/null and b/public/backgrounds/fantasylandscapesakura2.jpg differ diff --git a/public/backgrounds/fantasytemplesakura.jpg b/public/backgrounds/fantasytemplesakura.jpg new file mode 100644 index 000000000..b8f7ee584 Binary files /dev/null and b/public/backgrounds/fantasytemplesakura.jpg differ diff --git a/public/backgrounds/getrest.jpg b/public/backgrounds/getrest.jpg deleted file mode 100644 index f69db9732..000000000 Binary files a/public/backgrounds/getrest.jpg and /dev/null differ diff --git a/public/backgrounds/hellscape1.jpg b/public/backgrounds/hellscape1.jpg new file mode 100644 index 000000000..ff4fff42c Binary files /dev/null and b/public/backgrounds/hellscape1.jpg differ diff --git a/public/backgrounds/hellscape2.jpg b/public/backgrounds/hellscape2.jpg new file mode 100644 index 000000000..63fceab90 Binary files /dev/null and b/public/backgrounds/hellscape2.jpg differ diff --git a/public/backgrounds/hellscape3.jpg b/public/backgrounds/hellscape3.jpg new file mode 100644 index 000000000..42da14151 Binary files /dev/null and b/public/backgrounds/hellscape3.jpg differ diff --git a/public/backgrounds/hellscape4.jpg b/public/backgrounds/hellscape4.jpg new file mode 100644 index 000000000..1c686c916 Binary files /dev/null and b/public/backgrounds/hellscape4.jpg differ diff --git a/public/backgrounds/kingdom.jpg b/public/backgrounds/kingdom.jpg deleted file mode 100644 index cc62e6ab3..000000000 Binary files a/public/backgrounds/kingdom.jpg and /dev/null differ diff --git a/public/backgrounds/market.jpg b/public/backgrounds/market.jpg deleted file mode 100644 index e8d443132..000000000 Binary files a/public/backgrounds/market.jpg and /dev/null differ diff --git a/public/backgrounds/market2.jpg b/public/backgrounds/market2.jpg new file mode 100644 index 000000000..6a0f1b97a Binary files /dev/null and b/public/backgrounds/market2.jpg differ diff --git a/public/backgrounds/nightclub.jpg b/public/backgrounds/nightclub.jpg new file mode 100644 index 000000000..0d411937f Binary files /dev/null and b/public/backgrounds/nightclub.jpg differ diff --git a/public/backgrounds/noble1.jpg b/public/backgrounds/noble1.jpg deleted file mode 100644 index d21139ac4..000000000 Binary files a/public/backgrounds/noble1.jpg and /dev/null differ diff --git a/public/backgrounds/noble2.jpg b/public/backgrounds/noble2.jpg deleted file mode 100644 index b88da45a5..000000000 Binary files a/public/backgrounds/noble2.jpg and /dev/null differ diff --git a/public/backgrounds/outdoor.jpg b/public/backgrounds/outdoor.jpg deleted file mode 100644 index 360bca62b..000000000 Binary files a/public/backgrounds/outdoor.jpg and /dev/null differ diff --git a/public/backgrounds/post-apoc1.jpg b/public/backgrounds/post-apoc1.jpg new file mode 100644 index 000000000..490c79c2d Binary files /dev/null and b/public/backgrounds/post-apoc1.jpg differ diff --git a/public/backgrounds/post-apoc2.jpg b/public/backgrounds/post-apoc2.jpg new file mode 100644 index 000000000..1bd30b721 Binary files /dev/null and b/public/backgrounds/post-apoc2.jpg differ diff --git a/public/backgrounds/post-apoc3.jpg b/public/backgrounds/post-apoc3.jpg new file mode 100644 index 000000000..598db1e7c Binary files /dev/null and b/public/backgrounds/post-apoc3.jpg differ diff --git a/public/backgrounds/post-apoc4.jpg b/public/backgrounds/post-apoc4.jpg new file mode 100644 index 000000000..42d1512d8 Binary files /dev/null and b/public/backgrounds/post-apoc4.jpg differ diff --git a/public/backgrounds/post-apoc5.jpg b/public/backgrounds/post-apoc5.jpg new file mode 100644 index 000000000..e3f1500fa Binary files /dev/null and b/public/backgrounds/post-apoc5.jpg differ diff --git a/public/backgrounds/post-apoc6.jpg b/public/backgrounds/post-apoc6.jpg new file mode 100644 index 000000000..a1aa1d50b Binary files /dev/null and b/public/backgrounds/post-apoc6.jpg differ diff --git a/public/backgrounds/redlight.jpg b/public/backgrounds/redlight.jpg new file mode 100644 index 000000000..9171d87ce Binary files /dev/null and b/public/backgrounds/redlight.jpg differ diff --git a/public/backgrounds/redlight2.jpg b/public/backgrounds/redlight2.jpg new file mode 100644 index 000000000..2df5f37e4 Binary files /dev/null and b/public/backgrounds/redlight2.jpg differ diff --git a/public/backgrounds/redlight3.jpg b/public/backgrounds/redlight3.jpg new file mode 100644 index 000000000..64ca31ff0 Binary files /dev/null and b/public/backgrounds/redlight3.jpg differ diff --git a/public/backgrounds/redlight4.jpg b/public/backgrounds/redlight4.jpg new file mode 100644 index 000000000..ac81d494c Binary files /dev/null and b/public/backgrounds/redlight4.jpg differ diff --git a/public/backgrounds/smokycity.jpg b/public/backgrounds/smokycity.jpg deleted file mode 100644 index d2ab9bf95..000000000 Binary files a/public/backgrounds/smokycity.jpg and /dev/null differ diff --git a/public/backgrounds/tatamiroom.jpg b/public/backgrounds/tatamiroom.jpg new file mode 100644 index 000000000..383bef0ea Binary files /dev/null and b/public/backgrounds/tatamiroom.jpg differ diff --git a/public/backgrounds/tatamiroom2.jpg b/public/backgrounds/tatamiroom2.jpg new file mode 100644 index 000000000..255e67866 Binary files /dev/null and b/public/backgrounds/tatamiroom2.jpg differ diff --git a/public/backgrounds/tavern.jpg b/public/backgrounds/tavern.jpg deleted file mode 100644 index 5d5babf28..000000000 Binary files a/public/backgrounds/tavern.jpg and /dev/null differ diff --git a/public/backgrounds/tavern1.jpg b/public/backgrounds/tavern1.jpg new file mode 100644 index 000000000..10c5cf0a2 Binary files /dev/null and b/public/backgrounds/tavern1.jpg differ diff --git a/public/backgrounds/tavern2.jpg b/public/backgrounds/tavern2.jpg new file mode 100644 index 000000000..26f19c473 Binary files /dev/null and b/public/backgrounds/tavern2.jpg differ diff --git a/public/backgrounds/tavern3.jpg b/public/backgrounds/tavern3.jpg new file mode 100644 index 000000000..3a219f8c8 Binary files /dev/null and b/public/backgrounds/tavern3.jpg differ diff --git a/public/backgrounds/tavern5.jpg b/public/backgrounds/tavern5.jpg new file mode 100644 index 000000000..d010d84c9 Binary files /dev/null and b/public/backgrounds/tavern5.jpg differ diff --git a/public/backgrounds/theredlake.jpg b/public/backgrounds/theredlake.jpg deleted file mode 100644 index d3a63edbe..000000000 Binary files a/public/backgrounds/theredlake.jpg and /dev/null differ diff --git a/public/backgrounds/university1.jpg b/public/backgrounds/university1.jpg new file mode 100644 index 000000000..92e45637e Binary files /dev/null and b/public/backgrounds/university1.jpg differ diff --git a/public/backgrounds/university2.jpg b/public/backgrounds/university2.jpg new file mode 100644 index 000000000..b1e306eca Binary files /dev/null and b/public/backgrounds/university2.jpg differ diff --git a/public/backgrounds/university3.jpg b/public/backgrounds/university3.jpg new file mode 100644 index 000000000..3f127e89e Binary files /dev/null and b/public/backgrounds/university3.jpg differ diff --git a/public/backgrounds/warmtown.jpg b/public/backgrounds/warmtown.jpg deleted file mode 100644 index f92b98edf..000000000 Binary files a/public/backgrounds/warmtown.jpg and /dev/null differ diff --git a/public/backgrounds/whitesnow.jpg b/public/backgrounds/whitesnow.jpg deleted file mode 100644 index 0d9db43cc..000000000 Binary files a/public/backgrounds/whitesnow.jpg and /dev/null differ diff --git a/public/index.html b/public/index.html index 061c8430d..ac2ce2048 100644 --- a/public/index.html +++ b/public/index.html @@ -57,361 +57,431 @@
- +
-
+
-
- -
-
-
-
- -
-
-
-
-
- -
-
-
-
-
-
-

API

- -
-
-
-

API url

-
Example: http://127.0.0.1:5000/api
- - - -
-
-
Not connected
-
+
+ +
+
+
+ + -
-

Kobold Presets - - ? - -

- -
- +
+
+ +
+
+
+
+
+
+

API

+ +
+
+
+

API url

+
Example: http://127.0.0.1:5000/api
+ + + +
+
+
Not connected
+
+
+
+

Kobold Presets + ? -

-
- Preset settings - - ? -
- +
-
-
- -
-
-
+ -
-

User Settings

-

Your Avatar

-
-
+
+ - -
-
-
+
+ +
+
+
+
+
+

User Settings

+

Your Avatar

+
+
+
-
-
-
-
-
-
-
- Amount generation -
- select - +
+ +
+
+
+

Name

+
+ +
+
+

Power User Options

+
+ + + + + + +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ Amount generation
-
-
- Context Size -
- select - + select + +
+
+
+ Context Size +
+ select + +
+
+
+
+
+
+
+ Temperature +
+
+ select +
+
+ +
+
+
+
+ Repetition Penalty +
+
+ select +
+
+ +
+
+
+
+ Repetition Penalty Range +
+
+ select +
+
+
-
-
- -
-
- Temperature -
-
- select -
-
- -
-
-
-
- Repetition Penalty -
-
- select -
-
- -
-
-
-
- Repetition Penalty Range -
-
- select -
-
- -
-
-
-
+
+
Temperature +
+
select +
+
+
+
Repetition Penalty +
+
select +
+
- Repetition Penalty Range +
+
+ Repetition Penalty Range + +
select +
+
-
- Temperature - select - - Repetition Penalty - select - - Repetition Penalty Range - select - -
-
- Anchors Order - ? -
- -
- - +
+
+
+ Temperature +
+
+ select +
+
+ +
+
+
+
+ Repetition Penalty +
+
+ select +
+
+ +
+
+
+
+ Repetition Penalty Range +
+
+ select +
+
+ +
-
-
-
-
- -
-
- Top P Sampling -
-
- select -
-
- -
+
+ Anchors Order + + ? + +
+ +
+ + +
+
+ + +
+
+
+
+
+
+
+ Top P Sampling
-
-
- Top A Sampling -
-
- select -
-
- -
+
+ select
-
-
- Top K Sampling -
-
- select -
-
- -
+
+
-
-
- Typical Sampling -
-
- select -
-
- -
+
+
+
+ Top A Sampling
-
-
- Tail Free Sampling -
-
- select -
-
- -
+
+ select
-
-
- Repetition Penalty Slope -
-
- select -
-
- -
+
+ +
+
+
+
+ Top K Sampling +
+
+ select +
+
+ +
+
+
+
+ Typical Sampling +
+
+ select +
+
+ +
+
+
+
+ Tail Free Sampling +
+
+ select +
+
+ +
+
+
+
+ Repetition Penalty Slope +
+
+ select +
+
+
-
+
+
+ ***COMING SOON*** - -
-
- - -
-

Advanced Settings

+
+
+
+
Top K - select +
+
+ select +
+
- Top P - select - - Typical P - select - -

Penalty Alpha - select - +

+
+
+ Top P +
+
+ select +
+
+ +
+
+
+
+ Typical P +
+
+ select +
+
+ +
+
+
+
+ Penalty Alpha +
+
+ select +
+
+ +
@@ -419,13 +489,14 @@
- -
-
-
-
-
-
+
+ +
+
+
+
+
+

World Info

@@ -437,11 +508,9 @@
-

How to use ?

+

How to use ?

@@ -451,85 +520,91 @@

- Scan Depth ? + Scan Depth ?

depth

- Token Budget ? + Token Budget ?

budget
-
-
-

Soft Prompt

-
About soft prompts ?
- -
+
+
+

Soft Prompt

+
About soft prompts ?
+
+
-
-
-
-
-
-

Advanced Formatting - - ? +
+
+
+
+
+

Advanced Formatting + + ? + +

+ + + +
+
+ +
+
+
+
+
+
+

Extensions API: + + TavernAI-extras

- - - -
-
- -
-
-
-
-
-
-

Extensions API: TavernAI-extras

- -
- - - -
-
Not connected
-
-

Active extensions

-
    -
-

Missing something? Press here for more details!

-
-
-

Extension settings

-
+ +
+ + + +
+
+ Not connected +
+
+

Active extensions

+
    +
+

Missing something? Press here for more details!

+
+
+

Extension settings

- + +
+
@@ -560,32 +635,30 @@
- +

Personality summary

-
A brief description of the personality ?
- +
A brief description of the personality ?
+

Scenario

-
Circumstances and context of the dialogue ?
- +
Circumstances and context of the dialogue + + ? + +
+

Talkativeness

How often the chracter speaks in  group chats!
- +
Shy Normal @@ -596,8 +669,7 @@

Examples of dialogue

-
Forms a personality more clearly ?
+
Forms a personality more clearly ?
@@ -615,10 +687,8 @@ (?)

 
-
- + +
@@ -727,15 +797,11 @@
?
-
@@ -749,12 +815,12 @@
- +
- TavernAI is being developed with love and care on a voluntary basis. If you like the project and + TavernAI is being developed with love and care on a voluntary basis. If you like + the project and want to support it, your donation would make a huge impact! Thank you!
@@ -769,19 +835,13 @@
- + - +
@@ -976,9 +1030,9 @@
${bias}
-
-
+
+
@@ -1003,7 +1057,7 @@
- +
CHAR is typing
@@ -1039,16 +1093,13 @@
-
-
- \ No newline at end of file diff --git a/public/style.css b/public/style.css index 9cea24137..7f5c4cba2 100644 --- a/public/style.css +++ b/public/style.css @@ -18,6 +18,8 @@ --grey50: rgb(125, 125, 125); --grey70: rgb(175, 175, 175); + --grey30a: rgba(50,50,50,0.3); // dark grey transparent for #chat and #send_form so their borders stand out on dark BGs + --fullred: rgba(255, 0, 0, 1); --crimson70a: rgba(100, 0, 0, 0.7); --cobalt30a: rgba(100, 100, 255, 0.3); @@ -133,7 +135,7 @@ code { position: absolute; width: 100%; height: 100%; - z-index: -2; + z-index: 0; } #bg2 { @@ -146,7 +148,7 @@ code { position: absolute; width: 100%; height: 100%; - z-index: -1; + z-index: 1; } /*TOPPER margin*/ @@ -172,13 +174,14 @@ code { display: grid; grid-template-rows: auto min-content; height: calc(100svh - 40px); - - /*overflow: auto;*/ overflow-x: hidden; - /*overflow-y: hidden;*/ max-width: 800px; - margin-left: auto; - margin-right: auto; + position: absolute; + left: 0; + right: 0; + top: 35px; + margin: 0 auto; + z-index: 2; } @@ -189,16 +192,17 @@ margin-top:5px; overflow-y: scroll; display: flex; bottom: 10px; - border-bottom: 1px solid var(--black30a); - border-left: 1px solid var(--black30a); - border-right: 1px solid var(--black30a); + border-bottom: 1px solid var(--grey50a); + border-left: 1px solid var(--grey50a); + border-right: 1px solid var(--grey50a); backdrop-filter: blur(20px); background-color: var(--black70a); - -webkit-backdrop-filter: blur(20px); + -webkit-backdrop-filter: blur(10px); text-shadow: #000 0 0 3px; scrollbar-width: thin; transition: all 1s ease-in-out; flex-direction: column; + z-index: 3; /*old style top to bottom flow*/ /* overflow-x: hidden; @@ -228,7 +232,7 @@ margin-top:5px; grid-template-columns: 40px auto 40px; width: 100%; margin: 0 auto 0 auto; - border: 1px solid var(--black30a); + border: 1px solid var(--grey50a); border-radius: 0 0 20px 20px; background-color: var(--crimson70a); @@ -690,6 +694,7 @@ input[type=submit] {} #rm_print_characters_block { padding: 15px 0; overflow-y: auto; + flex-grow: 1; } #rm_ch_create_block { @@ -1884,6 +1889,7 @@ input[type="range"]{ margin-right: auto; left: 0; right: 0; + top: 40px; box-shadow: 0 0 20px var(--black70a); padding-left: 30px; padding-right: 30px; @@ -2688,8 +2694,7 @@ label[for="extensions_autoconnect"] { padding-top: 5px; /* right: auto; */ height: 35px; - min-width: 20vw; - max-width: 700px; + width: 800px; color: white; justify-content: space-around; display: grid; @@ -2809,16 +2814,20 @@ label[for="extensions_autoconnect"] { } #top-settings-holder{ - max-width:70vw; + width:70vw; + position: fixed; + right: 0; + left: 0; } #bg1, #bg2 {position:fixed;} #sheld, #character_popup, #world_popup, #right-nav-panel { /*margin around the sides, and a larger one on bottom to avoid iOS Home bar*/ - height: calc(100svh - 55px); + height: calc(100svh - 15px); width: calc(100vw - 10px); margin: 0 auto; margin-left: 5px; position: fixed; + } .mes-text {padding-right: 25px;} diff --git a/server.js b/server.js index 87506c61b..29cbae798 100644 --- a/server.js +++ b/server.js @@ -968,9 +968,11 @@ function getCharacterFile(directories, response, i) { //old need del } } function getImages(path) { - return fs.readdirSync(path).sort(function (a, b) { - return new Date(fs.statSync(path + '/' + a).mtime) - new Date(fs.statSync(path + '/' + b).mtime); - }).reverse(); + return fs.readdirSync(path).sort(Intl.Collator().compare); + + /* return fs.readdirSync(path).sort(function (a, b) { + return new Date(fs.statSync(path + '/' + a).mtime) - new Date(fs.statSync(path + '/' + b).mtime); + }).reverse(); */ } function getKoboldSettingFiles(path) { return fs.readdirSync(path).sort(function (a, b) {