File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ document.addEventListener("DOMContentLoaded", () => {
1010 const fileListWrapper = document . getElementById ( "fileListWrapper" ) ;
1111 // const toggleTokenBtn = document.getElementById("toggleTokenBtn");
1212 // const tokenInfo = document.getElementById("tokenInfo");
13+ const headerLabel = document . getElementById ( 'header-label' ) ;
1314
1415 let fetchedFiles = [ ] ;
1516 let progressPercentage = 0 ;
@@ -97,7 +98,7 @@ document.addEventListener("DOMContentLoaded", () => {
9798 const repo = decodeURIComponent ( urlParams . get ( 'repo' ) ) ;
9899 const path = decodeURIComponent ( urlParams . get ( 'path' ) ) ;
99100 const token = decodeURIComponent ( urlParams . get ( 'token' ) ) ;
100-
101+ headerLabel . innerHTML = `Downloading: repo: ${ owner } / ${ repo } ;\t Dir: ${ path } ` ;
101102 // if (!repoUrl.includes("github.com")) {
102103 // updateStatus("Invalid URL. Please enter a valid GitHub repository URL.");
103104 // return;
Original file line number Diff line number Diff line change 1616 </ head >
1717 < body >
1818 < div class ="container ">
19- <!-- <header>
20- <h1 aria-label="Heading">GitRepo Zip Fetcher</h1>
21- <p aria-label="Description">Effortlessly download GitHub repositories and folders</p>
22- </header>-->
19+ < header >
20+ < h3 aria-label ="Heading " id ="header-label "> </ h3 >
21+ <!-- <h1 aria-label="Heading">GitRepo Zip Fetcher</h1> -->
22+ <!-- <p aria-label="Description">Effortlessly download GitHub repositories and folders</p>-->
23+ </ header >
2324 < main >
2425 <!--
2526 <div class="input-wrapper">
You can’t perform that action at this time.
0 commit comments