Added about and source download
This commit is contained in:
parent
a4b8237b85
commit
a2dc10db39
@ -1,6 +1,7 @@
|
||||
from flask import Flask
|
||||
from flask import render_template, jsonify, request
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from flask import send_file
|
||||
import datetime
|
||||
import os
|
||||
|
||||
@ -154,7 +155,7 @@ def initial():
|
||||
@app.route("/server/<lang_id>", methods=["GET"])
|
||||
def file_return(lang_id):
|
||||
try:
|
||||
return send_file('source/' + lang_id)
|
||||
return send_file('files/' + lang_id)
|
||||
except Exception as e:
|
||||
return str(e)
|
||||
|
||||
|
||||
@ -217,7 +217,7 @@ a {
|
||||
}
|
||||
|
||||
.card > p {
|
||||
margin: 2vh 0 2vh 4vh;
|
||||
margin: 2vh 2vh 2vh 4vh;
|
||||
font-size: 2.2vh;
|
||||
font-weight: 300;
|
||||
grid-column: 1 / 4;
|
||||
|
||||
@ -101,8 +101,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div id="about" class="optionContainer">
|
||||
<div class="temp card">
|
||||
<h2>Currently in progress!</h2>
|
||||
<div class="card">
|
||||
<h2>About</h2>
|
||||
<p>Smearcar-db is an online database which compares languages and the relative frequencies of their component phonemes. This information can be referenced through the provided sources. The database can be downloaded for further analysis using the "Database and Files" tab. This website is licensed under the GNU GPLv3 license and its source can be found at <a href="https://github.com/yamanq/smearcar-db.git" target="_blank">Github</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user