86 lines
1.8 KiB
HTML
86 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CrowdProof Observe Settings</title>
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
padding: 20px;
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
}
|
|
h1 {
|
|
font-size: 1.5em;
|
|
margin-bottom: 20px;
|
|
}
|
|
label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 500;
|
|
}
|
|
input[type="url"] {
|
|
width: 100%;
|
|
padding: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
box-sizing: border-box;
|
|
}
|
|
input[type="url"]:focus {
|
|
outline: none;
|
|
border-color: #0066cc;
|
|
}
|
|
.help-text {
|
|
font-size: 12px;
|
|
color: #666;
|
|
margin-top: 5px;
|
|
}
|
|
button {
|
|
margin-top: 15px;
|
|
padding: 10px 20px;
|
|
background: #0066cc;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
}
|
|
button:hover {
|
|
background: #0055aa;
|
|
}
|
|
.status {
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
border-radius: 4px;
|
|
display: none;
|
|
}
|
|
.status.success {
|
|
display: block;
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
.status.error {
|
|
display: block;
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>CrowdProof Observe Settings</h1>
|
|
|
|
<div>
|
|
<label for="serverUrl">Server URL</label>
|
|
<input type="url" id="serverUrl" placeholder="https://your-crowdproof-server.com">
|
|
<p class="help-text">Enter the full URL of your CrowdProof server (e.g., https://crowdproof.example.com)</p>
|
|
</div>
|
|
|
|
<button id="save">Save Settings</button>
|
|
|
|
<div id="status" class="status"></div>
|
|
|
|
<script src="options.js"></script>
|
|
</body>
|
|
</html>
|