mirror of
https://github.com/MailHops/mailhops-plugin.git
synced 2025-05-21 00:20:21 -07:00
Added hops toggle
This commit is contained in:
parent
c74f916566
commit
86e4a6228d
@ -26,8 +26,7 @@ var mailHopsDisplay =
|
||||
this.resultDetails = document.getElementById("mailhopsDataPaneDetails");
|
||||
this.mailHopsAccountMessage = document.getElementById("mailHopsAccountMessage");
|
||||
this.mailhopsDataPaneHops = document.getElementById("mailhopsDataPaneHops");
|
||||
|
||||
|
||||
|
||||
//auth
|
||||
this.mailhopsDataPaneSPF = document.getElementById("mailhopsDataPaneSPF");
|
||||
this.mailhopsDataPaneDKIM = document.getElementById("mailhopsDataPaneDKIM");
|
||||
@ -61,6 +60,7 @@ var mailHopsDisplay =
|
||||
});
|
||||
|
||||
this.mailhopsDataPaneHops.addEventListener("click", function () {
|
||||
this.classList.toggle('active');
|
||||
if(mailHopsDisplay.resultDetails.style.display !== 'block')
|
||||
mailHopsDisplay.resultDetails.style.display = 'block';
|
||||
else
|
||||
|
@ -8,7 +8,7 @@ var mailHops = {
|
||||
msgURI: null,
|
||||
isLoaded: false,
|
||||
options: {
|
||||
'version':'MailHops Plugin 3.7.3',
|
||||
'version':'MailHops Plugin 3.7.4',
|
||||
'lan':'en',
|
||||
'unit':'mi',
|
||||
'api_http':'https://',
|
||||
|
@ -17,10 +17,10 @@
|
||||
<hbox class="messageDetails">
|
||||
<image id="mailhopsLogo" src="chrome://mailhops/content/images/mailhops32.png" tooltiptext="&mailhops_route_nav_options_label;"/>
|
||||
|
||||
<label id="mailHopsAccountMessage" class="bar-link" value="Join today"></label>
|
||||
|
||||
<hbox id="mailhopsResult" flex="1">
|
||||
|
||||
<hbox id="mailhopsResult" flex="1">
|
||||
|
||||
<label id="mailHopsAccountMessage" class="bar-link" value="Join today" is="text-link" href="https://www.mailhops.com/#pricing"></label>
|
||||
|
||||
<label id="mailhopsResultText" class="bar-link"></label>
|
||||
|
||||
<label id="mailhopsResultWeather" class="bar-link"></label>
|
||||
|
@ -32,7 +32,7 @@
|
||||
<groupbox flex="1">
|
||||
<caption label="MailHops &mailhops_tab_member_label;"/>
|
||||
<description>
|
||||
API Key <label xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" is="text-link" id="mailhops-membership-link" class="text-link plain" value="Join MailHops" href="https://mailhops.com"/>
|
||||
API Key <label xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" is="text-link" id="mailhops-membership-link" class="text-link plain" value="Join MailHops" href="https://www.mailhops.com/#pricing"/>
|
||||
</description>
|
||||
<hbox align="center">
|
||||
<textbox id="mailhop.api_key" placeholder="Enter your MailHops API Member Key" width="500"/>
|
||||
|
@ -100,12 +100,7 @@
|
||||
}
|
||||
|
||||
#mailHopsAccountMessage {
|
||||
border-radius: 10px;
|
||||
display: none;
|
||||
padding: 10px;
|
||||
border: 1px solid #CCC;
|
||||
color: #777;
|
||||
background-color: #FFF;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#mailhopsDataPaneDetails {
|
||||
@ -146,7 +141,8 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#mailhopsNoficationBox .toolbarbutton:hover {
|
||||
#mailhopsNoficationBox .toolbarbutton:hover,
|
||||
#mailhopsNoficationBox .toolbarbutton.active {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
border-radius: 10px;
|
||||
|
@ -2,7 +2,7 @@
|
||||
"manifest_version": 2,
|
||||
"name": "__MSG_appName__",
|
||||
"description": "__MSG_appDesc__",
|
||||
"version": "3.7.3",
|
||||
"version": "3.7.4",
|
||||
"author": "Hopsware LLC",
|
||||
"developer": {
|
||||
"name": "Andrew Van Tassel",
|
||||
|
Loading…
x
Reference in New Issue
Block a user