Questions tagged as 'jade'

1
answer

Using the filter in ng-repeat in jade templates

Personally I think I'm doing something wrong but I can not find the error in the code. ul(class='list-group') li(class="list-group-item", ng-repeat="v in votadas | filter: '-votos'") h4 Música: {{ v.titulo }} | Votos: {{ v.vo...
asked by 12.12.2015 / 22:28
0
answers

How to create a modifiable variable using a single mixin in jade?

I have 6 cards to show a title and a list on one side. Since these cards have the same structure, I created a mixin using Jade. Since each card shows a different list, I need to create a different variable for each card to access those strings....
asked by 03.12.2018 / 20:39
0
answers

How to search for generic text / phrases in a certain language?

I have a hundred ".jade" files that have several phrases in Spanish in a static way. I want to map and exchange these phrases for dynamic content based only on the language type (since I do not have a previous content dictionary). What would be...
asked by 29.06.2018 / 22:04
0
answers

How to run JADE (Java Agent DEvelopment Framework) in linux?

How to run JADE (Java Agent DEvelopment Framework) , is it a Framework for SMA, in the latest version of lubuntu? I'm using Lubuntu 32bits - 17.10.1. I'm having a problem running it on lubuntu (the pc I have available for use at the mom...
asked by 25.04.2018 / 12:10
1
answer

How to load multiple routes in node.js in a .jade

Is there any way to load multiple routes within a same .jade file, for example: I can have a /menu route, another /header , another /clientes , when calling the /clientes route I give res.render('clientes') and...
asked by 26.09.2017 / 12:55
1
answer

Jade / Pug does not repeat the same code

I would like to know how to do not need to repeat codes, I do not know if using for , for example I have this code below that corresponds to a card with data of an educator I will have several of these where I will only change the data but...
asked by 23.03.2017 / 18:34
0
answers

SyntaxError: Unexpected token (244: 78) - Nodejs, Express, jade, mysql

I'm developing a program and out of nowhere in creating a simple page appeared the error below: The program is working everything but this page that appears this error: I've gone over all the lines and found nothing, because I did not chan...
asked by 06.02.2017 / 20:18
0
answers

Select multiple files

I need to select an average of 1500 to 3000 files, however, only 1200 are being selected with the input below. Anyone have an idea why? input class="form-control", type="file", accept="text/xml", name="file", id="file", multiple onchange="h...
asked by 23.05.2016 / 15:51
1
answer

Read array value in jade

I have the following array created in my controller: var data = []; for (var i = 0; i < array.length; i++) { nfejs(array[i], function(err, nfe) { var itemNfe = {}; itemNfe.name = nfe.identificador.getNumero(); da...
asked by 27.04.2016 / 23:51