synchro du labo (0bf0da65) : app.blade.php, README.md
This commit is contained in:
22
README.md
22
README.md
@@ -1,3 +1,21 @@
|
|||||||
# ploxion-hotbar
|
# 🎒 Inventaire
|
||||||
|
|
||||||
PLOXION · Ta barre d'inventaire façon Minecraft : 9 slots (touches 1-9), un inventaire (E) de tous les ploxions à glisser dans les slots, des shulkerbox (loadouts) et l'enderchest = ton filesystem. L'inventaire du xer. · fournit: inventory, hotbar, launcher
|
Ta barre d'inventaire façon Minecraft : 9 slots (touches 1-9), un inventaire (E) de tous les ploxions à glisser dans les slots, des shulkerbox (loadouts) et l'enderchest = ton filesystem. L'inventaire du xer.
|
||||||
|
|
||||||
|
| | |
|
||||||
|
| --- | --- |
|
||||||
|
| id | `hotbar` |
|
||||||
|
| fournit | `inventory` `hotbar` `launcher` |
|
||||||
|
| bions qu'il nomme | `jOSApps` `jOSBoxion` `jOSMobile` |
|
||||||
|
| fichiers | `app.blade.php` |
|
||||||
|
| dans le labo | `resources/views/ploxions/hotbar/` (dépôt `my_website2`) |
|
||||||
|
|
||||||
|
## Contribuer
|
||||||
|
|
||||||
|
- **Dans le xer** : https://labo.j0bot.ch/px/atelier?ploxion=hotbar — prends-le, modifie-le, vois-le tourner, « ⧗ envoyer le tsoin ».
|
||||||
|
- **Dans VS Code** : `xb prendre hotbar` (ou l'extension xerboxion › ⇩ Prendre), puis ⧗ Envoyer.
|
||||||
|
- Le chemin complet : https://labo.j0bot.ch/px/contribuer
|
||||||
|
|
||||||
|
Ce dépôt est un **miroir** du labo (synchronisé par `bin/ploxions-forge.mjs`, depuis le commit `0bf0da65`) : une modif se propose par un tsoin ou une branche du labo, pas directement ici.
|
||||||
|
|
||||||
|
© 2026 chill-tekk · ne pas nuire
|
||||||
|
|||||||
24
app.blade.php
Normal file
24
app.blade.php
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{{-- PL0XION hotbar 🎒 — FUSIONNÉ dans «lanceur» (vague fusion 16.08 : famille launchers).
|
||||||
|
Stub de redirection rétro-compat : /px/hotbar et jOS.openPloxion('hotbar') mènent à
|
||||||
|
l'onglet 🎒 Inventaire (9 slots, pouvoirs, shulker — données xb-hotbar + jOSBoxion ns hotbar reprises telles quelles) du Lanceur. Rien n'est perdu : la capacité vit dans l'hôte. --}}
|
||||||
|
<script>
|
||||||
|
(function(){
|
||||||
|
'use strict';
|
||||||
|
var ID='hotbar', HOST='lanceur', TAB='hotbar', HN='Lanceur';
|
||||||
|
function mount(container, ctx){
|
||||||
|
container.innerHTML='<div style="display:flex;height:100%;align-items:center;justify-content:center;text-align:center;padding:24px;color:#8aa0bd;font-family:ui-sans-serif,system-ui">🎒 «'+ID+'» est fusionné dans <b style="color:#eafff6;margin:0 5px">🚀 '+HN+'</b> — ouverture…</div>';
|
||||||
|
try{ window.__pxJump=window.__pxJump||{}; window.__pxJump[HOST]=TAB; }catch(e){}
|
||||||
|
try{ var T=(window.jOSb&&window.jOSb.toast)||(window.jOS&&window.jOS.toast); if(T)T('🎒 «'+ID+'» est fusionné dans «'+HN+'» (onglet Inventaire)'); }catch(e){}
|
||||||
|
if(ctx&&ctx.standalone){ try{ location.replace('/px/'+HOST+'?tab='+TAB); }catch(e){} }
|
||||||
|
else setTimeout(function(){
|
||||||
|
try{ if(window.jOSui&&jOSui.tier&&jOSui.tier()==='mobile'&&window.jOSMobile&&jOSMobile.open){ jOSMobile.open(HOST,HN); }
|
||||||
|
else if(window.jOS&&window.jOS.openPloxion){ window.jOS.openPloxion(HOST); } }catch(e){}
|
||||||
|
try{ window.dispatchEvent(new CustomEvent('jos:px:tab',{detail:{host:HOST,tab:TAB}})); }catch(e){}
|
||||||
|
try{ if(ctx&&ctx.close) setTimeout(function(){ ctx.close(); },350); }catch(e){}
|
||||||
|
},0);
|
||||||
|
return { unmount:function(){ container.innerHTML=''; } };
|
||||||
|
}
|
||||||
|
window.jOSApps=window.jOSApps||{};
|
||||||
|
window.jOSApps[ID]={manifest:{id:ID,name:'Inventaire → Lanceur',icon:'🎒'},mount:mount};
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user