]>
Commit | Line | Data |
---|---|---|
830edb25 BM |
1 | <?php |
2 | if (!isset($nav_shown)) | |
3 | return; | |
4 | ?> | |
399c9625 | 5 | <footer class="text-center bg-dark text-white fixed-bottom" style="background-color: #f1f1f1;"> |
2f8a5fe8 VP |
6 | <!-- Grid container --> |
7 | <div class="container"> | |
8 | <!-- Section: Social media --> | |
d72d1923 | 9 | |
399c9625 BM |
10 | <?php |
11 | $arr = []; Hook::run(HOOKTYPE_PRE_FOOTER, $arr); | |
79e2577d | 12 | echo "<small style=\"font-size: 70%\"><code>Admin Panel ".get_config('webpanel_version')."</code></small>"; |
399c9625 | 13 | ?> |
809f7483 | 14 | |
399c9625 | 15 | <section class="mt-1"> |
2f8a5fe8 VP |
16 | <!-- Twitter --> |
17 | <a | |
399c9625 | 18 | class="btn btn-link btn-floating btn-md text-white" |
2f8a5fe8 VP |
19 | href="https://twitter.com/Unreal_IRCd" |
20 | role="button" | |
21 | data-mdb-ripple-color="dark" | |
399c9625 | 22 | target="_blank" |
2f8a5fe8 VP |
23 | ><i class="fab fa-twitter"></i |
24 | ></a> | |
25 | <!-- Github --> | |
26 | <a | |
399c9625 | 27 | class="btn btn-link btn-floating btn-md text-white" |
2f8a5fe8 VP |
28 | href="https://github.com/unrealircd/unrealircd-webpanel" |
29 | role="button" | |
30 | data-mdb-ripple-color="dark" | |
399c9625 | 31 | target="_blank" |
c3805b04 | 32 | ><i style="margin-left: -18px" class="fab fa-github"></i |
2f8a5fe8 VP |
33 | ></a> |
34 | <!-- UnrealIRCd --> | |
35 | <a | |
36 | href="https://unrealircd.org" | |
37 | role="button" | |
399c9625 BM |
38 | data-mdb-ripple-color="dark" |
39 | target="_blank"> | |
40 | <img src="<?php echo get_config("base_url"); ?>img/unreal.jpg" width="16" height="16" style="margin-left: -7px; margin-right: 24px"></a> | |
d0843e71 | 41 | |
399c9625 | 42 | <i id="bugreport" style="margin-left: -18px; margin-right: 10px;" height="10px" class="fa fa-bug" data-toggle="tooltip" data-placement="top" title="Report a bug (Opens in new tab)"></i> |
2f8a5fe8 VP |
43 | |
44 | <?php | |
d72d1923 | 45 | |
2f8a5fe8 VP |
46 | $arr = []; Hook::run(HOOKTYPE_FOOTER, $arr); |
47 | ||
48 | ?> | |
49 | ||
d0843e71 | 50 | |
ce9cf366 | 51 | </div> |
9057b83a | 52 | </div><!-- Second div is because there is a container div in the header--> |
2d62c85d VP |
53 | |
54 | </footer> | |
55 | </body> | |
d0843e71 VP |
56 | </html> |
57 | <script> | |
58 | var bugreport = document.getElementById('bugreport'); | |
59 | bugreport.addEventListener('click', (e) => { | |
60 | window.open("https://github.com/unrealircd/unrealircd-webpanel/issues/new?labels=bug&template=bug_report.md", '_blank'); | |
61 | }); | |
62 | </script> |