Giter Club home page Giter Club logo

dancer-layout-bootstrap's Introduction

NAME
    Dancer::Layout::Bootstrap - Boostrap layout for Dancer

SYNOPSIS
      # 1. Copy the included template files to your dancer application
      # 2. Change the "layout" parameter in config.yml to "bootstrap"
      # 3. Dance On!

      # Preview the layout
      plackup -a bin\app.pl

ABSTRACT
    Template and dummy application that applies the Bootstrap CSS to Dancer.

SUPPORTED FEATURES
    If you want to show alerts etc., the main template already provides
    support for that via Dancer::Plugin::FlashMessage.

        flash success => sprintf "Welcome back, %s",
            session('user')->{name};

    ... will produce a nice, green "Welcome back" message for the user.

    All flash message output is HTML escaped for security reasons.

TEMPLATE FILES IN THIS DISTRIBUTION
    The meat of this package are the template and Bootstrap and jQuery
    files. These don't get installed but live in the distribution. You will
    need to copy the following files and directories into your application
    directory, at least until Dancer resp. the `dancer' application comes
    with a way to specify default layouts when generating a new application
    scaffold.

  LIST OF FILES TO COPY
        public/css/bootstrap-responsive.css   Bootstrap 2.0.3
        public/css/bootstrap.css      Bootstrap 2.0.3
        public/css/bootstrap.min.css  Bootstrap 2.0.3
        public/images/glyphicons-halflings-white.png  Glyphicons
        public/images/glyphicons-halflings.png        Bootstrap 2.0.3
        public/javascripts/bootstrap-2.0.3/bootstrap-alert.js Bootstrap 2.0.3
        public/javascripts/bootstrap-2.0.3/bootstrap.js       Bootstrap 2.0.3
        public/javascripts/bootstrap-2.0.3/bootstrap.min.js   Bootstrap 2.0.3
        public/javascripts/jQuery/jquery-1.7.2.min.js jQuery 1.7.2
        public/javascripts/jQuery/jquery.ui.widget.js jQuery 1.7.2
        views/index.tt        Index page with Bootstrap layout
        views/layouts/bootstrap.tt    The Bootstrap layout

NEEDED MODULES
    The simple templating included with Dancer does not properly support
    user log-in / log out, so the template needs Template::Toolkit.

SEE ALSO
    http://twitter.github.com/bootstrap/ - Bootstrap

    http://bootswatch.com/ - Themes for Bootstrap

    http://glyphicons.com/ - Icons from Glyphicons Free, licensed under CC
    BY 3.0.

    http://jquery.com/ - jQuery 1.7.2

    http://www.lavishbootstrap.com/ - create new colour schemes

dancer-layout-bootstrap's People

Contributors

xlat avatar

Watchers

 avatar  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.