-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backend externo #17
Comments
var express = require('express'), // set .html as the default extension // Block the header from containing information // Defines the port to run on //Carrega tudo que esta dentro da pasta public app.all('', function(req, res, next) { // Define some routes. app.get receives a path and a app.get('/manutencao-eventos/views/footer.html', function(req, res){ app.get('/manutencao-eventos/eventos', function(req, res) { app.post('/manutencao-eventos/eventos', function(req, res) { }); app.get('/manutencao-eventos/tiposDeEvento', function(req, res) { app.listen(app.get('port'), function(){ |
<title>Manutenção de Eventos</title>
<style>
.jumbotron{
width: 900px;
text-align: center;
margin-right: auto;
margin-left: auto;
margin-top: 50px;
}
.table{
margin-top: 20px;
border-collapse: separate;
border-spacing: 3px;
width: 850px;
margin-left: 25px;
}
.form-control {
margin-bottom: 5px;
}
.selecionado > td{
background-color: yellow;
}
.negrito{
font-weight: bold;
}
/\* marca a primeira linha da tabela com a cor desejada*/
.table-striped > tbody > tr:first-child > th{
background-color: green;
border-radius: 5px;
padding: 5px;
color: white;
}
.busca{
width: 850px;
margin-left: 25px;
}
{{app}}Preencha o campo data original
Campo data deve ter o formato dd/mm/yyyy
Campo data deve ter o formato brasileiro de dd/mm/yyyy - regex validation
|
eventos.json |
tiposDeEvento.json |
estou tentando carregar um objeto no meu json externo mas não está funcionando, alguém poderia me ajudar.
expressjs
The text was updated successfully, but these errors were encountered: