1
0

auto-git:

[change] index.html
 [change] renderer.js
This commit is contained in:
Victor Giers
2025-11-27 11:36:03 +01:00
parent ded66cd8c1
commit 793d2824c3
2 changed files with 8 additions and 2 deletions

View File

@@ -278,6 +278,11 @@
style="background: var(--accent); color: #fff; border-color: var(--border)"> style="background: var(--accent); color: #fff; border-color: var(--border)">
Commit Commit
</button>--> </button>-->
<button id="initRepoBtn"
class="ml-auto px-4 py-2 border rounded font-semibold hidden"
style="background: var(--accent); color: #fff; border-color: var(--border)">
Init Repo
</button>
<button id="readmeBtn" <button id="readmeBtn"
class="ml-4 px-4 py-2 border rounded font-semibold" class="ml-4 px-4 py-2 border rounded font-semibold"
style="background: var(--accent); color: #fff; border-color: var(--border)"> style="background: var(--accent); color: #fff; border-color: var(--border)">

View File

@@ -7,6 +7,7 @@ window.addEventListener('DOMContentLoaded', async () => {
const titleArrow = document.getElementById('folderTitleArrow'); const titleArrow = document.getElementById('folderTitleArrow');
const contentList = document.getElementById('contentList'); const contentList = document.getElementById('contentList');
const readmeBtn = document.getElementById('readmeBtn'); const readmeBtn = document.getElementById('readmeBtn');
const initRepoBtn = document.getElementById('initRepoBtn');
const pushBtn = document.getElementById('pushBtn'); const pushBtn = document.getElementById('pushBtn');
const panel = document.querySelector('.flex-1.p-4.overflow-y-auto'); const panel = document.querySelector('.flex-1.p-4.overflow-y-auto');
const PAGE_SIZE = 50; const PAGE_SIZE = 50;