mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-10-19 14:33:17 +00:00

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.
45 lines
940 B
HTML
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>
|