blob: 98c2ef0c606dbe79c287ef82f8c170e53d409293 [file] [log] [blame]
<!-- Copyright 2018 the V8 project authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<template id="trace-file-reader-template">
<style>
#fileReader {
width: 100%;
height: 100px;
line-height: 100px;
text-align: center;
border: solid 1px #000000;
border-radius: 5px;
}
#fileReader > input {
display: none;
}
</style>
<div id="fileReader">
<span id="label">
Drag and drop a trace file into this area, or click to choose from disk.
</span>
<input id="file" type="file" name="file" />
</div>
</template>
<script type="text/javascript" src="trace-file-reader.js"></script>