承接 evheniy/html5-verti-template-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

evheniy/html5-verti-template-bundle

最新稳定版本:1.0

Composer 安装命令:

composer require evheniy/html5-verti-template-bundle

包简介

The HTML5VertiTemplateBundle adds the ability to add free responsive site template by HTML5 to your application.

README 文档

README

This bundle provides HTML5 Verti Template for Symfony2

knpbundles.com

Latest Stable Version Total Downloads Latest Unstable Version License

Build Status Coverage Status Scrutinizer Code Quality Build Status

Installation

$ composer require evheniy/html5-verti-template-bundle "1.*"

Or add to composer.json

"evheniy/evheniy/html5-verti-template-bundle": "1.*"

AppKernel:

public function registerBundles()
    {
        $bundles = array(
            ...
            new Evheniy\HTML5VertiTemplateBundle\HTML5VertiTemplateBundle(),
        );
        ...

config.yml:

#HTML5VertiTemplateBundle
html5_verti_template: ~

or

#HTML5VertiTemplateBundle
html5_verti_template:
    cdn: cdn.site.com

And Assetic Configuration in config.yml:

#Assetic Configuration
assetic:
    bundles: [ HTML5VertiTemplateBundle, JqueryBundle ]
    filters:
        uglifyjs2:
            bin: /usr/local/bin/uglifyjs
        uglifycss:
            bin: /usr/local/bin/uglifycss
        optipng:
            bin: /usr/bin/optipng
        jpegoptim:
            bin: /usr/bin/jpegoptim

This bundle uses JqueryBundle and HTML5CacheBundle. So you need to configure those bundles

AppKernel:

public function registerBundles()
    {
        $bundles = array(
            ...
            new Evheniy\JqueryBundle\JqueryBundle(),
            new Evheniy\HTML5CacheBundle\HTML5CacheBundle(),
        );
        ...

config.yml:

jquery: ~
html5_cache: ~

The last step

app/console assetic:dump --env=prod --no-debug

And for cache

app/console manifest:dump

Documentation

You can use local CDN (domain):

html5_verti_template:
    cdn: cdn.site.com

Default value is empty

Using

This bundle provides 4 kinds of view:

  • main page:

     {% extends "HTML5VertiTemplateBundle::index.html.twig" %}
    
  • with left sidebar:

     {% extends "HTML5VertiTemplateBundle::left_sidebar.html.twig" %}
    
  • with right sidebar:

     {% extends "HTML5VertiTemplateBundle::right_sidebar.html.twig" %}
    
  • without sidebar:

     {% extends "HTML5VertiTemplateBundle::no_sidebar.html.twig" %}
    

You can see how it looks like on demo

License

This bundle is under the MIT license.

Документация на русском языке

Demo

Verti is a free responsive site template by HTML5 UP

统计信息

  • 总下载量: 654
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-03