Open Links to external Urls (Docs) in new tab (#11227)

* Open Links to external Urls (Docs) in new tab
This commit is contained in:
SourceDoctor
2020-02-29 22:53:17 +01:00
committed by GitHub
parent 7254f13b26
commit 335a238349
8 changed files with 17 additions and 17 deletions

View File

@@ -22,7 +22,7 @@ if (!Auth::user()->hasGlobalAdmin()) {
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="Create">Alert Template :: <a href="https://docs.librenms.org/Alerting/Templates/"><i class="fa fa-book fa-1x"></i> Docs</a></h4>
<h4 class="modal-title" id="Create">Alert Template :: <a target="_blank" href="https://docs.librenms.org/Alerting/Templates/"><i class="fa fa-book fa-1x"></i> Docs</a></h4>
</div>
<div class="modal-body">
<div class="row">

View File

@@ -22,7 +22,7 @@ if (Auth::user()->hasGlobalAdmin()) {
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h5 class="modal-title" id="Edit-transport">Alert Transport :: <a href="https://docs.librenms.org/Alerting/">Docs <i class="fa fa-book fa-1x"></i></a> </h5>
<h5 class="modal-title" id="Edit-transport">Alert Transport :: <a target="_blank" href="https://docs.librenms.org/Alerting/">Docs <i class="fa fa-book fa-1x"></i></a> </h5>
</div>
<div class="modal-body">
<form method="post" role="form" id="transports" class="form-horizontal transports-form">

View File

@@ -20,7 +20,7 @@ if (Auth::user()->hasGlobalAdmin()) {
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h5 class="modal-title" id="Edit-transport">Alert Transport Groups :: <a href="https://docs.librenms.org/Alerting/">Docs <i class="fa fa-book fa-1x"></i></a> </h5>
<h5 class="modal-title" id="Edit-transport">Alert Transport Groups :: <a target="_blank" href="https://docs.librenms.org/Alerting/">Docs <i class="fa fa-book fa-1x"></i></a> </h5>
</div>
<div class="modal-body">
<form method="post" role="form" id="transport-group" class="form-horizontal transport-group-form">

View File

@@ -35,7 +35,7 @@ if (Auth::user()->hasGlobalAdmin()) {
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h5 class="modal-title" id="Create">Alert Rule :: <a href="https://docs.librenms.org/Alerting/"><i class="fa fa-book fa-1x"></i> Docs</a> </h5>
<h5 class="modal-title" id="Create">Alert Rule :: <a target="_blank" href="https://docs.librenms.org/Alerting/"><i class="fa fa-book fa-1x"></i> Docs</a> </h5>
</div>
<div class="modal-body">
<ul class="nav nav-tabs" role="tablist">

View File

@@ -11,7 +11,7 @@ if (!(Auth::user()->hasGlobalAdmin())) {
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h5 class="modal-title" id="Create">Custom OID :: <a href="https://docs.librenms.org/">Docs <i class="fa fa-book fa-1x"></i></a> </h5>
<h5 class="modal-title" id="Create">Custom OID :: <a target="_blank" href="https://docs.librenms.org/">Docs <i class="fa fa-book fa-1x"></i></a> </h5>
</div>
<div class="modal-body">
<form method="post" role="form" id="coids" class="form-horizontal coid_form">

View File

@@ -28,7 +28,7 @@
<table class='table table-condensed table-hover'>
<tr>
<td><b>@lang('Version')</b></td>
<td><a href='http://www.librenms.org/changelog.html'>{{ $version_local }}<span id='version_date' style="display: none;">{{ $git_date }}</span></a></td>
<td><a target="_blank" href='http://www.librenms.org/changelog.html'>{{ $version_local }}<span id='version_date' style="display: none;">{{ $git_date }}</span></a></td>
</tr>
<tr>
<td><b>@lang('Database Schema')</b></td>
@@ -56,13 +56,13 @@
<h3>@lang('LibreNMS is a community-based project')</h3>
@lang('Please feel free to join us and contribute code, documentation, and bug reports:')
<br>
<a href="http://www.librenms.org/">@lang('Web site')</a> |
<a href="https://docs.librenms.org/">@lang('Docs')</a> |
<a href="https://github.com/librenms/">@lang('GitHub')</a> |
<a href="https://community.librenms.org/c/help">@lang('Bug tracker')</a> |
<a href="https://community.librenms.org">@lang('Community Forum')</a> |
<a href="http://twitter.com/librenms">@lang('Twitter')</a> |
<a href="http://www.librenms.org/changelog.html">@lang('Changelog')</a> |
<a target="_blank" href="http://www.librenms.org/">@lang('Web site')</a> |
<a target="_blank" href="https://docs.librenms.org/">@lang('Docs')</a> |
<a target="_blank" href="https://github.com/librenms/">@lang('GitHub')</a> |
<a target="_blank" href="https://community.librenms.org/c/help">@lang('Bug tracker')</a> |
<a target="_blank" href="https://community.librenms.org">@lang('Community Forum')</a> |
<a target="_blank" href="http://twitter.com/librenms">@lang('Twitter')</a> |
<a target="_blank" href="http://www.librenms.org/changelog.html">@lang('Changelog')</a> |
<a href="#" data-toggle="modal" data-target="#git_log">@lang('Local git log')</a>
</p>
@@ -94,7 +94,7 @@
</span>
<input type="checkbox" id="callback" data-size="normal" name="statistics" @if($callback_status) checked @endif>
<br />
@lang('Online stats:') <a href='https://stats.librenms.org/'>stats.librenms.org</a>
@lang('Online stats:') <a target="_blank" href='https://stats.librenms.org/'>stats.librenms.org</a>
</td>
</tr>
@@ -185,7 +185,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>.</pre>
along with this program. If not, see <a target="_blank" href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>.</pre>
</div>
</div>

View File

@@ -72,7 +72,7 @@
<hr class="separator"/>
<p>Check your log for more details. (<i>!!!!LOG_FILE!!!!</i>)</p>
<p>If that doesn't fix the issue. You can find how to get help at <a href="https://docs.librenms.org/Support">https://docs.librenms.org/Support</a>.</p>
<p>If that doesn't fix the issue. You can find how to get help at <a target="_blank" href="https://docs.librenms.org/Support">https://docs.librenms.org/Support</a>.</p>
</div>
</body>

View File

@@ -70,7 +70,7 @@
<hr class="separator"/>
<p>@lang("Check your log for more details.") ({{ isset($log_file) ? $log_file : 'librenms.log' }})</p>
<p>@lang("If you need additional help, you can find how to get help at") <a href="https://docs.librenms.org/Support">https://docs.librenms.org/Support</a>.</p>
<p>@lang("If you need additional help, you can find how to get help at") <a target="_blank" href="https://docs.librenms.org/Support">https://docs.librenms.org/Support</a>.</p>
</div>
</body>
</html>