2017 © Pedro Peláez
 

symfony-bundle sotnik-grid-bundle

A simple grid bundle

image

sotnikus/sotnik-grid-bundle

A simple grid bundle

  • Thursday, March 12, 2015
  • by sotnikus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Simple doctrine orm grid bundle with build in twitter bootstrap 3 markup

1. Installation

Add DataGridBundle in your composer.json:, (*1)

{
    "require": {
        "sotnikus/sotnik-grid-bundle": "dev-master"
    }
}

Enable the bundle in the kernel:, (*2)

public function registerBundles()
{
    $bundles = array(
        // ...
        new Sotnik\GridBundle\SotnikGridBundle(),
    );
}

Grid dependencies: * Jquery * Bootstrap datetimepicker (if you want to use dateTime filter) * Twitter bootstrap 3, (*3)

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <title>{% block title %}Welcome!!!!{% endblock %}</title>
        {% block stylesheets %}
            <!-- Latest compiled and minified CSS -->
            <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
            <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
            <link rel="stylesheet" href="http://cdn.rawgit.com/Eonasdan/bootstrap-datetimepicker/master/build/css/bootstrap-datetimepicker.min.css">
            <link rel="stylesheet" href="{{ asset('bundles/sotnikgrid/css/grid.css') }}">
        {% endblock %}
    </head>
    <body>
        <div class="container">
            {% block body %}

            {% endblock %}
        </div>
        {% block javascripts %}
            <script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
            <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>

            <script src="http://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment-with-locales.js"></script>
            <script src="http://cdn.rawgit.com/Eonasdan/bootstrap-datetimepicker/v4.0.0/src/js/bootstrap-datetimepicker.js"></script>
            <script src="{{ asset('bundles/sotnikgrid/js/grid.js') }}" type="text/javascript"></script>
        {% endblock %}
    </body>
</html>

2. Usage

The Versions

12/03 2015

dev-master

9999999-dev https://github.com/sotnikus/SotnikGridBundle

A simple grid bundle

  Sources   Download

MIT

The Requires

 

by Sergey Romankov

symfony grid

12/03 2015

dev-doctrine-bridge

dev-doctrine-bridge https://github.com/sotnikus/SotnikGridBundle

A simple grid bundle

  Sources   Download

MIT

The Requires

 

by Sergey Romankov

symfony grid