Merge pull request #1415 from coreos-inc/relnoopener

Fix all target="_blank" anchors to be safer
This commit is contained in:
josephschorr 2016-04-28 14:40:09 -04:00
commit 5e407f019d
39 changed files with 76 additions and 66 deletions

View file

@ -54,16 +54,16 @@
<div class="row">
<div class="trusted-logos">
<div class="col-md-3 trusted-logo">
<a href="http://www.modcloth.com" target="_blank" alt="ModCloth"><img src="/static/img/modcloth-logo.png"></a>
<a href="http://www.modcloth.com" ng-safenewtab alt="ModCloth"><img src="/static/img/modcloth-logo.png"></a>
</div>
<div class="col-md-3 trusted-logo">
<a href="https://travis-ci.com" target="_blank" alt="Travis CI"><img src="/static/img/travisci-logo.png"></a>
<a href="https://travis-ci.com" ng-safenewtab alt="Travis CI"><img src="/static/img/travisci-logo.png"></a>
</div>
<div class="col-md-3 trusted-logo apptentive">
<a href="http://www.apptentive.com" target="_blank" alt="Apptentive"><img src="/static/img/apptentive-logo.svg"></a>
<a href="http://www.apptentive.com" ng-safenewtab alt="Apptentive"><img src="/static/img/apptentive-logo.svg"></a>
</div>
<div class="col-md-3 trusted-logo">
<a href="https://www.aptible.com" target="_blank" alt="Aptible"><img src="/static/img/aptible-logo.png" style="width: 200px;"></a>
<a href="https://www.aptible.com" ng-safenewtab alt="Aptible"><img src="/static/img/aptible-logo.png" style="width: 200px;"></a>
</div>
</div>
</div>
@ -129,7 +129,7 @@
<img src="/static/img/testimonial-mike.png">
<span class="speaker-info-internal">
<span class="speaker">Mike Saffitz</span>
<span class="speaker-title"><a href="http://www.apptentive.com" target="_blank" alt="Apptentive">Apptentive</a> - CTO & Co-Founder</span>
<span class="speaker-title"><a href="http://www.apptentive.com" ng-safenewtab alt="Apptentive">Apptentive</a> - CTO & Co-Founder</span>
</span>
</div>
<a class="learn-more" href="/tour">Learn more</a>

View file

@ -65,7 +65,7 @@
<div class="form-group nested">
<label for="fieldAppAvatar">Avatar E-mail (optional)</label>
<input type="email" class="form-control" id="fieldAppAvatar" placeholder="Avatar E-mail" ng-model="application.avatar_email">
<div class="description">An e-mail address representing the <a href="http://docs.quay.io/glossary/avatar" target="_blank">Avatar</a> for the application. See above for the icon.</div>
<div class="description">An e-mail address representing the <a href="http://docs.quay.io/glossary/avatar" ng-safenewtab>Avatar</a> for the application. See above for the icon.</div>
</div>
<div class="form-group nested" style="margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee;">
@ -122,7 +122,7 @@
<a class="btn btn-success"
href="{{ Config.getUrl('/oauth/authorize?response_type=token&client_id=' + application.client_id + '&scope=' + getScopes(genScopes).join(' ') + '&redirect_uri=' + Config.getUrl(Config['LOCAL_OAUTH_HANDLER'])) }}"
ng-disabled="!getScopes(genScopes).length" target="_blank">
ng-disabled="!getScopes(genScopes).length" ng-safenewtab>
Generate Access Token
</a>
</div>

View file

@ -72,7 +72,7 @@
Select a service above to view its local logs
<div>
<a class="btn btn-primary" href="/systemlogsarchive?_csrf_token={{ csrf_token }}" target="_blank">
<a class="btn btn-primary" href="/systemlogsarchive?_csrf_token={{ csrf_token }}" ng-safenewtab>
<i class="fa fa-download fa-lg" style="margin-right: 4px;"></i> Download All Local Logs (.tar.gz)
</a>
</div>