diff options
Diffstat (limited to 'static')
| -rw-r--r-- | static/captcha.js | 4 | ||||
| -rw-r--r-- | static/custom.css | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/static/captcha.js b/static/captcha.js index 6b895bb..7b16e7c 100644 --- a/static/captcha.js +++ b/static/captcha.js @@ -16,11 +16,11 @@ function loadJSON(path, success, error) xhr.open("GET", path, true); xhr.send(); }; -loadJSON('http://127.0.0.1:3333/json/newcaptcha', +loadJSON('/json/newcaptcha', function(data){ console.log("success", data); var captcha = document.getElementById('captcha-img'); - captcha.src = "http://127.0.0.1:3333/captcha/" + data.captcha_id + ".png"; + captcha.src = "/captcha/" + data.captcha_id + ".png"; var captcha_input = document.getElementById('captcha-id'); captcha_input.value = data.captcha_id; }, diff --git a/static/custom.css b/static/custom.css index 5dbbc64..b3d3784 100644 --- a/static/custom.css +++ b/static/custom.css @@ -48,6 +48,9 @@ a:hover { .button:hover { color:#efefef; } +.button-dark { + background-color: #171717; +} .center { text-align: center; } @@ -177,6 +180,13 @@ select:focus { .hp { display: none; } + +.header-link { + font-size: inherit; +} +.header-link:hover { + color: #171717; +} #captcha-img { background-color: #efefef; background: #efefef; |
