Plugin Keys: Add tooltip to show message that this plugin can't get key count from Ingress
This commit is contained in:
parent
308cea39f8
commit
6cef4d99e4
@ -13,6 +13,7 @@
|
||||
|
||||
#keys-label {
|
||||
padding: 0 4px;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
#keys-add {
|
||||
@ -23,6 +24,7 @@
|
||||
height: 18px !important;
|
||||
border: 1px solid;
|
||||
text-align: center;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
#keys-subtract {
|
||||
@ -56,3 +58,9 @@
|
||||
height: 100%;
|
||||
left: 6px;
|
||||
}
|
||||
|
||||
#keys-help {
|
||||
font-weight: 900;
|
||||
margin: 6px 3px 1px 20px !important;
|
||||
cursor: help;
|
||||
}
|
||||
|
@ -81,17 +81,19 @@ window.plugin.keys.setupCSS = function() {
|
||||
|
||||
window.plugin.keys.setupContent = function() {
|
||||
plugin.keys.contentHTML = '<div id="keys-content-outer">'
|
||||
+ '<div id="keys-label">Key(s):</div>'
|
||||
+ '<div id="keys-label" title="Problem? Point to the question mark!">Key(s):</div>'
|
||||
+ '<div id="keys-add" class="keys-button" '
|
||||
+ 'onclick="window.plugin.keys.addKey(-1);">'
|
||||
+ '<div class="keys-button-minus"></div>'
|
||||
+ '</div>'
|
||||
+ '<div id="keys-count"></div>'
|
||||
+ '<div id="keys-count" title="Problem? Point to the question mark!"></div>'
|
||||
+ '<div id="keys-subtract" class="keys-button" '
|
||||
+ 'onclick="window.plugin.keys.addKey(1);">'
|
||||
+ '<div class="keys-button-plus-v"></div>'
|
||||
+ '<div class="keys-button-plus-h"></div>'
|
||||
+ '</div>'
|
||||
+ '<div id="keys-help" title="You MUST manually input your count of keys!\n'
|
||||
+ 'This plugin CANNOT automatically get the keys from Ingress!">?</div>'
|
||||
+ '</div>';
|
||||
plugin.keys.disabledMessage = '<div id="keys-content-outer" title="Your browser do not support localStorage">Plugin Keys disabled</div>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user