Git Product home page Git Product logo

bootleaf-sass's Introduction

BootLeaf

What is Bootleaf?

A simple, responsive template for building web mapping applications with Bootstrap, Leaflet, and typeahead.js.

What is Bootleaf-Sass then?

A fork of Bootleaf, using Sass for generating CSS and with a Grunt driven build workflow to make it simpler to use Bootleaf as a template for your projects. Simpler if you use Sass and like Grunt that is. It worked for me, which was why I wrote this.

Requirements

Node.js

Native installers for most operating systems, as well as the source code are available on nodejs.org's download page. If you're using a Mac and Homebrew then try the following.

$ brew install node

Ruby

Most operating systems come with Ruby preinstalled, but it's a good idea to check.

$ ruby -v

Grunt

Grunt is installed via npm; if you've installed Node, you already have npm installed for you.

$ npm install -g grunt-cli

Bower

Bower is also installed via npm.

$ npm install -g bower

Sass

$ gem install sass

Building Bootleaf

Clone the Bootleaf-Sass GitHub repository.

$ git clone [email protected]:vicchi/bootleaf-sass.git

Install all component dependencies.

$ bower install
$ npm install

Build all Javascript and CSS files using the latest version of Bootleaf's components.

$ grunt build

All of Bootleaf's files, with the exception of the index.html landing page, is contained within the assets directory. You can also package up all of the required files into a single dist directory, suitable for uploading to your web server of choice, using Grunt's deploy command.

$ grunt deploy

Demo

http://vicchi.github.io/bootleaf-sass/. See also the original Bootleaf demo here: http://bmcbride.github.io/bootleaf/

Features

  • Fullscreen mobile-friendly map template with responsive Navbar and modal placeholders
  • jQuery loading of external GeoJSON files
  • Logical multiple layer marker clustering via the leaflet marker cluster plugin
  • Elegant client-side multi-layer feature search with autocomplete using typeahead.js
  • Responsive sidebar feature list with sorting and filtering via list.js
  • Marker icons included in grouped layer control via the grouped layer control plugin

Screenshots

Desktop

Desktop Search

Desktop Popup

Mobile

Mobile Popup

Mobile Search

Mobile Menu

bootleaf-sass's People

Contributors

vicchi avatar

Watchers

Jolanta Paliszewska avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.