Browse Source

Fix bootstrap import

Thomas Dy 8 years ago
parent
commit
d2905bae60
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/views/index.scala.html
  2. 1 1
      build.sbt

+ 1 - 1
app/views/index.scala.html

@@ -5,7 +5,7 @@
 <head>
   <title>Game n' Chat</title>
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
-  <link rel="stylesheet" media="screen" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
+  <link rel="stylesheet" media="screen" href="@routes.WebJarAssets.at(WebJarAssets.locate("bootstrap.css"))">
   <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/main.css")">
   <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")">
 </head>

+ 1 - 1
build.sbt

@@ -8,7 +8,7 @@ libraryDependencies ++= Seq(jdbc, anorm)
 
 libraryDependencies += "postgresql" % "postgresql" % "9.1-901.jdbc4"
 
-libraryDependencies += "org.webjars" % "bootstrap" % "2.3.2"
+libraryDependencies += "org.webjars" % "bootstrap" % "3.0.3"
 
 libraryDependencies += "org.webjars" %% "webjars-play" % "2.2.2-1"