Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>FMP Data Uploader</title>
- <meta name="author" content="OSCAR ZULI">
- <style>
- body
- {
- font-family: 'Calibri';
- }
- * {
- box-sizing: border-box;
- }
- .row {
- margin-left:-5px;
- margin-right:-5px;
- }
- .column {
- float: left;
- width: 90%;
- padding: 5px;
- }
- /* Clearfix (clear floats) */
- .row::after {
- content: "";
- clear: both;
- display: table;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- width: 100%;
- border: 3px solid #000;
- }
- th {
- text-align: center;
- background-color: #ffd466;
- }
- td {
- text-align: center;
- }
- tr:nth-child(even) {
- background-color: #f2f2f2;
- }
- #btnPaste{
- background-color: #17a2b8;
- border: none;
- color: white;
- padding: 15px 32px;
- text-align: center;
- text-decoration: none;
- display: inline-block;
- font-size: 20px;
- border-radius: 12px;
- margin-right : 50px;
- }
- #btnPaste:hover {
- background-color: #17a9b6; /* Green */
- color: white;
- }
- #btnAdd{
- background-color: #4CAF50; /* Green */
- border: none;
- color: white;
- padding: 15px 32px;
- text-align: center;
- text-decoration: none;
- display: inline-block;
- font-size: 20px;
- border-radius: 12px;
- }
- #btnAdd:hover {
- background-color: #4C9F50; /* Green */
- color: white;
- }
- </style>
- </head>
- <body>
- <div class="row">
- <div class="column">
- <textarea style="background-color:#ffd466;" placeholder="Paste data" id="fmpdata" rows="15" cols="70"></textarea>
- <BR><BR>
- <button id ="btnPaste" type="button" onclick="pasteIt()">PASTE</button>
- <button id ="btnAdd" type="button" onclick="upload()">UPLOAD</button>
- <BR>
- <BR>
- </div>
- <div class="column">
- </div></div>
- <script>
- function upload() {
- }
- async function pasteIt() {
- var fmp = document.getElementById("fmpdata");
- var pasted = await navigator.clipboard.readText();
- fmp.value = pasted;
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement