Opened 5 years ago

Closed 5 years ago

#35 closed task (fixed)

use local templates in view

Reported by: zhangjr Owned by: zhangjr
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:
Blocked By: Blocking:
Parent ID: Parent Tickets:
Estimated Number of Hours: 0.0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0

Description

create blueprint with template_folder

sans_bp = Blueprint('sans', name, template_folder='templates')

Subtickets

Child Tickets

Change History (3)

comment:1 Changed 5 years ago by zhangjr

├── LICENSE
├── NEIW.md
├── app
│   ├── __init__.py
│   ├── __pycache__
│   │   ├── __init__.cpython-36.pyc
│   │   ├── jobs.cpython-36.pyc
│   │   └── models.cpython-36.pyc
│   ├── auth
│   │   ├── __init__.py
│   │   ├── auth.py
│   │   ├── auth_helper.py
│   │   ├── icat.py
│   │   ├── icat_helper.py
│   │   └── templates
│   │       └── login.html
│   ├── gppd
│   ├── jobs.py
│   ├── models.py
│   ├── mr
│   ├── sans
│   │   ├── __init__.py
│   │   ├── __pycache__
│   │   │   ├── __init__.cpython-36.pyc
│   │   │   └── views.cpython-36.pyc
│   │   ├── templates
│   │   │   └── sans
│   │   │       └── analysis.html
│   │   └── views.py
│   ├── static
│   │   ├── css
│   │   │   └── main.css
│   │   └── img
│   │       ├── csns-logo.png
│   │       └── csns_logo.png
│   └── templates
│       ├── base.html
│       ├── footer.html
│       ├── header.html
│       ├── home.html
│       ├── index.html
│       └── table.html
├── config
│   ├── __pycache__
│   │   └── development.cpython-36.pyc
│   ├── development.py
│   └── production.py
├── doc
│   ├── Architecture-20200410.pptx
│   ├── SANS_Portal_Design_V03.docx
│   ├── flask-rq-workflow-20200410.pptx
│   ├── image
│   │   └── 20200409.jpg
│   └── virtualenv_guide.txt
├── instance
│   └── default.py
├── requirements.txt
├── start_app.sh
├── start_rq.sh
├── worker.py
└── wsgi.py

comment:2 Changed 5 years ago by zhangjr

  • Owner changed from somebody to zhangjr
  • Status changed from new to assigned

comment:3 Changed 5 years ago by zhangjr

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.