| | |
| | | <div class="refresh row btw"> |
| | | <span class="countdown row" title="Will refresh again...">5</span> |
| | | <button class="refreshNow row" title="Check now"> |
| | | <?= jvbIcon('refresh', ['title'=> 'Check now']) ?> |
| | | <?= jvbIcon('arrows-clockwise', ['title'=> 'Check now']) ?> |
| | | </button> |
| | | </div> |
| | | <div class="popup row"><span></span></div> |
| | |
| | | </div> |
| | | </aside> |
| | | <button class="qtoggle row" title="Show Queue" aria-controls="queue" hidden> |
| | | <?= jvbIcon('save') ?> |
| | | <?= jvbIcon('floppy-disk') ?> |
| | | <span class="screen-reader-text"></span> |
| | | <span class="indicator"></span> |
| | | <span class="count row"></span> |
| | |
| | | ?> |
| | | <li> |
| | | <a href="<?=get_home_url(null, '/dash/')?>" title="Behind the Scenes"> |
| | | <?= jvbIcon('dashboard', ['title' => 'Behind the Scenes'])?> |
| | | <?= jvbIcon('door', ['title' => 'Behind the Scenes'])?> |
| | | <span class="screen-reader-text">Go Behind the Scenes</span> |
| | | </a> |
| | | </li> |
| | |
| | | } |
| | | |
| | | $out = '<li class="has-submenu"> |
| | | <button class="toggle quick-help" type="button" title="Toggle Quick Help Menu" aria-expanded="false" aria-controls="quick-help" aria-label="Toggle Quick Help Menu">'.jvbIcon('help', ['title'=> 'Quick Help']).'</button> |
| | | <button class="toggle quick-help" type="button" title="Toggle Quick Help Menu" aria-expanded="false" aria-controls="quick-help" aria-label="Toggle Quick Help Menu">'.jvbIcon('question', ['title'=> 'Quick Help']).'</button> |
| | | <ul class="submenu"> |
| | | '.$links.' |
| | | </ul> |
| | |
| | | } |
| | | |
| | | if (is_user_logged_in()) { |
| | | $out .= '<li><a href="'.wp_logout_url(get_home_url()).'" title="Logout">'.jvbIcon('logout').'<span class="screen-reader-text">Logout</span></a></li>'; |
| | | $out .= '<li><a href="'.wp_logout_url(get_home_url()).'" title="Logout">'.jvbIcon('sign-out').'<span class="screen-reader-text">Logout</span></a></li>'; |
| | | } else { |
| | | $out .= '<li><a href="'.wp_login_url(null, true).'" title="Login">'.jvbIcon('login').'<span class="screen-reader-text">Login</span></a></li>'; |
| | | $out .= '<li><a href="'.wp_login_url(null, true).'" title="Login">'.jvbIcon('sign-in').'<span class="screen-reader-text">Login</span></a></li>'; |
| | | } |
| | | return $out; |
| | | } |
| | |
| | | aria-label="Clear search" |
| | | onclick="this.previousElementSibling.value = \'\'; this.previousElementSibling.focus();" |
| | | >'.jvbIcon('x', ['title'=> 'Clear Search']).'</button> |
| | | <button type="button" title="Search" class="toggle search" aria-label="Toggles search input visually" onclick="this.parentNode.classList.toggle(\'open\');this.previousElementSibling.previousElementSibling.focus();">'.jvbIcon('search').'</button> |
| | | <button type="button" title="Search" class="toggle search" aria-label="Toggles search input visually" onclick="this.parentNode.classList.toggle(\'open\');this.previousElementSibling.previousElementSibling.focus();">'.jvbIcon('magnifying-glass').'</button> |
| | | </div>'; |
| | | } |
| | | |
| | |
| | | function jvbModalActions() |
| | | { |
| | | return '<div class="m-actions row"> |
| | | <button type="button" class="cancel">'.jvbIcon('close').'<span class="screen-reader-text">Cancel</span></button> |
| | | <button type="submit" class="save">'.jvbIcon('save').'<span class="screen-reader-text">Save</span></button> |
| | | <button type="button" class="cancel">'.jvbIcon('x').'<span class="screen-reader-text">Cancel</span></button> |
| | | <button type="submit" class="save">'.jvbIcon('floppy-disk').'<span class="screen-reader-text">Save</span></button> |
| | | </div>'; |
| | | } |
| | | |
| | |
| | | <div class="toast-content row btw"> |
| | | <p></p> |
| | | <button type="button" class="close-toast" aria-label="Close"> |
| | | <?= jvbIcon('close') ?> |
| | | <?= jvbIcon('x') ?> |
| | | </button> |
| | | </div> |
| | | </div> |
| | |
| | | <nav id="<?=$id?>" class="on-this-page index"> |
| | | <label>Jump to: |
| | | <button type="button" aria-label="Show Index" title="Show Index" class="toggle" aria-expanded="false"> |
| | | <?= jvbIcon('add') ?> |
| | | <?= jvbIcon('plus-square') ?> |
| | | </button> |
| | | </label> |
| | | <ul> |
| | | <li> |
| | | <a href="#top" title="Back to Top"> |
| | | <?= jvbIcon('up') ?> |
| | | <?= jvbIcon('caret-circle-up') ?> |
| | | </a> |
| | | </li> |
| | | <?php |
| | |
| | | <div class="col"> |
| | | <div class="spinner"></div> |
| | | <div class="status col"> |
| | | <div class="icon">'.apply_filters('jvbLoadingIcon', jvbIcon('tattoo')).'</div> |
| | | <div class="icon">'.apply_filters('jvbLoadingIcon', jvbIcon('drop-simple')).'</div> |
| | | <h3>Loading</h3> |
| | | <p class="typeText">Please wait...</p> |
| | | </div> |
| | |
| | | <span>Start Over</span> |
| | | </button> |
| | | <button type="button" data-action="dismiss-restore"> |
| | | '.jvbIcon('close').' |
| | | '.jvbIcon('x').' |
| | | <span>Dismiss</span> |
| | | </button> |
| | | </div> |