mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
certs cleanup, first step filesystem mount
This commit is contained in:
11
src/app.py
11
src/app.py
@@ -18,12 +18,6 @@ pages['books']['books'] = books
|
|||||||
|
|
||||||
app = flask.Flask(__name__)
|
app = flask.Flask(__name__)
|
||||||
|
|
||||||
### TMP
|
|
||||||
@app.route('/certs')
|
|
||||||
def certs():
|
|
||||||
return flask.render_template("certs.html")
|
|
||||||
###
|
|
||||||
|
|
||||||
@app.route('/api/goto/')
|
@app.route('/api/goto/')
|
||||||
@app.route('/api/goto/<location>')
|
@app.route('/api/goto/<location>')
|
||||||
def goto(location='home'):
|
def goto(location='home'):
|
||||||
@@ -107,6 +101,11 @@ def page404(e):
|
|||||||
def static_from_root():
|
def static_from_root():
|
||||||
return flask.send_from_directory(app.static_folder, flask.request.path[1:])
|
return flask.send_from_directory(app.static_folder, flask.request.path[1:])
|
||||||
|
|
||||||
|
@app.route('/files/<fname>')
|
||||||
|
def filesystem_send(fname):
|
||||||
|
print(app.static_folder + "files/")
|
||||||
|
return flask.send_from_directory(app.static_folder + '/files/', fname)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# import sass
|
# import sass
|
||||||
|
|||||||
Binary file not shown.
@@ -537,6 +537,7 @@ a, a p {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
border-radius: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.projImage {
|
.projImage {
|
||||||
|
|||||||
BIN
src/static/files/designThinkingCert.pdf
Normal file
BIN
src/static/files/designThinkingCert.pdf
Normal file
Binary file not shown.
BIN
src/static/files/ideationCert.pdf
Normal file
BIN
src/static/files/ideationCert.pdf
Normal file
Binary file not shown.
BIN
src/static/files/toolsForInnovatorsCert.pdf
Normal file
BIN
src/static/files/toolsForInnovatorsCert.pdf
Normal file
Binary file not shown.
@@ -22,5 +22,11 @@
|
|||||||
"title":"You've been ducked!",
|
"title":"You've been ducked!",
|
||||||
"description": "Face it, you've been ducked",
|
"description": "Face it, you've been ducked",
|
||||||
"canonical": "/duck"
|
"canonical": "/duck"
|
||||||
|
},
|
||||||
|
"certificates": {
|
||||||
|
"template": "certs.html",
|
||||||
|
"title": "Certificates and Awards",
|
||||||
|
"description": "Certificates and Awards Listing",
|
||||||
|
"canonical": "/certs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
{% block content %}
|
||||||
<html lang="en">
|
<div class="foreground"></div>
|
||||||
<head>
|
<div class="foregroundContent">
|
||||||
<title>lol hi</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Andrew's Secret Certification Page</h1>
|
<h1>Andrew's Secret Certification Page</h1>
|
||||||
|
|
||||||
<strong
|
<strong
|
||||||
@@ -46,10 +43,9 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<h2>RIT Entrepreneurial Certifications</h2>
|
<h2>RIT Entrepreneurial Certifications</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Design Thinking Certification</li>
|
<li><a href="/files/designThinkingCert.pdf">Design Thinking Certification</a></li>
|
||||||
<li>Ideation Certification</li>
|
<li><a href="/files/ideationCert.pdf">Ideation Certification</a></li>
|
||||||
<li>Tools for Innovators Certification</li>
|
<li><a href="/files/toolsForInnovatorsCert.pdf">Tools for Innovators Certification</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>I have the pdfs for these somewhere that is not easily accessible to me as I try to push this out in a hurry. I have contacts if you want proof, I guess.</p>
|
</div>
|
||||||
</body>
|
{% endblock %}
|
||||||
</html>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user