Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
KotGPT
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Pastushkov
KotGPT
Commits
f4230d27
Commit
f4230d27
authored
Aug 18, 2025
by
michaelpastushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a62db13c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
static/www/1.html
+5
-4
static/www/index.html
+1
-1
No files found.
static/www/1.html
View file @
f4230d27
...
@@ -296,11 +296,12 @@
...
@@ -296,11 +296,12 @@
const
img
=
targetEl
.
querySelector
(
'img.thinking-cat'
);
const
img
=
targetEl
.
querySelector
(
'img.thinking-cat'
);
if
(
img
)
targetEl
.
innerHTML
=
''
;
if
(
img
)
targetEl
.
innerHTML
=
''
;
}
}
function
scrollToBottom
()
{
// force scroll to very bottom of the scrollable area
mainScroll
.
scrollTop
=
mainScroll
.
scrollHeight
;
}
function
scrollToBottom
(
smooth
=
false
)
{
if
(
!
mainScroll
)
return
;
const
top
=
mainScroll
.
scrollHeight
-
mainScroll
.
clientHeight
;
mainScroll
.
scrollTo
({
top
,
behavior
:
smooth
?
'smooth'
:
'auto'
});
}
function
setComposerLocked
(
locked
)
{
function
setComposerLocked
(
locked
)
{
isRunning
=
locked
;
isRunning
=
locked
;
inputText
.
placeholder
=
locked
?
t
(
'status.thinking'
,
'Thinking…'
)
:
t
(
'composer.placeholder'
,
'What can I help you with?'
);
inputText
.
placeholder
=
locked
?
t
(
'status.thinking'
,
'Thinking…'
)
:
t
(
'composer.placeholder'
,
'What can I help you with?'
);
...
...
static/www/index.html
View file @
f4230d27
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
<div
class=
"composer py-3"
>
<div
class=
"composer py-3"
>
<div
class=
"container"
>
<div
class=
"container"
>
<form
id=
"promptForm"
class=
"d-flex flex-column gap-2"
>
<form
id=
"promptForm"
class=
"d-flex flex-column gap-2"
>
<textarea
id=
"inputText"
class=
"form-control"
rows=
"
3
"
placeholder=
""
></textarea>
<textarea
id=
"inputText"
class=
"form-control"
rows=
"
1
"
placeholder=
""
></textarea>
<div
class=
"d-flex align-items-center gap-2"
>
<div
class=
"d-flex align-items-center gap-2"
>
<button
id=
"goBtn"
class=
"btn btn-primary"
type=
"submit"
></button>
<button
id=
"goBtn"
class=
"btn btn-primary"
type=
"submit"
></button>
<button
id=
"stopBtn"
class=
"btn btn-outline-danger"
type=
"button"
style=
"display:none"
></button>
<button
id=
"stopBtn"
class=
"btn btn-outline-danger"
type=
"button"
style=
"display:none"
></button>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment