SPB Git

Repository Public MIT Selected

tree-sheet.njk 1.2 KB 17 lines jinja

1{#2  ─────────────────────────────────────────────3   SPB Git — Personal Git Platform4  ─────────────────────────────────────────────5   Author  : Simon-Pierre Boucher6   Contact : contact@spboucher.ai7   File    : src/web/views/partials/tree-sheet.njk8   Purpose : File-tree sheet — lazy tree in a bottom sheet (phones) or dialog (desktop)9   License : MIT © Simon-Pierre Boucher10  ─────────────────────────────────────────────11#}{% import "components/ui.njk" as ui %}12<dialog class="sheet" id="tree-sheet" aria-label="Files">13  <div class="sheet-handle" aria-hidden="true"></div>14  <div class="sheet-head"><strong class="sheet-title">Files <code>{{ currentRef }}</code></strong><button type="button" class="icon-btn" data-close aria-label="Close">{{ ui.icon('close', 16) }}</button></div>15  <nav class="file-tree" id="file-tree" data-repo="{{ overview.name }}" data-ref="{{ currentRef }}" data-current="{{ path or '' }}" aria-label="Repository files"></nav>16</dialog>17
Files main
Menu

Theme