mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-09-05 08:45:11 +00:00
Updates
- Simplify build config - Add TTY check to Makefiles for running Docker containers - Update `fs2` to latest patch - Update `sbt-assembly` plugin - Update portal to remove chatty console - Update portal scripts to add license header - Update prepare-portal/Gruntfile to combine js and css where applicable - Remove unused gentelella files from final portal artifact - Add support for shared zones to quickstart/docker images - Consolidate built artifacts in `artifacts/` to make eventual release easier
This commit is contained in:
@@ -1,35 +1,39 @@
|
||||
var CURRENT_URL = window.location.href.split('#')[0].split('?')[0],
|
||||
$MENU_INDENT = $('#menu_indent'),
|
||||
/*
|
||||
* Copyright 2018 Comcast Cable Communications Management, LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the \"License\");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an \"AS IS\" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
const $MENU_INDENT = $('#menu_indent'),
|
||||
$MENU_DEDENT = $('#menu_dedent'),
|
||||
$MENU_MOBILE = $('#menu_mobile'),
|
||||
$BODY = $('body'),
|
||||
$SIDEBAR_MENU = $('#sidebar-menu');
|
||||
|
||||
$MENU_INDENT.on('click', function() {
|
||||
console.log('clicked - menu indent');
|
||||
console.log("HEEEEEEY!")
|
||||
$SIDEBAR_MENU.find('li.active-sm ul').show();
|
||||
$SIDEBAR_MENU.find('li.active-sm').addClass('active').removeClass('active-sm');
|
||||
|
||||
$SIDEBAR_MENU.find('li.active-sm ul').show();
|
||||
$SIDEBAR_MENU.find('li.active-sm').addClass('active').removeClass('active-sm');
|
||||
|
||||
|
||||
$BODY.addClass('nav-md').removeClass('nav-sm');
|
||||
$BODY.addClass('nav-md').removeClass('nav-sm');
|
||||
});
|
||||
|
||||
$MENU_DEDENT.on('click', function() {
|
||||
console.log('clicked - menu dedent');
|
||||
console.log("HEEEEEEY!")
|
||||
$SIDEBAR_MENU.find('li.active ul').hide();
|
||||
$SIDEBAR_MENU.find('li.active').addClass('active-sm').removeClass('active');
|
||||
|
||||
$SIDEBAR_MENU.find('li.active ul').hide();
|
||||
$SIDEBAR_MENU.find('li.active').addClass('active-sm').removeClass('active');
|
||||
|
||||
$BODY.addClass('nav-sm').removeClass('nav-md');
|
||||
$BODY.addClass('nav-sm').removeClass('nav-md');
|
||||
});
|
||||
|
||||
$MENU_MOBILE.on('click', function() {
|
||||
console.log('clicked - menu indent');
|
||||
console.log("HEEEEEEY!")
|
||||
|
||||
if ($BODY.hasClass('nav-md')) {
|
||||
$SIDEBAR_MENU.find('li.active ul').hide();
|
||||
$SIDEBAR_MENU.find('li.active').addClass('active-sm').removeClass('active');
|
||||
|
Reference in New Issue
Block a user