Remove HTTPS warning

This commit is contained in:
Kane York 2015-08-03 15:09:51 -07:00
parent 1601f4f269
commit 7201823c6b
3 changed files with 0 additions and 16 deletions

View File

@ -29,14 +29,6 @@ export default Ember.ArrayController.extend({
return item || NoQuery;
}.property('selectedQueryId'),
not_https: function() {
return !(
window.location.protocol === "https:" ||
window.location.hostname === "localhost" ||
window.location.hostname.endsWith(".local")
);
}.property(),
othersDirty: function() {
const selected = this.get('selectedItem');
return !!this.get('content').find(function(q) {

View File

@ -1,12 +1,5 @@
<h2>Queries</h2>
{{#if not_https}}
<div class="https-warning">
{{fa-icon "warning"}}
{{i18n "explorer.https_warning"}}
</div>
{{/if}}
<div class="query-list">
{{combo-box valueAttribute="id" value=selectedQueryId nameProperty="listName" content=content castInteger="true" nameChanges="true"}}
{{d-button action="showCreate" icon="plus" class="no-text"}}

View File

@ -55,6 +55,5 @@ en:
explain_label: "Include query plan?"
save_params: "Set Defaults"
reset_params: "Reset"
https_warning: "This site is not protected by HTTPS. Please be careful to not retrieve sensitive information over insecure links."
no_queries: "There are no queries. Why not "
no_queries_hook: "create one?"