(sorry about the multiple tickets) Html question
See original GitHub issuehere is my code for login.html `<!DOCTYPE HTML>
<html> <head> <link rel="icon" href="/favicon.ico" type="image/x-icon"> <style> input[type=text], input[type=password] { width: 90%; padding: 4px 10px; margin: 3px 0; display: inline-block; border: 1px solid #ccc; box-sizing: border-box; text-align: left; } .loginregister { border: 10px solid black; } .signin { background-color: #736F6E; border: none; color: white; padding: 7px 9px; font-weight: bold; text-align: center; text-decoration: none; display: inline-block; font-size: 14px; margin: 4px 2px; cursor: pointer; font-family: helvetica; } .signin:hover { opacity: 0.8; } div { text-align: center; font-family: helvetica; } tr { text-align: center; font-size: 14px; font-family: helvetica; } td { text-align: center; font-size: 14px; font-family: helvetica; }b { text-align: left; font-family: helvetica; }
label { text-align: left; font-family: helvetica; }
h1 { font-family: helvetica; color: white; text-align: center; font-size: 30px; } h2 { font-family: helvetica; color: white; text-align: center; } h3 { font-family: helvetica; color: white; text-align: center; } h4 { font-family: helvetica; color: white; text-align: center; } h5 { font-family: helvetica; color: #EF3413; text-align: center; }
p { font-family: helvetica; text-align: center; } </style>
</head> <head> <meta charset="utf-8" /><META HTTP-EQUIV = "Pragma" CONTENT="no-cache">
<title> Fyrlex Server DynMap | Login/Register</title>
<link rel="stylesheet" type="text/css" href="css/leaflet.css?_=${project.version}-${BUILD_NUMBER}" />
<link rel="stylesheet" type="text/css" href="css/standalone.css?_=${project.version}-${BUILD_NUMBER}" media="screen" />
<link rel="stylesheet" type="text/css" href="css/dynmap_style.css?_=${project.version}-${BUILD_NUMBER}" media="screen" />
<script type="text/javascript" src="standalone/config.js?_=${project.version}-${BUILD_NUMBER}"></script>
<script type="text/javascript" src="js/jquery-1.11.0.js?_=${project.version}-${BUILD_NUMBER}"></script>
<script type="text/javascript">
$(document).ready(function() {
var status = $('#status_message');
if(window.location.href.indexOf('error=loginfailed') >= 0)
$('<div/>').text('Login Failed ').appendTo(status);
if(window.location.href.indexOf('error=verifyfailed') >= 0)
$('<div/>').text('Password Verification Error ').appendTo(status);
if(window.location.href.indexOf('error=registerfailed') >= 0)
$('<div/>').text('Registration failed (invalid passcode) ').appendTo(status);
$('form')[0].setAttribute('action', config.url.login);
$('form')[1].setAttribute('action', config.url.register);
document.forms['login'].elements['j_username'].focus();
});
$(function(){
$('form[name=register]').submit(function(){
$.post($(this).attr('action'), $(this).serialize(), function(json) {
if(json.result == 'success')
window.location = 'index.html';
else
window.location = 'login.html?error=' + json.result;
}, 'json');
return false;
});
});
$(function(){
$('form[name=login]').submit(function(){
$.post($(this).attr('action'), $(this).serialize(), function(json) {
if(json.result == 'success')
window.location = 'index.html';
else
window.location = 'login.html?error=' + json.result;
}, 'json');
return false;
});
});
</script>
</head>
<body>
<div class='dynmaplogin'>
Fyrlex Server DynMap | Login
<div id="status_message" class="statusmessage"></div>
<FORM METHOD=POST name=login ACTION="up/login">
Enter your username and password:
| ||||
<FORM METHOD=POST name=register ACTION="up/register">
If you do not have an account you do not belong here! If you are an [ADMIN] on the Fyrlex server please contact a staff!Staff: Do not share this link to anyone!</form> |
this is the code when on the dynmap login.html (https://user-images.githubusercontent.com/31144090/32471280-74124a62-c32a-11e7-8548-97eeeebd4565.png)
im not talking about the background or whatever, its the table, notice the one from my desktop has a thicker outer border, the one from dynmap doesn’t have that. it doesn’t seem to work on it. it also redirects to this (https://user-images.githubusercontent.com/31144090/32473549-fba0686e-c335-11e7-8d51-97b887af4d02.png) or (https://user-images.githubusercontent.com/31144090/32473550-fbf05d56-c335-11e7-8f9c-3bf231a9a9b1.png) when a login is good or bad
any explanation?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:12
Top GitHub Comments
If you want to learn the basics of how the www works, including web-sites/servers/protocols/design/programming, you can start on the link below || go to school || use Google. https://www.tutorialspoint.com/web_developers_guide/web_basic_concepts.htm
You should seriously close this issue, because it’s NOT related to Dynmap. @smmmadden wasted precious time to tell you this in a ~216 words post. And you ask another NOT Dynmap related question.
Sorry for sounding rude but it’s intentional.
😃
where would the browser cache be located, and is that for why the login isnt working?