Commit 1ededf96 authored by Arman Sobhi's avatar Arman Sobhi

Added new stylesheet

parent e18d8d58
<style>
.site{
text-align: center;
background-color: #778899;
color:white;
}
.upload,.student_info,.result {
border-size:1px;
border-style:solid;
border-color:black;
display:inline-block;
width:auto;
padding:5px;
margin:5px;
background-color:#586674;
}
.important{
font-weight: bold;
}
input,select,textarea {
background:#b6bfc8;
}
</style>
\ No newline at end of file
<!DOCTYPE html>
<html>
<body>
<div class="site">
<h1>Graduation Audit System (GAS)</h1>
<p>This is an automated degree audit system for various degree plans at The University of Texas at Dallas.<br> Note: Audits may take between five seconds to a minute depending on degree plan. </p>
<script src="{{ url_for('static', filename='GAS.js') }}"></script>
<p>This is an automated degree audit system for various degree plans at The University of Texas at Dallas.<br> Note: Audits may take anywhere from a couple seconds to half a minute.</p>
<p class="important">Upload an unofficial transcript PDF or fill out the information manually</p>
<script src="{{ url_for('static', filename='GAS.js') }}"></script>
<link rel="stylesheet" type="text/css" href="{{url_for('static',filename='GAS.css') }}">
<form action="/" method="post" enctype="multipart/form-data">
<div>
<label for="transcriptPDF">Upload an unofficial transcript PDF or fill out the information manually</label>
<div class="upload">
<label for="transcriptPDF">Upload an unofficial transcript from Galaxy.</label>
<br>
<input name="transcriptPDF" type="file" accept="application/pdf"></input>
</div>
<div class="button">
<br>
<input type="submit">Click here to fill out the forms automatically.</button>
</div>
</div>
</form>
<br>
<div class="student_info">
<form action="/submit" method="post">
<br>
<div>
<label for="name">Name:</label>
<input type="text" name="name" />
<input type="text" style:background-color:#7c8c9c name="name" />
</div>
<br>
<div>
<label for="typeOfDeggree">Degree Type</label>
<input type="radio" name="degreeType" value ="bs" checked />BS
<input type="radio" name="degreeType" value="ba" /> BA
<input type="radio" name="degreeType" value="ba" disabled=true/> BA
</div>
<br>
<div>
......@@ -2114,11 +2118,14 @@
<textarea name="classesTaken" id="classesTaken" rows="6" cols="60">{{ classes }}</textarea>
<div class="button">
<input type="submit"></button>
<p>Source code for GAS can be found <a href="https://gitlab.com/saikiran1096/gradaudit">here</a><br>Please email any bugs or feature requests to <a href="mailto:ars140330@utdallas.edu">ars140330@utdallas.edu</a> or <a href="mailto:sai@utdallas.edu">sai@utdallas.edu</a>
</div>
</div>
</div>
</div>
</form>
<p>Source code for GAS can be found <a href="https://gitlab.com/saikiran1096/gradaudit">here</a><br>Please email any bugs or feature requests to <a href="mailto:ars140330@utdallas.edu">ars140330@utdallas.edu</a> or <a href="mailto:sai@utdallas.edu">sai@utdallas.edu</a>
</body>
</html>
<!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