auto-git:
[change] index.html [change] renderer.js
This commit is contained in:
@@ -278,6 +278,11 @@
|
||||
style="background: var(--accent); color: #fff; border-color: var(--border)">
|
||||
Commit
|
||||
</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"
|
||||
class="ml-4 px-4 py-2 border rounded font-semibold"
|
||||
style="background: var(--accent); color: #fff; border-color: var(--border)">
|
||||
@@ -316,4 +321,4 @@
|
||||
</script>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -7,6 +7,7 @@ window.addEventListener('DOMContentLoaded', async () => {
|
||||
const titleArrow = document.getElementById('folderTitleArrow');
|
||||
const contentList = document.getElementById('contentList');
|
||||
const readmeBtn = document.getElementById('readmeBtn');
|
||||
const initRepoBtn = document.getElementById('initRepoBtn');
|
||||
const pushBtn = document.getElementById('pushBtn');
|
||||
const panel = document.querySelector('.flex-1.p-4.overflow-y-auto');
|
||||
const PAGE_SIZE = 50;
|
||||
@@ -782,4 +783,4 @@ window.addEventListener('DOMContentLoaded', async () => {
|
||||
window.updateCatGlow = function(commitCount) {
|
||||
if (window.cat) window.cat.animateCatGlow(commitCount);
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user