forked from EC-CUBE/ec-cube
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request EC-CUBE#24 from tantv/master
Renewall frontend template with bootstrap 4
- Loading branch information
Showing
379 changed files
with
34,155 additions
and
14,741 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,32 @@ | ||
# EC-CUBE 4.0 | ||
# EC-CUBE 4.0 VI Version | ||
|
||
[![Build Status](https://travis-ci.com/EC-CUBE/ec-cube.svg?branch=4.0)](https://travis-ci.com/EC-CUBE/ec-cube) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/lg3uh1539cwln2g6/branch/4.0?svg=true)](https://ci.appveyor.com/project/ECCUBE/ec-cube/branch/4.0) | ||
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/EC-CUBE/ec-cube/badges/quality-score.png?b=4.0)](https://scrutinizer-ci.com/g/EC-CUBE/ec-cube/?branch=4.0) | ||
[![Coverage Status](https://coveralls.io/repos/github/EC-CUBE/ec-cube/badge.svg?branch=4.0)](https://coveralls.io/github/EC-CUBE/ec-cube?branch=4.0) | ||
## Cách cài đặt EC-CUBE 4.0 | ||
|
||
[![Slack](http://img.shields.io/badge/slack-join%5fchat-brightgreen.svg?style=flat)](https://www.ec-cube.net/rd.php?aid=join-slack) | ||
Vui lòng cài đặt theo quy trình về [cách cài đặt](http://docs.ec-cube.vn/?p=253) ở tài liệu phát triển. | ||
|
||
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy) | ||
## Cách chỉnh sửa / xây dựng CSS | ||
|
||
Nó được mô tả bằng [Sass](http://sass-lang.com). | ||
Mã nguồn Sass được đặt trong `html/template/{admin,default}/assets/scss`. | ||
Vui lòng cài đặt [nodejs](https://nodejs.org/en/) để chạy Sass | ||
|
||
+ 本ドキュメントはEC-CUBEの開発者を主要な対象者としております。 | ||
+ パッケージ版は正式リリース後に[EC-CUBEオフィシャルサイト](http://www.ec-cube.net)で配布します。 | ||
+ カスタマイズやEC-CUBEの利用、仕様に関しては[開発コミュニティ](http://xoops.ec-cube.net)をご利用ください。 | ||
+ 本体開発にあたって不明点などあれば[Issue](https://github.com/EC-CUBE/ec-cube/wiki/Issues%E3%81%AE%E5%88%A9%E7%94%A8%E6%96%B9%E6%B3%95)をご利用下さい。 | ||
+ EC-CUBE 3.0系のについては、masterブランチにて開発を行っております。 | ||
+ EC-CUBE 2.13系の保守については、[EC-CUBE/eccube-2_13](https://github.com/EC-CUBE/eccube-2_13/)にて開発を行っております。 | ||
|
||
## インストール | ||
|
||
### EC-CUBE 4.0のインストール方法 | ||
|
||
開発ドキュメントの [インストール方法](http://doc4.ec-cube.net/quickstart_install) の手順に従ってインストールしてください。 | ||
|
||
### CSS の編集・ビルド方法 | ||
|
||
[Sass](http://sass-lang.com) を使用して記述されています。 | ||
Sass のソースコードは `html/template/{admin,default}/assets/scss` にあります。 | ||
前提として [https://nodejs.org/ja/] より、 Node.js をインストールしておいてください。 | ||
|
||
以下のコマンドでビルドすることで、 `html/template/{admin,default}/assets/css` に CSS ファイルが出力されます。 | ||
Cách chạy nodejs | ||
|
||
```shell | ||
npm install # 初回のみ | ||
npm run build # Sass のビルド | ||
npm install | ||
npm run build | ||
``` | ||
|
||
### 動作確認環境 | ||
## Môi trường xác nhận hoạt động | ||
|
||
* Apache/2.4.x (mod_rewrite / mod_ssl 必須) | ||
* Apache/2.4.x (mod_rewrite / mod_ssl) | ||
* PHP7.1.20 | ||
* PostgreSQL 9.2.1 | ||
* ブラウザー:Google Chrome | ||
|
||
詳しくは開発ドキュメントの [システム要件](http://doc4.ec-cube.net/quickstart_requirement) をご確認ください。 | ||
|
||
## ドキュメント | ||
|
||
### [EC-CUBE 4.0 開発ドキュメント@doc4.ec-cube.net](http://doc4.ec-cube.net/) | ||
|
||
|
||
EC-CUBE 4.0 の仕様や手順、開発Tipsに関するドキュメントを掲載しています。 | ||
修正や追記、新規ドキュメントの作成をいただく場合、以下のレポジトリからPullRequestをお送りください。 | ||
[https://github.com/EC-CUBE/ec-cube.github.io](https://github.com/EC-CUBE/ec-cube.github.io) | ||
|
||
## 開発への参加 | ||
|
||
EC-CUBE 4.0の不具合の修正、機能のブラッシュアップを目的として、継続的に開発を行っております。 | ||
コードのリファクタリング、不具合修正以外のPullRequestを送る際は、Pull Requestのコメントなどに意図を明確に記載してください。 | ||
|
||
Pull Requestの送信前に、Issueにて提議いただく事も可能です。 | ||
Issuesの利用方法については、[こちら](https://github.com/EC-CUBE/ec-cube/wiki/Issues%E3%81%AE%E5%88%A9%E7%94%A8%E6%96%B9%E6%B3%95)をご確認ください。 | ||
|
||
[Slack](https://www.ec-cube.net/rd.php?aid=join-slack)でも本体の開発に関する意見交換などを行っております。 | ||
|
||
|
||
Vui lòng kiểm tra các [yêu cầu hệ thống](http://docs.ec-cube.vn/?p=80) của tài liệu phát triển để biết chi tiết. | ||
|
||
### コピーライトポリシーへの同意 | ||
## Tài liệu | ||
http://docs.ec-cube.vn/ | ||
|
||
コードの提供・追加、修正・変更その他「EC-CUBE」への開発の御協力(Issue投稿、PullRequest投稿など、GitHub上での活動)を行っていただく場合には、 | ||
[EC-CUBEのコピーライトポリシー](https://github.com/EC-CUBE/ec-cube/blob/50de4ac511ab5a5577c046b61754d98be96aa328/LICENSE.txt)をご理解いただき、ご了承いただく必要がございます。 | ||
Issueの投稿やPullRequestを送信する際は、EC-CUBEのコピーライトポリシーに同意したものとみなします。 | ||
## Cộng đồng FB | ||
https://www.facebook.com/groups/eccube.vn/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
{# | ||
This file is part of EC-CUBE | ||
Copyright(c) LOCKON CO.,LTD. All Rights Reserved. | ||
http://www.lockon.co.jp/ | ||
For the full copyright and license information, please view the LICENSE | ||
file that was distributed with this source code. | ||
#} | ||
|
||
{% extends '@admin/default_frame.twig' %} | ||
|
||
{% set menus = ['customer', 'customer_edit'] %} | ||
|
||
{% block title %}{{ 'admin.customer.customer_address_registration'|trans }}{% endblock %} | ||
{% block sub_title %}{{ 'admin.customer.customer_management'|trans }}{% endblock %} | ||
|
||
{% form_theme form '@admin/Form/bootstrap_4_horizontal_layout.html.twig' %} | ||
|
||
{% block javascript %} | ||
<script src="{{ asset('assets/js/postalcode.js') }}" charset="UTF-8"></script> | ||
{% endblock javascript %} | ||
|
||
{% block main %} | ||
|
||
<form name="customer_address_form" | ||
role="form" | ||
id="customer_address_form" | ||
method="post" | ||
action="{%- if CustomerAddress.id %}{{ url('admin_customer_delivery_edit', { id : Customer.id, did: CustomerAddress.id }) }}{% else %}{{ url('admin_customer_delivery_new', { id: Customer.id }) }}{% endif -%}" | ||
novalidate class="h-adr"> | ||
{{ form_widget(form._token) }} | ||
<span class="p-country-name" style="display:none;">Japan</span> | ||
<div class="c-contentsArea__cols"> | ||
<div class="c-contentsArea__primaryCol"> | ||
<div class="c-primaryCol"> | ||
<div class="card rounded border-0 mb-4"> | ||
<div class="card-header"> | ||
<span class="card-title">{{ 'admin.customer.customer_address_info'|trans }}</span> | ||
</div> | ||
<div class="card-body"> | ||
{% if CustomerAddress.id %} | ||
<div class="row mb-2"> | ||
<div class="col-3"> | ||
{{ 'admin.common.id'|trans }} | ||
</div> | ||
<div class="col"> | ||
{{ CustomerAddress.id }} | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
<div class="row mb-2"> | ||
<div class="col-3"> | ||
{{ 'admin.common.name'|trans }} | ||
</div> | ||
<div class="col"> | ||
<div class="row mb-2"> | ||
<div class="col"> | ||
{{ form_widget(form.name.name01) }} | ||
{{ form_errors(form.name.name01) }} | ||
</div> | ||
<div class="col"> | ||
{{ form_widget(form.name.name02) }} | ||
{{ form_errors(form.name.name02) }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{{ form_widget(form.kana.kana01, { type : 'hidden', attr : { value: 'カナ'}}) }} | ||
{{ form_widget(form.kana.kana02, { type : 'hidden', attr : { value: 'カナ'}}) }} | ||
<div class="row mb-2"> | ||
<div class="col-3 mb-2"> | ||
{{ 'admin.common.company_name'|trans }} | ||
</div> | ||
<div class="col mb-2"> | ||
{{ form_widget(form.company_name) }} | ||
{{ form_errors(form.company_name) }} | ||
</div> | ||
</div> | ||
|
||
<div class="row mb-2"> | ||
<div class="col-3"> | ||
{{ 'admin.common.address'|trans }} | ||
</div> | ||
<div class="col"> | ||
<div class="row mb-2"> | ||
<div class="col-auto pr-0 align-self-center"><span>{{ 'admin.common.postal_symbol'|trans }}</span></div> | ||
<div class="col-2"> | ||
{{ form_widget(form.postal_code) }} | ||
{{ form_errors(form.postal_code) }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="row mb-2"> | ||
<div class="col-3"> | ||
| ||
</div> | ||
<div class="col form-inline mb-2"> | ||
{{ form_widget(form.address.pref) }} | ||
{{ form_errors(form.address.pref) }} | ||
</div> | ||
</div> | ||
|
||
<div class="row mb-2"> | ||
<div class="col-3"> | ||
| ||
</div> | ||
<div class="col mb-2"> | ||
{{ form_widget(form.address.addr01) }} | ||
{{ form_errors(form.address.addr01) }} | ||
</div> | ||
</div> | ||
|
||
<div class="row mb-2"> | ||
<div class="col-3"> | ||
| ||
</div> | ||
<div class="col mb-2"> | ||
{{ form_widget(form.address.addr02) }} | ||
{{ form_errors(form.address.addr02) }} | ||
</div> | ||
</div> | ||
|
||
<div class="row mb-2"> | ||
<div class="col-3"> | ||
{{ 'admin.common.phone_number'|trans }} | ||
</div> | ||
<div class="col"> | ||
{{ form_widget(form.phone_number) }} | ||
{{ form_errors(form.phone_number) }} | ||
</div> | ||
</div> | ||
|
||
{# エンティティ拡張の自動出力 #} | ||
{% for f in form if f.vars.eccube_form_options.auto_render %} | ||
{% if f.vars.eccube_form_options.form_theme %} | ||
{% form_theme f f.vars.eccube_form_options.form_theme %} | ||
{{ form_row(f) }} | ||
{% else %} | ||
<div class="row mb-2"> | ||
<div class="col-3"> | ||
<span>{{ f.vars.label|trans }}</span> | ||
</div> | ||
<div class="col"> | ||
{{ form_widget(f) }} | ||
{{ form_errors(f) }} | ||
</div> | ||
</div> | ||
{% endif %} | ||
{% endfor %} | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="c-conversionArea"> | ||
<div class="c-conversionArea__container"> | ||
<div class="row justify-content-between align-items-center"> | ||
<div class="col-6"> | ||
<div class="c-conversionArea__leftBlockItem"> | ||
<a class="c-baseLink" href="{{ url('admin_customer_edit', { id: Customer.id }) }}"> | ||
<i class="fa fa-backward" aria-hidden="true"></i> | ||
<span>{{ 'admin.customer.customer_registration'|trans }}</span></a> | ||
</div> | ||
</div> | ||
<div id="ex-conversion-action" class="col-6"> | ||
<div class="row align-items-center justify-content-end"> | ||
<div class="col-auto"> | ||
<button class="btn btn-ec-conversion px-5" | ||
type="submit">{{ 'admin.common.registration'|trans }}</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
|
||
{% endblock %} |
Oops, something went wrong.