]>
Commit | Line | Data |
---|---|---|
1 | <?php | |
2 | if (!isset($nav_shown)) | |
3 | return; | |
4 | ?> | |
5 | <footer class="text-center bg-dark text-white fixed-bottom" style="background-color: #f1f1f1;"> | |
6 | <!-- Grid container --> | |
7 | <div class="container"> | |
8 | <!-- Section: Social media --> | |
9 | ||
10 | <?php | |
11 | $arr = []; Hook::run(HOOKTYPE_PRE_FOOTER, $arr); | |
12 | echo "<small style=\"font-size: 70%\"><code>Admin Panel ".get_config('webpanel_version')."</code></small>"; | |
13 | ?> | |
14 | ||
15 | <section class="mt-1"> | |
16 | <!-- Twitter --> | |
17 | <a | |
18 | class="btn btn-link btn-floating btn-md text-white" | |
19 | href="https://twitter.com/Unreal_IRCd" | |
20 | role="button" | |
21 | data-mdb-ripple-color="dark" | |
22 | target="_blank" | |
23 | ><i class="fab fa-twitter"></i | |
24 | ></a> | |
25 | <!-- Github --> | |
26 | <a | |
27 | class="btn btn-link btn-floating btn-md text-white" | |
28 | href="https://github.com/unrealircd/unrealircd-webpanel" | |
29 | role="button" | |
30 | data-mdb-ripple-color="dark" | |
31 | target="_blank" | |
32 | ><i style="margin-left: -18px" class="fab fa-github"></i | |
33 | ></a> | |
34 | <!-- UnrealIRCd --> | |
35 | <a | |
36 | href="https://unrealircd.org" | |
37 | role="button" | |
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> | |
41 | ||
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> | |
43 | ||
44 | <?php | |
45 | ||
46 | $arr = []; Hook::run(HOOKTYPE_FOOTER, $arr); | |
47 | ||
48 | ?> | |
49 | ||
50 | ||
51 | </div> | |
52 | </div><!-- Second div is because there is a container div in the header--> | |
53 | ||
54 | </footer> | |
55 | </body> | |
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> |