12345678910111213141516171819202122232425262728293031 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>ECharts</title>
- <style>
- .error {
- background-color: #f90;
- display: block;
- width: 300px;
- min-height: 200px;
- z-index: 999;
- position: absolute;
- top: 50%;
- left: 50%;
- margin: -150px 0 0 -150px;
- padding: 20px;
- word-wrap: break-word;
- }
- .error_title {
- margin-top: -200px;
- background-color: lightcoral;
- }
- </style>
- </head>
- <body>
- {% import 'error.html' as _error %}
- {{_error.show(error_title,error)}}
- </body>
- </html>
|