irie 0.0.37__py3-none-any.whl → 0.0.39__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.

Potentially problematic release.


This version of irie might be problematic. Click here for more details.

@@ -130,17 +130,11 @@
130
130
  <a role="button"
131
131
  href="/inventory/{{ asset.calid }}/predictors/"
132
132
  class="btn btn-sm btn-outline-primary d-inline-flex align-items-center mx-1">
133
- <svg class="icon icon-xs me-2" fill="none"
134
- stroke="currentColor" viewBox="0 0 24 24"
135
- xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6"></path></svg>
136
133
  Predictors
137
134
  </a>
138
135
  <a role="button"
139
136
  href="{% url 'asset_sensors' calid=asset.calid %}"
140
137
  class="btn btn-sm btn-outline-primary d-inline-flex align-items-center mx-1">
141
- <svg class="icon icon-xs me-2" fill="none"
142
- stroke="currentColor" viewBox="0 0 24 24"
143
- xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6"></path></svg>
144
138
  Sensors
145
139
  </a>
146
140
  </div>
@@ -16,10 +16,14 @@ Chrystal Chern, Spring 2025
16
16
  {% block content %}
17
17
  <h1><code>{{ asset.calid }}</code> Sensors</h1>
18
18
  <div class="py-4 align-right">
19
- <a role="button" class="button btn btn-outline-white btn-gray-600 text-white"
19
+ <a role="button" class="button btn btn-outline-primary"
20
20
  href="{% url 'asset_profile' calid=asset.calid %}" class="me-1">Back to Structure</a>
21
- <a role="button" class="button btn btn-outline-white btn-gray-600 text-white"
22
- href="{% url 'sensor_upload' calid=asset.calid %}" class="me-1">Add SensorGroup</a>
21
+ <a role="button" class="button btn btn-outline-primary"
22
+ href="{% url 'sensor_upload' calid=asset.calid %}" class="me-1">
23
+ <svg class="icon icon-xs me-2" fill="none"
24
+ stroke="currentColor" viewBox="0 0 24 24"
25
+ xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6"></path></svg>
26
+ Add SensorGroup</a>
23
27
  </div>
24
28
 
25
29
  <div class="col-lg-10">
@@ -171,7 +171,7 @@ input[type="number"]::-webkit-outer-spin-button {
171
171
  <div id="rendering" class="card bg-white-100 border-1 rounded-0 shadow">
172
172
  <div class="card-body text-center" style="background-color: #f0f0f0;">
173
173
  <!-- Our Three.js container -->
174
- <div id="threejs-container"
174
+ <div id="veux-container"
175
175
  style="width: 100%; height: 300px; background-color: #f0f0f0; margin: 0 auto;">
176
176
  </div>
177
177
  </div>
@@ -306,9 +306,13 @@ function createArrow(origin, direction, length, color, headLength, headWidth, sh
306
306
  }
307
307
 
308
308
  document.addEventListener('DOMContentLoaded', () => {
309
- const container = document.getElementById('threejs-container');
309
+ const container = document.getElementById("veux-container");
310
310
  // Fallback or real path
311
- const modelPath = `{{ asset.rendering|default_if_none:"" }}`;
311
+ {% if asset.rendering %}
312
+ const modelPath = "{{ asset.rendering|safe }}";
313
+ {% else %}
314
+ const modelPath = "";
315
+ {% endif %}
312
316
 
313
317
  // 1) SETUP SCENE
314
318
  const scene = new THREE.Scene();
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: irie
3
- Version: 0.0.37
3
+ Version: 0.0.39
4
4
  Summary: An infrastructure resilience engine
5
5
  Author-email: "Claudio M. Perez" <50180406+claudioperez@users.noreply.github.com>
6
6
  Project-URL: Repository, https://github.com/STAIRLab
@@ -396,15 +396,15 @@ irie/apps/templates/includes/settings-box.html,sha256=_YubYOyAJ8IldTgVlXP2wLLXpK
396
396
  irie/apps/templates/includes/sidebar.html,sha256=m2TahYwFnysqcLkK4ANYZhUf8xGVId_tiJFBKrQD4Cw,12386
397
397
  irie/apps/templates/inventory/asset-evals.html,sha256=KzbdJJ7ildMpfO4IQDuXqGBcPzUTlYpJ_Y3Wg4payVc,2700
398
398
  irie/apps/templates/inventory/asset-event-summary.html,sha256=5G7uZVf7kVL0wBaAfsEtTEEA5HRuBCzx8NrgDFheWI4,51357
399
- irie/apps/templates/inventory/asset-profile.html,sha256=K7D1D-ApjyEV05AyYxGnGs6B0sNq11jKusdPDwubmFA,14135
400
- irie/apps/templates/inventory/asset-sensors.html,sha256=Ugfdc79WqrHDvzAPi2o8HkjYz5nD7w5S5wZSknQNjxA,2184
399
+ irie/apps/templates/inventory/asset-profile.html,sha256=rfj9tEXcUoTNHGAq_yVr2y1Io0f9qXZ6_EuWy9nWBJE,13585
400
+ irie/apps/templates/inventory/asset-sensors.html,sha256=qLnlhnmOeT5uL1xH67mFPOgufXV_PJ31KEx5Aqt0TTw,2406
401
401
  irie/apps/templates/inventory/asset-table.html,sha256=Ak_N_QDUgWzyffBBidJ8H0wLR3zX3wNHQm6MnZYbruQ,12589
402
402
  irie/apps/templates/inventory/bridge-dashboard.html,sha256=67zrDlih3LOi9xFVwPVZZkgRT3DO-lE_qRL7q8Uz9GY,45472
403
403
  irie/apps/templates/inventory/bridge.html,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
404
404
  irie/apps/templates/inventory/dashboard.html,sha256=_qhFiPP6xN-UzZj5NuM5e9NxsgDHJkQ89oXN1cBwhj0,7505
405
405
  irie/apps/templates/inventory/preamble.tex,sha256=TmRhIWg2-Pxj_e2OBctANRZPwU8RWMT3EZJFSa3R8HY,3547
406
406
  irie/apps/templates/inventory/report.tex,sha256=A1XKpwknlBrAZjFzzxVIDwypjXteqzoCQiuo1tQANfw,45228
407
- irie/apps/templates/inventory/sensor-upload.html,sha256=w-stoKgcEoonoV-_7IFJUrQ6w2Ww5DTErWNzbO5R_-g,18285
407
+ irie/apps/templates/inventory/sensor-upload.html,sha256=EhoRfPb_dPMzspgb7OLZ_YjW7uKYru5m3rZnvrjakKc,18351
408
408
  irie/apps/templates/layouts/base-fullscreen.html,sha256=q1nKewLnQ8inBxsUcHlq2Iv_s_qrw6k6bumX7mLR1mI,2579
409
409
  irie/apps/templates/layouts/base.html,sha256=phiHZX_CjuOhmkJgqyMAGTPdwm0qqrJCKZZwKLGTtQY,2387
410
410
  irie/apps/templates/layouts/json-form.html,sha256=cT6Pd2168Z3p8RODS7SulUC79LnuzSs0EVLVxkGOXAo,1333
@@ -469,8 +469,8 @@ irie/init/management/commands/init_corridors.py,sha256=EzLk0HUiFxlco-2u0rypewOc9
469
469
  irie/init/management/commands/init_predictors.py,sha256=jdD7rd8l2qxuUuR5GOYuHXp-ZQkAK477TefksBMdlOw,2362
470
470
  irie/rest/__main__.py,sha256=6Nf_-Rr9zGmMyp_wqCFDO7ls9QPnPd9UyUgN17rIGYw,3680
471
471
  irie/usgs/__main__.py,sha256=HiSvPn5IW5IqRiCk1qRRq5dCy3-7iISw7v1P_w2rLrk,5049
472
- irie-0.0.37.dist-info/METADATA,sha256=XvXazQgq6UwvY3TfdB8ymOG1UUkrkwoBNbK92HmwUOg,3207
473
- irie-0.0.37.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
474
- irie-0.0.37.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
475
- irie-0.0.37.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
476
- irie-0.0.37.dist-info/RECORD,,
472
+ irie-0.0.39.dist-info/METADATA,sha256=1AgdQLAWsJOeZ-enbuhDWBhX5NqAmgUyLsLT9EaJbe0,3207
473
+ irie-0.0.39.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
474
+ irie-0.0.39.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
475
+ irie-0.0.39.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
476
+ irie-0.0.39.dist-info/RECORD,,
File without changes