From 95b1b8c02574faacd520d8fd539a1e1d93035aa2 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Thu, 14 Mar 2024 18:49:41 +0100 Subject: Add export / import conversations --- g4f/gui/client/css/style.css | 14 ++++++++++---- g4f/gui/client/html/index.html | 11 +++++------ g4f/gui/client/js/chat.v1.js | 44 ++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 57 insertions(+), 12 deletions(-) diff --git a/g4f/gui/client/css/style.css b/g4f/gui/client/css/style.css index 045eae99..ba3f1187 100644 --- a/g4f/gui/client/css/style.css +++ b/g4f/gui/client/css/style.css @@ -15,7 +15,7 @@ margin: auto; display: flex; flex-direction: column; - gap: 16px; + gap: var(--inner-gap); max-width: 200px; padding: var(--section-gap); overflow: none; @@ -183,7 +183,8 @@ body { .conversations { display: flex; flex-direction: column; - gap: 16px; + gap: var(--inner-gap); + padding: var(--inner-gap); } .conversations .title { @@ -573,7 +574,7 @@ label[for="camera"] { height: fit-content; display: flex; align-items: center; - gap: 16px; + gap: var(--inner-gap); } .field .about { @@ -657,10 +658,15 @@ select { font-size: 14px; } +.bottom_buttons button a { + color: var(--colour-3); + font-weight: 500; +} + .conversations .top { display: flex; flex-direction: column; - gap: 16px; + gap: var(--inner-gap); overflow: auto; } diff --git a/g4f/gui/client/html/index.html b/g4f/gui/client/html/index.html index eeebce80..d70f87a1 100644 --- a/g4f/gui/client/html/index.html +++ b/g4f/gui/client/html/index.html @@ -94,11 +94,10 @@ Clear Conversations -
- - tele ~ @g4f_official - -
+
github ~ @gpt4free @@ -161,7 +160,7 @@ -