Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F9583258
search.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
search.html
View Options
<!DOCTYPE html>
<
html
>
<
head
>
<
script
src
=
"/js/jquery.js"
></
script
>
<
script
src
=
"/js/authorization.js"
></
script
>
<
meta
charset
=
"utf-8"
>
<
title
>
Wyszukiwanie
</
title
>
<
link
rel
=
"stylesheet"
href
=
"/style.css"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"
>
</
head
>
<
body
>
<
a
href
=
"/"
>
Menu główne
</
a
>
<
h1
>
Wyszukiwanie
</
h1
>
<
input
type
=
"text"
placeholder
=
"Treść"
id
=
"search_string"
>
<
button
id
=
"confirm"
onclick
=
"searchQuery()"
>
Szukaj
</
button
>
<
ul
id
=
"wyszukiwanie"
>
</
ul
>
</
body
>
<
script
>
function
searchQuery
(){
var
query
=
$
(
"#search_string"
).
val
();
var
message_list
=
$
(
"#wyszukiwanie"
);
message_list
.
html
(
""
);
$
.
get
(
"/api/v1/chat/search/"
+
query
,
function
(
data
)
{
if
(
data
.
length
>
0
){
for
(
var
i
in
data
)
{
var
entry
=
data
[
i
];
var
url
=
"/konwersacja.html"
+
"#"
+
entry
.
conversation_id
;
var
node
=
$
(
"<li>"
+
entry
.
message
+
" "
+
"<a href='"
+
url
+
"'>"
+
"konwersacja nr: "
+
entry
.
conversation_id
+
"</a>"
+
"</li>"
);
message_list
.
append
(
node
);
}
}
else
{
message_list
.
append
(
"brak wyników"
);}
});
}
</
script
>
</
html
>
File Metadata
Details
Attached
Mime Type
text/html
Expires
Sat, Oct 11, 09:16 (8 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
984094
Default Alt Text
search.html (1 KB)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment