question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(sorry about the multiple tickets) Html question

See original GitHub issue

here 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:

Username:
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>
</div> </body> </html> ` and that displays as this when i put it in a .html doc on my desktop (https://user-images.githubusercontent.com/31144090/32471263-5aa52108-c32a-11e7-81f0-8134904bb671.png)

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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:12

github_iconTop GitHub Comments

2reactions
Psy-Viruscommented, Nov 7, 2017

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.

😃

1reaction
Fyrlexcommented, Nov 7, 2017

where would the browser cache be located, and is that for why the login isnt working?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apology Email Templates (Multiple Formats) - LiveAgent
Here are 10 apology letter templates that can serve as a prompt for different situations in which you'd need to apologize to your...
Read more >
Customizing your templates for email notifications
Tip: If you have set up multiple brands, check out this tip How to structure your email template to use custom HTML layouts...
Read more >
Ticketmaster apologizes to Taylor Swift and her fans for ... - CNN
“We want to apologize to Taylor and all of her fans — especially those who had a terrible experience trying to purchase tickets,”...
Read more >
Solutions - Chapter 7 - Python Crash Course by ehmatthes
7-5: Movie Tickets​​ If a person is under the age of 3, the ticket is free; if they are between 3 and 12,...
Read more >
Apologize For Providing Incorrect or Incomplete Information ...
1, Begin with an apology that refers to the offense. 2, Mention any specific steps taken to correct the problem, if applicable.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found