Revision 9161008b
Added by Amos Benari about 13 years ago
- ID 9161008b9bc7c5d15ebd7e9025bc8995808654c0
- added
- modified
- copied
- renamed
- deleted
- app
- config
- db
- public
- images
- header_bg.png (diff)
- ui-bg_flat_0_aaaaaa_40x100.png
- ui-bg_flat_55_fbec88_40x100.png
- ui-bg_glass_85_dfeffc_1x400.png
- ui-bg_glass_95_fef1ec_1x400.png
- ui-bg_gloss-wave_55_5c9ccc_500x100.png
- ui-bg_inset-hard_100_f5f8f9_1x100.png
- ui-icons_2e83ff_256x240.png
- ui-icons_469bdd_256x240.png
- ui-icons_6da8d5_256x240.png
- ui-icons_cd0a0a_256x240.png
- ui-icons_d8e7f3_256x240.png
- ui-icons_f9bd01_256x240.png
- javascripts
- stylesheets
- images
- test
added search bookmarks, fixes #836
app/controllers/bookmarks_controller.rb | 74 ++++++++
app/helpers/application_helper.rb | 2
app/helpers/bookmarks_helper.rb | 2 +
app/helpers/home_helper.rb | 13 +
app/models/bookmark.rb | 22 ++
app/views/bookmarks/_form.html.erb | 17 ++
app/views/bookmarks/_list.html.erb | 5
app/views/bookmarks/edit.html.erb | 7 +
app/views/bookmarks/index.html.erb | 25 +++
app/views/bookmarks/new.html.erb | 5
app/views/bookmarks/welcome.html.erb | 8 +
app/views/common/_searchbar.erb | 5 +
app/views/home/_menu.erb | 34 +---
app/views/home/_settings.html.erb | 62 +++----
app/views/layouts/application.html.erb | 5
++config/routes.rb | 2 +
db/migrate/20110417102947_add_table_bookmarks.rb | 27 +
public/images/header_bg.png | Bin 1416 -> 1266 bytes
public/images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 180 bytes
public/images/ui-bg_flat_55_fbec88_40x100.png | Bin 0 -> 182 bytes
public/images/ui-bg_glass_85_dfeffc_1x400.png | Bin 0 -> 123 bytes
public/images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 119 bytes
.../images/ui-bg_gloss-wave_55_5c9ccc_500x100.png | Bin 0 -> 4033 bytes
.../images/ui-bg_inset-hard_100_f5f8f9_1x100.png | Bin 0 -> 104 bytes
public/images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4369 bytes
public/images/ui-icons_469bdd_256x240.png | Bin 0 -> 4369 bytes
public/images/ui-icons_6da8d5_256x240.png | Bin 0 -> 4369 bytes
public/images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4369 bytes
public/images/ui-icons_d8e7f3_256x240.png | Bin 0 -> 4369 bytes
public/images/ui-icons_f9bd01_256x240.png | Bin 0 -> 4369 bytes
public/javascripts/menu.js | 147 ++++++++++++++++++
public/stylesheets/style.css | 75 +++----
test/fixtures/bookmarks.yml | 13 +
test/functional/bookmarks_controller_test.rb | 41 +++++
test/unit/bookmark_test.rb | 30 +++
test/unit/helpers/bookmarks_helper_test.rb | 4 +
36 files changed, 534 insertions(), 91 deletions(-)
create mode 100644 app/controllers/bookmarks_controller.rb
create mode 100644 app/helpers/bookmarks_helper.rb
create mode 100644 app/models/bookmark.rb
create mode 100644 app/views/bookmarks/_form.html.erb
create mode 100644 app/views/bookmarks/_list.html.erb
create mode 100644 app/views/bookmarks/edit.html.erb
create mode 100644 app/views/bookmarks/index.html.erb
create mode 100644 app/views/bookmarks/new.html.erb
create mode 100644 app/views/bookmarks/welcome.html.erb
create mode 100644 db/migrate/20110417102947_add_table_bookmarks.rb
create mode 100644 public/images/ui-bg_flat_0_aaaaaa_40x100.png
create mode 100644 public/images/ui-bg_flat_55_fbec88_40x100.png
create mode 100644 public/images/ui-bg_glass_85_dfeffc_1x400.png
create mode 100644 public/images/ui-bg_glass_95_fef1ec_1x400.png
create mode 100644 public/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png
create mode 100644 public/images/ui-bg_inset-hard_100_f5f8f9_1x100.png
create mode 100644 public/images/ui-icons_2e83ff_256x240.png
create mode 100644 public/images/ui-icons_469bdd_256x240.png
create mode 100644 public/images/ui-icons_6da8d5_256x240.png
create mode 100644 public/images/ui-icons_cd0a0a_256x240.png
create mode 100644 public/images/ui-icons_d8e7f3_256x240.png
create mode 100644 public/images/ui-icons_f9bd01_256x240.png
create mode 100644 public/javascripts/menu.js
create mode 100644 test/fixtures/bookmarks.yml
create mode 100644 test/functional/bookmarks_controller_test.rb
create mode 100644 test/unit/bookmark_test.rb
create mode 100644 test/unit/helpers/bookmarks_helper_test.rb
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>