Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
This commit is contained in:
commit
6ea87573f1
@ -63,7 +63,9 @@
|
|||||||
to evoke the Layer Drawer]]>
|
to evoke the Layer Drawer]]>
|
||||||
</string>
|
</string>
|
||||||
<string name="notice_info">
|
<string name="notice_info">
|
||||||
<![CDATA[Hint: The info screen will open if you tap and hold a portal for a second.]]>
|
<![CDATA[Hint: Alternative ways to open the info screen:<br><br>
|
||||||
|
• tap and hold a portal for a second<br>
|
||||||
|
• tap on the left half of the status bar]]>
|
||||||
</string>
|
</string>
|
||||||
|
|
||||||
<string name="pref_ui_cat">UI</string>
|
<string name="pref_ui_cat">UI</string>
|
||||||
@ -109,4 +111,4 @@
|
|||||||
<string name="label_base_layer">Base Layer</string>
|
<string name="label_base_layer">Base Layer</string>
|
||||||
<string name="label_overlay_layers">Overlay Layers</string>
|
<string name="label_overlay_layers">Overlay Layers</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -43,7 +43,13 @@ public class CheckHttpResponse extends AsyncTask<String, Void, Boolean> {
|
|||||||
int code = response.getStatusLine().getStatusCode();
|
int code = response.getStatusLine().getStatusCode();
|
||||||
if (code != HttpStatus.SC_OK) {
|
if (code != HttpStatus.SC_OK) {
|
||||||
Log.d("iitcm", "received error code: " + code);
|
Log.d("iitcm", "received error code: " + code);
|
||||||
((IITC_Mobile) mContext).setLoadingState(false);
|
final IITC_Mobile iitc = (IITC_Mobile) mContext;
|
||||||
|
iitc.runOnUiThread(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
iitc.setLoadingState(false);
|
||||||
|
}
|
||||||
|
});
|
||||||
// TODO: remove when google login issue is fixed
|
// TODO: remove when google login issue is fixed
|
||||||
if (urls[0].contains("uberauth=WILL_NOT_SIGN_IN")) {
|
if (urls[0].contains("uberauth=WILL_NOT_SIGN_IN")) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -301,6 +301,7 @@ window.plugin.portalslist.portalTable = function(sortBy, sortOrder, filter) {
|
|||||||
+ '<th ' + sort('s2', sortBy, -1) + '>M2</th>'
|
+ '<th ' + sort('s2', sortBy, -1) + '>M2</th>'
|
||||||
+ '<th ' + sort('s3', sortBy, -1) + '>M3</th>'
|
+ '<th ' + sort('s3', sortBy, -1) + '>M3</th>'
|
||||||
+ '<th ' + sort('s4', sortBy, -1) + '>M4</th>'
|
+ '<th ' + sort('s4', sortBy, -1) + '>M4</th>'
|
||||||
|
+ '<th ' + sort('mitigation', sortBy, -1) + '>Mit.</th>'
|
||||||
+ '<th ' + sort('APgain', sortBy, -1) + '>AP Gain</th>'
|
+ '<th ' + sort('APgain', sortBy, -1) + '>AP Gain</th>'
|
||||||
+ '<th title="Energy / AP Gain ratio" ' + sort('EAP', sortBy, -1) + '>E/AP</th>'
|
+ '<th title="Energy / AP Gain ratio" ' + sort('EAP', sortBy, -1) + '>E/AP</th>'
|
||||||
+ '<th ' + sort('age', sortBy, -1) + '>Age</th></tr>';
|
+ '<th ' + sort('age', sortBy, -1) + '>Age</th></tr>';
|
||||||
@ -314,6 +315,9 @@ window.plugin.portalslist.portalTable = function(sortBy, sortOrder, filter) {
|
|||||||
+ '<td class="L' + Math.floor(portal.level) +'">' + portal.level + '</td>'
|
+ '<td class="L' + Math.floor(portal.level) +'">' + portal.level + '</td>'
|
||||||
+ '<td style="text-align:center;">' + portal.team + '</td>';
|
+ '<td style="text-align:center;">' + portal.team + '</td>';
|
||||||
|
|
||||||
|
var mitigationDetails = getPortalMitigationDetails(portal.portal);
|
||||||
|
portal.mitigation = mitigationDetails.total + mitigationDetails.excess;
|
||||||
|
|
||||||
var title;
|
var title;
|
||||||
var percent;
|
var percent;
|
||||||
$.each([0, 1, 2, 3 ,4 ,5 ,6 ,7], function(ind, slot) {
|
$.each([0, 1, 2, 3 ,4 ,5 ,6 ,7], function(ind, slot) {
|
||||||
@ -333,6 +337,7 @@ window.plugin.portalslist.portalTable = function(sortBy, sortOrder, filter) {
|
|||||||
+ '<td style="cursor:help; background-color: '+COLORS_MOD[portal.mods[1][0]]+';" title="Mod : ' + portal.mods[1][3] + '\nInstalled by : ' + portal.mods[1][1] + '\nRarity : ' + portal.mods[1][0] + '">' + portal.mods[1][2] + '</td>'
|
+ '<td style="cursor:help; background-color: '+COLORS_MOD[portal.mods[1][0]]+';" title="Mod : ' + portal.mods[1][3] + '\nInstalled by : ' + portal.mods[1][1] + '\nRarity : ' + portal.mods[1][0] + '">' + portal.mods[1][2] + '</td>'
|
||||||
+ '<td style="cursor:help; background-color: '+COLORS_MOD[portal.mods[2][0]]+';" title="Mod : ' + portal.mods[2][3] + '\nInstalled by : ' + portal.mods[2][1] + '\nRarity : ' + portal.mods[2][0] + '">' + portal.mods[2][2] + '</td>'
|
+ '<td style="cursor:help; background-color: '+COLORS_MOD[portal.mods[2][0]]+';" title="Mod : ' + portal.mods[2][3] + '\nInstalled by : ' + portal.mods[2][1] + '\nRarity : ' + portal.mods[2][0] + '">' + portal.mods[2][2] + '</td>'
|
||||||
+ '<td style="cursor:help; background-color: '+COLORS_MOD[portal.mods[3][0]]+';" title="Mod : ' + portal.mods[3][3] + '\nInstalled by : ' + portal.mods[3][1] + '\nRarity : ' + portal.mods[3][0] + '">' + portal.mods[3][2] + '</td>'
|
+ '<td style="cursor:help; background-color: '+COLORS_MOD[portal.mods[3][0]]+';" title="Mod : ' + portal.mods[3][3] + '\nInstalled by : ' + portal.mods[3][1] + '\nRarity : ' + portal.mods[3][0] + '">' + portal.mods[3][2] + '</td>'
|
||||||
|
+ '<td>' + portal.mitigation + '</td>'
|
||||||
+ '<td>' + portal.APgain + '</td>'
|
+ '<td>' + portal.APgain + '</td>'
|
||||||
+ '<td>' + portal.EAP + '</td>'
|
+ '<td>' + portal.EAP + '</td>'
|
||||||
+ '<td style="cursor:help;" title="' + portal.age_string_long + '">' + portal.age_string_short + '</td>';
|
+ '<td style="cursor:help;" title="' + portal.age_string_long + '">' + portal.age_string_short + '</td>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user