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
masonstrap
Commits
7e017d51
Unverified
Commit
7e017d51
authored
Mar 05, 2017
by
David Haynes
Browse files
Dynamic version number in the top
- using some js magic
parent
f6ac9a2e
Pipeline
#1039
passed with stage
in 59 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
assets/js/version.js
0 → 100644
View file @
7e017d51
let
version
=
$
.
fn
.
tooltip
.
Constructor
.
VERSION
;
document
.
getElementById
(
'
version
'
).
innerHTML
=
version
;
index.html
View file @
7e017d51
...
...
@@ -104,7 +104,7 @@
<div
class=
"col-lg-8 col-md-7 col-sm-6"
>
<h1>
Masonstrap
</h1>
<h4
>
4.0.0-alpha.6
</h4>
<h4
id=
"version"
>
</h4>
<br
/>
<p
class=
"lead"
>
Easily provide any web project with Mason branding.
</p>
</div>
...
...
@@ -1361,10 +1361,11 @@
</div>
<!-- load in external js -->
<script
src=
"../bower_components/jquery/dist/jquery.min.js"
></script>
<script
src=
"../bower_components/jquery/dist/jquery.
slim.
min.js"
></script>
<script
src=
"../bower_components/tether/dist/js/tether.min.js"
></script>
<script
src=
"../bower_components/bootstrap/dist/js/bootstrap.min.js"
></script>
<script
src=
"../assets/js/custom.js"
></script>
<script
src=
"../assets/js/version.js"
></script>
</body>
</html>
\ No newline at end of file
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