browsertrix-crawler/html/createProfile.html
Emma Segal-Grossman 2a49406df7
Add Prettier to the repo, and format all the files! (#428)
This adds prettier to the repo, and sets up the pre-commit hook to
auto-format as well as lint.
Also updates ignores files to exclude crawls, test-crawls, scratch, dist as needed.
2023-11-09 16:11:11 -08:00

45 lines
940 B
HTML

<!doctype html>
<html>
<head>
<style>
html,
body,
iframe {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
font-family: sans-serif;
}
body {
display: flex;
flex-direction: column;
}
iframe#main {
height: calc(100% - 36px);
}
div#info {
margin: 8px;
}
form {
display: inline;
}
button {
font-weight: bold;
font-size: 15px;
}
</style>
</head>
<body>
<div id="info">
Log in to any site(s) that you want to be part of the crawl profile using
the embedded browser below. When done, click
<form action="/createProfile" method="post">
<button type="submit">Create Profile</button>
</form>
</div>
<iframe id="main" src="$DEVTOOLS_SRC"></iframe>
</body>
</html>