bootstrap via static files
This commit is contained in:
		@@ -66,8 +66,8 @@ instance Yesod App where
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        pc <- widgetToPageContent $ do
 | 
					        pc <- widgetToPageContent $ do
 | 
				
			||||||
            addStylesheet $ StaticR css_bootstrap_css
 | 
					            addStylesheet $ StaticR css_bootstrap_css
 | 
				
			||||||
            addScriptRemote $ "https://code.jquery.com/jquery-2.1.4.min.js"
 | 
					            addScript $ StaticR js_jquery_js
 | 
				
			||||||
            addScriptRemote $ "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"
 | 
					            addScript $ StaticR js_bootstrap_js
 | 
				
			||||||
            $(widgetFile "default-layout")
 | 
					            $(widgetFile "default-layout")
 | 
				
			||||||
        withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")
 | 
					        withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										7
									
								
								static/js/bootstrap.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								static/js/bootstrap.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9210
									
								
								static/js/jquery.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9210
									
								
								static/js/jquery.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user