Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
b693ea04
Commit
b693ea04
authored
Dec 03, 2016
by
Robert Hitt
Browse files
Scripts now load right
parent
82bc35f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
go/go/templates/link_box.html
View file @
b693ea04
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
{{domain}}{{url.short}}
{{domain}}{{url.short}}
</a>
</a>
<div
id=
"button-container"
class=
"input-group-addon"
>
<div
id=
"button-container"
class=
"input-group-addon"
>
<button
id=
"copy-button"
type=
"button"
class=
"button btn btn-default btn-xs fa"
role=
"button"
<button
id=
"copy-button
-{{url.short}}
"
type=
"button"
class=
"button btn btn-default btn-xs fa"
role=
"button"
data-clipboard-target=
"#link-{{url.short}}"
title=
"Copy to Clipboard"
>
data-clipboard-target=
"#link-{{url.short}}"
title=
"Copy to Clipboard"
>
<i
id=
"clipboard-icon"
class=
"fa fa-clipboard fa-1g"
aria-hidden=
"true"
></i>
<i
id=
"clipboard-icon"
class=
"fa fa-clipboard fa-1g"
aria-hidden=
"true"
></i>
</button>
</button>
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
style=
"font-weight:bold; font-size: 21px !important;"
>
style=
"font-weight:bold; font-size: 21px !important;"
>
Are you sure you would like to delete this link?
</h4>
Are you sure you would like to delete this link?
</h4>
<h6
style=
"font-weight:500; margin-top: 0px; margin-bottom: 0px;"
>
<h6
style=
"font-weight:500; margin-top: 0px; margin-bottom: 0px;"
>
Deleting a link is perm
ena
nt and can not be undone!
</h6>
Deleting a link is perm
ane
nt and can not be undone!
</h6>
</div>
</div>
<div
class=
"modal-body"
style=
"padding-bottom: 80px"
>
<div
class=
"modal-body"
style=
"padding-bottom: 80px"
>
<a
type=
"button"
class=
"btn btn-success btn-lg"
style=
"border-width: 0px;float:left; width:49%; background-color: #A9B0AD; color: #ffffff; border-radius: 4px;"
data-dismiss=
"modal"
>
Cancel
</a>
<a
type=
"button"
class=
"btn btn-success btn-lg"
style=
"border-width: 0px;float:left; width:49%; background-color: #A9B0AD; color: #ffffff; border-radius: 4px;"
data-dismiss=
"modal"
>
Cancel
</a>
...
@@ -130,3 +130,22 @@
...
@@ -130,3 +130,22 @@
$
(
'
[data-toggle="popover"]
'
).
popover
(
option
)
$
(
'
[data-toggle="popover"]
'
).
popover
(
option
)
})
})
</script>
</script>
<!-- script for copying text an displaying a tooltip -->
<script>
var
clipboard
=
new
Clipboard
(
'
#copy-button-{{url.short}}
'
);
$
(
'
#copy-button-{{url.short}}
'
).
tooltip
({
trigger
:
'
hover
'
,
placement
:
'
bottom
'
});
$
(
'
#copy-button-{{url.short}}
'
).
on
(
'
hidden.bs.tooltip
'
,
function
()
{
$
(
'
#copy-button
'
).
attr
(
'
data-original-title
'
,
'
Copy to Clipboard
'
);
});
clipboard
.
on
(
'
success
'
,
function
(
e
)
{
e
.
clearSelection
();
$
(
'
#copy-button-{{url.short}}
'
).
attr
(
'
data-original-title
'
,
'
Copied!
'
).
tooltip
(
'
show
'
);
});
</script>
go/go/templates/public_landing.html
View file @
b693ea04
...
@@ -81,7 +81,7 @@ SRCT Go • Welcome
...
@@ -81,7 +81,7 @@ SRCT Go • Welcome
<h3><i
class=
"fa"
>
How do I access Go?
</i></h3>
<h3><i
class=
"fa"
>
How do I access Go?
</i></h3>
<legend></legend>
<legend></legend>
<p>
<p>
In order to prevent abuse of the URL shortner, access to Go
In order to prevent abuse of the URL short
e
ner, access to Go
is moderated by SRCT administrators. New users will need to fill out
is moderated by SRCT administrators. New users will need to fill out
a registration form in order to become an approved user.
a registration form in order to become an approved user.
<br></br>
<br></br>
...
...
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