improved tag visuals

This commit is contained in:
checktheroads 2019-05-27 08:10:49 -07:00
parent e221f4be4a
commit 35ac7cb120
3 changed files with 11 additions and 7036 deletions

File diff suppressed because it is too large Load diff

View file

@ -96,7 +96,6 @@ $('#lgForm').on('submit', function() {
$('#ipprefix_error').hide()
$('#ipprefix').removeClass('is-danger')
if (cmd == 'bgp_route' && ipv6_host.test(ipprefix) == true && requiresIP6Cidr == true) {
console.log('matched requires ipv6 cidr')
$('#ipprefix_error').show()
$('#ipprefix').addClass('is-danger')
$('#ipprefix_error').html(`
@ -180,7 +179,8 @@ $('#lgForm').on('submit', function() {
var submitForm = function() {
progress.hide();
var cmd = $('#cmd option:selected').val();
var cmdtitle = cmd.replace('_', ': ');
// var cmdtitle = cmd.replace('_', ': ');
var cmdtitle = $('#cmd option:selected').text();
var network = $('#network option:selected').val();
var router = $('#router option:selected').val();
var routername = $('#router option:selected').text();

View file

@ -43,21 +43,21 @@ a.navbar-item:hover
.tag.lg-tag-loctitle
background-color: $lg-tag-loctitle
color: findColorInvert($lg-tag-loctitle)
.tag.lg-tag-cmd
background-color: $lg-tag-cmd
color: findColorInvert($lg-tag-cmd)
font-family: $family-monospace
.tag.lg-tag-cmdtitle
background-color: $lg-tag-cmdtitle
color: findColorInvert($lg-tag-cmdtitle)
font-family: $family-monospace
.tag.lg-tag-loc
background-color: $lg-tag-loc
color: findColorInvert($lg-tag-loc)
.tag.lg-tag-cmdtitle
background-color: $lg-tag-cmdtitle
color: findColorInvert($lg-tag-cmdtitle)
.tag.lg-tag-cmd
background-color: $lg-tag-cmd
color: findColorInvert($lg-tag-cmd)
font-family: $family-monospace
.progress.lg-progressbar:indeterminate
background-image: linear-gradient(to right,$lg-progressbar 30%,$grey-lighter 30%)