Spaces:
Sleeping
Sleeping
Update templates/result.html
Browse files9 unmodified lines1011121314151616 unmodified lines33343535363738391 unmodified line41424344454645474849506 unmodified lines5758595860616263645 unmodified lines707172707374757677787980818283848185868788858990919289939495969798959910010110226 unmodified lines12913013112813213313413513313613713813913814014114214314414514613 unmodified lines1601611621581631641655 unmodified lines1711721731701711721741751761775 unmodified lines1831841851841851861861871881895 unmodified lines1951961971981992001981992002015 unmodified lines2072082092122132142102112122135 unmodified lines2192202212262272282222232242255 unmodified lines2312322332402412422342352362375 unmodified lines2432442452542552562462472482491 unmodified line2512522532642542552562572582591 unmodified line2612622632722649 unmodified lines <style> body { background-color: #1d2329; color: #e0e0e0; font-family: 'Arial', sans-serif; }
16 unmodified lines flex: 1; padding: 20px; background-color: #1d2c38; border-left: 1px solid #ddd; border-left: 1px solid #4e5d6c; border-radius: 10px; display: flex; justify-content: center;1 unmodified line }
.card { background-color: #2a2f36; border: none; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); margin-bottom: 20px; }
6 unmodified lines
.list-group-item { border: none; background-color: #f8f9fa; background-color: #3a4149; color: #e0e0e0; padding: 10px; }
5 unmodified lines }
.list-group-item strong { color: #343a40; color: #e0e0e0; }
h2 { margin-bottom: 20px; color: #e0e0e0; }
h3 { margin-top: 10px; margin-bottom: 10px; font-size: 1.25rem; color: #343a40; color: #28a745; }
pre { background-color: #f8f9fa; background-color: #3a4149; padding: 10px; border-radius: 5px; font-size: 1rem; color: #343a40; color: #e0e0e0; overflow-x: auto; }
.card-footer { text-align: center; border-top: 1px solid #ddd; border-top: 1px solid #4e5d6c; padding: 15px; }
26 unmodified lines
.emoji-high { color: #28a745; /* Green for high scores */ }
.emoji-medium { color: #ffc107; /* Yellow for medium scores */ }
.emoji-low { color: #dc3545; /* Red for low scores */ }
a { color: #007bff; } </style>
13 unmodified lines <strong>Extracted Data:</strong> {% for filename, text in data.extracted_text.items() %} <h3>{{ filename }}:</h3> <!-- Display Image using Img[filename] --> <img src="{{ Img[filename] }}" alt="Processed Image" class="img-fluid mb-3" style="max-width: 100%; height: auto;" /> <strong>Text:</strong>5 unmodified lines {% if data.name is iterable and data.name is not string %} <ul> {% for value in data.name %} <li> {{ value }}<br> </li> <li>{{ value }}<br></li> {% endfor %} </ul> {% else %}5 unmodified lines {% if data.Designation is iterable and data.Designation is not string %} <ul> {% for value in data.Designation %} <li> {{ value }}<br> </li> <li>{{ value }}<br></li> {% endfor %} </ul> {% else %}5 unmodified lines {% if data.contact_number is iterable and data.contact_number is not string %} <ul> {% for value in data.contact_number %} <li> {{ value }}<br> </li> <li>{{ value }}<br></li> {% endfor %} </ul> {% else %}5 unmodified lines {% if data.email is iterable and data.email is not string %} <ul> {% for value in data.email %} <li> {{ value }}<br> </li> <li>{{ value }}<br></li> {% endfor %} </ul> {% else %}5 unmodified lines {% if data.Location is iterable and data.Location is not string %} <ul> {% for value in data.Location %} <li> {{ value }}<br> </li> <li>{{ value }}<br></li> {% endfor %} </ul> {% else %}5 unmodified lines {% if data.Link is iterable and data.Link is not string %} <ul> {% for value in data.Link %} <li> {{ value }}<br> </li> <li>{{ value }}<br></li> {% endfor %} </ul> {% else %}5 unmodified lines {% if data.Company is iterable and data.Company is not string %} <ul> {% for value in data.Company %} <li> {{ value }}<br> </li> <li>{{ value }}<br></li> {% endfor %} </ul> {% else %}1 unmodified line {% endif %} </li> </ul> <a href="{{ url_for('index') }}">Back to Upload</a> <a href="{{ url_for('index') }}"> <button type="button" class="btn btn-primary">Back to Upload</button> </a> </div> </div> <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>1 unmodified line <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script></body>
</html></html>templates/result.html+27-35