Dynamic version number in the top

- using some js magic
parent f6ac9a2e
Pipeline #1039 passed with stage
in 59 seconds
let version = $.fn.tooltip.Constructor.VERSION;
document.getElementById('version').innerHTML = version;
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment