Changed options html

This commit is contained in:
z0ccc 2021-06-26 18:25:26 -04:00
parent 03c2ed4961
commit 096fb4790d
4 changed files with 20 additions and 6 deletions

14
public/options.css Normal file
View file

@ -0,0 +1,14 @@
.checkBoxWrap {
display: flex;
align-items: center;
margin: 0 0 12px 0;
}
a {
color: #0079d3;
text-decoration: none;
}
.optionText {
margin: 3px 3px 3px 4px;
}

View file

@ -1,15 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel="stylesheet" href="options.css" />
<meta charset="utf-8" /> <meta charset="utf-8" />
</head> </head>
<body> <body>
<!-- <div class="checkBoxWrap"> <div class="checkBoxWrap">
<input type="checkbox" id="clickOnly" name="clickOnly"/> <input type="checkbox" id="sendData" name="sendData"/>
<label for="clickOnly">Run browser popup only when icon is clicked</label> <label for="sendData">Do not send anonymous data to improve fingerprint accuracy</label>
</div> </div>
<div class="optionText">Github: <a target="_blank" href="https://github.com/z0ccc/Reddit-Wherever">https://github.com/z0ccc/Reddit-Wherever</a></div> --> <div class="optionText">Github: <a target="_blank" href="https://github.com/z0ccc/vytal-extension">https://github.com/z0ccc/vytal-extension</a></div>
<div id="options"></div> </body>
</body> </body>
<script src="options.js"></script> <script src="options.js"></script>
</html> </html>

View file

@ -2,7 +2,6 @@ import * as React from 'react';
import * as ReactDOM from 'react-dom'; import * as ReactDOM from 'react-dom';
import App from './App'; import App from './App';
import '../styles/popup.css';
const mountNode = document.getElementById('popup'); const mountNode = document.getElementById('popup');
ReactDOM.render(<App />, mountNode); ReactDOM.render(<App />, mountNode);

View file