Skip to content

Commit

Permalink
Removing Bootstrap from Araport
Browse files Browse the repository at this point in the history
  • Loading branch information
asherpasha committed Oct 13, 2016
1 parent 2b76f42 commit 00744e3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
$ = jQuery;
(function(window, $, undefined) {
'use strict';

console.log('Hello, Araport_ePlant!');

$('link[rel=stylesheet][href*="https://www.araport.org/sites/default/files/css/"]').remove();
$('link[rel=stylesheet][href*="https://maxcdn.bootstrapcdn.com/"]').remove();
})(window, jQuery);
1 change: 1 addition & 0 deletions app/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function inputBlur(i) {
console.log('jQuery ready, starting ePlant...');
// Deleting Araport css
$('link[rel=stylesheet][href*="https://www.araport.org/sites/default/files/css/"]').remove();
$('link[rel=stylesheet][href*="https://maxcdn.bootstrapcdn.com/"]').remove();
/* Google maps initailiz */

// GoogleMapsLoader.KEY = "AIzaSyAj876MbMPM8roSi2JZFgGFUzTPpZ56kzU";
Expand Down
15 changes: 7 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title>Araport_ePlant | AIP Science Apps | Test Runner</title>
<!--
<link rel="shortcut icon" href="https://www.araport.org/sites/all/themes/custom/araport-theme/favicon.ico">
<!-- jquery -->
Expand All @@ -16,18 +17,18 @@

<!-- bower:css -->
<!-- endbower-->
<!-- araport_dep:css -->
<!-- araport_dep:css -->
<link rel="stylesheet" href="app/styles/reset.css" /> <link rel="stylesheet" href="app/styles/jquery-ui-1.11.4.custom/jquery-ui.css" /> <link rel="stylesheet" href="app/scripts/lib/spectrum/spectrum.css" /> <link rel="stylesheet" href="app/scripts/js/jquery.qtip.min.css" /> <link rel="stylesheet" href="app/styles/backToTop.css" /> <link rel="stylesheet" href="app/styles/datatablesStyleSheet.css" /> <link rel="stylesheet" href="app/styles/jquery.svg.css" /> <link rel="stylesheet" href="app/scripts/lib/hint/hint.css" /> <link rel="stylesheet" href="app/styles/hint.css" /> <link rel="stylesheet" href="app/scripts/js/sequencejs-theme.modern-slide-in.css" /> <link rel="stylesheet" href="app/styles/animate.min.css" /> <link rel="stylesheet" href="app/scripts/js/jquery.dropdown.css" /> <link rel="stylesheet" href="app/scripts/js/jquery.mCustomScrollbar.css" /> <link rel="stylesheet" href="app/styles/eplant.css" />
<!-- endaraport_dep -->
<!-- endaraport_dep --><!--
<style type="text/css">
body {
padding-top: 60px;
}
</style>
</style>-->

<!-- application styles -->
</head>
<body>
<body><!--
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
Expand Down Expand Up @@ -61,13 +62,11 @@ <h1>AIP Science Apps <small>Test Runner</small></h1>
<div class="api-credentials container">
include "/lib/api-client-auth.html"
<hr>
</div>
</div> -->

<div class="aip-science-app container">
<!-- araport_dep:html -->
<!-- araport_dep:html -->
include "/app/main.html"
<!-- endaraport_dep -->
</div>

<!-- swagger-js -->
<script type="text/javascript" src="/lib/swagger/swagger.js"></script>
Expand Down

0 comments on commit 00744e3

Please sign in to comment.