Lee un archivo json y añade la lista de opciones a un elemento select
Reading json file and append list options into element select
Lee un archivo json y añade la lista de opciones a un elemento select
Reading json file and append list options into element select
| ######################################################################## | |
| # OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2020 | |
| # ---------------------------------------------------------------------- | |
| # @Author: Andreas Hecht | |
| # @Author URI: https://seoagentur-hamburg.com | |
| # License: GNU General Public License v2 or later | |
| # License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
| ######################################################################## | |
| {% if paginator.num_pages > 1%} | |
| <div class="d-flex justify-content-center"> | |
| <ul class="pagination"> | |
| {% if entity.has_previous %} | |
| <li class="page-item d-none d-sm-block"><a class="page-link" href="?page={{ entity.previous_page_number }}#pagtable">Anterior</a></li> | |
| {% endif %} | |
| {% for page in paginator.page_range %} | |
| {% if forloop.last and page != entity.number and paginator.num_pages > 7 %} | |
| {% if entity.next_page_number != paginator.num_pages%} | |
| <li class="page-item"> |
| [{"_id":2610888,"name":"Understed","country":"DK","coord":{"lon":10.51667,"lat":57.383331}}, | |
| {"_id":2613685,"name":"Skodsborg","country":"DK","coord":{"lon":12.57324,"lat":55.822498}}, | |
| {"_id":2613357,"name":"Smidstrup","country":"DK","coord":{"lon":12.55787,"lat":55.865688}}, | |
| {"_id":6460975,"name":"Rastnik","country":"BG","coord":{"lon":25.283331,"lat":41.400002}}, | |
| {"_id":727762,"name":"Rastnik","country":"BG","coord":{"lon":25.283331,"lat":41.400002}}, | |
| {"_id":596826,"name":"Murava","country":"LT","coord":{"lon":23.966669,"lat":54.916672}}] |
| /** | |
| * Install: | |
| * $ npm install gulp gulp-minify-css gulp-autoprefixer gulp-ruby-sass gulp-coffee gulp-uglify gulp-concat gulp-rimraf gulp-notify | |
| */ | |
| var gulp = require('gulp'); | |
| // styles | |
| var minifycss = require('gulp-minify-css'); | |
| var autoprefixer = require('gulp-autoprefixer'); |