1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-29 12:00:11 -07:00

Cleaned up styles and settings

This commit is contained in:
Andrew Van Tassel 2016-06-11 17:55:52 -06:00
parent a4ad63de5d
commit f6419889ed
24 changed files with 130 additions and 212 deletions

View File

@ -3,8 +3,7 @@
## [1.0.8] - 2016-5-25 ## [1.0.8] - 2016-5-25
### Added ### Added
- Sponsorship logic - Styles Updates
- New logo
- SSL Default - SSL Default
## [1.0.7] - 2015-11-13 ## [1.0.7] - 2015-11-13

View File

@ -162,7 +162,7 @@ mailHops.getRoute = function(){
var received_ips; var received_ips;
var all_ips = new Array(); var all_ips = new Array();
var rline=''; var rline = '';
//empty secure //empty secure
mailHops.message.secure = []; mailHops.message.secure = [];
@ -170,7 +170,7 @@ mailHops.getRoute = function(){
mailHopsDisplay.lists( headListUnsubscribe ); mailHopsDisplay.lists( headListUnsubscribe );
} }
if(mailHops.options.show_lists){ if(mailHops.options.show_auth){
mailHopsDisplay.auth( headXMailer, headUserAgent, headXMimeOLE, headAuth, headReceivedSPF ); mailHopsDisplay.auth( headXMailer, headUserAgent, headXMimeOLE, headAuth, headReceivedSPF );
} }

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://mailhops/skin/pb-styles.css" type="text/css"?>
<dialog id="mailHopsMap" <dialog id="mailHopsMap"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
@ -10,12 +11,12 @@
buttonlabelcancel="Close"> buttonlabelcancel="Close">
<iframe id="mailhops_iframe" flex="1" width="1024" height="768" style="overflow:hidden;" type="content"></iframe> <iframe id="mailhops_iframe" flex="1" width="1024" height="768" style="overflow:hidden;" type="content"></iframe>
<script> <script>
function loadMap(){ function loadMap(){
var args = window.arguments[0]; var args = window.arguments[0];
document.getElementById('mailhops_iframe').setAttribute('src',args.src); document.getElementById('mailhops_iframe').setAttribute('src',args.src);
} }
</script> </script>
</dialog> </dialog>

View File

@ -4,7 +4,6 @@ var mailHopsDisplay =
resultTextDataPane2: null, resultTextDataPane2: null,
resultTextDataPane3: null, resultTextDataPane3: null,
resultContainerDataPane: null, resultContainerDataPane: null,
resultDetailsLink: null,
resultContainerDetails: null, resultContainerDetails: null,
resultDetails: null, resultDetails: null,
resultMapLink: null, resultMapLink: null,
@ -23,49 +22,37 @@ var mailHopsDisplay =
this.options = options; this.options = options;
this.resultContainerDataPane = document.getElementById ( "mailhopsDataPane"); this.resultContainerDataPane = document.getElementById ( "mailhopsDataPane");
this.resultTextDataPane = document.getElementById ( "mailhopsDataPaneText"); this.resultTextDataPane = document.getElementById ( "mailhopsDataPaneText");
this.resultTextDataPane2 = document.getElementById ( "mailhopsDataPaneText2"); this.resultTextDataPane2 = document.getElementById ( "mailhopsDataPaneText2");
this.resultTextDataPane3 = document.getElementById ( "mailhopsDataPaneText3"); this.resultTextDataPane3 = document.getElementById ( "mailhopsDataPaneText3");
this.resultDetailsLink = document.getElementById ( "mailhopsDataPaneDetailsLink"); this.resultContainerDetails = document.getElementById ( "mailhopsDetailsContainer");
this.resultContainerDetails = document.getElementById ( "mailhopsDetailsContainer"); this.resultDetails = document.getElementById ( "mailhopsDataPaneDetails");
this.resultDetails = document.getElementById ( "mailhopsDataPaneDetails"); this.resultMeta = document.getElementById ( "mailhopsDataPaneMeta");
this.resultMeta = document.getElementById ( "mailhopsDataPaneMeta"); this.resultMapLink = document.getElementById ( "mailhopsDataPaneMapLink");
this.resultMapLink = document.getElementById ( "mailhopsDataPaneMapLink");
//auth //auth
this.mailhopsAuthContainer = document.getElementById ( "dataPaneMailHopsAuthContainer"); this.mailhopsAuthContainer = document.getElementById ( "dataPaneMailHopsAuthContainer");
this.mailhopsDataPaneSPF = document.getElementById ( "mailhopsDataPaneSPF"); this.mailhopsDataPaneSPF = document.getElementById ( "mailhopsDataPaneSPF");
this.mailhopsDataPaneDKIM = document.getElementById ( "mailhopsDataPaneDKIM"); this.mailhopsDataPaneDKIM = document.getElementById ( "mailhopsDataPaneDKIM");
this.mailhopsDataPaneMailer = document.getElementById ( "mailhopsDataPaneMailer"); this.mailhopsDataPaneMailer = document.getElementById ( "mailhopsDataPaneMailer");
this.mailhopsDataPaneDNSBL = document.getElementById ( "mailhopsDataPaneDNSBL"); this.mailhopsDataPaneDNSBL = document.getElementById ( "mailhopsDataPaneDNSBL");
//list //list
this.mailhopsListContainer = document.getElementById ( "dataPaneMailHopsListContainer"); this.mailhopsListContainer = document.getElementById ( "dataPaneMailHopsListContainer");
this.resultListDataPane = document.getElementById ( "mailhopsListDataPane"); this.resultListDataPane = document.getElementById ( "mailhopsListDataPane");
if(this.options.show_meta) if(this.options.show_meta)
document.getElementById('dataPaneMailHopsMetaContainer').style.display=''; document.getElementById('dataPaneMailHopsMetaContainer').style.display='';
else else
document.getElementById('dataPaneMailHopsMetaContainer').style.display='none'; document.getElementById('dataPaneMailHopsMetaContainer').style.display='none';
//event listner for route click to launch map //event listner for route click to launch map
this.resultMapLink.addEventListener("click", function () { this.resultMapLink.addEventListener("click", function () {
if(this.hasAttribute("data-route")) if(this.hasAttribute("data-route"))
mailHopsUtils.launchMap( String(this.getAttribute("data-route")), options ); mailHopsUtils.launchMap( String(this.getAttribute("data-route")), options );
}); });
var resultContainerDetails = this.resultContainerDetails;
this.resultDetailsLink.addEventListener("click", function () {
if(resultContainerDetails.style.display=='none'){
resultContainerDetails.style.display = 'block';
this.setAttribute('class','text-link dataPaneMoreLink active');
} else {
resultContainerDetails.style.display = 'none';
this.setAttribute('class','text-link dataPaneMoreLink');
}
});
this.mailhopsDataPaneDNSBL.addEventListener("click", function () { this.mailhopsDataPaneDNSBL.addEventListener("click", function () {
if(this.hasAttribute('data-ip')) if(this.hasAttribute('data-ip'))
mailHopsUtils.launchSpamHausURL(this.getAttribute('data-ip')); mailHopsUtils.launchSpamHausURL(this.getAttribute('data-ip'));
@ -238,32 +225,36 @@ var mailHopsDisplay =
clear: function(no_ips){ clear: function(no_ips){
this.resultTextDataPane2.style.display = 'none'; this.resultTextDataPane2.style.display = 'none';
this.resultContainerDetails.style.display = 'none'; this.resultContainerDetails.style.display = 'none';
this.resultDetailsLink.style.display = 'none'; this.resultMapLink.style.display = 'none';
this.resultMapLink.style.display = 'none'; this.mailhopsDataPaneDNSBL.style.display = 'none';
this.mailhopsDataPaneDNSBL.style.display = 'none';
if(no_ips){ if(no_ips){
this.resultTextDataPane.style.backgroundImage = 'url(chrome://mailhops/content/images/help.png)'; this.resultTextDataPane.style.backgroundImage = 'url(chrome://mailhops/content/images/help.png)';
this.resultTextDataPane.value = ' No IPs'; this.resultTextDataPane.value = ' No IPs';
this.resultTextDataPane.setAttribute('tooltiptext','There were no received headers found'); this.resultTextDataPane.setAttribute('tooltiptext','There were no received headers found');
} else { } else {
this.resultTextDataPane.style.backgroundImage = 'url(chrome://mailhops/content/images/loader.gif)'; this.resultTextDataPane.style.backgroundImage = 'url(chrome://mailhops/content/images/loader.gif)';
this.resultTextDataPane.value = ' Looking Up Route'; this.resultTextDataPane.value = ' Looking Up Route';
this.resultTextDataPane.setAttribute('tooltiptext','Looking Up Route'); this.resultTextDataPane.setAttribute('tooltiptext','Looking Up Route');
} }
this.resultTextDataPane2.value = ''; this.resultTextDataPane2.value = '';
this.resultTextDataPane2.style.backgroundImage = ''; this.resultTextDataPane2.style.backgroundImage = '';
this.resultTextDataPane2.setAttribute('tooltiptext',''); this.resultTextDataPane2.setAttribute('tooltiptext','');
this.resultTextDataPane3.style.display = 'none'; this.resultTextDataPane3.style.display = 'none';
this.resultTextDataPane3.value = ''; this.resultTextDataPane3.value = '';
//remove child details //remove child details
while(this.resultDetails.firstChild) { while(this.resultDetails.firstChild) {
this.resultDetails.removeChild(this.resultDetails.firstChild); this.resultDetails.removeChild(this.resultDetails.firstChild);
} }
if(this.options.show_meta){
while(this.resultMeta.firstChild) {
this.resultMeta.removeChild(this.resultMeta.firstChild);
}
}
}, },
route: function(header_route, message, response, meta, lookup_url){ route: function(header_route, message, response, meta, lookup_url){
@ -282,10 +273,7 @@ var mailHopsDisplay =
//append meta //append meta
if(this.options.show_meta){ if(this.options.show_meta){
while(this.resultMeta.firstChild) { for(var index in meta){
this.resultMeta.removeChild(this.resultMeta.firstChild);
}
for(var index in meta){
var mlabel = document.createElement('label'); var mlabel = document.createElement('label');
mlabel.setAttribute('value',index+': '+meta[index]); mlabel.setAttribute('value',index+': '+meta[index]);
this.resultMeta.appendChild(mlabel); this.resultMeta.appendChild(mlabel);
@ -466,17 +454,8 @@ var mailHopsDisplay =
} }
//show the detail link //show the detail link
this.resultDetailsLink.style.display = 'block';
this.resultMapLink.style.display = 'block'; this.resultMapLink.style.display = 'block';
//show details by default this.resultContainerDetails.style.display = 'block';
if(this.options.show_details){
this.resultContainerDetails.style.display = 'block';
this.resultDetailsLink.setAttribute('class','text-link dataPaneMoreLink active');
}
else{
this.resultContainerDetails.style.display = 'none';
this.resultDetailsLink.setAttribute('class','text-link dataPaneMoreLink');
}
} //end route } //end route
}; };

View File

@ -3,7 +3,7 @@
<?xml-stylesheet href="chrome://mailhops/skin/pb-styles.css" type="text/css"?> <?xml-stylesheet href="chrome://mailhops/skin/pb-styles.css" type="text/css"?>
<overlay id="mailhopsOverlay" <overlay id="mailhopsOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"> xmlns:html="http://www.w3.org/1999/xhtml">
@ -12,33 +12,32 @@
<script type="application/x-javascript" src="chrome://mailhops/content/mailhops.js"/> <script type="application/x-javascript" src="chrome://mailhops/content/mailhops.js"/>
<vbox id="dataPane2"> <vbox id="dataPane2">
<vbox id="dataPaneMailHopsContainer" class="dataPaneBox"> <vbox id="dataPaneMailHopsContainer" class="dataPaneBox">
<hbox flex="1" pack="start" align="center"> <hbox flex="1" pack="start" align="center">
<label class="dataPaneHeader" crop="right" value="&mailhops_header_route_label;"></label> <label class="dataPaneHeader" crop="right" value="&mailhops_header_route_label;"></label>
<separator class="dataPaneBoxSeparator" flex="1"></separator> <separator class="dataPaneBoxSeparator" flex="1"></separator>
</hbox> </hbox>
<hbox class="mailHopsLinkContainer">
<vbox><button id="mailhopsDataPaneMapLink" class="navButton">&mailhops_route_nav_map_label;</button></vbox>
<vbox><button id="mailhopsDataPaneRefreshLink" class="navButton">&mailhops_route_nav_refresh_label;</button></vbox>
<vbox><button id="mailhopsDataPanePrefsLink" class="navButton">&mailhops_route_nav_options_label;</button></vbox>
</hbox>
<vbox id="mailhopsDataPane" flex="1"> <vbox id="mailhopsDataPane" flex="1">
<label id="mailhopsDataPaneText" class="dataPaneAddressitem" tooltiptext=""></label> <label id="mailhopsDataPaneText" class="dataPaneAddressitem" tooltiptext=""></label>
<label id="mailhopsDataPaneText2" class="dataPaneAddressitem" tooltiptext=""></label> <label id="mailhopsDataPaneText2" class="dataPaneAddressitem" tooltiptext=""></label>
<label id="mailhopsDataPaneText3" class="dataPaneAddressitem" tooltiptext=""></label> <label id="mailhopsDataPaneText3" class="dataPaneAddressitem" tooltiptext=""></label>
</vbox> </vbox>
<hbox class="mailHopsLinkContainer">
<vbox><label id="mailhopsDataPaneMapLink" class="text-link dataPaneMoreLink" value="&mailhops_route_nav_map_label;" tooltiptext="&mailhops_route_nav_map_tip;"></label></vbox>
<vbox><label id="mailhopsDataPaneDetailsLink" class="text-link dataPaneMoreLink" value="&mailhops_route_nav_details_label;" tooltiptext="&mailhops_route_nav_details_tip;"></label></vbox>
<vbox><label id="mailhopsDataPaneRefreshLink" class="text-link dataPaneMoreLink" value="&mailhops_route_nav_refresh_label;" tooltiptext="&mailhops_route_nav_refresh_tip;"></label></vbox>
<vbox><label id="mailhopsDataPanePrefsLink" class="text-link dataPaneMoreLink" value="&mailhops_route_nav_options_label;" tooltiptext="&mailhops_route_nav_options_tip;"></label></vbox>
</hbox>
<hbox id="mailhopsDetailsContainer" class="mailhopsContainer"> <hbox id="mailhopsDetailsContainer" class="mailhopsContainer">
<vbox id="mailhopsDataPaneDetails" flex="1"> <vbox id="mailhopsDataPaneDetails" flex="1">
</vbox> </vbox>
</hbox> </hbox>
</vbox> </vbox>
<vbox id="dataPaneMailHopsAuthContainer" class="dataPaneBox"> <vbox id="dataPaneMailHopsAuthContainer" class="dataPaneBox">
<hbox flex="1" pack="start" align="center"> <hbox flex="1" pack="start" align="center">
<label class="dataPaneHeader" crop="right" value="&mailhops_header_auth_label;"></label> <label class="dataPaneHeader" crop="right" value="&mailhops_header_auth_label;"></label>
<separator class="dataPaneBoxSeparator" flex="1"></separator> <separator class="dataPaneBoxSeparator" flex="1"></separator>
@ -50,24 +49,24 @@
<label id="mailhopsDataPaneDKIM" class="dataPaneAddressitem auth-item" value="" tooltiptext="DKIM"></label> <label id="mailhopsDataPaneDKIM" class="dataPaneAddressitem auth-item" value="" tooltiptext="DKIM"></label>
<label id="mailhopsDataPaneDNSBL" class="text-link dataPaneAddressitem auth-item" value="" tooltiptext="DNSBL"></label> <label id="mailhopsDataPaneDNSBL" class="text-link dataPaneAddressitem auth-item" value="" tooltiptext="DNSBL"></label>
</vbox> </vbox>
</vbox> </vbox>
<vbox id="dataPaneMailHopsListContainer" class="dataPaneBox"> <vbox id="dataPaneMailHopsListContainer" class="dataPaneBox">
<hbox flex="1" pack="start" align="center"> <hbox flex="1" pack="start" align="center">
<label class="dataPaneHeader" crop="right" value="&mailhops_header_lists_label;"></label> <label class="dataPaneHeader" crop="right" value="&mailhops_header_lists_label;"></label>
<separator class="dataPaneBoxSeparator" flex="1"></separator> <separator class="dataPaneBoxSeparator" flex="1"></separator>
</hbox> </hbox>
<vbox id="mailhopsListDataPane" flex="1"></vbox> <vbox id="mailhopsListDataPane" flex="1"></vbox>
</vbox> </vbox>
<vbox id="dataPaneMailHopsMetaContainer" class="dataPaneBox"> <vbox id="dataPaneMailHopsMetaContainer" class="dataPaneBox">
<hbox flex="1" pack="start" align="center"> <hbox flex="1" pack="start" align="center">
<label class="dataPaneHeader" crop="right" value="&mailhops_header_meta_label;"></label> <label class="dataPaneHeader" crop="right" value="&mailhops_header_meta_label;"></label>
<separator class="dataPaneBoxSeparator" flex="1"></separator> <separator class="dataPaneBoxSeparator" flex="1"></separator>
</hbox> </hbox>
<vbox id="mailhopsDataPaneMeta" flex="1"></vbox> <vbox id="mailhopsDataPaneMeta" flex="1"></vbox>
</vbox> </vbox>
</vbox> </vbox>
</overlay> </overlay>

View File

@ -27,11 +27,6 @@ var mailHopPreferences = {
document.getElementById("mailhop.unit").selectedIndex = 1; document.getElementById("mailhop.unit").selectedIndex = 1;
//Display Box Options //Display Box Options
if(pref.getCharPref("mail.mailHops.show_details",'true')=='true')
document.getElementById("mailhop.show_details").checked = true;
else
document.getElementById("mailhop.show_details").checked = false;
if(pref.getCharPref("mail.mailHops.show_meta",'true')=='true') if(pref.getCharPref("mail.mailHops.show_meta",'true')=='true')
document.getElementById("mailhop.show_meta").checked = true; document.getElementById("mailhop.show_meta").checked = true;
else else
@ -102,7 +97,6 @@ var mailHopPreferences = {
pref.setCharPref("mail.mailHops.lang", document.getElementById("mailhop.lang").selectedItem.value); pref.setCharPref("mail.mailHops.lang", document.getElementById("mailhop.lang").selectedItem.value);
pref.setCharPref("mail.mailHops.map_provider", document.getElementById("mailhop.map_provider").selectedItem.value); pref.setCharPref("mail.mailHops.map_provider", document.getElementById("mailhop.map_provider").selectedItem.value);
pref.setCharPref("mail.mailHops.unit", document.getElementById("mailhop.unit").selectedItem.value); pref.setCharPref("mail.mailHops.unit", document.getElementById("mailhop.unit").selectedItem.value);
pref.setCharPref("mail.mailHops.show_details", String(document.getElementById("mailhop.show_details").checked));
pref.setCharPref("mail.mailHops.show_meta", String(document.getElementById("mailhop.show_meta").checked)); pref.setCharPref("mail.mailHops.show_meta", String(document.getElementById("mailhop.show_meta").checked));
pref.setCharPref("mail.mailHops.show_host", String(document.getElementById("mailhop.show_host").checked)); pref.setCharPref("mail.mailHops.show_host", String(document.getElementById("mailhop.show_host").checked));
pref.setCharPref("mail.mailHops.show_secure", String(document.getElementById("mailhop.show_secure").checked)); pref.setCharPref("mail.mailHops.show_secure", String(document.getElementById("mailhop.show_secure").checked));
@ -124,11 +118,10 @@ var mailHopPreferences = {
return true; return true;
} }
}; };
function TestConnection(e){ function TestConnection(e){
e.style.backgroundImage = 'url(chrome://mailhops/content/images/loader.gif)';
var xmlhttp = new XMLHttpRequest(); var xmlhttp = new XMLHttpRequest();
var nativeJSON = Components.classes["@mozilla.org/dom/json;1"].createInstance(Components.interfaces.nsIJSON); var nativeJSON = Components.classes["@mozilla.org/dom/json;1"].createInstance(Components.interfaces.nsIJSON);
var lookupURL = mailHopPreferences.api_url.value; var lookupURL = mailHopPreferences.api_url.value;
@ -162,15 +155,13 @@ function TestConnection(e){
function ResetLocation(e){ function ResetLocation(e){
e.style.backgroundImage = 'url(chrome://mailhops/content/images/loader.gif)';
//clear the location //clear the location
document.getElementById("mailhop.client_location").value='Getting your location...'; document.getElementById("mailhop.client_location").value='Getting your location...';
document.getElementById("mailhop.client_location_ip").value = ''; document.getElementById("mailhop.client_location_ip").value = '';
document.getElementById("mailhop.client_location_host").value = ''; document.getElementById("mailhop.client_location_host").value = '';
document.getElementById("mailhop.client_location_whois").value = ''; document.getElementById("mailhop.client_location_whois").value = '';
var MH_APIURL = mailHopPreferences.api_ssl.value=="true"?'https://'+mailHopPreferences.api_url:'http://'+mailHopPreferences.api_url; var MH_APIURL = mailHopPreferences.api_ssl.value=="true"?'https://'+mailHopPreferences.api_url.value:'http://'+mailHopPreferences.api_url.value;
mailHops.setClientLocation(function(response){ mailHops.setClientLocation(function(response){
@ -202,9 +193,7 @@ function ResetLocation(e){
if(response.route[0].countryCode) if(response.route[0].countryCode)
document.getElementById("mailhop.client_location").style.backgroundImage='url(chrome://mailhops/content/images/flags/'+response.route[0].countryCode.toLowerCase()+'.png)'; document.getElementById("mailhop.client_location").style.backgroundImage='url(chrome://mailhops/content/images/flags/'+response.route[0].countryCode.toLowerCase()+'.png)';
e.style.backgroundImage='';
} else { } else {
e.style.backgroundImage='';
document.getElementById("mailhop.client_location").value='Failed connecting...'; document.getElementById("mailhop.client_location").value='Failed connecting...';
} }
},MH_APIURL); },MH_APIURL);

View File

@ -24,7 +24,7 @@
</tabs> </tabs>
<tabpanels> <tabpanels>
<tabpanel> <tabpanel>
<groupbox> <groupbox flex="1">
<caption label="Default Language"/> <caption label="Default Language"/>
<radiogroup id="mailhop.lang"> <radiogroup id="mailhop.lang">
<radio value="en" label="English" selected="true"/> <radio value="en" label="English" selected="true"/>
@ -38,7 +38,7 @@
</radiogroup> </radiogroup>
</groupbox> </groupbox>
<groupbox> <groupbox flex="1">
<caption label="Default Units"/> <caption label="Default Units"/>
<radiogroup id="mailhop.unit"> <radiogroup id="mailhop.unit">
<radio value="mi" label="Miles and ºF" selected="true"/> <radio value="mi" label="Miles and ºF" selected="true"/>
@ -46,7 +46,7 @@
</radiogroup> </radiogroup>
</groupbox> </groupbox>
<groupbox> <groupbox flex="1">
<caption label="Default Map"/> <caption label="Default Map"/>
<menulist id="mailhop.map_provider"> <menulist id="mailhop.map_provider">
<menupopup> <menupopup>
@ -155,20 +155,19 @@
</groupbox> </groupbox>
</tabpanel> </tabpanel>
<tabpanel> <tabpanel>
<groupbox> <groupbox flex="1">
<caption label="Display Boxes"/> <caption label="Display Boxes"/>
<checkbox id="mailhop.show_details" label="Show Details" checked="true"/>
<checkbox id="mailhop.show_auth" label="Show Auth" checked="true"/> <checkbox id="mailhop.show_auth" label="Show Auth" checked="true"/>
<checkbox id="mailhop.show_lists" label="Show Unsubscribe Links" checked="true"/> <checkbox id="mailhop.show_lists" label="Show Unsubscribe Links" checked="true"/>
<checkbox id="mailhop.show_meta" label="Show Meta" checked="true"/> <checkbox id="mailhop.show_meta" label="Show Meta" checked="true"/>
</groupbox> </groupbox>
<groupbox> <groupbox flex="1">
<caption label="Details menuitems"/> <caption label="Details menu items"/>
<label class="mailhopsHostPref"><checkbox id="mailhop.show_host" label="Show Host" checked="true"/></label> <label class="mailhopsHostPref"><checkbox id="mailhop.show_host" label="Show Host" checked="true"/></label>
<label class="mailhopsSecurePref"><checkbox id="mailhop.show_secure" label="Show Secure Transmission" checked="true"/></label> <label class="mailhopsSecurePref"><checkbox id="mailhop.show_secure" label="Show Secure Transmission" checked="true"/></label>
</groupbox> </groupbox>
<groupbox> <groupbox flex="1">
<caption label="Authentication menuitems"/> <caption label="Authentication menu items"/>
<checkbox id="mailhop.show_mailer" label="Show Mailer" checked="true"/> <checkbox id="mailhop.show_mailer" label="Show Mailer" checked="true"/>
<checkbox id="mailhop.show_spf" label="Show SPF" checked="true"/> <checkbox id="mailhop.show_spf" label="Show SPF" checked="true"/>
<checkbox id="mailhop.show_dkim" label="Show DKIM" checked="true"/> <checkbox id="mailhop.show_dkim" label="Show DKIM" checked="true"/>
@ -179,10 +178,10 @@
<tabpanel> <tabpanel>
<groupbox> <groupbox>
<caption label="MailHops API Hosting"/> <caption label="MailHops API Hosting"/>
<description> <!-- <description>
MailHops API hosting is sponsored by MailHops API hosting is sponsored by
<image src="https://mailhops.com/images/sponsor.png" width="200"/> <image src="https://mailhops.com/images/sponsor.png" width="200"/>
</description> </description> -->
<grid flex="1"> <grid flex="1">
<columns> <columns>
@ -199,13 +198,16 @@
</menulist> </menulist>
<textbox id="mailhop.api_url" value="api.mailhops.com" flex="1"/> <textbox id="mailhop.api_url" value="api.mailhops.com" flex="1"/>
</row> </row>
<row>
<hbox/>
<hbox flex="1">
<button onclick="TestConnection(this);">Test Connection</button>
<button onclick="ResetConnection();">Reset Connection</button>
</hbox>
</row>
</rows> </rows>
</grid> </grid>
<label class="text-link plain act" onclick="TestConnection(this);" value="Test Connection" />
<label class="text-link plain act" onclick="ResetConnection();" value="Reset Connection" />
<description> <description>
MailHops API uses <label class="text-link plain" value="Forecast.IO" href="https://developer.forecast.io/"/> to get the weather of the sender, register for an API Key to enable this feature. MailHops API uses <label class="text-link plain" value="Forecast.IO" href="https://developer.forecast.io/"/> to get the weather of the sender, register for an API Key to enable this feature.
</description> </description>
@ -217,16 +219,17 @@
</tabpanel> </tabpanel>
<tabpanel> <tabpanel>
<groupbox> <groupbox flex="1">
<caption label="Your Location"/>
<description> <description>
Is cached on startup and clicking refresh below to reduce the number of lookups by one. Your Location is cached on startup and clicking refresh below to reduce the number of lookups by one.
</description>
<description>
<button id="mailhop.refresh_location" onclick="ResetLocation(this);">Refresh your location</button>
</description> </description>
<label id="mailhop.client_location" class="act" value="Not Set" /> <label id="mailhop.client_location" class="act" value="Not Set" />
<label id="mailhop.client_location_ip" class="plain act" value="" /> <label id="mailhop.client_location_ip" class="plain act" value="" />
<label id="mailhop.client_location_host" class="plain act" value="" /> <label id="mailhop.client_location_host" class="plain act" value="" />
<label id="mailhop.client_location_whois" class="text-link plain act" value="whois" tooltiptext="Click for whois" /> <label id="mailhop.client_location_whois" class="text-link plain act" value="whois" tooltiptext="Click for whois" />
<label id="mailhop.refresh_location" class="text-link plain act" onclick="ResetLocation(this);" value="Refresh your location" />
</groupbox> </groupbox>
</tabpanel> </tabpanel>

View File

@ -7,8 +7,3 @@
<!ENTITY mailhops_route_nav_details_label "Einzelheiten"> <!ENTITY mailhops_route_nav_details_label "Einzelheiten">
<!ENTITY mailhops_route_nav_refresh_label "erfrischen"> <!ENTITY mailhops_route_nav_refresh_label "erfrischen">
<!ENTITY mailhops_route_nav_options_label "Optionen"> <!ENTITY mailhops_route_nav_options_label "Optionen">
<!ENTITY mailhops_route_nav_map_tip "Karte anzeigen">
<!ENTITY mailhops_route_nav_details_tip "Zeige Details">
<!ENTITY mailhops_route_nav_refresh_tip "Aktualisieren Cache">
<!ENTITY mailhops_route_nav_options_tip "Einstellungen">

View File

@ -6,7 +6,3 @@ mailhops_route_nav_map_label=Karte
mailhops_route_nav_details_label=Einzelheiten mailhops_route_nav_details_label=Einzelheiten
mailhops_route_nav_refresh_label=erfrischen mailhops_route_nav_refresh_label=erfrischen
mailhops_route_nav_options_label=Optionen mailhops_route_nav_options_label=Optionen
mailhops_route_nav_map_tip=Karte anzeigen
mailhops_route_nav_details_tip=Zeige Details
mailhops_route_nav_refresh_tip=Aktualisieren Cache
mailhops_route_nav_options_tip=Einstellungen

View File

@ -7,8 +7,3 @@
<!ENTITY mailhops_route_nav_details_label "details"> <!ENTITY mailhops_route_nav_details_label "details">
<!ENTITY mailhops_route_nav_refresh_label "refresh"> <!ENTITY mailhops_route_nav_refresh_label "refresh">
<!ENTITY mailhops_route_nav_options_label "options"> <!ENTITY mailhops_route_nav_options_label "options">
<!ENTITY mailhops_route_nav_map_tip "Show Map">
<!ENTITY mailhops_route_nav_details_tip "Show Details">
<!ENTITY mailhops_route_nav_refresh_tip "Refresh Cache">
<!ENTITY mailhops_route_nav_options_tip "Preferences">

View File

@ -6,7 +6,3 @@ mailhops_route_nav_map_label=map
mailhops_route_nav_details_label=details mailhops_route_nav_details_label=details
mailhops_route_nav_refresh_label=refresh mailhops_route_nav_refresh_label=refresh
mailhops_route_nav_options_label=options mailhops_route_nav_options_label=options
mailhops_route_nav_map_tip=Show Map
mailhops_route_nav_details_tip=Show Details
mailhops_route_nav_refresh_tip=Refresh Cache
mailhops_route_nav_options_tip=Preferences

View File

@ -7,8 +7,3 @@
<!ENTITY mailhops_route_nav_details_label "detalles"> <!ENTITY mailhops_route_nav_details_label "detalles">
<!ENTITY mailhops_route_nav_refresh_label "refrescar"> <!ENTITY mailhops_route_nav_refresh_label "refrescar">
<!ENTITY mailhops_route_nav_options_label "opciones"> <!ENTITY mailhops_route_nav_options_label "opciones">
<!ENTITY mailhops_route_nav_map_tip "Ver mapa">
<!ENTITY mailhops_route_nav_details_tip "Mostrar Detalles">
<!ENTITY mailhops_route_nav_refresh_tip "Actualizar caché">
<!ENTITY mailhops_route_nav_options_tip "Preferencias">

View File

@ -6,7 +6,3 @@ mailhops_route_nav_map_label=mapa
mailhops_route_nav_details_label=detalles mailhops_route_nav_details_label=detalles
mailhops_route_nav_refresh_label=refrescar mailhops_route_nav_refresh_label=refrescar
mailhops_route_nav_options_label=opciones mailhops_route_nav_options_label=opciones
mailhops_route_nav_map_tip=Ver mapa
mailhops_route_nav_details_tip=Mostrar Detalles
mailhops_route_nav_refresh_tip=Actualizar caché
mailhops_route_nav_options_tip="Preferencias

View File

@ -7,8 +7,3 @@
<!ENTITY mailhops_route_nav_details_label "détails"> <!ENTITY mailhops_route_nav_details_label "détails">
<!ENTITY mailhops_route_nav_refresh_label "rafraîchir"> <!ENTITY mailhops_route_nav_refresh_label "rafraîchir">
<!ENTITY mailhops_route_nav_options_label "les options"> <!ENTITY mailhops_route_nav_options_label "les options">
<!ENTITY mailhops_route_nav_map_tip "Voir la carte">
<!ENTITY mailhops_route_nav_details_tip "Afficher Les Détails">
<!ENTITY mailhops_route_nav_refresh_tip "Actualiser Cache">
<!ENTITY mailhops_route_nav_options_tip "préférences">

View File

@ -6,7 +6,3 @@ mailhops_route_nav_map_label=carte
mailhops_route_nav_details_label=détails mailhops_route_nav_details_label=détails
mailhops_route_nav_refresh_label=rafraîchir mailhops_route_nav_refresh_label=rafraîchir
mailhops_route_nav_options_label=les options mailhops_route_nav_options_label=les options
mailhops_route_nav_map_tip=Voir la carte
mailhops_route_nav_details_tip=Afficher Les Détails
mailhops_route_nav_refresh_tip=Actualiser Cache
mailhops_route_nav_options_tip=préférences

View File

@ -7,8 +7,3 @@
<!ENTITY mailhops_route_nav_details_label "細部"> <!ENTITY mailhops_route_nav_details_label "細部">
<!ENTITY mailhops_route_nav_refresh_label "リフレッシュ"> <!ENTITY mailhops_route_nav_refresh_label "リフレッシュ">
<!ENTITY mailhops_route_nav_options_label "オプション"> <!ENTITY mailhops_route_nav_options_label "オプション">
<!ENTITY mailhops_route_nav_map_tip "地図を表示します">
<!ENTITY mailhops_route_nav_details_tip "詳細を表示">
<!ENTITY mailhops_route_nav_refresh_tip "キャッシュのリフレッシュ">
<!ENTITY mailhops_route_nav_options_tip "環境設定">

View File

@ -6,7 +6,3 @@ mailhops_route_nav_map_label=マップ
mailhops_route_nav_details_label=細部 mailhops_route_nav_details_label=細部
mailhops_route_nav_refresh_label=リフレッシュ mailhops_route_nav_refresh_label=リフレッシュ
mailhops_route_nav_options_label=オプション mailhops_route_nav_options_label=オプション
mailhops_route_nav_map_tip=地図を表示します
mailhops_route_nav_details_tip=詳細を表示
mailhops_route_nav_refresh_tip=キャッシュのリフレッシュ
mailhops_route_nav_options_tip=環境設定

View File

@ -7,8 +7,3 @@
<!ENTITY mailhops_route_nav_details_label "detalhes"> <!ENTITY mailhops_route_nav_details_label "detalhes">
<!ENTITY mailhops_route_nav_refresh_label "refrescar"> <!ENTITY mailhops_route_nav_refresh_label "refrescar">
<!ENTITY mailhops_route_nav_options_label "opções"> <!ENTITY mailhops_route_nav_options_label "opções">
<!ENTITY mailhops_route_nav_map_tip "Visualizar Mapa">
<!ENTITY mailhops_route_nav_details_tip "Mostrar Detalhes">
<!ENTITY mailhops_route_nav_refresh_tip "Atualizar cache">
<!ENTITY mailhops_route_nav_options_tip "preferências">

View File

@ -6,7 +6,3 @@ mailhops_route_nav_map_label=mapa
mailhops_route_nav_details_label=detalhes mailhops_route_nav_details_label=detalhes
mailhops_route_nav_refresh_label=refrescar mailhops_route_nav_refresh_label=refrescar
mailhops_route_nav_options_label=opções mailhops_route_nav_options_label=opções
mailhops_route_nav_map_tip=Visualizar Mapa
mailhops_route_nav_details_tip=Mostrar Detalhes
mailhops_route_nav_refresh_tip=Atualizar cache
mailhops_route_nav_options_tip="preferências

View File

@ -7,8 +7,3 @@
<!ENTITY mailhops_route_nav_details_label "подробности"> <!ENTITY mailhops_route_nav_details_label "подробности">
<!ENTITY mailhops_route_nav_refresh_label "обновление"> <!ENTITY mailhops_route_nav_refresh_label "обновление">
<!ENTITY mailhops_route_nav_options_label "опции"> <!ENTITY mailhops_route_nav_options_label "опции">
<!ENTITY mailhops_route_nav_map_tip "Показать на карте">
<!ENTITY mailhops_route_nav_details_tip "Показать Детали">
<!ENTITY mailhops_route_nav_refresh_tip "Обновить кэш">
<!ENTITY mailhops_route_nav_options_tip "предпочтения">

View File

@ -6,7 +6,3 @@ mailhops_route_nav_map_label=карта
mailhops_route_nav_details_label=подробности mailhops_route_nav_details_label=подробности
mailhops_route_nav_refresh_label=обновление mailhops_route_nav_refresh_label=обновление
mailhops_route_nav_options_label=опции mailhops_route_nav_options_label=опции
mailhops_route_nav_map_tip=Показать на карте
mailhops_route_nav_details_tip=Показать Детали
mailhops_route_nav_refresh_tip=Обновить кэш
mailhops_route_nav_options_tip="предпочтения

View File

@ -7,8 +7,3 @@
<!ENTITY mailhops_route_nav_details_label "詳細信息"> <!ENTITY mailhops_route_nav_details_label "詳細信息">
<!ENTITY mailhops_route_nav_refresh_label "刷新"> <!ENTITY mailhops_route_nav_refresh_label "刷新">
<!ENTITY mailhops_route_nav_options_label "選項"> <!ENTITY mailhops_route_nav_options_label "選項">
<!ENTITY mailhops_route_nav_map_tip "顯示地圖">
<!ENTITY mailhops_route_nav_details_tip "顯示詳細信息">
<!ENTITY mailhops_route_nav_refresh_tip "刷新緩存">
<!ENTITY mailhops_route_nav_options_tip "首">

View File

@ -6,7 +6,3 @@ mailhops_route_nav_map_label=地圖
mailhops_route_nav_details_label=詳細信息 mailhops_route_nav_details_label=詳細信息
mailhops_route_nav_refresh_label=刷新 mailhops_route_nav_refresh_label=刷新
mailhops_route_nav_options_label="選項 mailhops_route_nav_options_label="選項
mailhops_route_nav_map_tip=顯示地圖
mailhops_route_nav_details_tip=顯示詳細信息
mailhops_route_nav_refresh_tip=刷新緩存
mailhops_route_nav_options_tip="首

View File

@ -112,3 +112,23 @@ tab {
padding: 5px; padding: 5px;
color: #333; color: #333;
} }
.fa-lock {
padding-top: 7px;
color: rgba(73,163,127,1);
}
.fa-unlock-alt {
padding-top: 7px;
color: rgba(255,0,0,1);
}
button {
height: 35px;
}
button.navButton {
height: 25px;
width: 10px;
text-align: center;
}