Skip to content

Commit

Permalink
Replaces CDN dependency of Bootstrap with bower (can now code on train).
Browse files Browse the repository at this point in the history
Also darktheme
  • Loading branch information
gloriousCode committed Mar 27, 2017
1 parent 8d2551e commit 5ec711a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
11 changes: 11 additions & 0 deletions web/app/darktheme.min.css

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions web/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
<link rel="stylesheet" href="/bower_components/html5-boilerplate/dist/css/main.css">
<link rel="stylesheet" href="/bower_components/angular-ui-notification/dist/angular-ui-notification.min.css">
<link rel="stylesheet" href="/app.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/darktheme.min.css">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
<script src="/bower_components/html5-boilerplate/dist/js/vendor/modernizr-2.8.3.min.js"></script>
</head>

<body>
<nav class="navbar navbar-default navbar-fixed-top navbar navbar-inverse" role="navigation">
<nav class="navbar navbar-default navbar-fixed-top navbar" role="navigation">
<div class="container-fluid">

<div class="navbar-header">
Expand Down
3 changes: 2 additions & 1 deletion web/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"angular-mocks": "~1.5.0",
"html5-boilerplate": "^5.3.0",
"angular-ui-notification":"latest",
"angular-websocket":"2.0.0"
"angular-websocket":"2.0.0",
"bootstrap":"3.3.7"
}
}

0 comments on commit 5ec711a

Please sign in to comment.