aa-structures 2.17.0__py3-none-any.whl → 3.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.
- {aa_structures-2.17.0.dist-info → aa_structures-3.0.0.dist-info}/METADATA +5 -4
- {aa_structures-2.17.0.dist-info → aa_structures-3.0.0.dist-info}/RECORD +20 -20
- {aa_structures-2.17.0.dist-info → aa_structures-3.0.0.dist-info}/WHEEL +1 -1
- structures/__init__.py +1 -1
- structures/core/serializers.py +6 -6
- structures/static/structures/js/public.js +9 -3
- structures/static/structures/js/structures.js +5 -1
- structures/templates/structures/base.html +39 -6
- structures/templates/structures/modals/poco_details.html +15 -15
- structures/templates/structures/modals/starbase_detail.html +19 -20
- structures/templates/structures/modals/structure_details.html +19 -21
- structures/templates/structures/partials/menu.html +2 -2
- structures/templates/structures/public.html +28 -34
- structures/templates/structures/statistics.html +11 -19
- structures/templates/structures/structures.html +89 -99
- structures/templates/structures/templatetags/list_asset.html +7 -5
- structures/templates/structures/templatetags/list_item.html +3 -3
- structures/templates/structures/templatetags/list_tax_item.html +3 -3
- structures/templates/structures/templatetags/list_title.html +1 -1
- {aa_structures-2.17.0.dist-info → aa_structures-3.0.0.dist-info/licenses}/LICENSE +0 -0
@@ -1,13 +1,12 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: aa-structures
|
3
|
-
Version:
|
3
|
+
Version: 3.0.0
|
4
4
|
Summary: App for managing Eve Online structures with Alliance Auth.
|
5
5
|
Author-email: Erik Kalkoken <kalkoken87@gmail.com>
|
6
6
|
Requires-Python: >=3.8
|
7
7
|
Description-Content-Type: text/markdown
|
8
8
|
Classifier: Environment :: Web Environment
|
9
9
|
Classifier: Framework :: Django
|
10
|
-
Classifier: Framework :: Django :: 4.0
|
11
10
|
Classifier: Framework :: Django :: 4.2
|
12
11
|
Classifier: Intended Audience :: End Users/Desktop
|
13
12
|
Classifier: License :: OSI Approved :: MIT License
|
@@ -17,10 +16,12 @@ Classifier: Programming Language :: Python :: 3.8
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.9
|
18
17
|
Classifier: Programming Language :: Python :: 3.10
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
20
20
|
Classifier: Topic :: Internet :: WWW/HTTP
|
21
21
|
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
22
|
+
License-File: LICENSE
|
22
23
|
Requires-Dist: allianceauth-app-utils>=1.22
|
23
|
-
Requires-Dist: allianceauth>=
|
24
|
+
Requires-Dist: allianceauth>=4
|
24
25
|
Requires-Dist: dhooks-lite>=1.0
|
25
26
|
Requires-Dist: django-eveuniverse>=1.5.2
|
26
27
|
Requires-Dist: django-multiselectfield
|
@@ -1,4 +1,4 @@
|
|
1
|
-
structures/__init__.py,sha256=
|
1
|
+
structures/__init__.py,sha256=p-Kws80XoPuHIk0qVeDd8FLU4GCvqHAoNk9pn-WgZC4,203
|
2
2
|
structures/admin.py,sha256=K7wh8mHFfGHONn7oLdqXsBAxq0rmYrwbZ7S3uIOuMtg,41303
|
3
3
|
structures/app_settings.py,sha256=aWA2bTcv_vVwIyisx-G7GBSpfM6JDyt2MWcXKtHnjK0,6651
|
4
4
|
structures/apps.py,sha256=MNZH9l3qWCwuS7OGiKGkBVrDzKoOFlqwDdEgyEFzxVA,195
|
@@ -13,7 +13,7 @@ structures/urls.py,sha256=An5v27AD_NXMNL66cMVtQNci1C_Aqry32rrvDkMpgYo,1467
|
|
13
13
|
structures/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
14
|
structures/core/notification_timers.py,sha256=KLjkVrlCCKTWtHJNUfI3U6ppAIZN8vPnIx1zCafRkKQ,16748
|
15
15
|
structures/core/notification_types.py,sha256=AMelkzBgOVcXKQauHEjBkcu5iFcLx6R_e9kXLBasbrs,13676
|
16
|
-
structures/core/serializers.py,sha256=
|
16
|
+
structures/core/serializers.py,sha256=E20LHTt24RfjzuDDhXo-K4JjMiZaa5eHdm61YTzpwZo,20989
|
17
17
|
structures/core/sovereignty.py,sha256=XKgjAFO4BfLpEEUz_hBr2DVDnvWBq9sL9EEQiT4T0n0,730
|
18
18
|
structures/core/starbases.py,sha256=nw7skHYATrnAV-zuPAuxmhM5E4Aqjc_DHSU2TYWgBng,1757
|
19
19
|
structures/core/notification_embeds/__init__.py,sha256=30cpjKLZ5_OFtXDACDcjvWQAYszM2BrYxUYb5PRQoTA,131
|
@@ -126,26 +126,26 @@ structures/static/structures/img/panel/tyrannis_darkred.png,sha256=CwCeqXvr6Nm-K
|
|
126
126
|
structures/static/structures/img/panel/tyrannis_default.png,sha256=18TntkT7i0YZHZ-v9D_-glKHDKYEA0rSTjXMqwXFy0Q,38343
|
127
127
|
structures/static/structures/img/panel/tyrannis_revelations.png,sha256=mnaL5lt-1D-Do7sb77QJDc3EPtoynz207Z932S09is0,42868
|
128
128
|
structures/static/structures/js/global.js,sha256=DK1IZs-SePAO00WVTo03iOcw1CfT43ET2X7a4givvgk,1842
|
129
|
-
structures/static/structures/js/public.js,sha256=
|
129
|
+
structures/static/structures/js/public.js,sha256=Bxi2BOE2H9fxzlC9U4qiboKqUDXy8MMGC5elvWKiFeE,3970
|
130
130
|
structures/static/structures/js/statistics.js,sha256=qSfjy3opXq9XQ1Fp1yXA0dbk6JylgavpJpVIPfRZ9x8,2857
|
131
|
-
structures/static/structures/js/structures.js,sha256=
|
131
|
+
structures/static/structures/js/structures.js,sha256=RPgdyQHPssY1VcaPMdkTFiKeRuZGz1r-T3CWm3Fn83w,15240
|
132
132
|
structures/static/structures/vendor/datatables/plugins/dataTables.rowGroup.min.js,sha256=TqdVnz3vX_H-UpCbPy3eqKY7poGMHGkKud7oBnHu9eY,5573
|
133
133
|
structures/static/structures/vendor/datatables/plugins/datetime.js,sha256=yJzBU69oWEoQI16MOC18R2vrPpzqPGrGmtFhR6UT30A,3908
|
134
134
|
structures/static/structures/vendor/datatables/plugins/filterDropDown.min.js,sha256=_ZGm5gV7NHq3wulljXeipLvpJi0SNEI4mydoEUCXIeQ,2529
|
135
135
|
structures/static/structures/vendor/datatables/plugins/rowGroup.bootstrap.min.css,sha256=mfb-mieZDwLASMlQTUNXrZQr8OXvQyEDfV3Xz3E7DSU,384
|
136
136
|
structures/static/structures/vendor/datatables/plugins/rowGroup.dataTables.min.css,sha256=mfb-mieZDwLASMlQTUNXrZQr8OXvQyEDfV3Xz3E7DSU,384
|
137
|
-
structures/templates/structures/base.html,sha256=
|
138
|
-
structures/templates/structures/public.html,sha256=
|
139
|
-
structures/templates/structures/statistics.html,sha256=
|
140
|
-
structures/templates/structures/structures.html,sha256=
|
137
|
+
structures/templates/structures/base.html,sha256=uefphR7JSABi6BtoOzx4t4cMBCMqelVPNpMYESe27xI,1711
|
138
|
+
structures/templates/structures/public.html,sha256=P93tur3mxlx-MwTfGPu6KBlxBfMVV2WnnJJdGOF5tQI,3219
|
139
|
+
structures/templates/structures/statistics.html,sha256=2AVIeznBQCaJc-z7kxNSx3pxSdLW5Y81AiISbvUTAPE,1644
|
140
|
+
structures/templates/structures/structures.html,sha256=BfzIj_i6jYLOQNXx_aopIv7PJAD-MEyXVuLM4b02vAQ,8138
|
141
141
|
structures/templates/structures/modals/fitting_assets.html,sha256=0GSpDAk-wgvaZdxM9JzteUYhoPsek5y-L4TdG2q5Sbg,264
|
142
142
|
structures/templates/structures/modals/fitting_gfx.html,sha256=hmdU1Zv09woGKigUugbBRxScKQun8l81yEPUMGrok2g,9530
|
143
|
-
structures/templates/structures/modals/poco_details.html,sha256=
|
144
|
-
structures/templates/structures/modals/starbase_detail.html,sha256
|
145
|
-
structures/templates/structures/modals/structure_details.html,sha256=
|
143
|
+
structures/templates/structures/modals/poco_details.html,sha256=oiaSEMF9HiojXHbN2OjHmK5nPuWRR4mZBgB9ySYNrAY,2835
|
144
|
+
structures/templates/structures/modals/starbase_detail.html,sha256=-mOo5zMGClZ2oRjVQS440n55ipHM8rU2O8wVPuI3OmI,4383
|
145
|
+
structures/templates/structures/modals/structure_details.html,sha256=zY3X_LFmrj2c3bUevSDd10qzmR1rsHqtgkDbSI_e8Xc,4339
|
146
146
|
structures/templates/structures/modals/tab_general_detail.html,sha256=oX3Aa3RrjfWXUDiQgxB7HN-6ILJDL0fZuf85_0Kua5w,2324
|
147
147
|
structures/templates/structures/modals/tab_services_detail.html,sha256=fd-KhwR0ARF3hFCPXCjirpBHgdZv-RgoXzHMYUe0vSQ,596
|
148
|
-
structures/templates/structures/partials/menu.html,sha256=
|
148
|
+
structures/templates/structures/partials/menu.html,sha256=rSsemMJclo_O33V9NaGRMa39tZizpwZXHXvkfUAYknM,2335
|
149
149
|
structures/templates/structures/partials/public/poco_list.html,sha256=tVAsGXS7rh7Qr5x2X26buyt7jwJJ-YoNLs9eMs0gDM4,1222
|
150
150
|
structures/templates/structures/partials/statistics/structure_summary.html,sha256=ZCEBOPhfOUyih7C8TzaQi9OI2AsMzZGBb9ZGHsShzmk,1133
|
151
151
|
structures/templates/structures/partials/structures/active_tags.html,sha256=KhYA6LbAqg-iJJ2J4BGACXdbdiZFM4wAgDEq2RQEu0s,106
|
@@ -154,10 +154,10 @@ structures/templates/structures/partials/structures/orbital_list.html,sha256=uWV
|
|
154
154
|
structures/templates/structures/partials/structures/starbase_list.html,sha256=Djl3nsTSn9TIZ6k4F0hiF-qDv_rLiVSIapnWUz0bvqU,1412
|
155
155
|
structures/templates/structures/partials/structures/structure_list.html,sha256=2EHP1xJrmDNhwENhxGY3L6YbC53qFwhnDHcFzxkNXpI,1421
|
156
156
|
structures/templates/structures/templatetags/detail_title.html,sha256=PWoYNZhTt1ngDEdz_B4TlyC7duO-8MxgznSUb27lUDA,117
|
157
|
-
structures/templates/structures/templatetags/list_asset.html,sha256=
|
158
|
-
structures/templates/structures/templatetags/list_item.html,sha256=
|
159
|
-
structures/templates/structures/templatetags/list_tax_item.html,sha256=
|
160
|
-
structures/templates/structures/templatetags/list_title.html,sha256=
|
157
|
+
structures/templates/structures/templatetags/list_asset.html,sha256=loGzJwxp--c3nYAukAAGqfp4_hcBddoWgbooLLPDI1A,414
|
158
|
+
structures/templates/structures/templatetags/list_item.html,sha256=jhl2Clt6fmLSQPidTqkgwTk2gZmwx7aWTQ7ClQSwwyM,706
|
159
|
+
structures/templates/structures/templatetags/list_tax_item.html,sha256=Cs9KDpCaiC-hyBqETbWObSnepn1lpRBjto33OY_X4x0,505
|
160
|
+
structures/templates/structures/templatetags/list_title.html,sha256=IzRlAPQ1cDDXnhpEO2CtD_GIfHrh-wy06LeOZP3KmNw,52
|
161
161
|
structures/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
162
162
|
structures/templatetags/structures.py,sha256=vSt5AnfYuo11q1SxiskT4oshSMsZ9ZgM0nYpYiMl8bA,1637
|
163
163
|
structures/tests/__init__.py,sha256=9MrJzKr8DdsQY3-79v188pTpwqT4TDQ46vKnBJAGqic,75
|
@@ -225,7 +225,7 @@ structures/webhooks/models.py,sha256=kUkt9rnRQIJIrU9Bjcs34rvkb-TMbUubHdn-kny08kI
|
|
225
225
|
structures/webhooks/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
226
226
|
structures/webhooks/tests/test_core.py,sha256=4NcEAQgK2KhQkFOxYh2ad0S-qUWh1DNGDmLo5Mo5opI,6762
|
227
227
|
structures/webhooks/tests/test_utils.py,sha256=ekADFv0JOEtXeqdiejbeqrABO__Q1flJHzVieQ7L9e0,459
|
228
|
-
aa_structures-
|
229
|
-
aa_structures-
|
230
|
-
aa_structures-
|
231
|
-
aa_structures-
|
228
|
+
aa_structures-3.0.0.dist-info/licenses/LICENSE,sha256=XZiwB_S_40_HhnvLg5xvtBb3g1oGjPrk0rpFwk8iInE,1070
|
229
|
+
aa_structures-3.0.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
230
|
+
aa_structures-3.0.0.dist-info/METADATA,sha256=OyAeM44w8YCHpim9bIhelwPeDXb45WR3PkJkXx3mCX0,6003
|
231
|
+
aa_structures-3.0.0.dist-info/RECORD,,
|
structures/__init__.py
CHANGED
structures/core/serializers.py
CHANGED
@@ -330,8 +330,8 @@ class _AbstractStructureListSerializer(ABC):
|
|
330
330
|
):
|
331
331
|
ajax_url = reverse("structures:structure_details", args=[structure.id])
|
332
332
|
row["details"] = format_html(
|
333
|
-
'<button type="button" class="btn btn-
|
334
|
-
'data-toggle="modal" data-target="#modalUpwellDetails" '
|
333
|
+
'<button type="button" class="btn btn-secondary" '
|
334
|
+
'data-bs-toggle="modal" data-bs-target="#modalUpwellDetails" '
|
335
335
|
f"data-ajax_url={ajax_url} "
|
336
336
|
f'title="{_("Show fitting")}">'
|
337
337
|
'<i class="fas fa-search"></i></button>'
|
@@ -340,8 +340,8 @@ class _AbstractStructureListSerializer(ABC):
|
|
340
340
|
elif structure.is_poco:
|
341
341
|
ajax_url = reverse("structures:poco_details", args=[structure.id])
|
342
342
|
row["details"] = format_html(
|
343
|
-
'<button type="button" class="btn btn-
|
344
|
-
'data-toggle="modal" data-target="#modalPocoDetails" '
|
343
|
+
'<button type="button" class="btn btn-secondary" '
|
344
|
+
'data-bs-toggle="modal" data-bs-target="#modalPocoDetails" '
|
345
345
|
f"data-ajax_url={ajax_url} "
|
346
346
|
f'title="{_("Show details")}">'
|
347
347
|
'<i class="fas fa-search"></i></button>'
|
@@ -350,8 +350,8 @@ class _AbstractStructureListSerializer(ABC):
|
|
350
350
|
elif structure.is_starbase:
|
351
351
|
ajax_url = reverse("structures:starbase_detail", args=[structure.id])
|
352
352
|
row["details"] = format_html(
|
353
|
-
'<button type="button" class="btn btn-
|
354
|
-
'data-toggle="modal" data-target="#modalStarbaseDetail" '
|
353
|
+
'<button type="button" class="btn btn-secondary" '
|
354
|
+
'data-bs-toggle="modal" data-bs-target="#modalStarbaseDetail" '
|
355
355
|
f"data-ajax_url={ajax_url} "
|
356
356
|
f'title="{_("Show details")}">'
|
357
357
|
'<i class="fas fa-search"></i></button>'
|
@@ -92,41 +92,47 @@ $(document).ready(function () {
|
|
92
92
|
{
|
93
93
|
idx: pocos_idx_start,
|
94
94
|
title: filterTitles.constellation,
|
95
|
-
maxWidth: "
|
95
|
+
maxWidth: "10em",
|
96
96
|
},
|
97
97
|
{
|
98
98
|
idx: pocos_idx_start + 1,
|
99
99
|
title: filterTitles.planet_type,
|
100
|
+
maxWidth: "10em",
|
100
101
|
},
|
101
102
|
{
|
102
103
|
idx: pocos_idx_start + 2,
|
103
104
|
title: filterTitles.space_type,
|
105
|
+
maxWidth: "10em",
|
104
106
|
},
|
105
107
|
{
|
106
108
|
idx: pocos_idx_start + 3,
|
107
109
|
title: filterTitles.region,
|
110
|
+
maxWidth: "10em",
|
108
111
|
},
|
109
112
|
{
|
110
113
|
idx: pocos_idx_start + 4,
|
111
114
|
title: filterTitles.solar_system,
|
115
|
+
maxWidth: "10em",
|
112
116
|
},
|
113
117
|
{
|
114
118
|
idx: pocos_idx_start + 5,
|
115
119
|
title: filterTitles.corporation,
|
116
|
-
maxWidth: "
|
120
|
+
maxWidth: "10em",
|
117
121
|
},
|
118
122
|
{
|
119
123
|
idx: pocos_idx_start + 6,
|
120
124
|
title: filterTitles.alliance,
|
121
|
-
maxWidth: "
|
125
|
+
maxWidth: "10em",
|
122
126
|
},
|
123
127
|
{
|
124
128
|
idx: pocos_idx_start + 7,
|
125
129
|
title: filterTitles.access,
|
130
|
+
maxWidth: "10em",
|
126
131
|
},
|
127
132
|
],
|
128
133
|
autoSize: false,
|
129
134
|
bootstrap: true,
|
135
|
+
bootstrap_version: 5,
|
130
136
|
},
|
131
137
|
});
|
132
138
|
});
|
@@ -22,7 +22,7 @@ $(document).ready(function () {
|
|
22
22
|
$('a[href="#' + tabId + '"]').tab("show");
|
23
23
|
|
24
24
|
/* remember last selected tab */
|
25
|
-
$('a[data-toggle="tab"]').on("shown.bs.tab", function (e) {
|
25
|
+
$('a[data-bs-toggle="tab"]').on("shown.bs.tab", function (e) {
|
26
26
|
const selectedTabId = $(e.target).attr("href").substr(1);
|
27
27
|
setCookie(COOKIE_LAST_TAB_ID, selectedTabId, COOKIE_LAST_TAB_HOURS);
|
28
28
|
});
|
@@ -155,6 +155,7 @@ $(document).ready(function () {
|
|
155
155
|
],
|
156
156
|
autoSize: false,
|
157
157
|
bootstrap: true,
|
158
|
+
bootstrap_version: 5,
|
158
159
|
},
|
159
160
|
},
|
160
161
|
});
|
@@ -242,6 +243,7 @@ $(document).ready(function () {
|
|
242
243
|
],
|
243
244
|
autoSize: false,
|
244
245
|
bootstrap: true,
|
246
|
+
bootstrap_version: 5,
|
245
247
|
},
|
246
248
|
},
|
247
249
|
});
|
@@ -328,6 +330,7 @@ $(document).ready(function () {
|
|
328
330
|
],
|
329
331
|
autoSize: false,
|
330
332
|
bootstrap: true,
|
333
|
+
bootstrap_version: 5,
|
331
334
|
},
|
332
335
|
},
|
333
336
|
});
|
@@ -455,6 +458,7 @@ $(document).ready(function () {
|
|
455
458
|
],
|
456
459
|
autoSize: false,
|
457
460
|
bootstrap: true,
|
461
|
+
bootstrap_version: 5,
|
458
462
|
},
|
459
463
|
createdRow: function (row, data, dataIndex) {
|
460
464
|
if (data["is_reinforced"]) {
|
@@ -1,13 +1,46 @@
|
|
1
|
-
{% extends 'allianceauth/base.html' %}
|
1
|
+
{% extends 'allianceauth/base-bs5.html' %}
|
2
2
|
{% load i18n %}
|
3
|
+
{% load navactive %}
|
3
4
|
|
4
5
|
{% block page_title %}{% translate "Structures" %}{% endblock %}
|
5
6
|
|
7
|
+
{% block header_nav_brand %}{% translate "Structures" %}{% endblock %}
|
8
|
+
|
9
|
+
{% block header_nav_collapse_left %}
|
10
|
+
{% if perms.structures.view_corporation_structures or perms.structures.view_alliance_structures or perms.structures.view_all_structures %}
|
11
|
+
<li class="nav-item">
|
12
|
+
<a class="nav-link {% navactive request 'structures:structure_list' %}" href="{% url 'structures:structure_list' %}">
|
13
|
+
{% translate 'Structure List' %}
|
14
|
+
</a>
|
15
|
+
</li>
|
16
|
+
|
17
|
+
<li class="nav-item">
|
18
|
+
<a class="nav-link {% navactive request 'structures:statistics' %}" href="{% url 'structures:statistics' %}">
|
19
|
+
{% translate 'Statistics' %}
|
20
|
+
</a>
|
21
|
+
</li>
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
|
25
|
+
<li class="nav-item me-auto">
|
26
|
+
<a class="nav-link {% navactive request 'structures:public' %}" href="{% url 'structures:public' %}">
|
27
|
+
{% translate 'Public' %}
|
28
|
+
</a>
|
29
|
+
</li>
|
30
|
+
|
31
|
+
{% endblock header_nav_collapse_left %}
|
32
|
+
|
33
|
+
{% block header_nav_user_character_control %}
|
34
|
+
{% if perms.structures.add_structure_owner %}
|
35
|
+
<li class="nav-item">
|
36
|
+
<a class="nav-link text-success" href="{% url 'structures:add_structure_owner' %}" title="{% translate 'Add new structure owner or add new sync character to an existing structure owner' %}">
|
37
|
+
<i class="fa-solid fa-plus"></i>
|
38
|
+
</a>
|
39
|
+
</li>
|
40
|
+
{% endif %}
|
41
|
+
<div class="vr"></div>
|
42
|
+
{% endblock header_nav_user_character_control %}
|
43
|
+
|
6
44
|
{% block content %}
|
7
|
-
<br />
|
8
|
-
<div>
|
9
|
-
{% include 'structures/partials/menu.html' %}
|
10
|
-
<h2 class="text-left">{{ page_title }}</h2>
|
11
45
|
{% block details %}{% endblock %}
|
12
|
-
</div>
|
13
46
|
{% endblock %}
|
@@ -4,8 +4,8 @@
|
|
4
4
|
{% load structures %}
|
5
5
|
|
6
6
|
<div class="modal-header">
|
7
|
-
<
|
8
|
-
<
|
7
|
+
<h5 class="modal-title">{{ structure }}</h5>
|
8
|
+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
9
9
|
</div>
|
10
10
|
|
11
11
|
<div class="modal-body">
|
@@ -13,27 +13,27 @@
|
|
13
13
|
<br>
|
14
14
|
|
15
15
|
<!-- Nav tabs -->
|
16
|
-
<ul class="nav nav-
|
17
|
-
<li
|
18
|
-
<
|
16
|
+
<ul class="nav nav-pills" role="tablist">
|
17
|
+
<li class="nav-item" role="presentation">
|
18
|
+
<button class="nav-link active" data-bs-target="#tab-poco-general" aria-controls="modules" role="tab" data-bs-toggle="tab">
|
19
19
|
{% translate "General" %}
|
20
|
-
</
|
20
|
+
</button>
|
21
21
|
</li>
|
22
|
-
|
23
|
-
<
|
24
|
-
{% translate "Reinforcement
|
25
|
-
</
|
22
|
+
<li class="nav-item" role="presentation">
|
23
|
+
<button class="nav-link" data-bs-target="#tab-poco-reinforcement" aria-controls="access" role="tab" data-bs-toggle="tab">
|
24
|
+
{% translate "Reinforcement" %}
|
25
|
+
</button>
|
26
26
|
</li>
|
27
|
-
<li role="presentation">
|
28
|
-
<
|
29
|
-
{% translate "Tax
|
30
|
-
</
|
27
|
+
<li class="nav-item" role="presentation">
|
28
|
+
<button class="nav-link" data-bs-target="#tab-poco-settings" aria-controls="settings" role="tab" data-bs-toggle="tab">
|
29
|
+
{% translate "Tax & Access" %}
|
30
|
+
</button>
|
31
31
|
</li>
|
32
32
|
</ul>
|
33
33
|
|
34
34
|
<!-- Tab panes -->
|
35
35
|
<div class="tab-content">
|
36
|
-
<div role="tabpanel" class="tab-pane active" id="tab-poco-general">
|
36
|
+
<div role="tabpanel" class="tab-pane show active" id="tab-poco-general">
|
37
37
|
{% include "structures/modals/tab_general_detail.html" %}
|
38
38
|
</div>
|
39
39
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
{% load structures %}
|
5
5
|
|
6
6
|
<div class="modal-header">
|
7
|
-
<
|
8
|
-
<
|
7
|
+
<h5 class="modal-title">{{structure}}</h5>
|
8
|
+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
9
9
|
</div>
|
10
10
|
|
11
11
|
<div class="modal-body">
|
@@ -13,37 +13,36 @@
|
|
13
13
|
<br>
|
14
14
|
|
15
15
|
<!-- Nav tabs -->
|
16
|
-
<ul class="nav nav-
|
17
|
-
<li
|
18
|
-
<
|
16
|
+
<ul class="nav nav-pills" role="tablist">
|
17
|
+
<li class="nav-item" role="presentation">
|
18
|
+
<button class="nav-link active" data-bs-target="#tab-starbase-general" aria-controls="modules" role="tab" data-bs-toggle="tab">
|
19
19
|
{% translate "General" %}
|
20
|
-
</
|
20
|
+
</button>
|
21
21
|
</li>
|
22
|
-
<li role="presentation">
|
23
|
-
<
|
22
|
+
<li class="nav-item" role="presentation">
|
23
|
+
<button class="nav-link" data-bs-target="#tab-starbase-fuel" aria-controls="fuels" role="tab" data-bs-toggle="tab">
|
24
24
|
{% translate "Fuel" %} <small>({{ fuel_blocks_count|default:"-"|intcomma }})</small>
|
25
|
-
</
|
25
|
+
</button>
|
26
26
|
</li>
|
27
|
-
<li role="presentation">
|
28
|
-
<
|
27
|
+
<li class="nav-item" role="presentation">
|
28
|
+
<button class="nav-link" data-bs-target="#tab-starbase-modules" aria-controls="modules" role="tab" data-bs-toggle="tab">
|
29
29
|
{% translate "Modules" %} <small>({{ modules_count }})</small>
|
30
|
-
</
|
30
|
+
</button>
|
31
31
|
</li>
|
32
|
-
<li role="presentation">
|
33
|
-
<
|
32
|
+
<li class="nav-item" role="presentation">
|
33
|
+
<button class="nav-link" data-bs-target="#tab-starbase-settings" aria-controls="settings" role="tab" data-bs-toggle="tab">
|
34
34
|
{% translate "Settings" %}
|
35
|
-
</
|
35
|
+
</button>
|
36
36
|
</li>
|
37
|
-
<li role="presentation">
|
38
|
-
<
|
37
|
+
<li class="nav-item" role="presentation">
|
38
|
+
<button class="nav-link" data-bs-target="#tab-starbase-access" aria-controls="access" role="tab" data-bs-toggle="tab">
|
39
39
|
{% translate "Access" %}
|
40
|
-
</
|
40
|
+
</button>
|
41
41
|
</li>
|
42
42
|
</ul>
|
43
|
-
|
44
43
|
<!-- Tab panes -->
|
45
44
|
<div class="tab-content">
|
46
|
-
<div role="tabpanel" class="tab-pane active" id="tab-starbase-general">
|
45
|
+
<div role="tabpanel" class="tab-pane show active" id="tab-starbase-general">
|
47
46
|
{% include "structures/modals/tab_general_detail.html" %}
|
48
47
|
</div>
|
49
48
|
|
@@ -4,10 +4,8 @@
|
|
4
4
|
{% load structures %}
|
5
5
|
|
6
6
|
<div class="modal-header">
|
7
|
-
<
|
8
|
-
|
9
|
-
</button>
|
10
|
-
<h4 class="modal-title">{{structure.eve_solar_system.name}} - {{structure.name}}</h4>
|
7
|
+
<h5 class="modal-title">{{structure.eve_solar_system.name}} - {{structure.name}}</h5>
|
8
|
+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
11
9
|
</div>
|
12
10
|
|
13
11
|
<div class="modal-body">
|
@@ -15,38 +13,38 @@
|
|
15
13
|
<br>
|
16
14
|
|
17
15
|
<!-- Nav tabs -->
|
18
|
-
<ul class="nav nav-
|
19
|
-
<li
|
20
|
-
<
|
16
|
+
<ul class="nav nav-pills" role="tablist">
|
17
|
+
<li class="nav-item" role="presentation">
|
18
|
+
<button class="nav-link active" data-bs-target="#tab-structure-general" aria-controls="modules" role="tab" data-bs-toggle="tab">
|
21
19
|
{% translate "General" %}
|
22
|
-
</
|
20
|
+
</button>
|
23
21
|
</li>
|
24
|
-
<li role="presentation">
|
25
|
-
<
|
22
|
+
<li class="nav-item" role="presentation">
|
23
|
+
<button class="nav-link" data-bs-target="#tab-structure-services" aria-controls="fuel" role="tab" data-bs-toggle="tab">
|
26
24
|
{% translate "Services" %} <small>({{ services_count|default:"-"|intcomma }})</small>
|
27
|
-
</
|
25
|
+
</button>
|
28
26
|
</li>
|
29
27
|
|
30
|
-
<li role="presentation">
|
31
|
-
<
|
28
|
+
<li class="nav-item" role="presentation">
|
29
|
+
<button class="nav-link" data-bs-target="#tab-structure-fuel" aria-controls="fuel" role="tab" data-bs-toggle="tab">
|
32
30
|
{% translate "Fuel" %} <small>({{ fuel_blocks_total|default:"-"|intcomma }})</small>
|
33
|
-
</
|
31
|
+
</button>
|
34
32
|
</li>
|
35
|
-
<li role="presentation">
|
36
|
-
<
|
33
|
+
<li class="nav-item" role="presentation">
|
34
|
+
<button class="nav-link" data-bs-target="#tab-structure-ammo" aria-controls="ammo" role="tab" data-bs-toggle="tab">
|
37
35
|
{% translate "Ammo" %} <small>({{ ammo_total|default:"-"|intcomma }})</small>
|
38
|
-
</
|
36
|
+
</button>
|
39
37
|
</li>
|
40
|
-
<li role="presentation">
|
41
|
-
<
|
38
|
+
<li class="nav-item" role="presentation">
|
39
|
+
<button class="nav-link" data-bs-target="#tab-structure-modules" aria-controls="modules" role="tab" data-bs-toggle="tab">
|
42
40
|
{% translate "Modules" %} <small>({{ modules_count }})</small>
|
43
|
-
</
|
41
|
+
</button>
|
44
42
|
</li>
|
45
43
|
</ul>
|
46
44
|
|
47
45
|
<!-- Tab panes -->
|
48
46
|
<div class="tab-content">
|
49
|
-
<div role="tabpanel" class="tab-pane active" id="tab-structure-general">
|
47
|
+
<div role="tabpanel" class="tab-pane show active" id="tab-structure-general">
|
50
48
|
{% include "structures/modals/tab_general_detail.html" %}
|
51
49
|
</div>
|
52
50
|
|
@@ -5,8 +5,8 @@
|
|
5
5
|
<nav class="navbar navbar-default">
|
6
6
|
<div class="container-fluid">
|
7
7
|
<div class="navbar-header">
|
8
|
-
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
|
9
|
-
data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
|
8
|
+
<button type="button" class="navbar-toggle collapsed" data-bs-toggle="collapse"
|
9
|
+
data-bs-target="#bs-example-navbar-collapse-1" aria-expanded="false">
|
10
10
|
<span class="sr-only">{% translate "Toggle navigation" %}</span>
|
11
11
|
<span class="icon-bar"></span>
|
12
12
|
<span class="icon-bar"></span>
|
@@ -5,44 +5,41 @@
|
|
5
5
|
|
6
6
|
{% block details %}
|
7
7
|
|
8
|
-
<span class="pull-right">
|
9
|
-
<form class="form-inline">
|
10
|
-
<select
|
11
|
-
class="form-control"
|
12
|
-
name="character_id"
|
13
|
-
style="height: auto;"
|
14
|
-
onchange="this.form.submit()"
|
15
|
-
title="Character for calculating access and tax">
|
16
|
-
{% for character in characters %}
|
17
|
-
<option
|
18
|
-
value="{{ character.character_id }}"
|
19
|
-
{% if character.character_id == selected_character.character_id %} selected{% endif %}>
|
20
|
-
{{ character.character_name }}
|
21
|
-
</option>
|
22
|
-
{% endfor %}
|
23
|
-
</select>
|
24
|
-
</form>
|
25
|
-
</span>
|
26
8
|
|
27
9
|
<!-- Nav tabs -->
|
28
|
-
<ul
|
10
|
+
<ul class="nav nav-tabs" role="tablist">
|
29
11
|
|
30
|
-
<li role="presentation" class="
|
31
|
-
<
|
12
|
+
<li role="presentation" class="nav-item me-auto">
|
13
|
+
<button class="nav-link active" aria-controls="orbitals" role="tab" data-bs-toggle="tab" data-bs-target="#pocos">
|
32
14
|
{% translate "Customs Offices" %} <small>({{ pocos_count|default:"-" }})</small>
|
33
|
-
</
|
15
|
+
</button>
|
34
16
|
</li>
|
35
17
|
|
18
|
+
<li role="presentation" class="nav-item">
|
19
|
+
<form class="form-inline">
|
20
|
+
<select
|
21
|
+
class="form-control"
|
22
|
+
name="character_id"
|
23
|
+
style="height: auto;"
|
24
|
+
onchange="this.form.submit()"
|
25
|
+
title="Character for calculating access and tax">
|
26
|
+
{% for character in characters %}
|
27
|
+
<option
|
28
|
+
value="{{ character.character_id }}"
|
29
|
+
{% if character.character_id == selected_character.character_id %} selected{% endif %}>
|
30
|
+
{{ character.character_name }}
|
31
|
+
</option>
|
32
|
+
{% endfor %}
|
33
|
+
</select>
|
34
|
+
</form>
|
35
|
+
</li>
|
36
36
|
</ul>
|
37
37
|
|
38
|
-
<div class="
|
39
|
-
<div class="
|
40
|
-
<div class="tab-content">
|
41
|
-
|
42
|
-
<div role="tabpanel" class="tab-pane active" id="orbitals">
|
43
|
-
{% include "structures/partials/public/poco_list.html" %}
|
44
|
-
</div>
|
38
|
+
<div class="card card-default card-tabs border-0">
|
39
|
+
<div class="card-body tab-content">
|
45
40
|
|
41
|
+
<div role="tabpanel" class="tab-pane show active" id="orbitals">
|
42
|
+
{% include "structures/partials/public/poco_list.html" %}
|
46
43
|
</div>
|
47
44
|
|
48
45
|
<p class="text-muted">
|
@@ -65,16 +62,13 @@
|
|
65
62
|
type="application/javascript"
|
66
63
|
src="{% static 'structures/vendor/datatables/plugins/dataTables.rowGroup.min.js' %}">
|
67
64
|
</script>
|
68
|
-
|
69
|
-
type="application/javascript"
|
70
|
-
src="{% static 'structures/vendor/datatables/plugins/filterDropDown.min.js' %}">
|
71
|
-
</script>
|
65
|
+
{% include "bundles/filterdropdown-js.html" %}
|
72
66
|
<script type="application/javascript" src="{% static 'structures/js/global.js' %}"></script>
|
73
67
|
<script type="application/javascript" src="{% static 'structures/js/public.js' %}"></script>
|
74
68
|
{% endblock %}
|
75
69
|
|
76
70
|
{% block extra_css %}
|
77
|
-
{% include 'bundles/datatables-css.html' %}
|
71
|
+
{% include 'bundles/datatables-css-bs5.html' %}
|
78
72
|
|
79
73
|
<link
|
80
74
|
rel="stylesheet"
|
@@ -6,22 +6,18 @@
|
|
6
6
|
{% block details %}
|
7
7
|
|
8
8
|
<!-- Nav tabs -->
|
9
|
-
<ul
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
<ul class="nav nav-tabs" role="tablist">
|
10
|
+
<li role="presentation" class="nav-item">
|
11
|
+
<button class="nav-link active" aria-controls="summary" role="tab" data-bs-toggle="tab" data-bs-toggle="#summary">
|
12
|
+
{% trans "Summary" %}
|
13
|
+
</button>
|
13
14
|
</li>
|
14
|
-
|
15
15
|
</ul>
|
16
16
|
|
17
|
-
<div class="
|
18
|
-
<div class="
|
19
|
-
<div class="tab-
|
20
|
-
|
21
|
-
<div role="tabpanel" class="tab-pane active" id="summary">
|
22
|
-
{% include "structures/partials/statistics/structure_summary.html" %}
|
23
|
-
</div>
|
24
|
-
|
17
|
+
<div class="card card-default card-tabs border-0">
|
18
|
+
<div class="card-body tab-content">
|
19
|
+
<div role="tabpanel" class="tab-pane show active" id="summary">
|
20
|
+
{% include "structures/partials/statistics/structure_summary.html" %}
|
25
21
|
</div>
|
26
22
|
</div>
|
27
23
|
</div>
|
@@ -33,18 +29,14 @@
|
|
33
29
|
|
34
30
|
{% block extra_javascript %}
|
35
31
|
{% include 'bundles/datatables-js.html' %}
|
36
|
-
|
37
|
-
type="application/javascript"
|
38
|
-
src="{% static 'structures/vendor/datatables/plugins/filterDropDown.min.js' %}">
|
39
|
-
</script>
|
32
|
+
{% include "bundles/filterdropdown-js.html" %}
|
40
33
|
<script type="application/javascript" src="{% static 'structures/js/global.js' %}"></script>
|
41
34
|
<script type="application/javascript" src="{% static 'structures/js/statistics.js' %}"></script>
|
42
35
|
|
43
36
|
{% endblock %}
|
44
37
|
|
45
38
|
{% block extra_css %}
|
46
|
-
{% include 'bundles/datatables-css.html' %}
|
47
|
-
|
39
|
+
{% include 'bundles/datatables-css-bs5.html' %}
|
48
40
|
<link rel="stylesheet" href="{% static 'structures/css/global.css' %}" type="text/css" media="screen">
|
49
41
|
<link rel="stylesheet" href="{% static 'structures/css/main.css' %}" type="text/css" media="screen">
|
50
42
|
<link rel="stylesheet" href="{% static 'structures/css/statistics.css' %}" type="text/css" media="screen">
|
@@ -5,134 +5,126 @@
|
|
5
5
|
{% load humanize %}
|
6
6
|
|
7
7
|
{% block details %}
|
8
|
+
<ul class="nav nav-tabs" role="tablist">
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
{% if tags_exist %}
|
12
|
-
{% if active_tags %}
|
13
|
-
<button
|
14
|
-
type="button"
|
15
|
-
class="btn btn-warning btn-tabs"
|
16
|
-
data-toggle="modal"
|
17
|
-
data-target="#modalTagsFilter">
|
18
|
-
{% translate "Tags Filter (Active)" %}
|
19
|
-
</button>
|
20
|
-
{% else %}
|
21
|
-
<button
|
22
|
-
type="button"
|
23
|
-
class="btn btn-default btn-tabs"
|
24
|
-
data-toggle="modal"
|
25
|
-
data-target="#modalTagsFilter">
|
26
|
-
{% translate "Tags Filter" %}
|
27
|
-
</button>
|
28
|
-
{% endif %}
|
29
|
-
{% else %}
|
30
|
-
<button
|
31
|
-
type="button"
|
32
|
-
class="btn btn-default btn-tabs"
|
33
|
-
data-toggle="modal"
|
34
|
-
data-target="#modalTagsFilter"
|
35
|
-
disabled="disabled">
|
36
|
-
{% translate "Tags Filter" %}
|
37
|
-
</button>
|
38
|
-
{% endif %}
|
39
|
-
</span>
|
40
|
-
|
41
|
-
<!-- Nav tabs -->
|
42
|
-
<ul id="structure-tabs" class="nav nav-tabs" role="tablist">
|
43
|
-
|
44
|
-
<li role="presentation">
|
45
|
-
<a href="#structures" aria-controls="structures" role="tab" data-toggle="tab">
|
10
|
+
<li role="presentation" class="nav-item">
|
11
|
+
<button class="nav-link active" aria-controls="structures" role="tab" data-bs-toggle="tab" data-bs-target="#structures">
|
46
12
|
{% trans "Upwell Structures" %} <small>({{ structures_count|default:"-" }})</small>
|
47
|
-
</
|
13
|
+
</button>
|
48
14
|
</li>
|
49
15
|
|
50
|
-
<li role="presentation">
|
51
|
-
<
|
16
|
+
<li role="presentation" class="nav-item">
|
17
|
+
<button class="nav-link" aria-controls="orbitals" role="tab" data-bs-toggle="tab" data-bs-target="#orbitals">
|
52
18
|
{% trans "Orbitals" %} <small>({{ orbitals_count|default:"-" }})</small>
|
53
|
-
</
|
19
|
+
</button>
|
54
20
|
</li>
|
55
21
|
|
56
|
-
<li role="presentation">
|
57
|
-
<
|
22
|
+
<li role="presentation" class="nav-item">
|
23
|
+
<button class="nav-link" aria-controls="starbases" role="tab" data-bs-toggle="tab" data-bs-target="#starbases">
|
58
24
|
{% trans "Starbases" %} <small>({{ starbases_count|default:"-" }})</small>
|
59
|
-
</
|
25
|
+
</button>
|
60
26
|
</li>
|
61
27
|
|
62
28
|
{% if show_jump_gates_tab %}
|
63
|
-
<li role="presentation">
|
64
|
-
<a
|
29
|
+
<li role="presentation" class="nav-item">
|
30
|
+
<a class="nav-link" aria-controls="jump-gates" role="tab" data-bs-toggle="tab" data-bs-target="#jump-gates">
|
65
31
|
{% trans "Jump Gates" %} <small>({{ jump_gates_count|default:"-" }})</small>
|
66
32
|
</a>
|
67
33
|
</li>
|
68
34
|
{% endif %}
|
69
35
|
|
70
|
-
|
36
|
+
<li role="presentation" class="nav-item ms-auto">
|
37
|
+
{% if tags_exist %}
|
38
|
+
{% if active_tags %}
|
39
|
+
<button
|
40
|
+
type="button"
|
41
|
+
class="btn btn-warning"
|
42
|
+
data-bs-toggle="modal"
|
43
|
+
data-bs-target="#modalTagsFilter">
|
44
|
+
{% translate "Tags Filter (Active)" %}
|
45
|
+
</button>
|
46
|
+
{% else %}
|
47
|
+
<button
|
48
|
+
type="button"
|
49
|
+
class="btn btn-secondary"
|
50
|
+
data-bs-toggle="modal"
|
51
|
+
data-bs-target="#modalTagsFilter">
|
52
|
+
{% translate "Tags Filter" %}
|
53
|
+
</button>
|
54
|
+
{% endif %}
|
55
|
+
{% else %}
|
56
|
+
<button
|
57
|
+
type="button"
|
58
|
+
class="btn btn-secondary"
|
59
|
+
data-bs-toggle="modal"
|
60
|
+
data-bs-target="#modalTagsFilter"
|
61
|
+
disabled="disabled">
|
62
|
+
{% translate "Tags Filter" %}
|
63
|
+
</button>
|
64
|
+
{% endif %}
|
65
|
+
</li>
|
71
66
|
|
72
|
-
|
73
|
-
<div class="panel-body">
|
74
|
-
<div class="tab-content">
|
67
|
+
</ul>
|
75
68
|
|
76
|
-
|
77
|
-
|
78
|
-
</div>
|
69
|
+
<div class="card card-default card-tabs border-0">
|
70
|
+
<div class="card-body tab-content">
|
79
71
|
|
80
|
-
|
81
|
-
|
82
|
-
|
72
|
+
<div class="tab-pane show active" id="structures" role="tabpanel">
|
73
|
+
{% include "structures/partials/structures/structure_list.html" %}
|
74
|
+
</div>
|
83
75
|
|
84
|
-
|
85
|
-
|
86
|
-
|
76
|
+
<div class="tab-pane" id="orbitals" role="tabpanel">
|
77
|
+
{% include "structures/partials/structures/orbital_list.html" %}
|
78
|
+
</div>
|
87
79
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
</div>
|
92
|
-
{% endif %}
|
80
|
+
<div class="tab-pane" id="starbases" role="tabpanel">
|
81
|
+
{% include "structures/partials/structures/starbase_list.html" %}
|
82
|
+
</div>
|
93
83
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
84
|
+
{% if show_jump_gates_tab %}
|
85
|
+
<div class="tab-pane" id="jump-gates" role="tabpanel">
|
86
|
+
{% include "structures/partials/structures/jump_gate_list.html" %}
|
87
|
+
</div>
|
88
|
+
{% endif %}
|
99
89
|
|
100
|
-
|
90
|
+
<p class="text-muted">
|
91
|
+
{% translate "All dates are EVE time" %}
|
92
|
+
| {% translate "Data can be outdated by up to 1 hour due to API caching" %}
|
93
|
+
| {% translate "Last updated" %} {{ last_updated|naturaltime|default:"?" }}
|
94
|
+
</p>
|
101
95
|
|
102
96
|
</div>
|
103
97
|
</div>
|
104
98
|
|
105
99
|
<!-- Tags Filter Modal -->
|
106
|
-
<div class="modal" id="modalTagsFilter" tabindex="-1"
|
107
|
-
<div class="modal-dialog"
|
108
|
-
<
|
109
|
-
<div class="modal-
|
110
|
-
<
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<h4 class="modal-title">{% translate "Tags Filter" %}</h4>
|
115
|
-
</div>
|
100
|
+
<div class="modal" id="modalTagsFilter" tabindex="-1">
|
101
|
+
<div class="modal-dialog">
|
102
|
+
<div class="modal-content">
|
103
|
+
<div class="modal-header">
|
104
|
+
<h5 class="modal-title">{% translate "Tags Filter" %}</h5>
|
105
|
+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
106
|
+
</div>
|
107
|
+
<form method="post">
|
116
108
|
<div class="modal-body">
|
117
109
|
{% csrf_token %}
|
118
110
|
{{ tags_filter_form|bootstrap }}
|
119
111
|
</div>
|
120
112
|
<div class="modal-footer">
|
121
|
-
<a class="btn btn-
|
113
|
+
<a class="btn btn-secondary pull-left" href="{% url 'structures:index' %}" role="button">
|
122
114
|
{% translate "Reset Filter" %}
|
123
115
|
</a>
|
124
|
-
<a class="btn btn-
|
116
|
+
<a class="btn btn-secondary pull-left" href="{% url 'structures:structure_list' %}" role="button">
|
125
117
|
{% translate "Clear Filter" %}
|
126
118
|
</a>
|
127
|
-
<button type="button" class="btn btn-
|
119
|
+
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
|
128
120
|
{% translate "Cancel" %}
|
129
121
|
</button>
|
130
122
|
<button type="submit" class="btn btn-primary">
|
131
123
|
{% translate "Apply Filter" %}
|
132
124
|
</button>
|
133
125
|
</div>
|
134
|
-
</
|
135
|
-
</
|
126
|
+
</form>
|
127
|
+
</div>
|
136
128
|
</div>
|
137
129
|
</div>
|
138
130
|
|
@@ -141,8 +133,8 @@
|
|
141
133
|
<div class="modal-dialog" role="document">
|
142
134
|
<div class="modal-content" id="modalUpwellDetailsContent">
|
143
135
|
<div class="modal-header">
|
144
|
-
<
|
145
|
-
<
|
136
|
+
<h5 class="modal-title">Loading...</h5>
|
137
|
+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
146
138
|
</div>
|
147
139
|
<div class="modal-body">
|
148
140
|
</div>
|
@@ -151,12 +143,12 @@
|
|
151
143
|
</div>
|
152
144
|
|
153
145
|
<!-- Poco details modal -->
|
154
|
-
<div class="modal" id="modalPocoDetails" tabindex="-1"
|
155
|
-
<div class="modal-dialog"
|
146
|
+
<div class="modal" id="modalPocoDetails" tabindex="-1" aria-labelledby="modalPocoDetails">
|
147
|
+
<div class="modal-dialog">
|
156
148
|
<div class="modal-content" id="modalPocoDetailsContent">
|
157
149
|
<div class="modal-header">
|
158
|
-
<
|
159
|
-
<
|
150
|
+
<h5 class="modal-title">Loading...</h5>
|
151
|
+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
160
152
|
</div>
|
161
153
|
<div class="modal-body">
|
162
154
|
</div>
|
@@ -169,8 +161,8 @@
|
|
169
161
|
<div class="modal-dialog" role="document">
|
170
162
|
<div class="modal-content" id="modalStarbaseDetailContent">
|
171
163
|
<div class="modal-header">
|
172
|
-
<
|
173
|
-
<
|
164
|
+
<h5 class="modal-title">Loading...</h5>
|
165
|
+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
174
166
|
</div>
|
175
167
|
<div class="modal-body">
|
176
168
|
</div>
|
@@ -184,18 +176,16 @@
|
|
184
176
|
{% endblock %}
|
185
177
|
|
186
178
|
{% block extra_javascript %}
|
187
|
-
{% include
|
188
|
-
|
189
|
-
|
190
|
-
src="{% static 'structures/vendor/datatables/plugins/filterDropDown.min.js' %}">
|
191
|
-
</script>
|
179
|
+
{% include "bundles/datatables-js-bs5.html" %}
|
180
|
+
{% include "bundles/filterdropdown-js.html" %}
|
181
|
+
|
192
182
|
<script type="application/javascript" src="{% static 'structures/js/global.js' %}"></script>
|
193
183
|
<script type="application/javascript" src="{% static 'structures/js/structures.js' %}"></script>
|
194
184
|
|
195
185
|
{% endblock %}
|
196
186
|
|
197
187
|
{% block extra_css %}
|
198
|
-
{% include 'bundles/datatables-css.html' %}
|
188
|
+
{% include 'bundles/datatables-css-bs5.html' %}
|
199
189
|
|
200
190
|
<link rel="stylesheet" href="{% static 'structures/css/global.css' %}" type="text/css" media="screen">
|
201
191
|
<link rel="stylesheet" href="{% static 'structures/css/main.css' %}" type="text/css" media="screen">
|
@@ -1,9 +1,11 @@
|
|
1
1
|
<li class="list-group-item">
|
2
|
-
|
3
|
-
<
|
4
|
-
|
2
|
+
<div class="d-flex w-100 justify-content-between">
|
3
|
+
<span>
|
4
|
+
<img src="{{ icon_url }}" style="height: 32px; width: 32px;">
|
5
|
+
<a href="{{ profile_url }}" target="_blank">{{ name }}</a>
|
6
|
+
</span>
|
5
7
|
{% if not is_singleton %}
|
6
|
-
<span
|
8
|
+
<span>{{ quantity|default_if_none:"?"|floatformat:"0g" }}</span>
|
7
9
|
{% endif %}
|
8
|
-
</
|
10
|
+
</div>
|
9
11
|
</li>
|
@@ -1,13 +1,13 @@
|
|
1
1
|
{% load humanize %}
|
2
2
|
|
3
3
|
<li class="list-group-item">
|
4
|
-
|
4
|
+
<div class="d-flex w-100 justify-content-between">
|
5
5
|
{% if is_muted %}
|
6
6
|
<span class="text-muted">{{ title }}</span>
|
7
7
|
{% else %}
|
8
8
|
{{ title }}
|
9
9
|
{% endif %}
|
10
|
-
<span
|
10
|
+
<span>
|
11
11
|
{% if value is False or value is None %}
|
12
12
|
<i class="fas fa-times text-danger" title="Disabled"></i>
|
13
13
|
{% elif value is True %}
|
@@ -18,5 +18,5 @@
|
|
18
18
|
{{ value }}
|
19
19
|
{% endif %}
|
20
20
|
</span>
|
21
|
-
</
|
21
|
+
</div>
|
22
22
|
</li>
|
@@ -1,9 +1,9 @@
|
|
1
1
|
{% load i18n %}
|
2
2
|
|
3
3
|
<li class="list-group-item">
|
4
|
-
|
4
|
+
<div class="d-flex w-100 justify-content-between">
|
5
5
|
{{ title }}
|
6
|
-
<span
|
6
|
+
<span>
|
7
7
|
{% widthratio value 1 100 %} %
|
8
8
|
{% if has_access is False %}
|
9
9
|
<i class="fas fa-ban text-danger" title="{% translate 'No Access' %}"></i>
|
@@ -11,5 +11,5 @@
|
|
11
11
|
<i class="fas fa-check text-success" title="{% translate 'Has Access' %}"></i>
|
12
12
|
{% endif %}
|
13
13
|
</span>
|
14
|
-
</
|
14
|
+
</div>
|
15
15
|
</li>
|
@@ -1 +1 @@
|
|
1
|
-
<li class="list-group-item
|
1
|
+
<li class="list-group-item active">{{ title }}</li>
|
File without changes
|