mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Merge pull request #28 from pi-hole/newVersioning
Dynamic versions in footer - New Versioning System
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
<!-- /.content-wrapper -->
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Pi-hole Version</b> 2.2
|
||||
<b>Pi-hole Version </b> <?php echo exec("cd /etc/.pihole/ && git describe --tags --abbrev=0"); ?>
|
||||
<b>Web Interface Version </b> <?php echo exec("cd /var/www/html/admin/ && git describe --tags --abbrev=0"); ?>
|
||||
</div>
|
||||
<i class="fa fa-github"></i> <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3J2L3Z4DHW9UY">Donate</a></strong> if you found this useful.
|
||||
</footer>
|
||||
@@ -93,7 +93,7 @@
|
||||
</div><!-- /.box -->
|
||||
|
||||
<?php
|
||||
require "footer.html";
|
||||
require "footer.php";
|
||||
?>
|
||||
|
||||
<script src="https://cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js" type="text/javascript"></script>
|
||||
|
||||
Reference in New Issue
Block a user