mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
messing with a facelift for the site, some new features as well
This commit is contained in:
parent
7dffd6e0aa
commit
2363cede02
20 changed files with 123 additions and 11761 deletions
|
@ -2,6 +2,7 @@ from peewee import *
|
||||||
from os import path
|
from os import path
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
from suchwow import wownero
|
||||||
from suchwow import config
|
from suchwow import config
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,6 +46,15 @@ class Post(Model):
|
||||||
s = path.splitext(self.image_name)
|
s = path.splitext(self.image_name)
|
||||||
return s[0] + '.thumbnail' + s[1]
|
return s[0] + '.thumbnail' + s[1]
|
||||||
|
|
||||||
|
def get_received_wow(self):
|
||||||
|
w = wownero.Wallet()
|
||||||
|
it = w.incoming_transfers(self.account_index)
|
||||||
|
if 'transfers' in it:
|
||||||
|
amounts = [amt['amount'] for amt in it['transfers'] if 'transfers' in it]
|
||||||
|
return wownero.as_wownero(wownero.from_atomic(sum(amounts)))
|
||||||
|
else:
|
||||||
|
return '0'
|
||||||
|
|
||||||
def show(self):
|
def show(self):
|
||||||
return {
|
return {
|
||||||
'id': self.id,
|
'id': self.id,
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 89 KiB |
1567
suchwow/static/css/bootstrap-grid.css
vendored
1567
suchwow/static/css/bootstrap-grid.css
vendored
File diff suppressed because it is too large
Load diff
7
suchwow/static/css/bootstrap-grid.min.css
vendored
7
suchwow/static/css/bootstrap-grid.min.css
vendored
File diff suppressed because one or more lines are too long
342
suchwow/static/css/bootstrap-reboot.css
vendored
342
suchwow/static/css/bootstrap-reboot.css
vendored
|
@ -1,342 +0,0 @@
|
||||||
/*!
|
|
||||||
* Bootstrap Reboot v4.0.0-beta.2 (https://getbootstrap.com)
|
|
||||||
* Copyright 2011-2017 The Bootstrap Authors
|
|
||||||
* Copyright 2011-2017 Twitter, Inc.
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
|
||||||
*/
|
|
||||||
*,
|
|
||||||
*::before,
|
|
||||||
*::after {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
|
||||||
font-family: sans-serif;
|
|
||||||
line-height: 1.15;
|
|
||||||
-webkit-text-size-adjust: 100%;
|
|
||||||
-ms-text-size-adjust: 100%;
|
|
||||||
-ms-overflow-style: scrollbar;
|
|
||||||
-webkit-tap-highlight-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
@-ms-viewport {
|
|
||||||
width: device-width;
|
|
||||||
}
|
|
||||||
|
|
||||||
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
||||||
font-size: 1rem;
|
|
||||||
font-weight: 400;
|
|
||||||
line-height: 1.5;
|
|
||||||
color: #212529;
|
|
||||||
text-align: left;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
[tabindex="-1"]:focus {
|
|
||||||
outline: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
hr {
|
|
||||||
box-sizing: content-box;
|
|
||||||
height: 0;
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
abbr[title],
|
|
||||||
abbr[data-original-title] {
|
|
||||||
text-decoration: underline;
|
|
||||||
-webkit-text-decoration: underline dotted;
|
|
||||||
text-decoration: underline dotted;
|
|
||||||
cursor: help;
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
address {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
font-style: normal;
|
|
||||||
line-height: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol,
|
|
||||||
ul,
|
|
||||||
dl {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol ol,
|
|
||||||
ul ul,
|
|
||||||
ol ul,
|
|
||||||
ul ol {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
dt {
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
dd {
|
|
||||||
margin-bottom: .5rem;
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
margin: 0 0 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
dfn {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
b,
|
|
||||||
strong {
|
|
||||||
font-weight: bolder;
|
|
||||||
}
|
|
||||||
|
|
||||||
small {
|
|
||||||
font-size: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub,
|
|
||||||
sup {
|
|
||||||
position: relative;
|
|
||||||
font-size: 75%;
|
|
||||||
line-height: 0;
|
|
||||||
vertical-align: baseline;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub {
|
|
||||||
bottom: -.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
sup {
|
|
||||||
top: -.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #007bff;
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: transparent;
|
|
||||||
-webkit-text-decoration-skip: objects;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color: #0056b3;
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:not([href]):not([tabindex]) {
|
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
|
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:not([href]):not([tabindex]):focus {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre,
|
|
||||||
code,
|
|
||||||
kbd,
|
|
||||||
samp {
|
|
||||||
font-family: monospace, monospace;
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
overflow: auto;
|
|
||||||
-ms-overflow-style: scrollbar;
|
|
||||||
}
|
|
||||||
|
|
||||||
figure {
|
|
||||||
margin: 0 0 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
vertical-align: middle;
|
|
||||||
border-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
svg:not(:root) {
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
a,
|
|
||||||
area,
|
|
||||||
button,
|
|
||||||
[role="button"],
|
|
||||||
input:not([type="range"]),
|
|
||||||
label,
|
|
||||||
select,
|
|
||||||
summary,
|
|
||||||
textarea {
|
|
||||||
-ms-touch-action: manipulation;
|
|
||||||
touch-action: manipulation;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
|
||||||
|
|
||||||
caption {
|
|
||||||
padding-top: 0.75rem;
|
|
||||||
padding-bottom: 0.75rem;
|
|
||||||
color: #868e96;
|
|
||||||
text-align: left;
|
|
||||||
caption-side: bottom;
|
|
||||||
}
|
|
||||||
|
|
||||||
th {
|
|
||||||
text-align: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
display: inline-block;
|
|
||||||
margin-bottom: .5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:focus {
|
|
||||||
outline: 1px dotted;
|
|
||||||
outline: 5px auto -webkit-focus-ring-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
button,
|
|
||||||
select,
|
|
||||||
optgroup,
|
|
||||||
textarea {
|
|
||||||
margin: 0;
|
|
||||||
font-family: inherit;
|
|
||||||
font-size: inherit;
|
|
||||||
line-height: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
input {
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
select {
|
|
||||||
text-transform: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
html [type="button"],
|
|
||||||
[type="reset"],
|
|
||||||
[type="submit"] {
|
|
||||||
-webkit-appearance: button;
|
|
||||||
}
|
|
||||||
|
|
||||||
button::-moz-focus-inner,
|
|
||||||
[type="button"]::-moz-focus-inner,
|
|
||||||
[type="reset"]::-moz-focus-inner,
|
|
||||||
[type="submit"]::-moz-focus-inner {
|
|
||||||
padding: 0;
|
|
||||||
border-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="radio"],
|
|
||||||
input[type="checkbox"] {
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="date"],
|
|
||||||
input[type="time"],
|
|
||||||
input[type="datetime-local"],
|
|
||||||
input[type="month"] {
|
|
||||||
-webkit-appearance: listbox;
|
|
||||||
}
|
|
||||||
|
|
||||||
textarea {
|
|
||||||
overflow: auto;
|
|
||||||
resize: vertical;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset {
|
|
||||||
min-width: 0;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
legend {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
max-width: 100%;
|
|
||||||
padding: 0;
|
|
||||||
margin-bottom: .5rem;
|
|
||||||
font-size: 1.5rem;
|
|
||||||
line-height: inherit;
|
|
||||||
color: inherit;
|
|
||||||
white-space: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
progress {
|
|
||||||
vertical-align: baseline;
|
|
||||||
}
|
|
||||||
|
|
||||||
[type="number"]::-webkit-inner-spin-button,
|
|
||||||
[type="number"]::-webkit-outer-spin-button {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
[type="search"] {
|
|
||||||
outline-offset: -2px;
|
|
||||||
-webkit-appearance: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
[type="search"]::-webkit-search-cancel-button,
|
|
||||||
[type="search"]::-webkit-search-decoration {
|
|
||||||
-webkit-appearance: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
::-webkit-file-upload-button {
|
|
||||||
font: inherit;
|
|
||||||
-webkit-appearance: button;
|
|
||||||
}
|
|
||||||
|
|
||||||
output {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
|
|
||||||
template {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
[hidden] {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
|
8
suchwow/static/css/bootstrap-reboot.min.css
vendored
8
suchwow/static/css/bootstrap-reboot.min.css
vendored
|
@ -1,8 +0,0 @@
|
||||||
/*!
|
|
||||||
* Bootstrap Reboot v4.0.0-beta.2 (https://getbootstrap.com)
|
|
||||||
* Copyright 2011-2017 The Bootstrap Authors
|
|
||||||
* Copyright 2011-2017 Twitter, Inc.
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
|
||||||
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#868e96;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}
|
|
||||||
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
|
8981
suchwow/static/css/bootstrap.css
vendored
8981
suchwow/static/css/bootstrap.css
vendored
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
7
suchwow/static/css/bootstrap.min.css
vendored
7
suchwow/static/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
suchwow/static/css/bulma.min.css
vendored
Normal file
1
suchwow/static/css/bulma.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
4
suchwow/static/css/custom.css
Normal file
4
suchwow/static/css/custom.css
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
.current-page-btn {
|
||||||
|
color: blue;
|
||||||
|
border: 1px blue solid;
|
||||||
|
}
|
|
@ -1,797 +0,0 @@
|
||||||
body {
|
|
||||||
padding-top: 54px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 992px) {
|
|
||||||
body {
|
|
||||||
padding-top: 56px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.center {
|
|
||||||
text-align: center;
|
|
||||||
margin: 0 auto 0 auto;
|
|
||||||
}
|
|
||||||
.navbar {
|
|
||||||
padding: .1rem 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar .navbar-brand img#logo{
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar .navbar-brand img#text{
|
|
||||||
width:235px;
|
|
||||||
margin-top: -4px;
|
|
||||||
padding-top: 0px;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-nav .nav-link{
|
|
||||||
color: #fff;
|
|
||||||
font-weight: bold;
|
|
||||||
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif
|
|
||||||
}
|
|
||||||
|
|
||||||
.container>div:first-child {
|
|
||||||
padding-top: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mb-4, .my-4{
|
|
||||||
margin-top:0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mt-4, .my-4 {
|
|
||||||
margin-top: 0rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal-info-table td {
|
|
||||||
padding: .35rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal_address {
|
|
||||||
white-space: pre-wrap;
|
|
||||||
padding: 2px;
|
|
||||||
border-radius: 2px;
|
|
||||||
margin-top: 6px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #ff0000;
|
|
||||||
font-size: 18px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal_content blockquote {
|
|
||||||
background-color: #efefef;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal_content h1, .proposal_content h2, .proposal_content h3, .proposal_content h4{
|
|
||||||
margin-bottom: 16px;
|
|
||||||
margin-top: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal_content p {
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal_content img {
|
|
||||||
margin-top:8px;
|
|
||||||
margin-bottom:8px;
|
|
||||||
max-width: 70%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal_content code {
|
|
||||||
background: #ebebeb;
|
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table td, .table th {
|
|
||||||
padding: 0.35rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Sticky footer styles
|
|
||||||
-------------------------------------------------- */
|
|
||||||
html {
|
|
||||||
position: relative;
|
|
||||||
min-height: 100%;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
margin-bottom: 60px; /* Margin bottom by footer height */
|
|
||||||
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
|
|
||||||
background-image: url("/static/bg.png");
|
|
||||||
background-repeat: repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg-dark {
|
|
||||||
background: linear-gradient(90deg, #d253c8, #ffa93e);
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-dark .navbar-brand {
|
|
||||||
color: #fff;
|
|
||||||
font-size: 18pt;
|
|
||||||
margin-top: 0;
|
|
||||||
padding-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
padding-bottom: 0;
|
|
||||||
text-shadow: 2px 2px #667ff952;
|
|
||||||
font-family: "Comic Sans MS", "Comic Sans", cursive;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-proposal td {
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-proposal tbody td:first-child{
|
|
||||||
word-break: break-word;
|
|
||||||
width: 40%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-hover tbody tr:hover {
|
|
||||||
background-color: rgba(0,0,0,.055);
|
|
||||||
}
|
|
||||||
|
|
||||||
.table th, .table td {
|
|
||||||
border-top: 1px solid #00000029;
|
|
||||||
padding-top: .65rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-tilted{
|
|
||||||
-ms-transform: rotate(0.5deg);
|
|
||||||
-webkit-transform: rotate(0.5deg);
|
|
||||||
transform: rotate(0.5deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-tilted-v{
|
|
||||||
-ms-transform: rotate(-0.2deg);
|
|
||||||
-webkit-transform: rotate(-0.2deg);
|
|
||||||
transform: rotate(-0.2deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-no-header thead{
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-wow{
|
|
||||||
background-image: url(https://wownero.win/static/game-table-bg.png);
|
|
||||||
background-size: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table a{
|
|
||||||
color: #006400;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table thead th {
|
|
||||||
border-bottom: 1px solid #00000029 !important;
|
|
||||||
border-top: none;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table tbody td.date {
|
|
||||||
max-width: 100px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table tbody td.user {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table tbody td{
|
|
||||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
|
|
||||||
color: #495057;
|
|
||||||
background-color: #fff;
|
|
||||||
border-left-color: #008926;
|
|
||||||
border-left-width: 2px;
|
|
||||||
border-top-color: #008926;
|
|
||||||
border-top-width: 1px;
|
|
||||||
border-right-color: #008926;
|
|
||||||
border-right-width: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-tabs .nav-link {
|
|
||||||
border: 1px solid transparent;
|
|
||||||
border-top-left-radius: .25rem;
|
|
||||||
border-top-right-radius: .25rem;
|
|
||||||
border-bottom-color: #008926;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
|
|
||||||
border-color: #e9ecef #e9ecef #dee2e6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
|
|
||||||
border-color: #00892630 #00892630 #008926;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #008926;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-group-toggle a{
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-group-toggle a:hover{
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-primary{
|
|
||||||
background-color: #28a745;
|
|
||||||
border-color: #28a745;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-primary:hover{
|
|
||||||
color: #fff;
|
|
||||||
background-color: #1e7e34;
|
|
||||||
border-color: #1c7430;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-body {
|
|
||||||
background-color: #00000008;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
background-color: #ffffff00;
|
|
||||||
border: 0px solid rgba(0,0,0,.125);
|
|
||||||
border-radius: .25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-header {
|
|
||||||
padding: 0.5rem;
|
|
||||||
padding-left: 1.0rem;
|
|
||||||
font-size: 16px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
background-color: rgba(0,0,0,.03);
|
|
||||||
background: linear-gradient(90deg, #d253c829, #ffa93e69);
|
|
||||||
/*background: linear-gradient(90deg, #40d61e1f, #ffa93e69);*/
|
|
||||||
border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
|
|
||||||
border-bottom: 1px solid #e6e6e6;
|
|
||||||
border-bottom: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal_content{
|
|
||||||
background-color: #00000008;
|
|
||||||
padding: 1.25rem 1.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-control {
|
|
||||||
padding: .375rem .75rem;
|
|
||||||
font-size: 1rem;
|
|
||||||
line-height: 1.5;
|
|
||||||
color: #495057;
|
|
||||||
background-color: #fff;
|
|
||||||
background-clip: padding-box;
|
|
||||||
border: 1px solid #008926;
|
|
||||||
}
|
|
||||||
.form-group {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
.form-group:last-of-type {
|
|
||||||
margin-bottom:2.5rem;
|
|
||||||
}
|
|
||||||
/*fuku chrome*/
|
|
||||||
input {
|
|
||||||
outline:none;
|
|
||||||
}
|
|
||||||
input:focus {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
*:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
input[type="text"], textarea {
|
|
||||||
outline: none;
|
|
||||||
box-shadow:none !important;
|
|
||||||
border: 1px solid #008926 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-dark .navbar-nav .nav-link {
|
|
||||||
color: white;
|
|
||||||
padding-top: 0.4rem;
|
|
||||||
padding-bottom: 0.4rem;
|
|
||||||
font-size: 15px;
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-nav .nav-item {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav .nav-link{
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav .nav-link .active{
|
|
||||||
text-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal-info-table td{
|
|
||||||
border-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal-info-table td span.badge{
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-proposal .progress {
|
|
||||||
max-width: 70px !important;
|
|
||||||
min-width: 50px !important;
|
|
||||||
float:right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-proposal .progress-bar {
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
-ms-flex-pack: center;
|
|
||||||
justify-content: center;
|
|
||||||
color: #fff;
|
|
||||||
text-shadow: 1px 1px #000000;
|
|
||||||
text-align: center;
|
|
||||||
white-space: nowrap;
|
|
||||||
background-color: #009845;
|
|
||||||
transition: width .6s ease;
|
|
||||||
font-family: monospace;
|
|
||||||
padding: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#point-wow-left{
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 600px) {
|
|
||||||
.proposal-info-table tr:first-child>td, .proposal-info-table tr:first-child>td>span {
|
|
||||||
font-size: 28px !important;
|
|
||||||
font-weight: 100;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-dark .navbar-brand {
|
|
||||||
font-size: 13pt;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal-info-table tr:first-child>td, .proposal-info-table tr:first-child>td>span {
|
|
||||||
font-size: 14px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal-info-table td span.badge {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal_content {
|
|
||||||
background-color: #00000008;
|
|
||||||
padding: 0.1rem 0.75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-body{
|
|
||||||
padding: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#point-wow-left{
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-proposal thead th#date, .table-proposal tbody td#date{
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-proposal, .table-proposal td{
|
|
||||||
font-size:14px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-brand {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-brand-mobile{
|
|
||||||
display: block !important;
|
|
||||||
color: white;
|
|
||||||
font-size:14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre.proposal_address{
|
|
||||||
font-size:14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
font-size:12px !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 768px) {
|
|
||||||
#point-wow-left {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
textarea.comment{
|
|
||||||
padding-left: 6px;
|
|
||||||
padding-right: 6px;
|
|
||||||
padding-bottom: 6px;
|
|
||||||
width: 100%;
|
|
||||||
max-width: 600px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.votearrow {
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
border: 0px;
|
|
||||||
margin: 3px 2px 6px;
|
|
||||||
margin-right: 10px;
|
|
||||||
margin-top: 7px;
|
|
||||||
background: url(/static/grayarrow.gif) no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.username a{
|
|
||||||
font-family: Verdana, Geneva, sans-serif;
|
|
||||||
font-size: 12pt;
|
|
||||||
color: #828282;
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-container a.reply{
|
|
||||||
margin-bottom:2px;
|
|
||||||
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
|
|
||||||
font-size: 11pt;
|
|
||||||
text-decoration: underline;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.date_posted a{
|
|
||||||
color: #828282;
|
|
||||||
font-family: Verdana, Geneva, sans-serif;
|
|
||||||
font-size: 10pt;
|
|
||||||
margin-left:2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-container .comment-container{
|
|
||||||
margin-top: 0.4rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-container, .comment-container .comment-container{
|
|
||||||
margin-bottom: 0.4rem !important;
|
|
||||||
font-family: serif;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.username a.author{
|
|
||||||
color: #008926;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
:target {
|
|
||||||
background: linear-gradient(90deg, #ff606008, #ffa93e2b);
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-admin{
|
|
||||||
border: 1px solid #b60000;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul.b {
|
|
||||||
list-style-type: square;
|
|
||||||
padding-left: 1.0rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.media-body #comment{
|
|
||||||
word-break: break-all;
|
|
||||||
}
|
|
||||||
|
|
||||||
.api_documentation code{
|
|
||||||
background-color: #f3f3f3;
|
|
||||||
padding: 4px;
|
|
||||||
padding-top:2px;
|
|
||||||
padding-bottom:2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.api_documentation pre{
|
|
||||||
margin-top:0;
|
|
||||||
background-color: #f3f3f3;
|
|
||||||
padding: 4px;
|
|
||||||
font-size: 12px;
|
|
||||||
padding-left:8px;
|
|
||||||
|
|
||||||
white-space: pre-wrap; /* Since CSS 2.1 */
|
|
||||||
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
|
||||||
white-space: -pre-wrap; /* Opera 4-6 */
|
|
||||||
white-space: -o-pre-wrap; /* Opera 7 */
|
|
||||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
|
||||||
}
|
|
||||||
|
|
||||||
.api_documentation .api_container hr{
|
|
||||||
margin-bottom: 14px;
|
|
||||||
margin-top: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.api_documentation .api_container{
|
|
||||||
margin-bottom: 60px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar .card-body{
|
|
||||||
padding-top: 1rem;
|
|
||||||
padding-left: 1rem;
|
|
||||||
padding-right: 1rem;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar .card-body ul.b{
|
|
||||||
margin-bottom:0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-header {
|
|
||||||
border-radius: 10px 0 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* cyrillic-ext */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Roboto';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Roboto'), local('Roboto-Regular'), url(/static/fonts/roboto-1.woff2) format('woff2');
|
|
||||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
||||||
}
|
|
||||||
/* cyrillic */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Roboto';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Roboto'), local('Roboto-Regular'), url(/static/fonts/roboto-2.woff2) format('woff2');
|
|
||||||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
||||||
}
|
|
||||||
/* greek-ext */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Roboto';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Roboto'), local('Roboto-Regular'), url(/static/fonts/roboto-3.woff2) format('woff2');
|
|
||||||
unicode-range: U+1F00-1FFF;
|
|
||||||
}
|
|
||||||
/* greek */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Roboto';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Roboto'), local('Roboto-Regular'), url(/static/fonts/roboto-4.woff2) format('woff2');
|
|
||||||
unicode-range: U+0370-03FF;
|
|
||||||
}
|
|
||||||
/* vietnamese */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Roboto';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Roboto'), local('Roboto-Regular'), url(/static/fonts/roboto-5.woff2) format('woff2');
|
|
||||||
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
|
|
||||||
}
|
|
||||||
/* latin-ext */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Roboto';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Roboto'), local('Roboto-Regular'), url(/static/fonts/roboto-6.woff2) format('woff2');
|
|
||||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
||||||
}
|
|
||||||
/* latin */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Roboto';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Roboto'), local('Roboto-Regular'), url(/static/fonts/roboto-7.woff2) format('woff2');
|
|
||||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal-overview .table-proposal[data-status="4"] {
|
|
||||||
opacity: 0.4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal-overview .table-proposal[data-status="4"] thead th {
|
|
||||||
border-bottom: 1px solid #4b4b4b !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal-overview .table-proposal[data-status="4"] td {
|
|
||||||
border-top: 1px solid #4b4b4b;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal-overview .table-proposal[data-status="4"], .proposal-overview .table-proposal[data-status="4"] a {
|
|
||||||
color: #4b4b4b;
|
|
||||||
}
|
|
||||||
|
|
||||||
.comments-panel {
|
|
||||||
background-color: #ffffffb0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wow_addy{
|
|
||||||
color: red;
|
|
||||||
cursor: pointer;
|
|
||||||
font-family: monospace;
|
|
||||||
background: #f6f6f6;
|
|
||||||
font-size:14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wow_addy[data-active="true"]{
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal_qr{
|
|
||||||
margin-top:8px;
|
|
||||||
margin-bottom:8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-proposal tr {
|
|
||||||
background: #00000005;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tx_item {
|
|
||||||
padding-top: 4px;
|
|
||||||
padding-bottom: 4px;
|
|
||||||
background: #ffffff80;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tx_item .amount {
|
|
||||||
float:right;
|
|
||||||
font-weight:bold;
|
|
||||||
color:#890000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tx_item .amount.in {
|
|
||||||
color:#008926;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tx_item .datetime {
|
|
||||||
font-size: 14px;
|
|
||||||
color: #999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tx_item .height b {
|
|
||||||
font-size:14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container>.content h1,
|
|
||||||
.container>.content h2,
|
|
||||||
.container>.content h3,
|
|
||||||
.container>.content h4{
|
|
||||||
margin-bottom:20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.comment-container .media-body span.body {
|
|
||||||
word-wrap: break-word;
|
|
||||||
display: block;
|
|
||||||
margin-top: 4px;
|
|
||||||
margin-bottom: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-container .media-body span.body img {
|
|
||||||
width: 100%;
|
|
||||||
max-width:500px;
|
|
||||||
max-height:600px;
|
|
||||||
margin-top:10px;
|
|
||||||
margin-bottom:10px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-brand {
|
|
||||||
margin-top:0
|
|
||||||
margin-bottom:0
|
|
||||||
padding-top:0
|
|
||||||
padding-bottom:0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card h5{
|
|
||||||
color: #0000009e;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wowtable{
|
|
||||||
width:100%;
|
|
||||||
display: block;
|
|
||||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
|
|
||||||
}
|
|
||||||
.wowtable .trow{
|
|
||||||
width: 100%;
|
|
||||||
height: 34px;
|
|
||||||
display: table;
|
|
||||||
}
|
|
||||||
.wowtable .trow .item{
|
|
||||||
float:right;
|
|
||||||
width:100px;
|
|
||||||
}
|
|
||||||
.wowtable .trow .item.one{
|
|
||||||
width:30%;
|
|
||||||
min-width: 200px;
|
|
||||||
}
|
|
||||||
.wowtable .trow .item.small{
|
|
||||||
max-width:100px;
|
|
||||||
text-align:right;
|
|
||||||
}
|
|
||||||
.wowtable .trow.header .item span {
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 700;
|
|
||||||
padding-top:6px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.wowtable .trow .item.comments{
|
|
||||||
max-width:70px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.wowtable .trow .item.big{
|
|
||||||
display: inline-block;
|
|
||||||
text-align: left;
|
|
||||||
float: left;
|
|
||||||
width: auto;
|
|
||||||
max-width: 50%;
|
|
||||||
}
|
|
||||||
.wowtable .trow.header .item.big span{
|
|
||||||
padding-left:7px;
|
|
||||||
padding-top:3px;
|
|
||||||
font-size:18px;
|
|
||||||
word-break: break-word;
|
|
||||||
}
|
|
||||||
.trow.divider{
|
|
||||||
height:1px;
|
|
||||||
background: #00000029 !important;
|
|
||||||
}
|
|
||||||
.wowtable .trow.body .item span {
|
|
||||||
font-size:14px;
|
|
||||||
padding-top:6px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.wowtable .trow.body .item.big a {
|
|
||||||
display: block;
|
|
||||||
padding-left: 7px;
|
|
||||||
color: #006400;
|
|
||||||
padding-top: 6px;
|
|
||||||
font-size: 15px;
|
|
||||||
font-weight: 700;
|
|
||||||
word-break: break-word;
|
|
||||||
}
|
|
||||||
.wowtable .trow span.alignl{
|
|
||||||
text-align:left;
|
|
||||||
padding-left:7px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 990px) {
|
|
||||||
|
|
||||||
.wowtable .small{
|
|
||||||
display:none
|
|
||||||
}
|
|
||||||
.wowtable .trow .item.big{
|
|
||||||
max-width: 88%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.subtext {
|
|
||||||
color: grey;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subtitle {
|
|
||||||
font-size: 1.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
margin: 0 auto;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flashes {
|
|
||||||
text-align: center;
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-nav {
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
|
|
||||||
.current-page-btn {
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.3 KiB |
BIN
suchwow/static/wow_logo.png
Normal file
BIN
suchwow/static/wow_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
|
@ -46,37 +46,38 @@
|
||||||
<meta name="application-name" content="SuchWow!">
|
<meta name="application-name" content="SuchWow!">
|
||||||
<meta name="msapplication-TileColor" content="#da532c">
|
<meta name="msapplication-TileColor" content="#da532c">
|
||||||
<meta name="keywords" content="wownero, wow, memes, monero, xmr, cryptocurrency">
|
<meta name="keywords" content="wownero, wow, memes, monero, xmr, cryptocurrency">
|
||||||
|
<link href="/static/css/bulma.min.css" rel="stylesheet">
|
||||||
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
|
<link href="/static/css/custom.css" rel="stylesheet">
|
||||||
<link href="/static/css/bootstrap-grid.min.css" rel="stylesheet">
|
|
||||||
<link href="/static/css/bootstrap-reboot.min.css" rel="stylesheet">
|
|
||||||
<link href="/static/css/wow.css" rel="stylesheet">
|
|
||||||
<title>SuchWow!</title>
|
<title>SuchWow!</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
{% include 'navbar.html' %}
|
||||||
|
|
||||||
{% with messages = get_flashed_messages() %}
|
{% with messages = get_flashed_messages() %}
|
||||||
{% if messages %}
|
{% if messages %}
|
||||||
<ul class=flashes>
|
|
||||||
{% for message in messages %}
|
{% for message in messages %}
|
||||||
<li>{{ message }}</li>
|
<div class="notification is-danger container is-light">
|
||||||
|
{{ message }}
|
||||||
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
{% include 'navbar.html' %}
|
|
||||||
|
|
||||||
<!-- Page Content -->
|
<!-- Page Content -->
|
||||||
{% block content %} {% endblock %}
|
{% block content %} {% endblock %}
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<footer class="bg-dark footer">
|
<footer class="footer">
|
||||||
<div class="container">
|
<div class="content has-text-centered">
|
||||||
<p class="m-0 text-center text-white">SuchWow! 2020</p>
|
<p><strong>SuchWow</strong> by <a href="https://lzahq.tech" target="_blank">lza_menace</a></p>
|
||||||
</div>
|
<br />
|
||||||
</footer>
|
<p><a href="https://wownero.org/" target="_blank">Learn more about Wownero</a>.</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -4,50 +4,66 @@
|
||||||
|
|
||||||
<div class="container" style="text-align:center;">
|
<div class="container" style="text-align:center;">
|
||||||
|
|
||||||
<h3>Leaderboards</h3>
|
<!-- <h3>Leaderboards</h3>
|
||||||
<a href="{{ url_for('post.top') }}"><button class="btn btn-warning">Top Posts</button></a>
|
<a href="{{ url_for('post.top') }}"><button class="btn btn-warning">Top Posts</button></a>
|
||||||
<a href="{{ url_for('leaderboard.leaderboard') }}"><button class="btn btn-warning">Top Posters</button></a>
|
<a href="{{ url_for('leaderboard.leaderboard') }}"><button class="btn btn-warning">Top Posters</button></a>
|
||||||
<hr>
|
<hr> -->
|
||||||
|
|
||||||
<div class="title">
|
<h1 class="title">Latest Posts</h1>
|
||||||
<h3>{% block title %}Latest Posts{% endblock %}</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<section class="section">
|
||||||
{% if posts %}
|
{% if posts %}
|
||||||
<table class="table table-striped">
|
{% for row in posts | batch(4) %}
|
||||||
<tr>
|
<div class="columns">
|
||||||
<th>Date</th>
|
{% for post in row %}
|
||||||
<th>ID</th>
|
<div class="column">
|
||||||
<th>Title</th>
|
<div class="card">
|
||||||
<th>Thumbnail</th>
|
<div class="card-image">
|
||||||
<th>Submitter</th>
|
<figure class="image is-192x192">
|
||||||
</tr>
|
<a href="{{ url_for('post.read', id=post.id) }}">
|
||||||
{% for post in posts %}
|
<img src="{{ url_for('post.uploaded_file', filename=post.get_thumbnail_name()) }}" alt="Placeholder image">
|
||||||
<tr>
|
</a>
|
||||||
<td>{{ post.timestamp.strftime('%Y-%m-%d %H:%M') }}</td>
|
</figure>
|
||||||
<td>{{ post.id }}</td>
|
</div>
|
||||||
<td><a href="{{ url_for('post.read', id=post.id) }}">{{ post.title }}</a></td>
|
<div class="card-content">
|
||||||
<td>
|
<div class="media">
|
||||||
<a href="{{ url_for('post.read', id=post.id) }}">
|
<div class="media-content">
|
||||||
<img src="{{ url_for('post.uploaded_file', filename=post.get_thumbnail_name()) }}" width=200 style="max-height:200px;">
|
<p class="title is-4">
|
||||||
</a>
|
<a href="{{ url_for('post.read', id=post.id) }}">{{ post.title }}</a>
|
||||||
</td>
|
</p>
|
||||||
<td><a href="/?submitter={{ post.submitter }}">{{ post.submitter }}</a></td>
|
<p class="subtitle is-6"><a href="/?submitter={{ post.submitter }}">{{ post.submitter }}</a></p>
|
||||||
</tr>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
{{ post.text | truncate(60) }}
|
||||||
|
<!-- <br> -->
|
||||||
|
<p><strong>{{ post.get_received_wow() }} WOW received</strong></p>
|
||||||
|
<time datetime="2016-1-1">{{ post.timestamp.year }}-{{ post.timestamp.month }}-{{ post.timestamp.day }} {{ post.timestamp.hour }}:{{ post.timestamp.minute }} UTC</time>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>No posts yet!</p>
|
<p>No posts yet!</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</section>
|
||||||
|
|
||||||
{% if total_pages %}
|
{% if total_pages %}
|
||||||
<div class="page-btn">
|
<nav class="pagination is-centered pb-4" role="navigation" aria-label="pagination">
|
||||||
{% for p in range(1, total_pages + 1) %}
|
<ul class="pagination-list">
|
||||||
<a href="{% if request.args.submitter %}/?submitter={{ request.args.submitter }}&{% else %}/?{% endif %}page={{ p }}" class="pure-button btn {% if p == page %}current-page-btn{% endif %}">{{ p }}</a>
|
{% for p in range(1, total_pages + 1) %}
|
||||||
{% endfor %}
|
<a href="{% if request.args.submitter %}/?submitter={{ request.args.submitter }}&{% else %}/?{% endif %}page={{ p }}" class="pagination-link {% if p == page %}current-page-btn{% endif %}">{{ p }}</a>
|
||||||
</div>
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -1,5 +1,46 @@
|
||||||
|
<nav class="navbar" role="navigation" aria-label="main navigation">
|
||||||
|
<div class="navbar-brand">
|
||||||
|
<a class="navbar-item" href="/">
|
||||||
|
<img src="/static/wow_logo.png">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
|
||||||
|
<span aria-hidden="true"></span>
|
||||||
|
<span aria-hidden="true"></span>
|
||||||
|
<span aria-hidden="true"></span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="navbarBasicExample" class="navbar-menu">
|
||||||
|
<div class="navbar-start">
|
||||||
|
<a class="navbar-item" href="{{ url_for('index') }}">Home</a>
|
||||||
|
<a class="navbar-item" href="{{ url_for('about') }}">About</a>
|
||||||
|
<a class="navbar-item" href="{{ url_for('post.create') }}">Submit</a>
|
||||||
|
{% if session.auth %}
|
||||||
|
<a class="navbar-item" style="color: orange;" href="{{ url_for('mod_queue') }}">Mods!</a>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="navbar-end">
|
||||||
|
<div class="navbar-item">
|
||||||
|
<div class="buttons">
|
||||||
|
{% if session.auth == None %}
|
||||||
|
<a class="button is-primary" href="https://login.wownero.com/developer/"><strong>Sign up</strong></a>
|
||||||
|
<a class="button is-light" href="{{ url_for('auth.login') }}">Log in</a>
|
||||||
|
{% else %}
|
||||||
|
{% if session.auth %}
|
||||||
|
<a class="button is-primary" href="{{ url_for('profile.edit') }}">Profile ({{ session.auth.preferred_username }})</a>
|
||||||
|
{% endif %}
|
||||||
|
<a class="button is-light" href="{{ url_for('auth.logout') }}">Logout</a>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
<!-- Navigation -->
|
<!-- Navigation -->
|
||||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
|
<!-- <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="navbar-brand" href="/">
|
<a class="navbar-brand" href="/">
|
||||||
<h3>SuchWow!</h3>
|
<h3>SuchWow!</h3>
|
||||||
|
@ -9,11 +50,11 @@
|
||||||
<ul class="navbar-nav ml-auto">
|
<ul class="navbar-nav ml-auto">
|
||||||
{% if session.auth %}
|
{% if session.auth %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" style="color: yellow;" href="{{ url_for('mod_queue') }}">Mods!</a>
|
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="{{ url_for('index') }}">Home</a>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="{{ url_for('post.create') }}">Submit</a>
|
<a class="nav-link" href="{{ url_for('post.create') }}">Submit</a>
|
||||||
|
@ -38,4 +79,4 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav> -->
|
||||||
|
|
|
@ -151,4 +151,4 @@ def from_atomic(amount):
|
||||||
return (Decimal(amount) * PICOWOW).quantize(PICOWOW)
|
return (Decimal(amount) * PICOWOW).quantize(PICOWOW)
|
||||||
|
|
||||||
def as_wownero(amount):
|
def as_wownero(amount):
|
||||||
return Decimal(amount).quantize(PICOWOW)
|
return float(Decimal(amount).quantize(PICOWOW))
|
||||||
|
|
Loading…
Reference in a new issue