diff --git a/index.html b/index.html index 439451a..1b34a72 100644 --- a/index.html +++ b/index.html @@ -3,70 +3,22 @@ Type - - - - +
+ +
+ +
+ +
+ +
- - - - + diff --git a/js/index.js b/js/index.js new file mode 100644 index 0000000..1842548 --- /dev/null +++ b/js/index.js @@ -0,0 +1,8 @@ +$("#form").submit((event) => { + event.preventDefault(); + + let repo = $("#repo").val(); + let branch = $("#branch").val(); + let file = $("#file").val(); + window.location.href = `/type.html#${repo}/${branch}/${file}`; +}); diff --git a/type.html b/type.html new file mode 100644 index 0000000..439451a --- /dev/null +++ b/type.html @@ -0,0 +1,72 @@ + + + + + Type + + + + + + + + + + + + + + + + +