Skip to content

Commit

Permalink
Remove jquery dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Labeeuw authored and mbulat committed Sep 25, 2020
1 parent 89b8a63 commit a6cccde
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 12 deletions.
5 changes: 0 additions & 5 deletions app/assets/javascripts/plutus/reports.js

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/stylesheets/plutus/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
*= require_tree .
*= require bootstrap.min
*= require bootstrap-theme.min
*= require jquery-ui/datepicker
*= require_self
*/
body { padding-top: 60px; }
1 change: 0 additions & 1 deletion app/views/layouts/plutus/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Plutus</title>
<%= stylesheet_link_tag "plutus/application", media: "all" %>
<%= javascript_include_tag "plutus/application" %>
<%= csrf_meta_tags %>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion app/views/plutus/reports/balance_sheet.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<%= form_tag({:action => 'balance_sheet'}, {:method => :get, :class => 'form-inline'}) do%>
<div class="form-group">
<%= label_tag :date, nil, class: 'sr-only'%>
<%= text_field_tag :date, @to_date, :class => 'datepicker form-control' %>
<%= date_field_tag :date, @to_date, :class => 'form-control' %>
</div>
<button type="submit" class="btn btn-default">Get Report</button>
<% end %>
Expand Down
4 changes: 2 additions & 2 deletions app/views/plutus/reports/income_statement.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<%= form_tag({:action => 'income_statement'}, {:method => :get, :class => 'form-inline'}) do%>
<div class="form-group">
<%= label_tag :from_date, nil, class: 'sr-only'%>
<%= text_field_tag :from_date, @from_date, :class => 'datepicker form-control', :placeholder => "Date" %>
<%= date_field_tag :from_date, @from_date, :class => 'form-control', :placeholder => "Date" %>
</div>
<div class="form-group">
<%= label_tag :to_date, nil, class: 'sr-only'%>
<%= text_field_tag :to_date, @to_date, :class => 'datepicker form-control', :placeholder => "Date" %>
<%= date_field_tag :to_date, @to_date, :class => 'form-control', :placeholder => "Date" %>
</div>
<button type="submit" class="btn btn-default">Get Report</button>
<% end %>
Expand Down
2 changes: 0 additions & 2 deletions plutus.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ Gem::Specification.new do |s|
"README.markdown"
]
s.add_dependency("rails", "> 6.0")
s.add_dependency("jquery-rails", ">= 3.0")
s.add_dependency("jquery-ui-rails", ">= 4.2.2")
s.add_dependency("kaminari", "~> 1.0")
s.add_development_dependency("yard")
s.add_development_dependency("shoulda-matchers", "~> 3.1")
Expand Down

0 comments on commit a6cccde

Please sign in to comment.