<!-- Modal -->
<div class="modal fade" id="tshirt-design" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" ng-controller="TshirtdesignCtrl">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button class="black" ng-click="modalClose()"><i class="fa fa-times" aria-hidden="true"></i> キャンセル</button>
                <button class="black"> <i class="fa fa-angle-right" aria-hidden="true"></i> はじめての方へ</button>
            </div>
            <div class="modal-body">
                <header class="clearfix">
                    <div class="menu-nav">
                        <ul class="nav pull-left">
                            <li ng-class="{'active': isShowLeftPanel=='text'}" ng-click="showDesignTab('text')">
                                <i class="fa fa-jpy" aria-hidden="true"></i> 文字
                            </li>
                            <li ng-class="{'active': isShowLeftPanel=='illustration'}" ng-click="showDesignTab('illustration')">
                                <i class="fa fa-btc" aria-hidden="true"></i> イラスト・イメージ
                            </li>
                            <li ng-class="{'active': isShowLeftPanel=='image'}" ng-click="showDesignTab('image')">
                                <i class="fa fa-money" aria-hidden="true"></i> 自分の画像・写真
                            </li>
                            <li ng-click="canvasClearAll()">
                                <i class="fa fa-minus-circle" aria-hidden="true"></i> 全消去
                            </li>
                        </ul>
                    </div>

                    <div class="action pull-right">
                        <button class="white" ng-click="showRecommend()">
                            アルバムを開く
                        </button>
                        <button class="white" ng-click="saveFavorite()">
                            アルバムに入れる
                        </button>
                    </div>
                </header>
                <section class="tshirt-design-container clearfix">
                    <div class="aside col-sm-4">
                        <!-- Default-->
                        <ul class="box-design-option" id="choice-design-option" ng-show="isShowLeftPanel=='default' " ng-include="designPartDefault">
                        </ul>
                        <!-- Illustration design-->
                        <ul class="box-design-option" id="choice-illustration" ng-show="isShowLeftPanel=='illustration'" ng-include="designPartIllustration">
                        </ul>
                        <!-- Custom image design-->
                        <ul class="box-design-option" id="choice-image" ng-show="isShowLeftPanel=='image'" ng-include="designPartImage">
                        </ul>
                        <!-- Text design-->
                        <ul class="box-design-option" id="choice-text" ng-show="isShowLeftPanel=='text'" ng-include="designPartText">
                        </ul>
                    </div>
                    <div class="col-sm-8">
                        <div class="design-content" id="main-design-content">
                            <div class="content" id="main-design" ng-style="{'background-color' : tShirtColorCode}" ng-class="designCanvasClass">
                                <div class="object-border" id="object-border-top"></div>
                                <div class="object-border" id="object-border-right"></div>
                                <div class="object-border" id="object-border-bottom"></div>
                                <div class="object-border" id="object-border-left"></div>
                                <canvas id="main-design-container" class="selection-design lower-canvas">

                                </canvas>
                            </div>
                            <div class="agree-design" ng-click="outputDesign()">
                                <img src="images/agree-design.png" alt="agree design" />
                            </div>
                            <div class="trash-design">
                                <img src="images/trash.png" alt="trash design" />
                            </div>
                        </div>
                        <img style="display:none" src="images/trash-hover.png" alt="trash-hover cache" />
                    </div>

                </section>
            </div>
        </div>
    </div>
    
    <div ng-include="savedFrameView"></div>
</div>