Skip to content

Commit 9074599

Browse files
Linked local bootstrap
1 parent 3c171a1 commit 9074599

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

index-dev.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script type="text/javascript" src="./target/scala-2.11/paths-scala-js-demo-jsdeps.js"></script>
77
<script type="text/javascript" src="./target/scala-2.11/paths-scala-js-demo-fastopt.js"></script>
88
<script type="text/javascript" src="./target/scala-2.11/paths-scala-js-demo-launcher.js"></script>
9-
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css">
9+
<link rel="stylesheet" type="text/css" href="./src/main/resources/bootstrap.min.css">
1010
<link rel="stylesheet" type="text/css" href="./src/main/resources/main.css">
1111
</head>
1212
<body>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script type="text/javascript" src="./target/scala-2.11/paths-scala-js-demo-jsdeps.js"></script>
77
<script type="text/javascript" src="./target/scala-2.11/paths-scala-js-demo-opt.js"></script>
88
<script type="text/javascript" src="./target/scala-2.11/paths-scala-js-demo-launcher.js"></script>
9-
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css">
9+
<link rel="stylesheet" type="text/css" href="./src/main/resources/bootstrap.min.css">
1010
<link rel="stylesheet" type="text/css" href="./src/main/resources/main.css">
1111
</head>
1212
<body>

src/main/resources/bootstrap.min.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/scala/demo/components/radar.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ object radar {
9191
p("Sp. Attack: ", span(className := "label label-info", pokemon.spAttack.toInt)),
9292
p("Sp. Defense: ", span(className := "label label-info", pokemon.spDefense.toInt))
9393
),
94-
svg(width := 375, height := 400,
94+
svg(width := 375, height := 370,
9595
g(transform := "translate(200, 200)", rings, polygons)
9696
)
9797
)

0 commit comments

Comments
 (0)