Update and add history to 1nicea.
This commit is contained in:
parent
aa9196b755
commit
d9304ccef0
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"python.pythonPath": "/home/vypr/Code/canon_law/venv/bin/python3"
|
"python.pythonPath": "c:\\Users\\SeraphimRP\\Desktop\\Code\\canon_law\\venv\\Scripts\\python.exe"
|
||||||
}
|
}
|
@ -29,4 +29,4 @@ Finally, set the FLASK_APP environment variable to `canon_law` by doing `export
|
|||||||
|
|
||||||
### Step 3. Launch
|
### Step 3. Launch
|
||||||
|
|
||||||
Do `flask run` and the service should start up. If it doesn't, please [file an issue](https://github.com/vypr/canon_law/issues/new) so I can get to work. :)
|
Do `flask run` and the service should start up. If it doesn't, please [file an issue](https://github.com/oikonomia/canon_law/issues/new) so I can get to work. :)
|
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
Copyright (c) 2018-2020 Elliott Pardee <me [at] vypr [dot] xyz>
|
Copyright (c) 2018-2020 Elliott Pardee <me [at] srp [dot] life>
|
||||||
This file is part of canon_law.
|
This file is part of canon_law.
|
||||||
|
|
||||||
canon_law is free software: you can redistribute it and/or modify
|
canon_law is free software: you can redistribute it and/or modify
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
Copyright (c) 2018-2020 Elliott Pardee <me [at] vypr [dot] xyz>
|
Copyright (c) 2018-2020 Elliott Pardee <me [at] srp [dot] life>
|
||||||
This file is part of canon_law.
|
This file is part of canon_law.
|
||||||
|
|
||||||
canon_law is free software: you can redistribute it and/or modify
|
canon_law is free software: you can redistribute it and/or modify
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
Copyright (c) 2018-2020 Elliott Pardee <me [at] vypr [dot] xyz>
|
Copyright (c) 2018-2020 Elliott Pardee <me [at] srp [dot] life>
|
||||||
This file is part of canon_law.
|
This file is part of canon_law.
|
||||||
|
|
||||||
canon_law is free software: you can redistribute it and/or modify
|
canon_law is free software: you can redistribute it and/or modify
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
Copyright (c) 2018-2020 Elliott Pardee <me [at] vypr [dot] xyz>
|
Copyright (c) 2018-2020 Elliott Pardee <me [at] srp [dot] life>
|
||||||
This file is part of canon_law.
|
This file is part of canon_law.
|
||||||
|
|
||||||
canon_law is free software: you can redistribute it and/or modify
|
canon_law is free software: you can redistribute it and/or modify
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
Copyright (c) 2018-2020 Elliott Pardee <me [at] vypr [dot] xyz>
|
Copyright (c) 2018-2020 Elliott Pardee <me [at] srp [dot] life>
|
||||||
This file is part of canon_law.
|
This file is part of canon_law.
|
||||||
|
|
||||||
canon_law is free software: you can redistribute it and/or modify
|
canon_law is free software: you can redistribute it and/or modify
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 944 KiB |
5
canon_law/static/main.js
Normal file
5
canon_law/static/main.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
$(document).ready(function(){
|
||||||
|
$(".clicktoreveal").click(function(){
|
||||||
|
$("#history").slideToggle(300);
|
||||||
|
});
|
||||||
|
});
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
@ -147,4 +147,23 @@ a:focus { color: #006400 !important; }
|
|||||||
a:visited { color: #009400; }
|
a:visited { color: #009400; }
|
||||||
|
|
||||||
::selection { background: #111; color: #009400; text-decoration: none; }
|
::selection { background: #111; color: #009400; text-decoration: none; }
|
||||||
::-moz-selection { background: #111; color: #009400; text-decoration: none; }
|
::-moz-selection { background: #111; color: #009400; text-decoration: none; }
|
||||||
|
|
||||||
|
.clicktoreveal {
|
||||||
|
text-align:center;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clicktoreveal h3:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
#history {
|
||||||
|
background: #fafafa;
|
||||||
|
display: none;
|
||||||
|
border: 2px solid #c8c8c8;
|
||||||
|
padding: 25px;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
@ -22,9 +22,9 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>project lead</td>
|
<td>project lead</td>
|
||||||
<td><a href="https://vypr.xyz">Seraphim</a></td>
|
<td><a href="https://srp.life">Seraphim</a></td>
|
||||||
<td>OCA / Bulgarian Diocese</td>
|
<td>OCA / Bulgarian Diocese</td>
|
||||||
<td><a href="mailto:vypr@oikonomia.xyz">click</a></td>
|
<td><a href="mailto:me@srp.life">click</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -48,7 +48,9 @@ Sometimes a man must look for nothing to find everything.
|
|||||||
|
|
||||||
<link rel="stylesheet" type="text/css" media="screen" href="{{ url_for('static', filename='style.css') }}" />
|
<link rel="stylesheet" type="text/css" media="screen" href="{{ url_for('static', filename='style.css') }}" />
|
||||||
<link rel="shortcut icon" href="{{ url_for('static', filename='logo.png') }}" />
|
<link rel="shortcut icon" href="{{ url_for('static', filename='logo.png') }}" />
|
||||||
<!--<script src="main.js"></script>-->
|
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||||
|
<script src="{{ url_for('static', filename='main.js') }}"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -9,7 +9,12 @@
|
|||||||
{% autoescape false %}
|
{% autoescape false %}
|
||||||
<p>
|
<p>
|
||||||
{% if obj.history %}
|
{% if obj.history %}
|
||||||
{{ obj.history }}
|
<div class="clicktoreveal">
|
||||||
|
<h3>click to reveal history</h3>
|
||||||
|
</div>
|
||||||
|
<div id="history">
|
||||||
|
{{ obj.history }}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
If you have questions, concerns, or feedback about this website or would simply like to contact us, email <a href="mailto:vypr@oikonomia.xyz?subject=canonlaw@oikonomia">vypr@oikonomia.xyz</a>
|
If you have questions, concerns, or feedback about this website or would simply like to contact us, email <a href="mailto:me@srp.life?subject=canonlaw@oikonomia">me@srp.life</a>
|
||||||
with the subject "canonlaw@oikonomia." Your email will be answered promptly.
|
with the subject "canonlaw@oikonomia." Your email will be answered promptly.
|
||||||
</p>
|
</p>
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -6,7 +6,7 @@
|
|||||||
<h1>{{ error.code }}</h1>
|
<h1>{{ error.code }}</h1>
|
||||||
<h3 style="text-align: center;">
|
<h3 style="text-align: center;">
|
||||||
{% if error.code == 404 %}
|
{% if error.code == 404 %}
|
||||||
<img src="{{ url_for('static', filename='phanurius.jpg') }}">
|
<img src="{{ url_for('static', filename='phanourios.jpg') }}">
|
||||||
<br>
|
<br>
|
||||||
You can pray to St. Phanourios to help you find what you are looking for.
|
You can pray to St. Phanourios to help you find what you are looking for.
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user