dimanche 22 novembre 2015

Loading a bootstrap template to a rails app

I have a template I purchased and I want to use it on my ROR app which uses bootstrap-sass 3.1.1. I put the necessary files in my assets folder and I am trying to use them by putting the following in my view head

<head>
<meta charset="utf-8">
<title>Blah</title>

<!-- Web Fonts -->
<link href='http://ift.tt/1N7eCqL' rel='stylesheet' type='text/css'>
<link href='http://ift.tt/19N7i3B' rel='stylesheet' type='text/css'>
<link href='http://ift.tt/OsMhNH' rel='stylesheet' type='text/css'>
<link href='http://ift.tt/1prVzIU' rel='stylesheet' type='text/css'>

<!-- Bootstrap core CSS -->
<link href="/assets/template/bootstrap/css/bootstrap.css" rel="stylesheet">

<!-- Font Awesome CSS -->
<link href="/assets/template/fonts/font-awesome/css/font-awesome.css" rel="stylesheet">

<!-- Fontello CSS -->
<link href="/assets/template/fonts/fontello/css/fontello.css" rel="stylesheet">

<!-- Plugins -->
<link href="/assets/template/plugins/magnific-popup/magnific-popup.css" rel="stylesheet">
</head>

I cant seem to get the app to use these files like the Bootstrap core CSS. Am I trying to link to it the right way or did I miss something?

Aucun commentaire:

Enregistrer un commentaire