1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-19 07:40:08 -07:00

Updated TB styles

This commit is contained in:
Andrew Van Tassel 2016-06-12 12:08:15 -06:00
parent 4dc3c3bc03
commit 0b2535050b
13 changed files with 27 additions and 16 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.xpi *.xpi
.DS_Store .DS_Store
xpisign.py

View File

@ -22,3 +22,6 @@ mv $filename.xpi ../
cd .. cd ..
rm -rf build rm -rf build
# git clone https://github.com/nmaier/xpisign.py.git
# add this for cert signing
# python xpisign.py -k cert.pem mailhops.xpi mailhops.signed.xpi

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 685 B

View File

@ -8,7 +8,7 @@ var mailHops =
{ {
msgURI: null msgURI: null
, isLoaded: false , isLoaded: false
, options: {'version':'MailHops Plugin 1.0.8','lan':'en','unit':'mi','api_url':'https://api.mailhops.com','debug':false} , options: {'version':'MailHops Plugin 1.0.9','lan':'en','unit':'mi','api_url':'https://api.mailhops.com','debug':false}
, message: { secure:[] } , message: { secure:[] }
, client_location: null , client_location: null
}; };

View File

@ -201,6 +201,10 @@ var mailHopsDisplay =
first = response.route[i]; first = response.route[i];
if(!!response.route[i].countryCode) if(!!response.route[i].countryCode)
image='chrome://mailhops/content/images/flags/'+response.route[i].countryCode.toLowerCase()+'.png'; image='chrome://mailhops/content/images/flags/'+response.route[i].countryCode.toLowerCase()+'.png';
if(response.route[i].city)
this.resultText.setAttribute('tooltiptext','From '+response.route[i].city+', '+response.route[i].state);
else
this.resultText.setAttribute('tooltiptext','From '+response.route[i].countryName);
} }
var menuitem = document.createElement('menuitem'); var menuitem = document.createElement('menuitem');

View File

@ -13,32 +13,31 @@
<rows id="expandedHeader2Rows"> <rows id="expandedHeader2Rows">
<row id="mailhopsBox" collapsed="false"> <row id="mailhopsBox" collapsed="false">
<label id="mailhopsLabel" value="Route " class="headerName"></label> <label id="mailhopsLabel" value="MailHops Route " class="headerName"></label>
<hbox id="mailhopsResult" flex="1"> <hbox id="mailhopsResult" flex="1">
<label id="mailhopsResultText"></label> <label id="mailhopsResultText"></label>
<label id="mailhopsResultWeather"></label> <label id="mailhopsResultWeather"></label>
<button type="menu" class="msgHeaderView-button msgHeaderView-flat-button" label="hops" tooltiptext="Click to view route."> <button type="menu" class="msgHeaderView-button msgHeaderView-flat-button" label="hops" tooltiptext="Click to view route.">
<menupopup id="mailhopsDataPaneDetails"> <menupopup id="mailhopsDataPaneDetails">
</menupopup> </menupopup>
</button> </button>
<button id="mailhopsMapLink" class="msgHeaderView-button msgHeaderView-flat-button" label="&mailhops_route_nav_map_label;"></button> <button id="mailhopsMapLink" class="msgHeaderView-button msgHeaderView-flat-button" label="&mailhops_route_nav_map_label;"></button>
<button id="mailhopsDataPaneRefreshLink" class="msgHeaderView-button msgHeaderView-flat-button" label="&mailhops_route_nav_refresh_label;"></button> <button id="mailhopsDataPaneRefreshLink" class="msgHeaderView-button msgHeaderView-flat-button" label="&mailhops_route_nav_refresh_label;"></button>
<button id="mailhopsDataPanePrefsLink" class="msgHeaderView-button msgHeaderView-flat-button" label="&mailhops_route_nav_options_label;"></button> <button id="mailhopsDataPanePrefsLink" class="msgHeaderView-button msgHeaderView-flat-button" label="&mailhops_route_nav_options_label;"></button>
<label id="mailhopsDataPaneMailer" class="auth-item" value="" tooltiptext="Mailer"></label> <label id="mailhopsDataPaneMailer" class="auth-item" value="" tooltiptext="Mailer"></label>
<label id="mailhopsDataPaneSPF" class="auth-item" value="" tooltiptext="SPF"></label> <label id="mailhopsDataPaneSPF" class="auth-item" value="" tooltiptext="SPF"></label>
<label id="mailhopsDataPaneDKIM" class="auth-item" value="" tooltiptext="DKIM"></label> <label id="mailhopsDataPaneDKIM" class="auth-item" value="" tooltiptext="DKIM"></label>
<label id="mailhopsDataPaneDNSBL" class="text-link auth-item" value="" tooltiptext="DNSBL"></label> <label id="mailhopsDataPaneDNSBL" class="text-link auth-item" value="" tooltiptext="DNSBL"></label>
</hbox> </hbox>
</row> </row>
</rows> </rows>

View File

@ -26,3 +26,7 @@ tab {
padding: 5px; padding: 5px;
color: #333; color: #333;
} }
#mailhopsResult label {
margin-top: 8px;
}

View File

@ -5,10 +5,10 @@
<Description about="urn:mozilla:install-manifest"> <Description about="urn:mozilla:install-manifest">
<em:type>2</em:type> <em:type>2</em:type>
<em:id>thunderbird@mailhops.com</em:id> <em:id>thunderbird@mailhops.com</em:id>
<em:version>1.0.8</em:version> <em:version>1.0.9</em:version>
<em:name>MailHops</em:name> <em:name>MailHops</em:name>
<em:description>MailHops maps the route an email traveled to get to you. Using GeoIP it also displays distance traveled along with the location (city, state and country) of the sender.</em:description> <em:description>MailHops maps the route an email took to get to you. Displaying the senders location, weather, user-agent and authentication used.</em:description>
<em:iconURL>chrome://mailhops/content/images/mailhops32.png</em:iconURL> <em:iconURL>chrome://mailhops/content/images/mailhops32.png</em:iconURL>
<em:homepageURL>https://www.mailhops.com</em:homepageURL> <em:homepageURL>https://www.mailhops.com</em:homepageURL>
<em:creator>Andrew Van Tassel</em:creator> <em:creator>Andrew Van Tassel</em:creator>
@ -29,7 +29,7 @@
<Description> <Description>
<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>3.0.*</em:minVersion> <em:minVersion>3.0.*</em:minVersion>
<em:maxVersion>45.*</em:maxVersion> <em:maxVersion>47.*</em:maxVersion>
</Description> </Description>
</em:targetApplication> </em:targetApplication>