Commit 6b38fa95 authored by Saikiran Srirangapalli's avatar Saikiran Srirangapalli

Merge branch 'master' of gitlab.com:asobhi/GAS-gui into errorhandle

parents 2c5fdfc9 b3b42b48
html,body {
margin:0;
padding:0;
}
body {
background-color: #778899;
}
h1 {
margin:0;
}
.site{
text-align: center;
background-color: #778899;
color:white;
}
.upload,.student_info,.result {
border-style:solid;
border-color:black;
display:inline-block;
width:auto;
padding:5px;
margin:25px;
background-color:#586674;
}
.important{
font-weight: bold;
}
.upload_field {
margin:12px;
}
input,select,textarea {
background:#b6bfc8;
color:black;
}
a,a.visited {
color:white;
}
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html>
<html>
<body>
<h1>Audit Result</h1>
{% if response.can_grad %}
<p>{{response.transcript.name}} is able to graduate with a degree in {{response.transcript.major}}.</p>
{% else %}
<p>{{response.transcript.name}} is not able to graduate.<br>To graduate, {{response.transcript.name}} needs to take <br></p>
<ul>
{% for class in response.missing_classes %}
<li>{{class}}</li>
{% endfor %}
{# ex: need 6 hours of americanHistory requirement #}
{% for type,number in response.missing_hours %}
<li>{{number}} hours of {{type}}</li>
{# 6 hours of americanHistory #}
{% endfor %}
{% if response.missing_electives != 0 %}
<li>{{response.missing_electives}} hours of elective credits</li>
<link rel="stylesheet" type="text/css" href="{{url_for('static',filename='GAS.css') }}">
<div class="site">
<div class="result">
<h1>Audit Result</h1>
{% if response.can_grad %}
<p>{{response.transcript.name}} is able to graduate with a degree in {{response.transcript.major}}.</p>
{% else %}
<p>{{response.transcript.name}} is not able to graduate.<br>To graduate, {{response.transcript.name}} needs to take <br></p>
<ul>
{% for class in response.missing_classes %}
<li>{{class}}</li>
{% endfor %}
{# ex: need 6 hours of americanHistory requirement #}
{% for type,number in response.missing_hours %}
<li>{{number}} hours of {{type}}</li>
{# 6 hours of americanHistory #}
{% endfor %}
{% if response.missing_electives != 0 %}
<li>{{response.missing_electives}} hours of elective credits</li>
{% endif %}
</ul>
{% endif %}
</ul>
{% endif %}
</div>
</div>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment