Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Ephemeral
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Volkor Barbarian Warrior
Ephemeral
Commits
16e0896a
Commit
16e0896a
authored
1 year ago
by
Andrew Hall
Committed by
rdqsr
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Add button to link page to upload another file.
parent
99d65105
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/localhost:8282/link.html
+28
-17
28 additions, 17 deletions
templates/localhost:8282/link.html
with
28 additions
and
17 deletions
templates/localhost:8282/link.html
+
28
−
17
View file @
16e0896a
{{>shell.html}}
<script
language=
"JavaScript"
>
function
selectText
(
textField
)
{
textField
.
focus
();
textField
.
select
();
}
</script>
<title>
Uploaded - {{ filename }}
</title>
<h1
class=
"title"
>
Jobs Done! Here's your link:
</h1>
<p
style=
"text-align: center;"
>
<input
readonly
class=
"fileLink"
type=
"url"
name=
"link"
size=
"55"
value=
"{{fileurl}}"
autofocus=
"autofocus"
onfocus=
"this.select()"
onmouseover=
'this.select()'
>
<br><br>
<input
readonly
class=
"fileLink"
type=
"url"
name=
"deletionlink"
size=
"55"
value=
"{{adminurl}}"
onmouseover=
'this.select()'
>
</p>
<div
style=
"text-align: center;"
><img
height=
"24"
src=
"/static/trash.svg"
alt=
"File Expiry (UTC)"
>
{{message1}}
</div>
</div></body></html>
\ No newline at end of file
function
selectText
(
textField
)
{
textField
.
focus
();
textField
.
select
();
}
</script>
<title>
Uploaded - {{ filename }}
</title>
<h1
class=
"title"
>
Jobs Done! Here's your link:
</h1>
<p
style=
"text-align: center;"
>
<input
readonly
class=
"fileLink"
type=
"url"
name=
"link"
size=
"55"
value=
"{{fileurl}}"
autofocus=
"autofocus"
onfocus=
"this.select()"
onmouseover=
'this.select()'
>
<br><br>
<input
readonly
class=
"fileLink"
type=
"url"
name=
"deletionlink"
size=
"55"
value=
"{{adminurl}}"
onmouseover=
'this.select()'
>
</p>
<div
style=
"text-align: center;"
><img
height=
"24"
src=
"/static/trash.svg"
alt=
"File Expiry (UTC)"
>
{{message1}}
</div>
<br><br>
<p
style=
"text-align: center;"
>
<a
style=
"font-size: 1.5em;color: white;text-decoration: none; padding: 10px 50px 10px 50px;"
class=
"uploadButton"
href=
"/"
>
Upload
another?
</a>
</p>
</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment