Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第一週作業 #448

Open
wants to merge 34 commits into
base: store-v1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
6e8e5e8
修改 application.js
sdlong Mar 8, 2016
aca50c2
新增 partial: navbar
sdlong Mar 8, 2016
7a28add
rails g controller products
sdlong Mar 8, 2016
83f84ac
設定空的前台首頁
sdlong Mar 8, 2016
eccbf03
gem simple_form
sdlong Mar 8, 2016
ea3b87c
rails generate simple_form:install --bootstrap
sdlong Mar 8, 2016
3db74ff
修改 admin/products/new
sdlong Mar 8, 2016
e075415
修改 admin/products/new
sdlong Mar 8, 2016
2921b26
加入產品修改功能
sdlong Mar 8, 2016
9f6c57c
gem install carrierwave and mini_magick
sdlong Mar 8, 2016
de93e4e
rails g uploader image
sdlong Mar 8, 2016
50ac645
新增 model: photo
sdlong Mar 8, 2016
8c86dcd
設定 photo 與 product 的資料庫關聯
sdlong Mar 8, 2016
0d95d51
設定圖片上傳後裁切的尺寸
sdlong Mar 8, 2016
1142ed1
將 public/uploaders 資料夾放進 gitignore
sdlong Mar 8, 2016
f58322d
新增商品時可以上傳商品圖片
sdlong Mar 8, 2016
6e3c724
商品修改頁也能修替換圖片
sdlong Mar 8, 2016
4e1e7b1
建立前台商品 index
sdlong Mar 8, 2016
d397de1
建立前台商品 show
sdlong Mar 8, 2016
839b102
建立 layout: admin
sdlong Mar 8, 2016
d908dfb
重構後台商品列表
sdlong Mar 8, 2016
1a826b5
navbar 的下拉選單放入後台連結
sdlong Mar 8, 2016
a3d3d0d
加上 Bootstrap 的 Alert 效果
sdlong Mar 8, 2016
493b362
建立購物車按鈕
sdlong Mar 8, 2016
3443c0f
用 icon 點綴頁面設計
sdlong Mar 8, 2016
6d56e2e
修飾 css, 讓售價顯示更美觀
sdlong Mar 8, 2016
fab3596
rails g controller admin::users
sdlong Mar 8, 2016
d1bf3cc
建立基礎的使用者清單頁面
sdlong Mar 8, 2016
8e52abc
將使用者清單頁面套入後台權限與 layout
sdlong Mar 8, 2016
919da42
後台邊欄放入使用者管理的連結
sdlong Mar 8, 2016
533d319
顯示使用者現在權限
sdlong Mar 8, 2016
ade4cd1
放入轉換權限的按鈕
sdlong Mar 8, 2016
52abc50
完成設定使用者權限的功能設定
sdlong Mar 8, 2016
fb6af95
將『建立二個商品資料』放入種子檔
Mar 10, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gem install carrierwave and mini_magick
  • Loading branch information
sdlong committed Mar 9, 2016
commit 9f6c57cf3bba1a2b37a0d01b4a50e74fbe408371
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ gem "bootstrap-sass"

gem "simple_form"

gem "carrierwave"

gem "mini_magick"

gem "awesome_rails_console" # 讓你的 rails console 變整齊漂亮的 gem

group :development, :test do
Expand Down
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ GEM
builder (3.2.2)
byebug (5.0.0)
columnize (= 0.9.0)
carrierwave (0.10.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
json (>= 1.7)
mime-types (>= 1.16)
coderay (1.1.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
Expand Down Expand Up @@ -98,6 +103,7 @@ GEM
mime-types (>= 1.16, < 3)
method_source (0.8.2)
mime-types (2.6.1)
mini_magick (4.3.3)
mini_portile (0.6.2)
minitest (5.7.0)
multi_json (1.11.2)
Expand Down Expand Up @@ -196,10 +202,12 @@ DEPENDENCIES
awesome_rails_console
bootstrap-sass
byebug
carrierwave
coffee-rails (~> 4.1.0)
devise
jbuilder (~> 2.0)
jquery-rails
mini_magick
rails (= 4.2.2)
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
Expand Down