forked from mirrors/thatmattlove-hyperglass
improved tag visuals
This commit is contained in:
parent
e221f4be4a
commit
35ac7cb120
3 changed files with 11 additions and 7036 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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%)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue