Alinhamento
This commit is contained in:
parent
9cddf02145
commit
c31681f644
|
|
@ -1,59 +0,0 @@
|
||||||
body {
|
|
||||||
font-family: Arial, sans-serif;
|
|
||||||
background-color: #f0f0f0;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
max-width: 600px;
|
|
||||||
margin: 50px auto;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: #fff;
|
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
|
||||||
h2 {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
form {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
textarea,
|
|
||||||
button {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
padding: 10px;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.buttons {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
#message {
|
|
||||||
color: red;
|
|
||||||
text-align: center;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#domainList {
|
|
||||||
list-style-type: none;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#domainList li {
|
|
||||||
background-color: #f9f9f9;
|
|
||||||
margin: 5px 0;
|
|
||||||
padding: 10px;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// Função para obter a URL base do servidor
|
// Função para obter a URL base do servidor
|
||||||
async function getApiUrl() {
|
async function getApiUrl() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch('../ambiente_python/php/config_url.php'); // Solicita a URL base do PHP
|
const response = await fetch('../../php/config_url.php'); // Solicita a URL base do PHP
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
throw new Error('Network response was not ok');
|
throw new Error('Network response was not ok');
|
||||||
}
|
}
|
||||||
|
|
@ -39,8 +39,9 @@ async function criarBlocos() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const dadosDosBlocos = await response.json();
|
const dadosDosBlocos = await response.json();
|
||||||
|
|
||||||
// Limpar o container de blocos
|
// Limpar o container de blocos
|
||||||
|
|
||||||
|
|
||||||
const entrada_1 = document.getElementById('entrada_1');
|
const entrada_1 = document.getElementById('entrada_1');
|
||||||
entrada_1.innerHTML = '';
|
entrada_1.innerHTML = '';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue