Skip to content

Commit

Permalink
Merge pull request #96 from CodeBrig/remove-javascript
Browse files Browse the repository at this point in the history
remove javascript
  • Loading branch information
BFergerson committed Feb 15, 2020
2 parents 30d4bfc + a514996 commit e5c000c
Show file tree
Hide file tree
Showing 3,828 changed files with 101 additions and 923,436 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 0 additions & 8 deletions .gitignore
Expand Up @@ -12,14 +12,6 @@
# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.war
*.ear
*.zip
*.tar
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
### JetBrains template
Expand Down
Expand Up @@ -169,6 +169,7 @@ class GitDetectiveWebsite extends AbstractVerticle {

private void handleIndexPage(RoutingContext ctx) {
ctx.put("gitdetective_url", config().getString("gitdetective_url"))
ctx.put("gitdetective_static_url", config().getString("gitdetective_static_url"))
ctx.put("gitdetective_eventbus_url", config().getString("gitdetective_url") + "backend/services/eventbus")
ctx.put("gitdetective_version", buildBundle.getString("version"))

Expand All @@ -194,6 +195,7 @@ class GitDetectiveWebsite extends AbstractVerticle {

private void handleProjectLeaderboardPage(RoutingContext ctx) {
ctx.put("gitdetective_url", config().getString("gitdetective_url"))
ctx.put("gitdetective_static_url", config().getString("gitdetective_static_url"))
ctx.put("gitdetective_eventbus_url", config().getString("gitdetective_url") + "backend/services/eventbus")
ctx.put("gitdetective_version", buildBundle.getString("version"))

Expand All @@ -218,6 +220,7 @@ class GitDetectiveWebsite extends AbstractVerticle {

private void handleFunctionLeaderboardPage(RoutingContext ctx) {
ctx.put("gitdetective_url", config().getString("gitdetective_url"))
ctx.put("gitdetective_static_url", config().getString("gitdetective_static_url"))
ctx.put("gitdetective_eventbus_url", config().getString("gitdetective_url") + "backend/services/eventbus")
ctx.put("gitdetective_version", buildBundle.getString("version"))

Expand Down Expand Up @@ -330,6 +333,7 @@ class GitDetectiveWebsite extends AbstractVerticle {
ctx.put("github_repository", githubRepository)
}
ctx.put("gitdetective_url", config().getString("gitdetective_url"))
ctx.put("gitdetective_static_url", config().getString("gitdetective_static_url"))
ctx.put("gitdetective_eventbus_url", config().getString("gitdetective_url") + "backend/services/eventbus")
ctx.put("gitdetective_version", buildBundle.getString("version"))

Expand Down
50 changes: 25 additions & 25 deletions web/src/main/resources/webroot/function_leaderboard.hbs
Expand Up @@ -10,20 +10,20 @@
<meta name="author" content="">
<title>Function Leaderboard - GitDetective</title>
<!-- Bootstrap Core CSS -->
<link href="{{gitdetective_url}}static/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- chartist CSS -->
<link href="{{gitdetective_url}}static/assets/plugins/chartist-js/dist/chartist.min.css" rel="stylesheet">
<link href="{{gitdetective_url}}static/assets/plugins/chartist-js/dist/chartist-init.css" rel="stylesheet">
<link href="{{gitdetective_url}}static/assets/plugins/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.css"
<link href="{{gitdetective_static_url}}assets/plugins/chartist-js/dist/chartist.min.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}assets/plugins/chartist-js/dist/chartist-init.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}assets/plugins/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.css"
rel="stylesheet">
<!--This page css - Morris CSS -->
<link href="{{gitdetective_url}}static/assets/plugins/c3-master/c3.min.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}assets/plugins/c3-master/c3.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="{{gitdetective_url}}static/css/style.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}css/style.css" rel="stylesheet">
<!-- You can change the theme colors from here -->
<link href="{{gitdetective_url}}static/css/colors/purple-dark.css" id="theme" rel="stylesheet">
<link href="{{gitdetective_url}}static/stylesheet.css" rel="stylesheet">
<script src="{{gitdetective_url}}static/moment.min.js"></script>
<link href="{{gitdetective_static_url}}css/colors/purple-dark.css" id="theme" rel="stylesheet">
<link href="{{gitdetective_static_url}}stylesheet.css" rel="stylesheet">
<script src="{{gitdetective_static_url}}moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
Expand Down Expand Up @@ -199,37 +199,37 @@
<!-- ============================================================== -->
<!-- All Jquery -->
<!-- ============================================================== -->
<script src="{{gitdetective_url}}static/assets/plugins/jquery/jquery.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap tether Core JavaScript -->
<script src="{{gitdetective_url}}static/assets/plugins/popper/popper.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/popper/popper.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- slimscrollbar scrollbar JavaScript -->
<script src="{{gitdetective_url}}static/js/jquery.slimscroll.js"></script>
<script src="{{gitdetective_static_url}}js/jquery.slimscroll.js"></script>
<!--Wave Effects -->
<script src="{{gitdetective_url}}static/js/waves.js"></script>
<script src="{{gitdetective_static_url}}js/waves.js"></script>
<!--Menu sidebar -->
<script src="{{gitdetective_url}}static/js/sidebarmenu.js"></script>
<script src="{{gitdetective_static_url}}js/sidebarmenu.js"></script>
<!--stickey kit -->
<script src="{{gitdetective_url}}static/assets/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<!--Custom JavaScript -->
<script src="{{gitdetective_url}}static/js/custom.min.js"></script>
<script src="{{gitdetective_static_url}}js/custom.min.js"></script>
<!-- ============================================================== -->
<!-- This page plugins -->
<!-- ============================================================== -->
<!-- chartist chart -->
<script src="{{gitdetective_url}}static/assets/plugins/chartist-js/dist/chartist.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/chartist-js/dist/chartist.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.min.js"></script>
<!--c3 JavaScript -->
<script src="{{gitdetective_url}}static/assets/plugins/d3/d3.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/c3-master/c3.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/d3/d3.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/c3-master/c3.min.js"></script>
<!-- Chart JS -->
<script src="{{gitdetective_url}}static/js/dashboard6.js"></script>
<script src="{{gitdetective_static_url}}js/dashboard6.js"></script>
<!-- ============================================================== -->
<!-- Style switcher -->
<!-- ============================================================== -->
<script src="{{gitdetective_url}}static/assets/plugins/styleswitcher/jQuery.style.switcher.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/styleswitcher/jQuery.style.switcher.js"></script>
<script>
//buttons
$('#app-search').submit(function (event) {
Expand Down
50 changes: 25 additions & 25 deletions web/src/main/resources/webroot/index.hbs
Expand Up @@ -10,20 +10,20 @@
<meta name="author" content="">
<title>GitDetective - Find the use and users of open-source code</title>
<!-- Bootstrap Core CSS -->
<link href="{{gitdetective_url}}static/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- chartist CSS -->
<link href="{{gitdetective_url}}static/assets/plugins/chartist-js/dist/chartist.min.css" rel="stylesheet">
<link href="{{gitdetective_url}}static/assets/plugins/chartist-js/dist/chartist-init.css" rel="stylesheet">
<link href="{{gitdetective_url}}static/assets/plugins/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.css"
<link href="{{gitdetective_static_url}}assets/plugins/chartist-js/dist/chartist.min.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}assets/plugins/chartist-js/dist/chartist-init.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}assets/plugins/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.css"
rel="stylesheet">
<!--This page css - Morris CSS -->
<link href="{{gitdetective_url}}static/assets/plugins/c3-master/c3.min.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}assets/plugins/c3-master/c3.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="{{gitdetective_url}}static/css/style.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}css/style.css" rel="stylesheet">
<!-- You can change the theme colors from here -->
<link href="{{gitdetective_url}}static/css/colors/purple-dark.css" id="theme" rel="stylesheet">
<link href="{{gitdetective_url}}static/stylesheet.css" rel="stylesheet">
<script src="{{gitdetective_url}}static/moment.min.js"></script>
<link href="{{gitdetective_static_url}}css/colors/purple-dark.css" id="theme" rel="stylesheet">
<link href="{{gitdetective_static_url}}stylesheet.css" rel="stylesheet">
<script src="{{gitdetective_static_url}}moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
Expand Down Expand Up @@ -284,37 +284,37 @@
<!-- ============================================================== -->
<!-- All Jquery -->
<!-- ============================================================== -->
<script src="{{gitdetective_url}}static/assets/plugins/jquery/jquery.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap tether Core JavaScript -->
<script src="{{gitdetective_url}}static/assets/plugins/popper/popper.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/popper/popper.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- slimscrollbar scrollbar JavaScript -->
<script src="{{gitdetective_url}}static/js/jquery.slimscroll.js"></script>
<script src="{{gitdetective_static_url}}js/jquery.slimscroll.js"></script>
<!--Wave Effects -->
<script src="{{gitdetective_url}}static/js/waves.js"></script>
<script src="{{gitdetective_static_url}}js/waves.js"></script>
<!--Menu sidebar -->
<script src="{{gitdetective_url}}static/js/sidebarmenu.js"></script>
<script src="{{gitdetective_static_url}}js/sidebarmenu.js"></script>
<!--stickey kit -->
<script src="{{gitdetective_url}}static/assets/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<!--Custom JavaScript -->
<script src="{{gitdetective_url}}static/js/custom.min.js"></script>
<script src="{{gitdetective_static_url}}js/custom.min.js"></script>
<!-- ============================================================== -->
<!-- This page plugins -->
<!-- ============================================================== -->
<!-- chartist chart -->
<script src="{{gitdetective_url}}static/assets/plugins/chartist-js/dist/chartist.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/chartist-js/dist/chartist.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.min.js"></script>
<!--c3 JavaScript -->
<script src="{{gitdetective_url}}static/assets/plugins/d3/d3.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/c3-master/c3.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/d3/d3.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/c3-master/c3.min.js"></script>
<!-- Chart JS -->
<script src="{{gitdetective_url}}static/js/dashboard6.js"></script>
<script src="{{gitdetective_static_url}}js/dashboard6.js"></script>
<!-- ============================================================== -->
<!-- Style switcher -->
<!-- ============================================================== -->
<script src="{{gitdetective_url}}static/assets/plugins/styleswitcher/jQuery.style.switcher.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/styleswitcher/jQuery.style.switcher.js"></script>
<script>
//buttons
$('#app-search').submit(function (event) {
Expand Down
42 changes: 21 additions & 21 deletions web/src/main/resources/webroot/project.hbs
Expand Up @@ -10,14 +10,14 @@
<meta name="author" content="">
<title>{{github_repository}} - GitDetective</title>
<!-- Bootstrap Core CSS -->
<link href="{{gitdetective_url}}static/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="{{gitdetective_url}}static/assets/plugins/bootstrap-switch/bootstrap-switch.min.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}assets/plugins/bootstrap-switch/bootstrap-switch.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="{{gitdetective_url}}static/css/style.css" rel="stylesheet">
<link href="{{gitdetective_static_url}}css/style.css" rel="stylesheet">
<!-- You can change the theme colors from here -->
<link href="{{gitdetective_url}}static/css/colors/purple-dark.css" id="theme" rel="stylesheet">
<link href="{{gitdetective_url}}static/stylesheet.css" rel="stylesheet">
<script src="{{gitdetective_url}}static/moment.min.js"></script>
<link href="{{gitdetective_static_url}}css/colors/purple-dark.css" id="theme" rel="stylesheet">
<link href="{{gitdetective_static_url}}stylesheet.css" rel="stylesheet">
<script src="{{gitdetective_static_url}}moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
Expand Down Expand Up @@ -334,23 +334,23 @@
<!-- ============================================================== -->
<!-- All Jquery -->
<!-- ============================================================== -->
<script src="{{gitdetective_url}}static/assets/plugins/jquery/jquery.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap tether Core JavaScript -->
<script src="{{gitdetective_url}}static/assets/plugins/popper/popper.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/popper/popper.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- slimscrollbar scrollbar JavaScript -->
<script src="{{gitdetective_url}}static/js/jquery.slimscroll.js"></script>
<script src="{{gitdetective_static_url}}js/jquery.slimscroll.js"></script>
<!--Wave Effects -->
<script src="{{gitdetective_url}}static/js/waves.js"></script>
<script src="{{gitdetective_static_url}}js/waves.js"></script>
<!--Menu sidebar -->
<script src="{{gitdetective_url}}static/js/sidebarmenu.js"></script>
<script src="{{gitdetective_static_url}}js/sidebarmenu.js"></script>
<!--stickey kit -->
<script src="{{gitdetective_url}}static/assets/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
<script src="{{gitdetective_url}}static/assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<!--Custom JavaScript -->
<script src="{{gitdetective_url}}static/js/custom.min.js"></script>
<script src="{{gitdetective_static_url}}js/custom.min.js"></script>
<!-- This is data table -->
<script src="{{gitdetective_url}}static/assets/plugins/datatables/jquery.dataTables.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/datatables/jquery.dataTables.min.js"></script>
<script>
String.prototype.toHtmlEntities = function () {
return this.replace(/./gm, function (s) {
Expand All @@ -361,7 +361,7 @@
<!-- ============================================================== -->
<!-- Style switcher -->
<!-- ============================================================== -->
<script src="{{gitdetective_url}}static/assets/plugins/styleswitcher/jQuery.style.switcher.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/styleswitcher/jQuery.style.switcher.js"></script>
<script>
$('#app-search').submit(function (event) {
window.location = '{{gitdetective_url}}' + document.getElementById('app-search-data').value
Expand All @@ -381,7 +381,7 @@
gtag('config', 'UA-117514928-1')
</script>
<!-- bt-switch -->
<script src="{{gitdetective_url}}static/assets/plugins/bootstrap-switch/bootstrap-switch.min.js"></script>
<script src="{{gitdetective_static_url}}assets/plugins/bootstrap-switch/bootstrap-switch.min.js"></script>
<script type="text/javascript">
$('.bt-switch input[type=\'checkbox\'], .bt-switch input[type=\'radio\']').bootstrapSwitch()
var radioswitch = function () {
Expand Down Expand Up @@ -410,8 +410,8 @@
$('#display_reference_amount_information').hide()
})
</script>
<script src="{{gitdetective_url}}static/sockjs.min.js"></script>
<script src='{{gitdetective_url}}static/vertx-eventbus.min.js'></script>
<script src="{{gitdetective_static_url}}sockjs.min.js"></script>
<script src="{{gitdetective_static_url}}vertx-eventbus.min.js"></script>
<script>
console.log('Connecting to event bus...')
var eb = new EventBus('{{gitdetective_eventbus_url}}')
Expand All @@ -421,6 +421,6 @@
var logPositionIndex = {{latest_job_log_position}}
var latestJobLogId = {{latest_job_log_id}}
</script>
<script src="{{gitdetective_url}}static/project_helper.js"></script>
<script src="{{gitdetective_url}}helper/project_helper.js"></script>
</body>
</html>

0 comments on commit e5c000c

Please sign in to comment.