aa-intel-tool 0.0.1a13__py3-none-any.whl → 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. aa_intel_tool/__init__.py +4 -1
  2. aa_intel_tool/app_settings.py +1 -1
  3. aa_intel_tool/apps.py +1 -1
  4. aa_intel_tool/constants.py +5 -2
  5. aa_intel_tool/locale/de/LC_MESSAGES/django.mo +0 -0
  6. aa_intel_tool/locale/de/LC_MESSAGES/django.po +139 -148
  7. aa_intel_tool/locale/django.pot +111 -105
  8. aa_intel_tool/locale/es/LC_MESSAGES/django.mo +0 -0
  9. aa_intel_tool/locale/es/LC_MESSAGES/django.po +135 -124
  10. aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po +111 -105
  11. aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po +111 -105
  12. aa_intel_tool/locale/ja/LC_MESSAGES/django.po +111 -105
  13. aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
  14. aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po +127 -121
  15. aa_intel_tool/locale/ru/LC_MESSAGES/django.mo +0 -0
  16. aa_intel_tool/locale/ru/LC_MESSAGES/django.po +222 -200
  17. aa_intel_tool/locale/uk/LC_MESSAGES/django.mo +0 -0
  18. aa_intel_tool/locale/uk/LC_MESSAGES/django.po +121 -117
  19. aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po +111 -105
  20. aa_intel_tool/migrations/0001_initial.py +70 -15
  21. aa_intel_tool/models.py +3 -2
  22. aa_intel_tool/parser/module/chatlist.py +53 -40
  23. aa_intel_tool/parser/module/fleetcomp.py +130 -34
  24. aa_intel_tool/scripts/drop_tables.sql +5 -0
  25. aa_intel_tool/static/aa_intel_tool/css/aa-bootstrap-fix.css +1 -1
  26. aa_intel_tool/static/aa_intel_tool/css/aa-bootstrap-fix.min.css +2 -1
  27. aa_intel_tool/static/aa_intel_tool/css/aa-bootstrap-fix.min.css.map +1 -0
  28. aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css +2 -1
  29. aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css.map +1 -0
  30. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.js +24 -24
  31. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js +2 -1
  32. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js.map +1 -0
  33. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.js +13 -199
  34. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js +2 -1
  35. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js.map +1 -0
  36. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.js +26 -26
  37. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js +2 -1
  38. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js.map +1 -0
  39. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.js +19 -49
  40. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js +2 -1
  41. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js.map +1 -0
  42. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.js +148 -0
  43. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js +2 -0
  44. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js.map +1 -0
  45. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.js +231 -0
  46. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js +2 -0
  47. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js.map +1 -0
  48. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.js +216 -0
  49. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js +2 -1
  50. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js.map +1 -0
  51. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.min.js +2 -1
  52. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.min.js.map +1 -0
  53. aa_intel_tool/templates/aa_intel_tool/base.html +1 -1
  54. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-fleetcomp-js.html +10 -0
  55. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-js-l10n.html +2 -2
  56. aa_intel_tool/templates/aa_intel_tool/partials/index/form.html +6 -2
  57. aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html +1 -4
  58. aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html +1 -4
  59. aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html +1 -1
  60. aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/interesting-on-grid/items.html +2 -1
  61. aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/interesting-on-grid.html +9 -6
  62. aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html +5 -1
  63. aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-types.html +2 -2
  64. aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown.html +7 -4
  65. aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/system-information.html +4 -1
  66. aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details/pilots.html +41 -0
  67. aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details.html +24 -0
  68. aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/participation.html +18 -0
  69. aa_intel_tool/templates/aa_intel_tool/views/index.html +1 -1
  70. aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html +2 -4
  71. aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html +2 -4
  72. aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html +47 -0
  73. aa_intel_tool/tests/test-data/fleetcomp.txt +1 -0
  74. aa_intel_tool/tests/test_access.py +3 -3
  75. aa_intel_tool/tests/test_admin.py +86 -0
  76. aa_intel_tool/tests/test_auth_hooks.py +3 -3
  77. aa_intel_tool/tests/test_helper_data_structures.py +1 -1
  78. aa_intel_tool/tests/test_parser.py +17 -16
  79. aa_intel_tool/tests/test_parser_helper_db.py +60 -0
  80. aa_intel_tool/tests/utils.py +0 -87
  81. aa_intel_tool/views/general.py +16 -7
  82. {aa_intel_tool-0.0.1a13.dist-info → aa_intel_tool-1.0.0.dist-info}/METADATA +28 -20
  83. aa_intel_tool-1.0.0.dist-info/RECORD +123 -0
  84. aa_intel_tool/migrations/0002_remove_scan_processed_data_scandata.py +0 -69
  85. aa_intel_tool/migrations/0003_alter_scandata_scan.py +0 -27
  86. aa_intel_tool/migrations/0004_alter_scandata_section.py +0 -34
  87. aa_intel_tool/migrations/0005_alter_scan_options_alter_scandata_options_and_more.py +0 -94
  88. aa_intel_tool/migrations/0006_alter_scandata_unique_together.py +0 -17
  89. aa_intel_tool/migrations/0007_alter_scandata_section.py +0 -37
  90. aa_intel_tool-0.0.1a13.dist-info/RECORD +0 -105
  91. {aa_intel_tool-0.0.1a13.dist-info → aa_intel_tool-1.0.0.dist-info}/WHEEL +0 -0
  92. {aa_intel_tool-0.0.1a13.dist-info → aa_intel_tool-1.0.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["aa-intel-tool-fleetcomposition.js"],"names":["jQuery","document","ready","elementShipClassesTable","$","elementShipTypesTable","elementFleetcompositionTable","elementPilotsCount","fetchAjaxData","aaIntelToolJsOptions","ajax","getShipClasses","then","tableData","hide","Object","keys","length","show","DataTable","data","paging","language","aaIntelToolJsL10n","dataTables","translation","lengthChange","dom","columns","shipInfoPanel","order","columnDefs","targets","createdCell","td","addClass","width","visible","createdRow","row","attr","mouseenter","addFleetcompositionHightlight","mouseleave","removeFleetcompositionHightlight","getShipTypes","getFleetComposition","pilotInfoPanel","currentTotal","html","newTotal","parseInt"],"mappings":"AAEAA,OAAOC,QAAQ,EAAEC,MAAM,IACnB,aAEA,MAAMC,wBAA0BC,EAAE,qDAAqD,EACvF,MAAMC,sBAAwBD,EAAE,sCAAsC,EACtE,MAAME,6BAA+BF,EAAE,2CAA2C,EAClF,MAAMG,mBAAqBH,EAAE,yCAAyC,EAMtEI,cAAcC,qBAAqBC,KAAKC,cAAc,EAAEC,KAAKC,YACzD,GAAIA,UAAW,CACXT,EAAE,8CAA8C,EAAEU,KAAK,EAEvD,GAAIC,OAAOC,KAAKH,SAAS,EAAEI,SAAW,EAAG,CACrCb,EAAE,4CAA4C,EAAEc,KAAK,CACzD,KAAO,CACHd,EAAE,2CAA2C,EAAEc,KAAK,EAEpDf,wBAAwBgB,UAAU,CAC9BC,KAAMP,UACNQ,OAAQ,MACRC,SAAUC,kBAAkBC,WAAWC,YACvCC,aAAc,MACdC,IACI,wBACA,yBACA,wBACJC,QAAS,CACL,CACIR,KAAM,OACF,OAAOS,cAAcT,IAAI,CAC7B,CACJ,EACA,CACIA,KAAM,OACV,EACA,CACIA,KAAM,WACV,GAEJU,MAAO,CACH,CAAC,EAAG,SAERC,WAAY,CACR,CACIC,QAAS,EACTC,YAAa,KACT7B,EAAE8B,EAAE,EAAEC,SAAS,eAAe,CAClC,CACJ,EACA,CACIH,QAAS,EACTI,MAAO,GACPH,YAAa,KACT7B,EAAE8B,EAAE,EAAEC,SAAS,YAAY,CAC/B,CACJ,EACA,CACIH,QAAS,EACTK,QAAS,KACb,GAEJC,WAAY,CAACC,IAAKnB,Q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,EAAEU,KAAK,EAEhE,GAAIC,OAAOC,KAAKH,SAAS,EAAEI,SAAW,EAAG,CACrCb,EAAE,qDAAqD,EAAEc,KAAK,CAClE,KAAO,CACHd,EAAE,iCAAiC,EAAEc,KAAK,EAE1CZ,6BAA6Ba,UAAU,CACnCC,KAAMP,UACNQ,OAAQ,MACRC,SAAUC,kBAAkBC,WAAWC,YACvCC,aAAc,MACdC,IACI,wBACA,yBACA,wBACJC,QAAS,CACL,CACIR,KAAM,OACF,OAAO2B,eAAe3B,IAAI,CAC9B,CACJ,EACA,CACIA,KAAM,MACV,EACA,CACIA,KAAM,aACV,GAEJU,MAAO,CACH,CAAC,EAAG,SAERC,WAAY,CACR,CACIC,QAAS,EACTC,YAAa,KACT7B,EAAE8B,EAAE,EAAEC,SAAS,wBAAwB,CAC3C,CACJ,GAEJG,WAAY,CAACC,IAAKnB,QAEd,MAAM4B,aAAezC,mBAAmB0C,KAAK,EAC7C,MAAMC,SAAWC,SAASH,YAAY,EAAI,EAE1CzC,mBAAmB0C,KAAKC,QAAQ,EAEhC9C,EAAEmC,GAAG,EACAC,KAAK,oBAAqBpB,KAAK,UAAU,EACzCoB,KAAK,mBAAoBpB,KAAK,eAAe,EAGlDhB,EAAEmC,GAAG,EAAEE,WAAW,KACdC,8BAA8B,WAAYtC,EAAEmC,GAAG,CAAC,CACpD,CAAC,EAAEI,WAAW,KACVC,iCAAiC,WAAYxC,EAAEmC,GAAG,CAAC,CACvD,CAAC,CAQL,CACJ,CAAC,CACL,CACJ,CACJ,CAAC,CACL,CAAC"}
@@ -27,6 +27,222 @@ const fetchAjaxData = async (url) => { // eslint-disable-line no-unused-vars
27
27
  };
28
28
 
29
29
 
30
+ /**
31
+ * Pilot info element in datatable
32
+ *
33
+ * @param pilotData
34
+ * @returns {string}
35
+ */
36
+ const pilotInfoPanel = (pilotData) => { // eslint-disable-line no-unused-vars
37
+ let html_logo = '' +
38
+ '<span class="aa-intel-pilot-avatar-wrapper">\n' +
39
+ ' <img ' +
40
+ ' class="eve-image" ' +
41
+ ' data-eveid="' + pilotData['id'] + '" ' +
42
+ ' src="' + pilotData['portrait'] + '" ' +
43
+ ' alt="' + pilotData['name'] + '" ' +
44
+ ' title="' + pilotData['name'] + '" ' +
45
+ ' width="32" ' +
46
+ ' height="32">\n' +
47
+ '</span>';
48
+
49
+ let html_info = '' +
50
+ '<span class="aa-intel-pilot-information-wrapper">\n' +
51
+ ' <span class="aa-intel-pilot-name-wrapper">\n' +
52
+ ' ' + pilotData['name'] + '\n' +
53
+ ' </span>\n';
54
+
55
+ html_info += '' +
56
+ ' <span class="aa-intel-pilot-links-wrapper">\n' +
57
+ ' <small>\n' +
58
+ ' <a ' +
59
+ ' class="aa-intel-information-link" ' +
60
+ ' href="' + pilotData['evewho'] + '" ' +
61
+ ' target="_blank" ' +
62
+ ' rel="noopener noreferer"' +
63
+ ' >' +
64
+ ' evewho <i class="fas fa-external-link-alt" aria-hidden="true"></i>' +
65
+ ' </a> |\n' +
66
+
67
+ ' <a ' +
68
+ ' class="aa-intel-information-link" ' +
69
+ ' href="' + pilotData['zkillboard'] + '" ' +
70
+ ' target="_blank" rel="noopener noreferer"' +
71
+ ' >' +
72
+ ' zkillboard <i class="fas fa-external-link-alt" aria-hidden="true"></i>' +
73
+ ' </a>\n' +
74
+ ' </small>\n' +
75
+ ' </span>\n';
76
+
77
+ return html_logo + html_info;
78
+ };
79
+
80
+
81
+ /**
82
+ * Corporation info element in datatable
83
+ *
84
+ * @param corporationData
85
+ * @param logoOnly {boolean} Returns only the corporation logo
86
+ * @returns {string}
87
+ */
88
+ const corporationInfoPanel = (corporationData, logoOnly = false) => { // eslint-disable-line no-unused-vars
89
+ let html_logo = '' +
90
+ '<span class="aa-intel-corporation-logo-wrapper">\n' +
91
+ ' <img ' +
92
+ ' class="eve-image" ' +
93
+ ' data-eveid="' + corporationData['id'] + '" ' +
94
+ ' src="' + corporationData['logo'] + '" ' +
95
+ ' alt="' + corporationData['name'] + '" ' +
96
+ ' title="' + corporationData['name'] + '" ' +
97
+ ' width="32" ' +
98
+ ' height="32">\n' +
99
+ '</span>';
100
+
101
+ let html_info = '' +
102
+ '<span class="aa-intel-corporation-information-wrapper">\n' +
103
+ ' <span class="aa-intel-corporation-name-wrapper">\n' +
104
+ ' ' + corporationData['name'] + '\n' +
105
+ ' </span>\n';
106
+
107
+ html_info += '' +
108
+ ' <span class="aa-intel-corporation-links-wrapper">\n' +
109
+ ' <small>\n';
110
+
111
+ if ((1000000 <= corporationData['id']) && corporationData['id'] <= 2000000) {
112
+ html_info += '' +
113
+ ' (' + aaIntelToolJsL10n.scanData.npcCorp + ')';
114
+ } else {
115
+ html_info += '' +
116
+ ' <a ' +
117
+ ' class="aa-intel-information-link" ' +
118
+ ' href="' + corporationData['dotlan'] + '" ' +
119
+ ' target="_blank" ' +
120
+ ' rel="noopener noreferer"' +
121
+ ' >' +
122
+ ' dotlan <i class="fas fa-external-link-alt" aria-hidden="true"></i>' +
123
+ ' </a> |\n' +
124
+
125
+ ' <a ' +
126
+ ' class="aa-intel-information-link" ' +
127
+ ' href="' + corporationData['zkillboard'] + '" ' +
128
+ ' target="_blank" rel="noopener noreferer"' +
129
+ ' >' +
130
+ ' zkillboard <i class="fas fa-external-link-alt" aria-hidden="true"></i>' +
131
+ ' </a>\n' +
132
+ ' </small>\n' +
133
+ ' </span>\n';
134
+ }
135
+
136
+ html_info += '' +
137
+ '</span>';
138
+
139
+ if (logoOnly) {
140
+ return html_logo;
141
+ }
142
+
143
+ return html_logo + html_info;
144
+ };
145
+
146
+
147
+ /**
148
+ * Alliance info element in datatable
149
+ *
150
+ * @param allianceData
151
+ * @param logoOnly {boolean} Returns only the alliance logo
152
+ * @returns {string}
153
+ */
154
+ const allianceInfoPanel = (allianceData, logoOnly = false) => { // eslint-disable-line no-unused-vars
155
+ if (allianceData['name'] === '') {
156
+ allianceData['name'] = aaIntelToolJsL10n.scanData.empty;
157
+ }
158
+
159
+ let html_logo = '' +
160
+ '<span class="aa-intel-alliance-logo-wrapper alliance-id-' + allianceData['id'] + '">\n' +
161
+ ' <img ' +
162
+ ' class="eve-image" ' +
163
+ ' data-eveid="' + allianceData['id'] + '" ' +
164
+ ' src="' + allianceData['logo'] + '" ' +
165
+ ' alt="' + allianceData['name'] + '" ' +
166
+ ' title="' + allianceData['name'] + '" ' +
167
+ ' width="32" ' +
168
+ ' height="32">\n' +
169
+ '</span>';
170
+
171
+ let html_info = '' +
172
+ '<span class="aa-intel-alliance-information-wrapper">\n' +
173
+ ' <span class="aa-intel-alliance-name-wrapper">\n' +
174
+ ' ' + allianceData['name'] + '\n' +
175
+ ' </span>\n';
176
+
177
+ if (allianceData['id'] > 1) {
178
+ html_info += '' +
179
+ ' <span class="aa-intel-alliance-links-wrapper">\n' +
180
+ ' <small>\n' +
181
+ ' <a ' +
182
+ ' class="aa-intel-information-link" ' +
183
+ ' href="' + allianceData['dotlan'] + '" ' +
184
+ ' target="_blank" ' +
185
+ ' rel="noopener noreferer"' +
186
+ ' >' +
187
+ ' dotlan <i class="fas fa-external-link-alt" aria-hidden="true"></i>' +
188
+ ' </a> |\n' +
189
+
190
+ ' <a ' +
191
+ ' class="aa-intel-information-link" ' +
192
+ ' href="' + allianceData['zkillboard'] + '" ' +
193
+ ' target="_blank" rel="noopener noreferer"' +
194
+ ' >' +
195
+ ' zkillboard <i class="fas fa-external-link-alt" aria-hidden="true"></i>' +
196
+ ' </a>\n' +
197
+ ' </small>\n' +
198
+ ' </span>\n';
199
+ }
200
+
201
+ html_info += '' +
202
+ '</span>';
203
+
204
+ if (logoOnly) {
205
+ if (allianceData.id === 1) {
206
+ return '';
207
+ }
208
+
209
+ return html_logo;
210
+ }
211
+
212
+ return html_logo + html_info;
213
+ };
214
+
215
+
216
+ /**
217
+ * Ship/Item info element in datatable
218
+ *
219
+ * @param shipData
220
+ * @returns {string}
221
+ */
222
+ const shipInfoPanel = (shipData) => { // eslint-disable-line no-unused-vars
223
+ let html_logo = '' +
224
+ '<span class="aa-intel-ship-image-wrapper">\n' +
225
+ ' <img ' +
226
+ ' class="eve-image" ' +
227
+ ' data-eveid="' + shipData['id'] + '" ' +
228
+ ' src="' + shipData['image'] + '" ' +
229
+ ' alt="' + shipData['name'] + '" ' +
230
+ ' title="' + shipData['name'] + '" ' +
231
+ ' width="32" ' +
232
+ ' height="32">\n' +
233
+ '</span>';
234
+
235
+ let html_info = '' +
236
+ '<span class="aa-intel-ship-information-wrapper">\n' +
237
+ ' <span class="aa-intel-ship-name-wrapper">\n' +
238
+ ' ' + shipData['name'] + '\n' +
239
+ ' </span>\n' +
240
+ '</span>\n';
241
+
242
+ return html_logo + html_info;
243
+ };
244
+
245
+
30
246
  jQuery(document).ready(($) => {
31
247
  const elementCopyToClipboard = $('button#btn-copy-permalink-to-clipboard');
32
248
 
@@ -1 +1,2 @@
1
- "use strict";const fetchAjaxData=async url=>{return await fetch(url).then(response=>{if(response.ok){return Promise.resolve(response)}else{return Promise.reject(new Error("Failed to load"))}}).then(response=>response.json()).then(tableData=>{return tableData}).catch(function(error){console.log(`Error: ${error.message}`)})};jQuery(document).ready($=>{const elementCopyToClipboard=$("button#btn-copy-permalink-to-clipboard");if(!ClipboardJS.isSupported()){elementCopyToClipboard.remove()}const closeMessageElement=(element,closeAfter=10)=>{$(element).fadeTo(closeAfter*1e3,500).slideUp(500,elm=>{$(elm).slideUp(500,el=>{$(el).remove()})})};const showSuccess=(message,element)=>{$(element).html('<div class="alert alert-success alert-dismissable alert-message-success">'+'<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>'+message+"</div>");closeMessageElement(".alert-message-success")};const showError=(message,element)=>{$(element).html('<div class="alert alert-danger alert-dismissable alert-message-error">'+'<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>'+message+"</div>");closeMessageElement(".alert-message-error",9999)};const copyScanLink=elementId=>{const clipboardScanLink=new ClipboardJS(elementId);clipboardScanLink.on("success",e=>{showSuccess(aaIntelToolJsL10n.copyToClipboard.permalink.text.success,".aa-intel-copy-result");e.clearSelection();clipboardScanLink.destroy()});clipboardScanLink.on("error",()=>{showError(aaIntelToolJsL10n.copyToClipboard.permalink.text.error,".aa-intel-copy-result");clipboardScanLink.destroy()})};elementCopyToClipboard.click(()=>{copyScanLink("#"+elementCopyToClipboard.attr("id"))})});
1
+ "use strict";const fetchAjaxData=async url=>{return await fetch(url).then(response=>{if(response.ok){return Promise.resolve(response)}else{return Promise.reject(new Error("Failed to load"))}}).then(response=>response.json()).then(tableData=>{return tableData}).catch(function(error){console.log(`Error: ${error.message}`)})};const pilotInfoPanel=pilotData=>{let html_logo=""+'<span class="aa-intel-pilot-avatar-wrapper">\n'+" <img "+' class="eve-image" '+' data-eveid="'+pilotData["id"]+'" '+' src="'+pilotData["portrait"]+'" '+' alt="'+pilotData["name"]+'" '+' title="'+pilotData["name"]+'" '+' width="32" '+' height="32">\n'+"</span>";let html_info=""+'<span class="aa-intel-pilot-information-wrapper">\n'+' <span class="aa-intel-pilot-name-wrapper">\n'+" "+pilotData["name"]+"\n"+" </span>\n";html_info+=""+' <span class="aa-intel-pilot-links-wrapper">\n'+" <small>\n"+" <a "+' class="aa-intel-information-link" '+' href="'+pilotData["evewho"]+'" '+' target="_blank" '+' rel="noopener noreferer"'+" >"+' evewho <i class="fas fa-external-link-alt" aria-hidden="true"></i>'+" </a> |\n"+" <a "+' class="aa-intel-information-link" '+' href="'+pilotData["zkillboard"]+'" '+' target="_blank" rel="noopener noreferer"'+" >"+' zkillboard <i class="fas fa-external-link-alt" aria-hidden="true"></i>'+" </a>\n"+" </small>\n"+" </span>\n";return html_logo+html_info};const corporationInfoPanel=(corporationData,logoOnly=false)=>{let html_logo=""+'<span class="aa-intel-corporation-logo-wrapper">\n'+" <img "+' class="eve-image" '+' data-eveid="'+corporationData["id"]+'" '+' src="'+corporationData["logo"]+'" '+' alt="'+corporationData["name"]+'" '+' title="'+corporationData["name"]+'" '+' width="32" '+' height="32">\n'+"</span>";let html_info=""+'<span class="aa-intel-corporation-information-wrapper">\n'+' <span class="aa-intel-corporation-name-wrapper">\n'+" "+corporationData["name"]+"\n"+" </span>\n";html_info+=""+' <span class="aa-intel-corporation-links-wrapper">\n'+" <small>\n";if(1e6<=corporationData["id"]&&corporationData["id"]<=2e6){html_info+=""+" ("+aaIntelToolJsL10n.scanData.npcCorp+")"}else{html_info+=""+" <a "+' class="aa-intel-information-link" '+' href="'+corporationData["dotlan"]+'" '+' target="_blank" '+' rel="noopener noreferer"'+" >"+' dotlan <i class="fas fa-external-link-alt" aria-hidden="true"></i>'+" </a> |\n"+" <a "+' class="aa-intel-information-link" '+' href="'+corporationData["zkillboard"]+'" '+' target="_blank" rel="noopener noreferer"'+" >"+' zkillboard <i class="fas fa-external-link-alt" aria-hidden="true"></i>'+" </a>\n"+" </small>\n"+" </span>\n"}html_info+=""+"</span>";if(logoOnly){return html_logo}return html_logo+html_info};const allianceInfoPanel=(allianceData,logoOnly=false)=>{if(allianceData["name"]===""){allianceData["name"]=aaIntelToolJsL10n.scanData.empty}let html_logo=""+'<span class="aa-intel-alliance-logo-wrapper alliance-id-'+allianceData["id"]+'">\n'+" <img "+' class="eve-image" '+' data-eveid="'+allianceData["id"]+'" '+' src="'+allianceData["logo"]+'" '+' alt="'+allianceData["name"]+'" '+' title="'+allianceData["name"]+'" '+' width="32" '+' height="32">\n'+"</span>";let html_info=""+'<span class="aa-intel-alliance-information-wrapper">\n'+' <span class="aa-intel-alliance-name-wrapper">\n'+" "+allianceData["name"]+"\n"+" </span>\n";if(allianceData["id"]>1){html_info+=""+' <span class="aa-intel-alliance-links-wrapper">\n'+" <small>\n"+" <a "+' class="aa-intel-information-link" '+' href="'+allianceData["dotlan"]+'" '+' target="_blank" '+' rel="noopener noreferer"'+" >"+' dotlan <i class="fas fa-external-link-alt" aria-hidden="true"></i>'+" </a> |\n"+" <a "+' class="aa-intel-information-link" '+' href="'+allianceData["zkillboard"]+'" '+' target="_blank" rel="noopener noreferer"'+" >"+' zkillboard <i class="fas fa-external-link-alt" aria-hidden="true"></i>'+" </a>\n"+" </small>\n"+" </span>\n"}html_info+=""+"</span>";if(logoOnly){if(allianceData.id===1){return""}return html_logo}return html_logo+html_info};const shipInfoPanel=shipData=>{let html_logo=""+'<span class="aa-intel-ship-image-wrapper">\n'+" <img "+' class="eve-image" '+' data-eveid="'+shipData["id"]+'" '+' src="'+shipData["image"]+'" '+' alt="'+shipData["name"]+'" '+' title="'+shipData["name"]+'" '+' width="32" '+' height="32">\n'+"</span>";let html_info=""+'<span class="aa-intel-ship-information-wrapper">\n'+' <span class="aa-intel-ship-name-wrapper">\n'+" "+shipData["name"]+"\n"+" </span>\n"+"</span>\n";return html_logo+html_info};jQuery(document).ready($=>{const elementCopyToClipboard=$("button#btn-copy-permalink-to-clipboard");if(!ClipboardJS.isSupported()){elementCopyToClipboard.remove()}const closeMessageElement=(element,closeAfter=10)=>{$(element).fadeTo(closeAfter*1e3,500).slideUp(500,elm=>{$(elm).slideUp(500,el=>{$(el).remove()})})};const showSuccess=(message,element)=>{$(element).html('<div class="alert alert-success alert-dismissable alert-message-success">'+'<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>'+message+"</div>");closeMessageElement(".alert-message-success")};const showError=(message,element)=>{$(element).html('<div class="alert alert-danger alert-dismissable alert-message-error">'+'<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>'+message+"</div>");closeMessageElement(".alert-message-error",9999)};const copyScanLink=elementId=>{const clipboardScanLink=new ClipboardJS(elementId);clipboardScanLink.on("success",e=>{showSuccess(aaIntelToolJsL10n.copyToClipboard.permalink.text.success,".aa-intel-copy-result");e.clearSelection();clipboardScanLink.destroy()});clipboardScanLink.on("error",()=>{showError(aaIntelToolJsL10n.copyToClipboard.permalink.text.error,".aa-intel-copy-result");clipboardScanLink.destroy()})};elementCopyToClipboard.click(()=>{copyScanLink("#"+elementCopyToClipboard.attr("id"))})});
2
+ //# sourceMappingURL=aa-intel-tool-scan-result-common.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["aa-intel-tool-scan-result-common.js"],"names":["fetchAjaxData","async","url","await","fetch","then","response","ok","Promise","resolve","reject","Error","json","tableData","catch","error","console","log","message","pilotInfoPanel","let","html_logo","pilotData","html_info","corporationInfoPanel","corporationData","logoOnly","aaIntelToolJsL10n","scanData","npcCorp","allianceInfoPanel","allianceData","empty","id","shipInfoPanel","shipData","jQuery","document","ready","elementCopyToClipboard","$","ClipboardJS","isSupported","remove","closeMessageElement","element","closeAfter","fadeTo","slideUp","elm","el","showSuccess","html","showError","copyScanLink","clipboardScanLink","elementId","on","copyToClipboard","permalink","text","success","e","clearSelection","destroy","click","attr"],"mappings":"AAEA,aAQA,MAAMA,cAAgBC,MAAOC,MACzB,OAAOC,MAAMC,MAAMF,GAAG,EACjBG,KAAKC,WACF,GAAIA,SAASC,GAAI,CACb,OAAOC,QAAQC,QAAQH,QAAQ,CACnC,KAAO,CACH,OAAOE,QAAQE,OAAO,IAAIC,MAAM,gBAAgB,CAAC,CACrD,CACJ,CAAC,EACAN,KAAKC,UAAYA,SAASM,KAAK,CAAC,EAChCP,KAAKQ,YACF,OAAOA,SACX,CAAC,EACAC,MAAM,SAAUC,OACbC,QAAQC,cAAcF,MAAMG,SAAS,CACzC,CAAC,CACT,EASA,MAAMC,eAAiB,YACnBC,IAAIC,UAAY,GACZ,iDACA,YACA,6BACA,uBAAyBC,UAAU,MAAQ,KAC3C,gBAAkBA,UAAU,YAAc,KAC1C,gBAAkBA,UAAU,QAAU,KACtC,kBAAoBA,UAAU,QAAU,KACxC,sBACA,yBACA,UAEJF,IAAIG,UAAY,GACZ,sDACA,mDACA,WAAaD,UAAU,QAAU,KACjC,gBAEJC,WAAa,GACT,oDACA,oBACA,kBACA,qDACA,yBAA2BD,UAAU,UAAY,KACjD,mCACA,2CACA,gBACA,oFACA,uBAEA,kBACA,qDACA,yBAA2BA,UAAU,cAAgB,KACrD,2DACA,gBACA,yFACA,qBACA,qBACA,gBAEJ,OAAOD,UAAYE,SACvB,EAU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C,EAAEC,eAAe,EACjBR,kBAAkBS,QAAQ,CAC9B,CAAC,EAKDT,kBAAkBE,GAAG,QAAS,KAC1BJ,UACI1B,kBAAkB+B,gBAAgBC,UAAUC,KAAK7C,MACjD,uBACJ,EAEAwC,kBAAkBS,QAAQ,CAC9B,CAAC,CACL,EAMAzB,uBAAuB0B,MAAM,KACzBX,aAAa,IAAMf,uBAAuB2B,KAAK,IAAI,CAAC,CACxD,CAAC,CACL,CAAC"}
@@ -1 +1,2 @@
1
- jQuery(document).ready($=>{"use strict";document.querySelectorAll("form").forEach(form=>{form.addEventListener("submit",e=>{if(form.classList.contains("is-submitting")){e.preventDefault()}form.classList.add("is-submitting")})})});
1
+ jQuery(document).ready($=>{"use strict";document.querySelectorAll("form").forEach(form=>{form.addEventListener("submit",e=>{if(form.classList.contains("is-submitting")){e.preventDefault()}form.classList.add("is-submitting")})})});
2
+ //# sourceMappingURL=aa-intel-tool.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["aa-intel-tool.js"],"names":["jQuery","document","ready","querySelectorAll","forEach","form","addEventListener","classList","contains","e","preventDefault","add"],"mappings":"AAAAA,OAAOC,QAAQ,EAAEC,MAAM,IACnB,aAKAD,SAASE,iBAAiB,MAAM,EAAEC,QAAQ,OACtCC,KAAKC,iBAAiB,SAAU,IAE5B,GAAID,KAAKE,UAAUC,SAAS,eAAe,EAAG,CAC1CC,EAAEC,eAAe,CACrB,CAGAL,KAAKE,UAAUI,IAAI,eAAe,CACtC,CAAC,CACL,CAAC,CACL,CAAC"}
@@ -3,7 +3,7 @@
3
3
  {% load i18n %}
4
4
  {% load static %}
5
5
 
6
- {% block page_title %}{% translate "Intel Tool" %}{% endblock %}
6
+ {% block page_title %}{% translate "Intel Parser" %}{% endblock %}
7
7
 
8
8
  {% block content %}
9
9
  <div class="aa-intel-tool">
@@ -0,0 +1,10 @@
1
+ {% load inteltool_versioned_static %}
2
+
3
+ <script src="{% aa_intel_tool_static 'aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js' %}"></script>
4
+ <script src="{% aa_intel_tool_static 'aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js' %}"></script>
5
+ <script src="{% aa_intel_tool_static 'aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js' %}"></script>
6
+
7
+ {% if app_settings.INTELTOOL_ENABLE_MODULE_CHATSCAN %}
8
+ <script src="{% aa_intel_tool_static 'aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js' %}"></script>
9
+ <script src="{% aa_intel_tool_static 'aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js' %}"></script>
10
+ {% endif %}
@@ -16,8 +16,8 @@
16
16
  },
17
17
  dataTables: {
18
18
  translation: {
19
- decimal: '{% translate "," context "Decimal separator" %}',
20
- thousands: '{% translate "." context "Thousands separator" %}',
19
+ decimal: '{% translate "." context "Decimal separator" %}',
20
+ thousands: '{% translate "," context "Thousands separator" %}',
21
21
  emptyTable: '{% translate "No data available in this table" %}',
22
22
  info: '{% translate "Showing _END_ entries" context "Keep _END_ as it is. It will be replaced by a number." %}',
23
23
  infoFiltered: '{% translate "(filtered from _MAX_ total entries)" context "Keep _MAX_ as it is. It will be replaced by a number." %}',
@@ -13,7 +13,8 @@
13
13
  <ul>
14
14
  {% if app_settings.INTELTOOL_ENABLE_MODULE_CHATSCAN %}
15
15
  <li>
16
- » {% translate "Chat Member List" %}
16
+ {% translate "Chat member list" as item_title %}
17
+ » {{ item_title|title }}
17
18
 
18
19
  {% if app_settings.INTELTOOL_CHATSCAN_MAX_PILOTS > 0 %}
19
20
  <small>
@@ -28,7 +29,10 @@
28
29
  {% endif %}
29
30
 
30
31
  {% if app_settings.INTELTOOL_ENABLE_MODULE_FLEETCOMP %}
31
- <li>» {% translate "Fleet Composition" %}</li>
32
+ <li>
33
+ {% translate "Fleet composition" as item_title %}
34
+ » {{ item_title|title }}
35
+ </li>
32
36
  {% endif %}
33
37
  </ul>
34
38
  </div>
@@ -17,10 +17,7 @@
17
17
  <table class="table table-condensed table-sortable aa-intel-alliance-participation-list" style="width: 100%;">
18
18
  <thead>
19
19
  <tr>
20
- <th>
21
- {% translate "Alliance Name" as table_header %}
22
- {{ table_header|title }}
23
- </th>
20
+ <th>{% translate "Alliance" %}</th>
24
21
  <th>{% translate "Count" %}</th>
25
22
  </tr>
26
23
  </thead>
@@ -17,10 +17,7 @@
17
17
  <table class="table table-condensed table-sortable aa-intel-corporation-participation-list" style="width: 100%;">
18
18
  <thead>
19
19
  <tr>
20
- <th>
21
- {% translate "Corporation Name" as table_header %}
22
- {{ table_header|title }}
23
- </th>
20
+ <th>{% translate "Corporation" %}</th>
24
21
  <th>{% translate "Count" %}</th>
25
22
  </tr>
26
23
  </thead>
@@ -16,7 +16,7 @@
16
16
  <table class="table table-sortable table-condensed aa-intel-pilot-participation-list" style="width: 100%;">
17
17
  <thead>
18
18
  <tr>
19
- <th>{% translate "Name" %}</th>
19
+ <th>{% translate "Pilot" %}</th>
20
20
  <th>{% translate "Alliance" %}</th>
21
21
  <th>{% translate "Corporation" %}</th>
22
22
  </tr>
@@ -3,7 +3,8 @@
3
3
  <div class="col-sm-6 col-md-4 col-lg-3 col-aa-intel col-aa-intel-{{ dscan_section }}">
4
4
  <header class="aa-intel-section-header">
5
5
  <h3 class="aa-intel-section-title">
6
- {{ table_title|title }} (<span id="aa-intel-dscan-{{ dscan_section }}-count">0</span>)
6
+ {{ section_header|title }}
7
+ (<span id="aa-intel-dscan-{{ dscan_section }}-count">0</span>)
7
8
  </h3>
8
9
  </header>
9
10
 
@@ -4,18 +4,21 @@
4
4
  <div class="clearfix">
5
5
  <div class="col-sm-6 col-md-4 col-lg-4 clearfix">
6
6
  <header class="aa-intel-section-header">
7
- <h2>{% translate "Interesting on Grid" %}</h2>
7
+ <h2>
8
+ {% translate "Interesting on grid" as section_header %}
9
+ {{ section_header|title }}
10
+ </h2>
8
11
  </header>
9
12
  </div>
10
13
  </div>
11
14
 
12
15
  {% translate "Upwell structures" as dscan_section_header_upwell_structures %}
13
16
  {% translate "Deployables" as dscan_section_header_upwell_deployables %}
14
- {% translate "POS / POS Modules" as dscan_section_header_upwell_starbases %}
17
+ {% translate "POS / POS modules" as dscan_section_header_upwell_starbases %}
15
18
  {% translate "Miscellaneous" as dscan_section_header_upwell_miscellaneous %}
16
19
 
17
- {% include "aa_intel_tool/partials/scan/dscan/interesting-on-grid/items.html" with table_title=dscan_section_header_upwell_structures dscan_section="upwell-structures" %}
18
- {% include "aa_intel_tool/partials/scan/dscan/interesting-on-grid/items.html" with table_title=dscan_section_header_upwell_deployables dscan_section="deployables" %}
19
- {% include "aa_intel_tool/partials/scan/dscan/interesting-on-grid/items.html" with table_title=dscan_section_header_upwell_starbases dscan_section="starbases" %}
20
- {% include "aa_intel_tool/partials/scan/dscan/interesting-on-grid/items.html" with table_title=dscan_section_header_upwell_miscellaneous dscan_section="miscellaneous" %}
20
+ {% include "aa_intel_tool/partials/scan/dscan/interesting-on-grid/items.html" with section_header=dscan_section_header_upwell_structures dscan_section="upwell-structures" %}
21
+ {% include "aa_intel_tool/partials/scan/dscan/interesting-on-grid/items.html" with section_header=dscan_section_header_upwell_deployables dscan_section="deployables" %}
22
+ {% include "aa_intel_tool/partials/scan/dscan/interesting-on-grid/items.html" with section_header=dscan_section_header_upwell_starbases dscan_section="starbases" %}
23
+ {% include "aa_intel_tool/partials/scan/dscan/interesting-on-grid/items.html" with section_header=dscan_section_header_upwell_miscellaneous dscan_section="miscellaneous" %}
21
24
  </div>
@@ -3,7 +3,11 @@
3
3
  <div class="col-md-4 col-sm-6 col-lg-3 col-aa-intel col-aa-intel-dscan-ship-classes-{{ dscan_section }}">
4
4
  <header class="aa-intel-section-header">
5
5
  <h3 class="aa-intel-section-title">
6
- {{ table_title|title }} (<span id="aa-intel-dscan-{{ dscan_section }}-count">0</span>)
6
+ {{ section_header|title }}
7
+
8
+ {% if not omit_counter %}
9
+ (<span id="aa-intel-dscan-{{ dscan_section }}-count">0</span>)
10
+ {% endif %}
7
11
  </h3>
8
12
  </header>
9
13
 
@@ -3,8 +3,8 @@
3
3
  <div class="col-md-4 col-sm-6 col-lg-3 col-aa-intel col-aa-intel-dscan-ship-types">
4
4
  <header class="aa-intel-section-header">
5
5
  <h3 class="aa-intel-section-title">
6
- {% translate "Ship types" as table_title %}
7
- {{ table_title|title }}
6
+ {% translate "Ship types" as section_header %}
7
+ {{ section_header|title }}
8
8
  </h3>
9
9
  </header>
10
10
 
@@ -4,7 +4,10 @@
4
4
  <div class="clearfix">
5
5
  <div class="col-sm-6 col-md-4 col-lg-4 clearfix">
6
6
  <header class="aa-intel-section-header">
7
- <h2>{% translate "Ships on Scan" %}</h2>
7
+ <h2>
8
+ {% translate "Ships on scan" as section_header %}
9
+ {{ section_header|title }}
10
+ </h2>
8
11
  </header>
9
12
  </div>
10
13
  </div>
@@ -13,8 +16,8 @@
13
16
  {% translate "On grid" as dscan_section_header_ongrid %}
14
17
  {% translate "Off grid" as dscan_section_header_offgrid %}
15
18
 
16
- {% include "aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html" with table_title=dscan_section_header_all dscan_section="all" %}
17
- {% include "aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html" with table_title=dscan_section_header_ongrid dscan_section="ongrid" %}
18
- {% include "aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html" with table_title=dscan_section_header_offgrid dscan_section="offgrid" %}
19
+ {% include "aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html" with section_header=dscan_section_header_all dscan_section="all" %}
20
+ {% include "aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html" with section_header=dscan_section_header_ongrid dscan_section="ongrid" %}
21
+ {% include "aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html" with section_header=dscan_section_header_offgrid dscan_section="offgrid" %}
19
22
  {% include "aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-types.html" %}
20
23
  </div>
@@ -4,7 +4,10 @@
4
4
  <div class="clearfix">
5
5
  <div class="col-sm-6 col-md-4 col-lg-4 clearfix">
6
6
  <header class="aa-intel-section-header">
7
- <h2>{% translate "System Information" %}</h2>
7
+ <h2>
8
+ {% translate "System information" as section_header %}
9
+ {{ section_header|title }}
10
+ </h2>
8
11
  </header>
9
12
  </div>
10
13
  </div>
@@ -0,0 +1,41 @@
1
+ {% load i18n %}
2
+
3
+ <div class="col-md-12 col-lg-6 col-aa-intel col-aa-intel-fleetcomp-pilot-ships">
4
+ <header class="aa-intel-section-header">
5
+ <h3 class="aa-intel-section-title">
6
+ {% translate "Who is flying what" as section_header %}
7
+ {{ section_header|title }}
8
+ </h3>
9
+ </header>
10
+
11
+ <div class="panel panel-default">
12
+ <div class="panel-body">
13
+ <div class="table-dscan table-fleetcomp-pilot-ships table-aa-intel">
14
+ <table class="table table-condensed table-sortable aa-intel-fleetcomp-pilot-ships-list" style="width: 100%;">
15
+ <thead>
16
+ <tr>
17
+ <th>{% translate "Pilot" %}</th>
18
+ <th>
19
+ {% translate "Ship class" as table_header %}
20
+ {{ table_header|title }}
21
+ </th>
22
+ <th>{% translate "System" %}</th>
23
+ </tr>
24
+ </thead>
25
+ </table>
26
+
27
+ <div class="aa-intel-loading-table-info aa-intel-loading-table-info-fleetcomp-pilot-ships bs-callout bs-callout-info">
28
+ <p>
29
+ {% translate "Loading data …" %}
30
+ </p>
31
+ </div>
32
+
33
+ <div class="aa-intel-empty-table-info aa-intel-empty-table-info-fleetcomp-pilot-ships bs-callout bs-callout-info">
34
+ <p>
35
+ {% translate "No data …" %}
36
+ </p>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ </div>
@@ -0,0 +1,24 @@
1
+ {% load i18n %}
2
+
3
+ <div class="local-scan-result row" id="aa-intel-fleetcomp-details-row">
4
+ <div class="clearfix">
5
+ <div class="col-sm-6 col-md-4 col-lg-4 clearfix">
6
+ <header class="aa-intel-section-header">
7
+ <h2>
8
+ {% translate "Fleet details" as section_header %}
9
+ {{ section_header|title }}
10
+
11
+ <small>
12
+ ({% translate "Pilots in fleet" %}: <span id="aa-intel-fleet-participation-count">0</span>)
13
+ </small>
14
+ </h2>
15
+ </header>
16
+ </div>
17
+ </div>
18
+
19
+ {% translate "Ship classes" as fleetscan_header_shipclasses %}
20
+
21
+ {% include "aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html" with section_header=fleetscan_header_shipclasses dscan_section="ship-classes" omit_counter=True %}
22
+ {% include "aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-types.html" %}
23
+ {% include "aa_intel_tool/partials/scan/fleetcomp/fleet-details/pilots.html" %}
24
+ </div>
@@ -0,0 +1,18 @@
1
+ {% load i18n %}
2
+
3
+ <div class="local-scan-result row" id="aa-intel-fleetcomp-participation-row">
4
+ <div class="clearfix">
5
+ <div class="col-sm-6 col-md-4 col-lg-4 clearfix">
6
+ <header class="aa-intel-section-header">
7
+ <h2>
8
+ {% translate "Participation details" as section_header %}
9
+ {{ section_header|title }}
10
+ </h2>
11
+ </header>
12
+ </div>
13
+ </div>
14
+
15
+ {% include "aa_intel_tool/partials/scan/chatlist/alliances.html" %}
16
+ {% include "aa_intel_tool/partials/scan/chatlist/corporations.html" %}
17
+ {% include "aa_intel_tool/partials/scan/chatlist/pilots.html" %}
18
+ </div>
@@ -3,7 +3,7 @@
3
3
  {% load evelinks %}
4
4
  {% load i18n %}
5
5
 
6
- {% block page_title %}{% translate "Intel Tool" %}{% endblock %}
6
+ {% block page_title %}{% translate "Intel Parser" %}{% endblock %}
7
7
 
8
8
  {% block aa_intel_tool_header %}
9
9
  <header>
@@ -2,13 +2,11 @@
2
2
 
3
3
  {% load i18n %}
4
4
 
5
- {% translate "Unaffiliated / No Alliance" as no_alliance %}
6
-
7
- {% block page_title %}{% translate "Chat List Scan » Intel Tool" %}{% endblock %}
5
+ {% block page_title %}{{ parser_title|title }} » {% translate "Intel Parser" %}{% endblock %}
8
6
 
9
7
  {% block aa_intel_tool_header %}
10
8
  <header>
11
- <h1>{% translate "Chat List Scan" %}</h1>
9
+ <h1>{{ parser_title|title }}</h1>
12
10
  </header>
13
11
 
14
12
  {% include "aa_intel_tool/partials/scan/evetime.html" %}
@@ -2,13 +2,11 @@
2
2
 
3
3
  {% load i18n %}
4
4
 
5
- {% translate "Unaffiliated / No Alliance" as no_alliance %}
6
-
7
- {% block page_title %}{% translate "D-Scan » Intel Tool" %}{% endblock %}
5
+ {% block page_title %}{{ parser_title|title }} » {% translate "Intel Parser" %}{% endblock %}
8
6
 
9
7
  {% block aa_intel_tool_header %}
10
8
  <header>
11
- <h1>{% translate "D-Scan" %}</h1>
9
+ <h1>{{ parser_title|title }}</h1>
12
10
  </header>
13
11
 
14
12
  {% include "aa_intel_tool/partials/scan/evetime.html" %}