IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Symfony PHP Discussion :

Bootstrap twig vue


Sujet :

Symfony PHP

  1. #1
    Membre averti
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2014
    Messages
    14
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 34
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Enseignement

    Informations forums :
    Inscription : Mars 2014
    Messages : 14
    Par défaut Bootstrap twig vue
    Bonjour,
    j'ai un code HTML avec bootstrap de twitter il marche super bien alors qu'avec twig seulement le slidebar est responsive quelqu'un peut m'aider ,j'ai posté ici puisque mon projet est développé avec Symfony2

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
     
    <!DOCTYPE html>
    <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
    <!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
     
    <head>
    	<meta charset="utf-8">
    	<title>Bootstrap Exercise</title>
    	<meta name="description" content="">
    	<meta name="author" content="">
     
    	<!-- Mobile Specific Meta -->
    	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
     
    	<!-- Stylesheets -->
    	<link rel="stylesheet" href="css/bootstrap.css" />
    	<link rel="stylesheet" href="css/bootstrap-responsive.css" />
    	<link rel="stylesheet" href="css/custom.css" />
    	<link rel="stylesheet" type="text/css" href="includes/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.css" />
    	<!-- Bootstrap style --> 
     
        <link href="themes/css/base.css" rel="stylesheet" media="screen"/>
    <!-- Bootstrap style responsive -->	
    	<link href="themes/css/bootstrap-responsive.min.css" rel="stylesheet"/>
    	<link href="themes/css/font-awesome.css" rel="stylesheet" type="text/css">
    <!-- Google-code-prettify -->	
    	<link href="themes/js/google-code-prettify/prettify.css" rel="stylesheet"/>
    <!-- fav and touch icons -->
        <link rel="shortcut icon" href="themes/images/ico/favicon.ico">
        <link rel="apple-touch-icon-precomposed" sizes="144x144" href="themes/images/ico/apple-touch-icon-144-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="themes/images/ico/apple-touch-icon-114-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="themes/images/ico/apple-touch-icon-72-precomposed.png">
        <link rel="apple-touch-icon-precomposed" href="themes/images/ico/apple-touch-icon-57-precomposed.png">
    	<style type="text/css" id="enject"></style>
    	<link id="callCss" rel="stylesheet" href="themes/css/bootstrap.min.css" type="text/css" media="screen" charset="utf-8" />
    	<link id="callCss" rel="stylesheet" href="themes/css/style.css" type="text/css" media="screen" charset="utf-8" />
    	<link href="themes/css/bootstrap-responsive.min.css" rel="stylesheet">
    	<link rel="stylesheet" href="themes/font-awesome/css/font-awesome.min.css">
     
    <script src="js/bootstrap-hover-dropdown.min.js"></script>
     
     
    	<!--[if lt IE 9]>
    		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    	<![endif]-->
    </head>
    <body data-spy="scroll" data-target=".navbar">
    	<div id="headerSection">
    		<h1 class="brand cntr">Shiny-shop</h1>
    		<div class="navbar">
    			<div class="nav-collapse">
    				<form action="#" class="navbar-search pull-left">
    						<input type="text" class="search-query" placeholder="search..." />
    					</form>
    				<ul class="nav">
    					<li class="active"><a href="#carouselSection">Home	</a></li>
    					<li><a href="index.html">Home</a></li>
    					<li><a href="about.html">About</a></li>
    					<li><a href="special_offer.html">special Offer</a></li>
    					</a></li>
    					<li class="dropdown"> <a href="category.html" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-delay="1000" data-close-others="false">
            category <b class="caret"></b>
        </a>
        <ul class="dropdown-menu">
            <li><a tabindex="-1" class="sortLink" data-keyword = "all" href="category.html">all</a></li>
            <li class="divider"></li>
            <li><a tabindex="-1" class="sortLink"  data-keyword = "plants" href="category.html">plants</a></li>
            <li><a tabindex="-1" class="sortLink" data-keyword = "sculpture" href="category.html">sculpture</a></li>
            <li class="divider"></li>
            <li><a tabindex="-1" class="sortLink" data-keyword="architecture" href="category.html">architecture</a></li>
                    <li><a tabindex="-1" class="sortLink" data-keyword = "winter" href="category.html">winter</a></li>
     
        </ul>
    </li>
    				</ul>
    			</div>
    			<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    				<span class="icon-bar"></span>
    				<span class="icon-bar"></span>
    				<span class="icon-bar"></span>
    			</button>
    		</div>
    	</div>
    	</div>
     
     
    	<div>
     
     
     
     
     
     
    	<!-- MODAL CONTACT FORM -->
    	<div class="modal hide fade" id="modal-contact-form">
    		<div class="modal-header">
    			<button class="close" data-dismiss="modal">&times;</button>
    			<h3>Contact Us</h3>
    		</div>
     
    		<div class="modal-body">
    			<form action="" class="form-horizontal">
    				<div class="control-group">
    					<label for="contact-name" class="control-label">Name:</label>
     
    					<div class="controls">
    						<input type="text" id="contact-name" />
    					</div>
    				</div>
     
    				<div class="control-group">
    					<label for="contact-email" class="control-label">Email:</label>
     
    					<div class="controls">
    						<input type="email" id="contact-email" />
    					</div>
    				</div>
     
    				<div class="control-group">
    					<label for="contact-message" class="control-label">Message:</label>
     
    					<div class="controls">
    						<textarea name="contact-message" id="contact-message" cols="30" rows="10"></textarea>
    					</div>
    				</div>
     
    				<div class="control-group">
    					<div class="controls">
    						<input type="submit" class="btn btn-primary" value="Send Message" />
    					</div>
    				</div>
    			</form>
    		</div>
     
    		<div class="modal-footer">
    			<a href="" data-dismiss="modal" class="btn">Cancel</a>
    		</div>
    	</div> <!-- end modal -->
     
     
    	</div >
    	<!-- FEATURED PRODUCT -->
    	<div class="container" >
    	<section class="slide-section" class="col-md-12">
    		<div class="carousel slide" id="my-carousel">
    			<ol class="carousel-indicators">
    				<li data-target="#my-carousel" data-slide-to="0" class="active"></li>
    				<li data-target="#my-carousel" data-slide-to="1"></li>
    				<li data-target="#my-carousel" data-slide-to="2"></li>
    				<li data-target="#my-carousel" data-slide-to="3"></li>
    			</ol>
     
    			<div class="carousel-inner">
    				<div class="item active">
    					<img src="img/custom/images/slide1.jpg" alt="Demo" />
    					<div class="carousel-caption">
    						<h4>Some title</h4>
    						<p>Some description.</p>
    					</div>
    				</div>
    				<div class="item">
     
    			<img src="img/custom/images/slide2.jpg" alt="Demo" />
     
    									</div>
     
    			</div>
     
    			<a href="#my-carousel" class="carousel-control left" data-slide="prev">&lsaquo;</a>
    			<a href="#my-carousel" class="carousel-control right" data-slide="next">&rsaquo;</a>
    		</div>
     
     
    	</section>
     
     
     
     
    	<section>
    			<div class="row c-product-showcase" >
    				<div class="span3">
    					<a href="product-single.html"><img src="img/custom/images/image1.jpg" alt="Demo" class="img-polaroid" /></a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    				</div>
     
    				<div class="span3">
    					<a href="product-single.html"><img src="img/custom/images/image2.jpg" alt="Demo" class="img-polaroid" /></a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    				</div>
     
    				<div class="span3">
    					<a href="product-single.html"><img src="img/custom/images/image3.jpg" alt="Demo" class="img-polaroid" /></a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    				</div>
    				<div class="span3">
    					<a href="product-single.html"><img src="img/custom/images/image2.jpg" alt="Demo" class="img-polaroid" /></a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    			</div>
     
            </section>
            	<section>
    		<div class="row c-product-showcase">
    				<div class="span3">
    					<a href="product-single.html"><img src="img/custom/images/image1.jpg" alt="Demo" class="img-polaroid" /></a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    				</div>
     
    				<div class="span3">
    					<a href="product-single.html"><img src="img/custom/images/image2.jpg" alt="Demo" class="img-polaroid" /></a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    				</div>
     
    				<div class="span3">
    					<a href="product-single.html"><img src="img/custom/images/image3.jpg" alt="Demo" class="img-polaroid" /></a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    				</div>
    				<div class="span3">
    					<a href="product-single.html"><img src="img/custom/images/image2.jpg" alt="Demo" class="img-polaroid" /></a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    			</div>
     
     
    		</section>
     
    		<hr />
     
    	<div  id="footerSection">
    		<div class="row">
    			<div class="span3">
    				<h5>ACCOUNT</h5>
    				<a href="login.html">YOUR ACCOUNT</a>
    				<a href="login.html">PERSONAL INFORMATION</a> 
    				<a href="login.html">ADDRESSES</a> 
    				<a href="login.html">DISCOUNT</a>  
    				<a href="login.html">ORDER HISTORY</a>
    			 </div>
    			<div class="span3">
    				<h5>INFORMATION</h5>
    				<a href="contact.html">CONTACT</a>  
    				<a href="register.html">REGISTRATION</a>  
    				<a href="legal_notice.html">LEGAL NOTICE</a>  
    				<a href="tac.html">TERMS AND CONDITIONS</a> 
    				<a href="faq.html">FAQ</a>
    			 </div>
    			<div class="span3">
    				<h5>OUR OFFERS</h5>
    				<a href="#">NEW PRODUCTS</a> 
    				<a href="#">TOP SELLERS</a>  
    				<a href="special_offer.html">SPECIAL OFFERS</a>  
    				<a href="#">MANUFACTURERS</a> 
    				<a href="#">SUPPLIERS</a> 
    			 </div>
    			<div id="socialMedia" class="span3 pull-right">
    				<h5>SOCIAL MEDIA </h5>
    				<a href="#"><img width="60" height="60" src="themes/images/facebook.png" title="facebook" alt="facebook"/></a>
    				<a href="#"><img width="60" height="60" src="themes/images/twitter.png" title="twitter" alt="twitter"/></a>
    				<a href="#"><img width="60" height="60" src="themes/images/youtube.png" title="youtube" alt="youtube"/></a>
    			 </div> 
    		 </div>
    		<p class="pull-right">&copy; ShinyShop</p>
    	</div><!-- Container End -->
    	</div>
    <!-- Placed at the end of the document so the pages load faster ============================================= -->
    	<script src="themes/js/jquery.js" type="text/javascript"></script>
    	<script src="themes/js/bootstrap.min.js" type="text/javascript"></script>
    	<script src="themes/js/google-code-prettify/prettify.js"></script>
     
    	<script src="themes/js/bootshop.js"></script>
        <script src="themes/js/jquery.lightbox-0.5.js"></script>
        <script type="text/javascript">
     
    	$('#my-carousel').carousel({
    	  interval: 2000
    	})
    </script>
     
     
     
    </div>
    </body>
     
     
    </html>


    pour le twig:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
     
     
    <!DOCTYPE html>
    <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
    <!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
     
    <head>
    	<meta charset="utf-8">
    	<title>Bootstrap Exercise</title>
    	<meta name="description" content="">
    	<meta name="author" content="">
     
    	<!-- Mobile Specific Meta -->
    	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
     
    	<!-- Stylesheets -->
     
    	{% stylesheets 
     
     
                   '@EcommerceBlogBundle/Resources/public/css/bootstrap-responsive.css'
                   '@EcommerceBlogBundle/Resources/public/css/bootstrap.min.css'
                   '@EcommerceBlogBundle/Resources/public/css/custom.css'
                  ' @EcommerceBlogBundle/Resources/public/includes/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.css'
                     '@EcommerceBlogBundle/Resources/public/themes/css/base.css'
                    ' @EcommerceBlogBundle/Resources/public/themes/css/font-awesome.min.css'
                    ' @EcommerceBlogBundle/Resources/public/themes/js/google-code-prettify/prettify.css'
                    ' @EcommerceBlogBundle/Resources/public/themes/images/ico/favicon.ico'
                    ' @EcommerceBlogBundle/Resources/public/themes/images/ico/apple-touch-icon-144-precomposed.png'
                     '@EcommerceBlogBundle/Resources/public/themes/images/ico/apple-touch-icon-114-precomposed.png'
                    ' @EcommerceBlogBundle/Resources/public/themes/images/ico/apple-touch-icon-72-precomposed.png'
                     '@EcommerceBlogBundle/Resources/public/themes/images/ico/apple-touch-icon-72-precomposed.png'
                      '@EcommerceBlogBundle/Resources/public/themes/images/ico/apple-touch-icon-57-precomposed.png'
                    %}
    <link rel="stylesheet" href="{{ asset_url }}" type="text/css" />
    {% endstylesheets %}
     
     
    {% stylesheets '@EcommerceBlogBundle/Resources/public/themes/css/style.css' %}
    	<link id="callCss" rel="stylesheet" href="{{ asset_url }}" type="text/css" media="screen" charset="utf-8" />
    {% endstylesheets %}
     
    {% stylesheets '@EcommerceBlogBundle/Resources/public/themes/css/style.css' %}
    <link id="callCss" rel="stylesheet" href="{{ asset_url }}" type="text/css" media="screen" charset="utf-8" />
    {% endstylesheets %}
     
     
     
     
     
     
     
    	<!--[if lt IE 9]>
    		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    	<![endif]-->
    </head>
     
    <body data-spy="scroll" data-target=".navbar">
    	<div id="headerSection">
    		<h1 class="brand cntr">Shiny-shop</h1>
    		<div class="navbar">
    			<div class="nav-collapse">
    				<form action="#" class="navbar-search pull-right">
    						<input type="text" class="search-query" placeholder="search..." />
    					</form>
    				<ul class="nav">
    					<li class="active"><a href="#carouselSection">Home	</a></li>
    					<li><a href="{{ path('ecommerce_blog_homepage') }}">Home</a></li>
    					<li><a href="{{ path('ecommerce_blog_about') }}">About</a></li>
    					<li><a href="{{ path('ecommerce_blog_special_offer') }}">special offer</a></li>
    					</a></li>
     
    					<li class="dropdown"> <a href="category.html" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-delay="1000" data-close-others="false">
            category <b class="caret"></b>
        </a>
        <ul class="dropdown-menu">
            <li><a tabindex="-1" class="sortLink" data-keyword = "all" href="{{ path('ecommerce_blog_homepage') }}">all</a></li>
            <li class="divider"></li>
            <li><a tabindex="-1" class="sortLink"  data-keyword = "plants" href="{{ path('ecommerce_blog_homepage') }}">plants</a></li>
            <li><a tabindex="-1" class="sortLink" data-keyword = "sculpture" href="{{ path('ecommerce_blog_homepage') }}">sculpture</a></li>
            <li class="divider"></li>
     
            <li><a tabindex="-1" class="sortLink" data-keyword="architecture" href="{{ path('ecommerce_blog_homepage') }}">architecture</a></li>
                    <li><a tabindex="-1" class="sortLink" data-keyword = "winter" href="{{ path('ecommerce_blog_homepage') }}">winter</a></li>
     
        </ul>
    </li>
    	 <a href="{{ path('ecommerce_blog_login') }}" role="button" data-toggle="modal"  style="padding-right:0"><span class="btn btn-large btn-success">Login</span></a>
    				</ul>
    			</div>
    			<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    				<span class="icon-bar"></span>
    				<span class="icon-bar"></span>
    				<span class="icon-bar"></span>
    			</button>
    		</div>
         	</div>
     
     
     
     
    	<!-- MODAL CONTACT FORM -->
    	  <div class="modal hide fade" id="modal-contact-form">
    		<div class="modal-header">
    			<button class="close" data-dismiss="modal">&times;</button>
    			<h3>Contact Us</h3>
    		</div>
     
    		<div class="modal-body">
    			<form action="" class="form-horizontal">
    				<div class="control-group">
    					<label for="contact-name" class="control-label">Name:</label>
     
    					<div class="controls">
    						<input type="text" id="contact-name" />
    					</div>
    				</div>
     
    				<div class="control-group">
    					<label for="contact-email" class="control-label">Email:</label>
     
    					<div class="controls">
    						<input type="email" id="contact-email" />
    					</div>
    				</div>
     
    				<div class="control-group">
    					<label for="contact-message" class="control-label">Message:</label>
     
    					<div class="controls">
    						<textarea name="contact-message" id="contact-message" cols="30" rows="10"></textarea>
    					</div>
    				</div>
     
    				<div class="control-group">
    					<div class="controls">
    						<input type="submit" class="btn btn-primary" value="Send Message" />
    					</div>
    				</div>
    			</form>
    		</div>
     
    		<div class="modal-footer">
    			<a href="" data-dismiss="modal" class="btn">Cancel</a>
    		</div>
    	</div> <!-- end modal -->
     
     
     
     
     
    	<section class="slide-section" class="col-md-12">
     
     
     
    		<div class="carousel slide" id="my-carousel">
    			<ol class="carousel-indicators">
    				<li data-target="#my-carousel" data-slide-to="0" class="active"></li>
    				<li data-target="#my-carousel" data-slide-to="1"></li>
    				<li data-target="#my-carousel" data-slide-to="2"></li>
    				<li data-target="#my-carousel" data-slide-to="3"></li>
    			</ol>
     
    			<div class="carousel-inner">
    				<div class="item active">
     
    {% image  '@EcommerceBlogBundle/Resources/public/img/custom/images/slide1.jpg' %}
     
    	<img src="{{ asset_url }}" alt="Demo" />
    	{% endimage %}
     
     
     
     
    					<div class="carousel-caption">
    						<h4>Some title</h4>
    						<p>Some description.</p>
    					</div>
    				</div>
    				<div class="item">
     
    {% image  '@EcommerceBlogBundle/Resources/public/img/custom/images/slide2.jpg' %}
     
    	<img src="{{ asset_url }}" alt="Demo" />
    	{% endimage %}
     
    									</div>
     
    			</div>
     
    			<a href="#my-carousel" class="carousel-control left" data-slide="prev">&lsaquo;</a>
    			<a href="#my-carousel" class="carousel-control right" data-slide="next">&rsaquo;</a>
    		</div>
     
     
    	</section>
     
     
    	<!-- kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk   -->
    	<div class="container"> 
    	<section class="col-md-12">
    			<div class="row " >
    				<div class="col-md-3">
    	<a href="product-single.html">{% image  '@EcommerceBlogBundle/Resources/public/img/custom/images/image1.jpg' %}
    	<img src="{{ asset_url }}" alt="Demo" />
    	{% endimage %}</a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    				</div>
     
    				<div class="col-md-3">
    	<a href="product-single.html">{% image  '@EcommerceBlogBundle/Resources/public/img/custom/images/image2.jpg' %}
    	<img src="{{ asset_url }}" alt="Demo" />
    	{% endimage %}</a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    				</div>
     
    				<div class="col-md-3">
    	<a href="product-single.html">{% image  '@EcommerceBlogBundle/Resources/public/img/custom/images/image3.jpg' %}
    	<img src="{{ asset_url }}" alt="Demo" />
    	{% endimage %}</a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    				</div>
    				<div class="col-md-3">
    	<a href="product-single.html">{% image  '@EcommerceBlogBundle/Resources/public/img/custom/images/image2.jpg' %}
    	<img src="{{ asset_url }}" alt="Demo" />
    	{% endimage %}</a>					
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    			</div>
     
            </section>
     
     
            	<section>
    		<div class="row c-product-showcase">
    				<div class="col-md-3">
    	<a href="product-single.html">{% image  '@EcommerceBlogBundle/Resources/public/img/custom/images/image1.jpg' %}
    	<img src="{{ asset_url }}" alt="Demo" />
    	{% endimage %}</a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    				</div>
     
    				<div class="col-md-3">
    	<a href="product-single.html">{% image  '@EcommerceBlogBundle/Resources/public/img/custom/images/image2.jpg' %}
    	<img src="{{ asset_url }}" alt="Demo" />
    	{% endimage %}</a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    				</div>
     
    				<div class="col-md-3">
    	<a href="product-single.html">{% image  '@EcommerceBlogBundle/Resources/public/img/custom/images/image3.jpg' %}
    	<img src="{{ asset_url }}" alt="Demo" />
    	{% endimage %}</a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    				</div>
    				<div class="col-md-3">
    	<a href="product-single.html">{% image  '@EcommerceBlogBundle/Resources/public/img/custom/images/image2.jpg' %}
    	<img src="{{ asset_url }}" alt="Demo" />
    	{% endimage %}</a>
     
    					<h4><a href="product-single.html">Product Name</a></h4>
    					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
     
    					</span></a>
    			</div>
     
     
    		</section>
     
     
     
     
    	</div>
     
    		<hr />
    		<div class="row">
     
    	<div  id="footerSection">
    	<div class="container">
    			<div class="col-md-3">
    				<h5>ACCOUNT</h5>
    				<a href="login.html">YOUR ACCOUNT</a>
    				<a href="login.html">PERSONAL INFORMATION</a> 
    				<a href="login.html">ADDRESSES</a> 
    				<a href="login.html">DISCOUNT</a>  
    				<a href="login.html">ORDER HISTORY</a>
    			 </div>
    			<div class="col-md-3">
    				<h5>INFORMATION</h5>
    				<a href="contact.html">CONTACT</a>  
    				<a href="register.html">REGISTRATION</a>  
    				<a href="legal_notice.html">LEGAL NOTICE</a>  
    				<a href="tac.html">TERMS AND CONDITIONS</a> 
    				<a href="faq.html">FAQ</a>
    			 </div>
    			<div class="col-md-3">
    				<h5>OUR OFFERS</h5>
    				<a href="#">NEW PRODUCTS</a> 
    				<a href="#">TOP SELLERS</a>  
    				<a href="special_offer.html">SPECIAL OFFERS</a>  
    				<a href="#">MANUFACTURERS</a> 
    				<a href="#">SUPPLIERS</a> 
    			 </div>
    			<div id="socialMedia" class="col-md-3 pull-right">
    				<h5>SOCIAL MEDIA </h5>
    				<a href="#"</a>
    				<a href="#"></a>
    				<a href="#"></a>
    			 </div> 
    		 </div>
    		<p class="pull-right">&copy; ShinyShop</p>
    	</div><!-- Container End -->
    </div>
    </div>
     
     
     
     
        <script type="text/javascript">
    	$('#my-carousel').carousel({
    	  interval: 2000
    	})
        </script>
     
     
     
    {% javascripts   
     
    '@EcommerceBlogBundle/Resources/public/themes/js/google-code-prettify/prettify.js'
    '@EcommerceBlogBundle/Resources/public/themes/js/jquery.lightbox-0.5.js'
    '@EcommerceBlogBundle/Resources/public/js/bootstrap.min.js'
    '@EcommerceBlogBundle/Resources/public/themes/js/bootshop.js'
    '@EcommerceBlogBundle/Resources/public/js/bootstrap.min.js'
    '@EcommerceBlogBundle/Resources/public/themes/js/jquery.js'
    '@EcommerceBlogBundle/Resources/public/js/abootstrap-hover-dropdown.min.js'
     
     %}
     
    <script type="text/javascript" src="{{ asset_url }}"></script>
    {% endjavascripts %}
     
     
    </body>
     
    </html>

  2. #2
    Membre très actif
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Mai 2007
    Messages
    643
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Mai 2007
    Messages : 643
    Par défaut
    qu'est ce qui n'est pas responsive dans ta page ?
    quel erreur ?

Discussions similaires

  1. [2.x] Récupérer le contenu d'un block d'une vue Twig
    Par -N4w4k- dans le forum Symfony
    Réponses: 2
    Dernier message: 12/09/2014, 14h44
  2. [Twig] Recherche template twitter bootstrap 3 codé en twig.
    Par altair8080 dans le forum Bibliothèques et frameworks
    Réponses: 0
    Dernier message: 15/05/2014, 00h31
  3. [2.x] probleme avec un formulaire crée dans la vue twig
    Par adel25 dans le forum Symfony
    Réponses: 1
    Dernier message: 11/11/2013, 00h58
  4. [2.x] Filtre personnalisé dans la vue twig
    Par y0ussef dans le forum Symfony
    Réponses: 3
    Dernier message: 11/06/2012, 16h55
  5. Réponses: 5
    Dernier message: 18/04/2012, 11h34

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo