work_detail.html 4.74 KB
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>CVpage</title>
    <link href="{{url_for('static',filename='css/detail.css')}}" rel="stylesheet" type="text/css" />
    <link href="{{url_for('static',filename='css/bootstrap.min.css')}}" rel="stylesheet">
    <link href="{{url_for('static',filename='css/about.css')}}" rel="stylesheet">
  </head>
  <body>
  {%include 'navbar.html'%}
    <div class="detail-container">
        <a class="side" href="{{url_for('detail.video',project_id=p.id)}}">
            <svg width="5em" height="5em" viewBox="0 0 16 16" class="bi bi-file-play" fill="white" xmlns="http://www.w3.org/2000/svg">
                <path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/>
                <path d="M6 10.117V5.883a.5.5 0 0 1 .757-.429l3.528 2.117a.5.5 0 0 1 0 .858l-3.528 2.117a.5.5 0 0 1-.757-.43z"/>
              </svg>
            </a>
        <div class="main">
            <div class="id_workType">
                <h5 class="text-white">
                    # {{p.id}} / {{p.projectType}}
                </h5>
            </div>
            <br>
            <h1 class="text-white">
                <div class="projectName">
                    <strong>
                        {{p.projectName}}
                    </strong>
                </div>
            </h1>
            <br>
            <h6 class="text-white">
                <div class="projectContent">
                    {{p.content}}
                </div>
            </h6>
            <br>
            <span>
                <strong class="text-white" style="margin-right: 0.5em">
                    More :
                </strong>
            </span>
            <span class="gitAddress">
                <strong>
                    <a class="textwhite" href="{{p.gitAddress}}">git</a>
                </strong>
            </span>
            <span class="video">
                <strong>
                    <a class="textwhite" href="{{url_for('detail.video',project_id=p.id)}}">video</a>
                </strong>
            </span>
        </div>
        <div class="footer" >
            <h5>
            <span class="left-footer">
                {%if bp%}
                <div class="text-white">
                    <strong>
                        #{{bp.id}}
                    </strong>
                </div>
                <div class=bottomBorderL>
                    <a class="textwhitebx" href="{{url_for('detail.detail',project_id=bp.id,last_picture=p.pictureName)}}">
                        <strong>
                            {{bp.projectName}}
                        </strong>
                    </a>
                </div>
                {%endif%}
            </span>
            <span class="right-footer">
            {%if np%}
            <div class="text-white">
                <strong>
                    #{{np.id}}
                </strong>
            </div>
            <div>
                    <strong class=bottomBorderR>
                        <a class="textwhitebx" href="{{url_for('detail.detail',project_id=np.id,last_picture=p.pictureName)}}">
                                {{np.projectName}}
                        </a>
                    </strong>
            </div>
            {%endif%}
            </span>
        </h5>
        </div>
    </div>
 <!--
    {%if last_picture%}

    <div class='box' displacementImage="{{url_for('static',filename='img/distortion.jpg')}}">
        <img class="front bgImg" src="{{url_for('static',filename='img/'+last_picture+'2.jpg')}}" alt="" >
        <img class="back bgImg"  src="{{url_for('static',filename='img/'+p.pictureName+'2.jpg')}}" alt="">
    </div>

    {%else%}
    {%endif%}
-->
    <img class="bgImage" src="{{url_for('static',filename='img/{}1.jpg'.format(p.pictureName))}}" alt="">
    <script src="{{url_for('static',filename='js/detail.js')}}"></script>
    <script src="{{url_for('static',filename='js/jquery-3.5.1.min.js')}}"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r120/three.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.5.1/gsap.min.js"></script>
    <script src="{{url_for('static',filename='js/hover-effect.umd.js')}}"></script>
    <script src="{{url_for('static',filename='js/about.js')}}"></script>
    <script src="{{url_for('static',filename='js/custom.js')}}"></script>
    <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
    <script src="{{url_for('static',filename='js/bootstrap.bundle.min.js')}}"></script>
  </body>
</html>