Spaces:
Sleeping
Sleeping
| <!-- templates/no_documents.html --> | |
| <html> | |
| <head> | |
| <title>No Documents Available - Human Notes Evaluator</title> | |
| <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> | |
| <style> | |
| .help-section { | |
| background-color: #f8f9fa; | |
| padding: 20px; | |
| border-radius: 5px; | |
| margin-top: 20px; | |
| border-left: 4px solid #3498db; | |
| } | |
| .help-section h2 { | |
| margin-top: 0; | |
| color: #2c3e50; | |
| } | |
| .code-block { | |
| background-color: #f1f1f1; | |
| padding: 15px; | |
| border-radius: 5px; | |
| font-family: monospace; | |
| white-space: pre-wrap; | |
| margin: 15px 0; | |
| } | |
| .step { | |
| margin-bottom: 15px; | |
| } | |
| .step-number { | |
| display: inline-block; | |
| width: 25px; | |
| height: 25px; | |
| background-color: #3498db; | |
| color: white; | |
| border-radius: 50%; | |
| text-align: center; | |
| line-height: 25px; | |
| margin-right: 10px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <div class="header"> | |
| <h1>No Documents Available</h1> | |
| <div class="header-links"> | |
| <a href="{{ url_for('view_instructions') }}" class="instructions-btn">Instructions</a> | |
| <a href="{{ url_for('results') }}" class="results-btn">View Results</a> | |
| <a href="{{ url_for('index') }}" class="evaluate-btn">Back to Home</a> | |
| </div> | |
| </div> | |
| <div class="alert"> | |
| <p><strong>No documents are available for evaluation.</strong> This could be because:</p> | |
| <ul> | |
| <li>The CSV file you uploaded is missing or has an incorrect format</li> | |
| <li>All documents have already been evaluated</li> | |
| <li>There is an error in the format of your CSV file</li> | |
| </ul> | |
| </div> | |
| <div class="help-section"> | |
| <h2>How to Add Documents for Evaluation</h2> | |
| <div class="step"> | |
| <span class="step-number">1</span> | |
| <strong>Download the template file:</strong> | |
| <a href="{{ url_for('download_template') }}">sample_documents_template.csv</a> | |
| </div> | |
| <div class="step"> | |
| <span class="step-number">2</span> | |
| <strong>Open the template in a spreadsheet program</strong> (Excel, Google Sheets, etc.) | |
| </div> | |
| <div class="step"> | |
| <span class="step-number">3</span> | |
| <strong>Add your documents using the following format:</strong> | |
| <div class="code-block">filename,description,note | |
| "doc1.txt","Patient with heart failure","The patient is a 67-year-old male with a history of chronic heart failure who presented with increasing dyspnea on exertion." | |
| "doc2.txt","Emergency department visit","32-year-old female with history of asthma presented to the ED with acute onset of wheezing and shortness of breath."</div> | |
| <p><em>Note: Make sure to properly quote text fields that contain commas</em></p> | |
| </div> | |
| <div class="step"> | |
| <span class="step-number">4</span> | |
| <strong>Save the file as CSV format</strong> | |
| </div> | |
| <div class="step"> | |
| <span class="step-number">5</span> | |
| <strong>Return to the home page and upload your file</strong> | |
| <p><a href="{{ url_for('index') }}" class="submit-btn">Go to Home Page</a></p> | |
| </div> | |
| </div> | |
| <div class="resource-links"> | |
| <p> | |
| <strong>Resources:</strong> | |
| <a href="{{ url_for('download_instructions') }}">Download Instructions</a> | | |
| <a href="{{ url_for('download_template') }}">Download Template CSV</a> | |
| </p> | |
| </div> | |
| {% with messages = get_flashed_messages() %} | |
| {% if messages %} | |
| {% for message in messages %} | |
| <div class="alert">{{ message }}</div> | |
| {% endfor %} | |
| {% endif %} | |
| {% endwith %} | |
| </div> | |
| </body> | |
| </html> |