Form Upload
-Dropzone multiple file uploader
- - -Drag multiple files to the box below for multi upload or click to select files. This is for demonstration purposes only, the files are not uploaded to any server.
- --
-
-
-
diff --git a/README.md b/README.md index 5dbc903..a4822a6 100644 --- a/README.md +++ b/README.md @@ -13,23 +13,32 @@ Setup: 4. bower install 5. bundle install - + 6. rake rails:update:bin - + 7. rails s That's it! -Navigate to http://localhost:3000/plainpage/index +Navigate to http://localhost:3000 - + ------------------------------------------------------------------------ -If you're using devise, you'd need to create another layout to handle authentication and sign_ups as discussed in [issue #2](https://github.com/iogbole/gentelella_on_rails/issues/2). +If you're using devise, you'd need to create another layout to handle authentication and sign_ups as discussed in [issue #2](https://github.com/iogbole/gentelella_on_rails/issues/2). + +This is the [login template](https://gist.github.com/iogbole/a2f1ddf330cb5194967a1996369619e8). And this is what it looks like: -This is the [login template](https://gist.github.com/iogbole/a2f1ddf330cb5194967a1996369619e8). And this is how it looks: -  - + ---------- -*I committed the vendor files to this repo so you may skip step 3 and 4* +*I committed the vendor files to this repo so you may skip step 3 and 4* + +**Contributing** + +In the spirit of [free software](http://www.fsf.org/licensing/essays/free-sw.html), everyone is encouraged to help improve this project. Here are a few ways you can pitch in: + + - Report bugs or issues + - Fix bugs and submit pull requests. + - Write, clarify or fix documentation. + - Refactor code. \ No newline at end of file diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 1b6d217..4e1b8c4 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -24,18 +24,8 @@ //= require js/flot/curvedLines.js //= require js/flot/jquery.flot.resize.js - -//= require js/maps/jquery-jvectormap-2.0.3.min.js -//= require js/maps/gdp-data.js -//= require js/maps/jquery-jvectormap-world-mill-en.js -//= require js/maps/jquery-jvectormap-us-aea-en.js - - //= require js/bootstrap.min.js -//= require js/gauge/gauge.min.js -//= require js/gauge/gauge_demo.js - //= require js/progressbar/bootstrap-progressbar.min.js //= require js/icheck/icheck.min.js @@ -45,18 +35,11 @@ //= require js/chartjs/chart.min.js -//= require js/custom.js - - //= require js/pace/pace.min.js //= require js/nprogress.js -//= require js/select/select2.full.js - -//= require js/dropzone/dropzone.js -//= require js/pace/pace.min.js - -//= require_tree . +//= require flash.js + diff --git a/app/assets/javascripts/flash.js b/app/assets/javascripts/flash.js new file mode 100644 index 0000000..0240a2c --- /dev/null +++ b/app/assets/javascripts/flash.js @@ -0,0 +1,6 @@ +$(function() { + $('#flash').delay(500).fadeIn('normal', function() { + $(this).delay(2500).fadeOut(); + }); +}); + diff --git a/app/assets/javascripts/footermanifest.js b/app/assets/javascripts/footermanifest.js new file mode 100644 index 0000000..9f79763 --- /dev/null +++ b/app/assets/javascripts/footermanifest.js @@ -0,0 +1 @@ +//= require js/custom.js diff --git a/app/controllers/plainpage_controller.rb b/app/controllers/plainpage_controller.rb index 1ee4e76..dfe44d5 100644 --- a/app/controllers/plainpage_controller.rb +++ b/app/controllers/plainpage_controller.rb @@ -1,4 +1,10 @@ class PlainpageController < ApplicationController + def index + flash[:success ] = "Success Flash Message: Welcome to GentellelaOnRails" + #other alternatives are + # flash[:warn ] = "Israel don't quite like warnings" + #flash[:danger ] = "Naomi let the dog out!" end + end diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index a0dbe52..97eccbd 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,14 +1,21 @@
-Drag multiple files to the box below for multi upload or click to select files. This is for demonstration purposes only, the files are not uploaded to any server.
- -