changed bootstrap theme to solarized

This commit is contained in:
Navan Chauhan 2020-08-25 23:30:44 +05:30
parent db19085404
commit 8f252a19d3
3 changed files with 9 additions and 3 deletions

View File

@ -10,7 +10,7 @@ import hashlib
ssid = b'j\xa0\x1b\xd6p\xe9\xa4\\b\x12\xedD\xaeX\x8a\xf8'
try:
output = subprocess.check_output(['sudo', 'iwgetid'])
output = subprocess.check_output(['iwgetid'])
if hashlib.md5(bytes(output.decode().split('"')[1],encoding="utf-8")).digest() == ssid:
DB_HOST = '192.168.1.6'
except:

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Curie Web</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.5.2/solar/bootstrap.min.css">
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='favicons/apple-touch-icon.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='favicons/favicon-32x32.png') }}">
@ -37,9 +37,15 @@
<li class="nav-item">
<a class="nav-link" href="{{ url_for('dock_upload') }}">Dock and Report</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('generate') }}">Generate</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('status') }}">Job Status</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{url_for('pubmed')}}">Search</a>
</li>
</ul>
</div>
</nav>

View File

@ -2,7 +2,7 @@
{% block main %}
<h1>Curie Generate</h1>
<p>The model {{expName}} has been trained for {{epochs}} epochs using the {{optimizer}} optimization algorithm</p>
<p>The model {{expName}} has been trained for {{epochs}} epochs using the {{optimizer}} optimization algorithm. Option for finetuning coming soon.</p>
<form action="{{ url_for('generate') }}" method="post" enctype="multipart/form-data">
{% include 'flash_messages.html' %}
{{ form.csrf_token }}