Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Syretta Man
simplewebapp
Commits
fa02e684
Commit
fa02e684
authored
Jan 17, 2020
by
Syretta Man
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added default selected
parent
fe3e816a
Pipeline
#113935
failed with stages
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Dockerfile
Dockerfile
+2
-2
src/main/java/ic/doc/web/IndexPage.java
src/main/java/ic/doc/web/IndexPage.java
+1
-1
No files found.
Dockerfile
View file @
fa02e684
FROM openjdk:8
EXPOSE 8080
COPY . /webapp
RUN apt-get update
RUN apt-get install -y maven
RUN apt-get install -y pandoc
RUN apt-get install -y texlive-latex-base
RUN apt-get install -y texlive-latex-recommended
RUN apt-get install -y texlive-fonts-recommended
WORKDIR webapp
RUN mvn package
CMD
["sh", "
target/bin/simplewebapp
"]
CMD
sh
target/bin/simplewebapp
src/main/java/ic/doc/web/IndexPage.java
View file @
fa02e684
...
...
@@ -21,7 +21,7 @@ public class IndexPage implements Page {
"<p>Enter your query in the box below: "
+
"<form>"
+
"<input type=\"text\" name=\"q\" /><br>"
+
"<input type=\"radio\" name=\"downloadtype\" value=\"html\"> HTML<br>"
+
"<input type=\"radio\" name=\"downloadtype
checked
\" value=\"html\"> HTML<br>"
+
"<input type=\"radio\" name=\"downloadtype\" value=\"markdown\"> Markdown<br>"
+
"<input type=\"radio\" name=\"downloadtype\" value=\"pdf\"> PDF<br>"
+
"<br><br><input type=\"submit\">"
+
...
...
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