-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Tool, Media Type, Username and Load button vanishing on window re…
…size
- Loading branch information
1 parent
5edb75c
commit 0cc75fc
Showing
8 changed files
with
91 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { htmlToNode } from "./commonLib" | ||
|
||
const mediaTypeSelect: HTMLSelectElement = htmlToNode(` | ||
<select class="media-type form-control"> | ||
<option value="ANIME">Anime</option> | ||
<option value="MANGA">Manga</option> | ||
<option value="CHARACTER">Character</option> | ||
<option value="STAFF">Staff</option> | ||
</select> | ||
`.trim()) | ||
|
||
const userNameField: HTMLInputElement = htmlToNode( | ||
`<input id="al-user" type="text" class="form-control" placeholder="AL Username" required="required">` | ||
) | ||
|
||
const loadButton: HTMLButtonElement = htmlToNode( | ||
`<button id="load" class="btn btn-primary" type="button">Load</button>` | ||
) | ||
|
||
export { | ||
mediaTypeSelect, | ||
userNameField, | ||
loadButton, | ||
} |
Oops, something went wrong.