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