Skip to content

Commit

Permalink
fix admin templates
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarv committed Apr 27, 2019
1 parent 990bd31 commit f1ceb37
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion sources/admin/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
$current_tags = file_get_contents("https://api.github.com/repos/greenelfx/maplebit/tags", false, $context);
if ($current_tags) {
$tags = json_decode($current_tags);
$ref_tag = "v1.19";
$ref_tag = "v1.20";
$current_tag = $tags[0]->name;
if ($current_tag == $ref_tag) {
$alert_class = "success";
Expand Down
14 changes: 7 additions & 7 deletions sources/structure/admin/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
color: #787878;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $siteurl;?>assets/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script type="text/javascript">
$(document).ready(function() {
$('[data-toggle=collapse]').click(function() {
Expand All @@ -46,11 +46,11 @@ function goBack() {
</head>
<body>
<nav class="<?php echo $nav; ?> navbar-fixed-top mb-4" id="navbar">
<a class="navbar-brand" href="#"><?php echo $servername; ?></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse">
<a class="navbar-brand" href="#"><?php echo $servername;?></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item"><a class="nav-link" href="?base=main">Home</a></li>
<li class="nav-item"><a class="nav-link" href="?base=main&amp;page=download">Download</a></li>
Expand Down

0 comments on commit f1ceb37

Please sign in to comment.