Compare commits
1 Commits
master
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
771e9a0d7f |
@@ -27,7 +27,7 @@ The tables and graphs have a horizontal scroll on mobile when the viewport becom
|
|||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
1. First install the YOURLS scripts and database.
|
1. First install the YOURLS scripts and database.
|
||||||
2. Download or clone this repo into the plugins folder in your YOURLS install `user/plugins/`. Make sure the folder is called `air66theme` to reduce potential issues.
|
2. Download or clone this repo into the plugins folder in your YOURLS install `user/plugins/`.
|
||||||
3. Login into the admin area of YOURLS and activate the plugin.
|
3. Login into the admin area of YOURLS and activate the plugin.
|
||||||
4. The Air 66 Admin Theme is now active.
|
4. The Air 66 Admin Theme is now active.
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ $( document ).ready(function() {
|
|||||||
// Update footer
|
// Update footer
|
||||||
var content = $(this).html();
|
var content = $(this).html();
|
||||||
var i = 77
|
var i = 77
|
||||||
var updated_content = "Running on " + content.slice(13, i) + ' & <a href="https://air66design.com/" title="Air 66 Design Ltd" target="_blank">Air 66 Design Ltd</a>' + content.slice(i)
|
var updated_content = "Running on" + content.slice(13, i) + '& <a href="https://air66design.com/" title="Air 66 Design Ltd" target="_blank">Air 66 Design Ltd</a>' + content.slice(i-1)
|
||||||
$(this).html(updated_content);
|
$(this).html(updated_content);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
2
dist/main.js
vendored
2
dist/main.js
vendored
@@ -1 +1 @@
|
|||||||
$(document).ready(function(){var a;a=$("meta[name=pluginURL]").attr("content")?$("meta[name=pluginURL]").attr("content"):"/user/plugins/air66theme",$("body").hasClass("login")&&$("#login").prepend('<img class="air66-logo" src="'+a+'/dist/images/a66-logo.svg" alt="Air 66 Design Ltd Logo">'),$("header[role=banner]").hide(),$("header[role=banner]").remove(),$("#admin_menu_help_link").remove(),$("#admin_menu").append('<li class="admin_menu_toplevel"><a href="https://air66design.com" target="_blank">Contact Air 66 Design</a></li>'),$("body").prepend($('<header class="site-header">').load(a+"/dist/html/header.php",function(){if($(".site-header").append('<div class="air66-logo-wrap"><a class="air66-logo-link" href="https://air66design.com" target="_blank"><img class="air66-logo" src="'+a+'/dist/images/a66-logo-wh.svg" alt="Air 66 Design Ltd Logo"></a></div>'),$("body").prepend('<div class="nav-overlay"></div>'),$("#menu-icon").click(function(){$(this).toggleClass("open"),$("nav, .nav-overlay").toggleClass("nav-open")}),$("body").hasClass("index")){$("#new_url").hide();var e=$("#nonce-add").val();$("#new_url").remove(),$(".index").prepend($('<div class="form-wrap">').load(a+"/dist/html/form.php",function(){$("#nonce-add").val(e)}))}})),$('link[rel="shortcut icon"]').attr("href",a+"/dist/images/favicon.ico"),$("#main_table").wrap("<div class='table-responsive'></div>"),$("#main_table").addClass("table"),$("p").each(function(e){if(/Display/.test($(this).text())||/Overall/.test($(this).text()))$("main").append("<p>"+$(this).html()+"</p>"),$(this).remove();else if(/Powered by/.test($(this).text())){var a=$(this).html(),t="Running on "+a.slice(13,77)+' & <a href="https://air66design.com/" title="Air 66 Design Ltd" target="_blank">Air 66 Design Ltd</a>'+a.slice(77);$(this).html(t)}}),$("#stat_tab_stats, #stat_tab_location, #stat_tab_sources, #stat_tab_share").wrapAll('<div class="tab-scroll"></div>'),$("#admin_menu_help_link").remove()});
|
$(document).ready(function(){var a;a=$("meta[name=pluginURL]").attr("content")?$("meta[name=pluginURL]").attr("content"):"/user/plugins/air66Theme",$("body").hasClass("login")&&$("#login").prepend('<img class="air66-logo" src="'+a+'/dist/images/a66-logo.svg" alt="Air 66 Design Ltd Logo">'),$("header[role=banner]").hide(),$("header[role=banner]").remove(),$("#admin_menu_help_link").remove(),$("#admin_menu").append('<li class="admin_menu_toplevel"><a href="https://air66design.com" target="_blank">Contact Air 66 Design</a></li>'),$("body").prepend($('<header class="site-header">').load(a+"/dist/html/header.php",function(){if($(".site-header").append('<div class="air66-logo-wrap"><a class="air66-logo-link" href="https://air66design.com" target="_blank"><img class="air66-logo" src="'+a+'/dist/images/a66-logo-wh.svg" alt="Air 66 Design Ltd Logo"></a></div>'),$("body").prepend('<div class="nav-overlay"></div>'),$("#menu-icon").click(function(){$(this).toggleClass("open"),$("nav, .nav-overlay").toggleClass("nav-open")}),$("body").hasClass("index")){$("#new_url").hide();var e=$("#nonce-add").val();$("#new_url").remove(),$(".index").prepend($('<div class="form-wrap">').load(a+"/dist/html/form.php",function(){$("#nonce-add").val(e)}))}})),$('link[rel="shortcut icon"]').attr("href",a+"/dist/images/favicon.ico"),$("#main_table").wrap("<div class='table-responsive'></div>"),$("#main_table").addClass("table"),$("p").each(function(e){if(/Display/.test($(this).text())||/Overall/.test($(this).text()))$("main").append("<p>"+$(this).html()+"</p>"),$(this).remove();else if(/Powered by/.test($(this).text())){var a=$(this).html(),t="Running on"+a.slice(13,77)+'& <a href="https://air66design.com/" title="Air 66 Design Ltd" target="_blank">Air 66 Design Ltd</a>'+a.slice(76);$(this).html(t)}}),$("#stat_tab_stats, #stat_tab_location, #stat_tab_sources, #stat_tab_share").wrapAll('<div class="tab-scroll"></div>'),$("#admin_menu_help_link").remove()});
|
||||||
47
package-lock.json
generated
47
package-lock.json
generated
@@ -1809,7 +1809,8 @@
|
|||||||
"ansi-regex": {
|
"ansi-regex": {
|
||||||
"version": "2.1.1",
|
"version": "2.1.1",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"aproba": {
|
"aproba": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
@@ -1830,12 +1831,14 @@
|
|||||||
"balanced-match": {
|
"balanced-match": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"brace-expansion": {
|
"brace-expansion": {
|
||||||
"version": "1.1.11",
|
"version": "1.1.11",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"balanced-match": "^1.0.0",
|
"balanced-match": "^1.0.0",
|
||||||
"concat-map": "0.0.1"
|
"concat-map": "0.0.1"
|
||||||
@@ -1850,17 +1853,20 @@
|
|||||||
"code-point-at": {
|
"code-point-at": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"concat-map": {
|
"concat-map": {
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"console-control-strings": {
|
"console-control-strings": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"core-util-is": {
|
"core-util-is": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
@@ -1977,7 +1983,8 @@
|
|||||||
"inherits": {
|
"inherits": {
|
||||||
"version": "2.0.3",
|
"version": "2.0.3",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"ini": {
|
"ini": {
|
||||||
"version": "1.3.5",
|
"version": "1.3.5",
|
||||||
@@ -1989,6 +1996,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"number-is-nan": "^1.0.0"
|
"number-is-nan": "^1.0.0"
|
||||||
}
|
}
|
||||||
@@ -2003,6 +2011,7 @@
|
|||||||
"version": "3.0.4",
|
"version": "3.0.4",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"brace-expansion": "^1.1.7"
|
"brace-expansion": "^1.1.7"
|
||||||
}
|
}
|
||||||
@@ -2010,12 +2019,14 @@
|
|||||||
"minimist": {
|
"minimist": {
|
||||||
"version": "0.0.8",
|
"version": "0.0.8",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"minipass": {
|
"minipass": {
|
||||||
"version": "2.3.5",
|
"version": "2.3.5",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"safe-buffer": "^5.1.2",
|
"safe-buffer": "^5.1.2",
|
||||||
"yallist": "^3.0.0"
|
"yallist": "^3.0.0"
|
||||||
@@ -2034,6 +2045,7 @@
|
|||||||
"version": "0.5.1",
|
"version": "0.5.1",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"minimist": "0.0.8"
|
"minimist": "0.0.8"
|
||||||
}
|
}
|
||||||
@@ -2114,7 +2126,8 @@
|
|||||||
"number-is-nan": {
|
"number-is-nan": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"object-assign": {
|
"object-assign": {
|
||||||
"version": "4.1.1",
|
"version": "4.1.1",
|
||||||
@@ -2126,6 +2139,7 @@
|
|||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"wrappy": "1"
|
"wrappy": "1"
|
||||||
}
|
}
|
||||||
@@ -2211,7 +2225,8 @@
|
|||||||
"safe-buffer": {
|
"safe-buffer": {
|
||||||
"version": "5.1.2",
|
"version": "5.1.2",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"safer-buffer": {
|
"safer-buffer": {
|
||||||
"version": "2.1.2",
|
"version": "2.1.2",
|
||||||
@@ -2247,6 +2262,7 @@
|
|||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"code-point-at": "^1.0.0",
|
"code-point-at": "^1.0.0",
|
||||||
"is-fullwidth-code-point": "^1.0.0",
|
"is-fullwidth-code-point": "^1.0.0",
|
||||||
@@ -2266,6 +2282,7 @@
|
|||||||
"version": "3.0.1",
|
"version": "3.0.1",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"ansi-regex": "^2.0.0"
|
"ansi-regex": "^2.0.0"
|
||||||
}
|
}
|
||||||
@@ -2309,12 +2326,14 @@
|
|||||||
"wrappy": {
|
"wrappy": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"yallist": {
|
"yallist": {
|
||||||
"version": "3.0.3",
|
"version": "3.0.3",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2768,9 +2787,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hosted-git-info": {
|
"hosted-git-info": {
|
||||||
"version": "2.7.1",
|
"version": "2.8.9",
|
||||||
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz",
|
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
|
||||||
"integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==",
|
"integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"hsl-regex": {
|
"hsl-regex": {
|
||||||
|
|||||||
Reference in New Issue
Block a user