mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
Moved regex note to tooltip
This commit is contained in:
parent
a7ec0c14f7
commit
6a3cd83efc
@ -400,8 +400,8 @@ $(document).ready(function() {
|
|||||||
window.addEventListener('hashchange', headerOffsetScroll);
|
window.addEventListener('hashchange', headerOffsetScroll);
|
||||||
|
|
||||||
// Offset between the preview window and the window edges
|
// Offset between the preview window and the window edges
|
||||||
const IMAGE_PREVIEW_OFFSET_X = 20
|
const IMAGE_PREVIEW_OFFSET_X = 20;
|
||||||
const IMAGE_PREVIEW_OFFSET_Y = 10
|
const IMAGE_PREVIEW_OFFSET_Y = 10;
|
||||||
|
|
||||||
// Preview an image attachment when the link is hovered over
|
// Preview an image attachment when the link is hovered over
|
||||||
$('a.image-preview').on('mouseover', function(e) {
|
$('a.image-preview').on('mouseover', function(e) {
|
||||||
@ -435,6 +435,6 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
// Fade the image out; it will be deleted when another one is previewed
|
// Fade the image out; it will be deleted when another one is previewed
|
||||||
$('a.image-preview').on('mouseout', function() {
|
$('a.image-preview').on('mouseout', function() {
|
||||||
$('#image-preview-window').fadeOut('fast')
|
$('#image-preview-window').fadeOut('fast');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -557,7 +557,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2 pull-right noprint">
|
<div class="col-md-2 pull-right noprint">
|
||||||
<input class="form-control interface-filter" type="text" placeholder="Filter (RegExp)" style="height: 23px" />
|
<input class="form-control interface-filter" type="text" placeholder="Filter" title="RegEx-enabled" style="height: 23px" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table id="interfaces_table" class="table table-hover table-headings panel-body component-list">
|
<table id="interfaces_table" class="table table-hover table-headings panel-body component-list">
|
||||||
|
@ -255,7 +255,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2 pull-right noprint">
|
<div class="col-md-2 pull-right noprint">
|
||||||
<input class="form-control interface-filter" type="text" placeholder="Filter (RegExp)" style="height: 23px" />
|
<input class="form-control interface-filter" type="text" placeholder="Filter" title="RegEx-enabled" style="height: 23px" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table id="interfaces_table" class="table table-hover table-headings panel-body component-list">
|
<table id="interfaces_table" class="table table-hover table-headings panel-body component-list">
|
||||||
|
Loading…
Reference in New Issue
Block a user