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
eda5c7a7
Commit
eda5c7a7
authored
Nov 15, 2016
by
David Haynes
Browse files
Move clipboard static file loading to base.html
- and use django's static loader
parent
fa55a37e
Pipeline
#456
passed with stage
in 7 minutes and 18 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
go/go/templates/layouts/base.html
View file @
eda5c7a7
...
...
@@ -22,10 +22,15 @@
<link
href=
"//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
bootswatch.min.css
"
%}"
/>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
styles.css
"
%}"
/>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
style-link-box.css
"
%}"
/>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
style-link-box.css
"
%}"
/>
<link
rel=
"icon"
type=
"image/jpg"
href=
"{% static "
img
/
favicon.ico
"%}"
/>
<script
src=
"{% static "
js
/
jquery.min.js
"
%}"
></script>
<script
src=
"{% static "
js
/
bootstrap.min.js
"
%}"
></script>
<script
src=
"{% static "
js
/
clipboard.min.js
"
%}"
></script>
<script
src=
"{% static "
js
/
copy.js
"
%}"
></script>
</head>
...
...
go/go/templates/link_box.html
View file @
eda5c7a7
{% load go_extras %} {% load qr_tags %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../style-link-box.css"
>
<div
class=
"container"
>
<div
class=
"col-md-8"
>
<h3>
Go Address:
</h3>
...
...
@@ -108,11 +106,6 @@
</div>
</div>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../static/css/style-link-box.css"
>
<script
src=
"../../static/js/clipboard.min.js"
></script>
<script
src=
"../../static/js/copy.js"
></script>
<script>
$
(
function
()
{
var
option
=
{
...
...
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