Skip to content

Commit 0a67509

Browse files
committed
update app
1 parent d63594b commit 0a67509

File tree

6 files changed

+17
-14
lines changed

6 files changed

+17
-14
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ docs/site/
3030
Manifest.toml
3131
*.DS_Store
3232
out
33-
build
33+
build
34+
draft

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<br>
44
<div align="center">
5-
<img src="docs/src/assets/logo.svg" width="18%">
5+
<img src="docs/src/assets/logo.svg" width="17%">
66
</div>
77
<br>
88

app/frontend/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
<html lang="en">
33

44
<head>
5-
<meta charset="utf-8" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1" />
7-
<link rel="icon" type="image/x-icon" href="favicon.ico" />
8-
<title>PRISMA.jl</title>
9-
<meta name="description" content="PRISMA.jl: generate checklists and flow diagrams based on the PRISMA statement" />
10-
<meta name="theme-color" media="(prefers-color-scheme: light)" content="hsl(210, 100%, 98%)" />
11-
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="hsl(210, 18%, 11%)" />
5+
<meta charset="utf-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<link rel="icon" type="image/x-icon" href="favicon.ico" />
8+
<title>PRISMA.jl</title>
9+
<meta name="description" content="PRISMA.jl: generate checklists and flow diagrams based on the PRISMA statement" />
10+
<meta name="theme-color" media="(prefers-color-scheme: light)" content="hsl(210, 100%, 98%)" />
11+
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="hsl(210, 18%, 11%)" />
1212
</head>
1313

1414
<body>
15-
<noscript>You need to enable JavaScript to run this app.</noscript>
16-
<div id="root"></div>
17-
<script src="src/index.tsx" type="module"></script>
15+
<noscript>You need to enable JavaScript to run this app.</noscript>
16+
<div id="root"></div>
17+
<script src="src/index.tsx" type="module"></script>
1818
</body>
1919

2020
</html>

app/frontend/src/assets/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ textarea {
207207
color: var(--text-color-1);
208208
border: 1px solid var(--border-color);
209209
background-color: var(--background-color-3);
210+
transition: border-color 0.2s, box-shadow 0.2s;
210211
}
211212

212213
::placeholder {

app/frontend/src/assets/css/flow_diagram.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
.flow-diagram-container svg {
2424
height: 100%;
25+
width: 100%;
2526
}
2627

2728
.settings-container {

src/checklist.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function safe_match(pattern::Regex, text::AbstractString)::String
116116
end
117117
end
118118

119-
function get_item(paper::AbstractString)::DataFrame
119+
function fillchecklist(paper::AbstractString)::DataFrame
120120
textencoder, bert_model = hgf"bert-base-uncased"
121121
results::DataFrame = deepcopy(checklist_df())
122122

@@ -263,7 +263,7 @@ function checklist(paper::AbstractString)::Checklist
263263
"pdf version" => safe_match(r"PDF version:\s*(.*)", paper_info)
264264
)
265265

266-
return Checklist(df=get_item(paper_text), metadata=metadata)
266+
return Checklist(df=fillchecklist(paper_text), metadata=metadata)
267267
end
268268

269269
function checklist(bytes::Vector{UInt8})::Checklist

0 commit comments

Comments
 (0)