NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

function manage(txt) {
var bt = document.getElementById('btSubmit');

if (txt.value != '') {
bt.disabled = false;
}
else {
bt.disabled = true;
}
}


// login



function login(loginForm) {


var uname = document.getElementById("email").value;
var pwd = document.getElementById("pwd1").value;
var filter = /^([a-zA-Z0-9_.-])+([a-zA-Z0-9]{2,4})+$/;
// var filter1 = /[^A-Za-z]w{7,14}$/;
var filter1 = /^(?!.*s)(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[~`!@#$%^&*()--+={}[]|\:;"'<>,.?/_₹]).{7,16}$/;

if (uname == '') {
alert("please enter user name.");
}
else if (pwd == '') {
alert("enter the password");
}
else if (!filter.test(uname)) {
alert("Enter valid username.");
}
else if (pwd.length <= 7) {
alert("Password min length is 7.");
}
else if (!filter1.test(pwd)) {
alert("Password should contain atleast 1 capital case , 1 small case and 1 special character.");
}
else {
alert('Thank You for Login & You are Redirecting to dashboard');



// document.write('please wait...<br>Redirecting to dashboard Page..');
// window.location="dashboard.html";
var welcome;
var date = new Date();
var hour = date.getHours();
var minute = date.getMinutes();
var second = date.getSeconds();
if (minute < 10) {
minute = "0" + minute;
}
if (second < 10) {
second = "0" + second;
}
if (hour < 12) {
welcome = "Good Morning";
} else if (hour < 16) {
welcome = "Good Afternoon";
} else {
welcome = "Good Evening";
}

var email=document.getElementById("email").value;


document.write(`<p id="jstext" >` + "<font color='black' >" + welcome + " " + email + " </font>" )




document.write("<br>" + hour + ":" + minute + ":" + second);



document.write(`<html><body>


<nav style="display:flex;" class="navbar navbar-expand-sm navbar-dark" style="height: 90px;">
<h1 class="title" >Logo</h1>



<a href="dashboard.html" onClick="login(loginForm); " style="margin-right:60px; margin-top: 40px; margin-left: 40px; text-decoration: none;">Dashboard</a>
<a href="profile.html" onClick="login(loginForm); " style="text-decoration: none; margin-top: 40px; " >Profile</a>

<button style="background-color:red; height: 20px; margin-top: 40px; margin-left: 800px; " value="logout" onClick="next(); ">
Logout
</button>

</nav>

<br/>


<button class="mybtn fas fa-list" onclick="Button(0); List();"><span> list</span></button>
<button class="mybtn Active fas fa-th-large" onclick="Button(1); Grid();"><span> grid</span></button>

<ul id="item">
<li class="myItem">
<tr>
<td class="btn-light">Mounika</td>&nbsp;
<td class="btn-light">[email protected]</td>&nbsp;
<td class="btn-light">8742506164</td>&nbsp;
<td class="btn-light">crow</td>&nbsp;

</tr>
</li>
<li class="myItem">
<tr>
<td class="btn-light">Faheem</td>&nbsp;
<td class="btn-light">[email protected]</td>&nbsp;
<td class="btn-light">9642506164</td>&nbsp;
<td class="btn-light">hero</td>&nbsp;

</tr>
</li>
<li class="myItem">
<tr>
<td class="btn-light">Sheru</td>&nbsp;
<td class="btn-light">[email protected]</td>&nbsp;
<td class="btn-light">9642143164</td>&nbsp;
<td class="btn-light">cat</td>&nbsp;

</tr>
</li>





</ul>



<style>

.navbar {
background: linear-gradient(90deg,
rgb(163, 128, 218) 0%,
rgb(219, 156, 164) 100%);

}
.title {
margin-left: 50px;
color: #fff;
}
h1 {
font-family: cursive;
font-size: xx-large;
}

#jstext {
position:absolute;
left:72%;
top:20px;
font-size: 20px;
}

body{
text-align:start;
margin: 0;
font-family: 'Open Sans', sans-serif;
/* padding: 30px; */
background-repeat: no-repeat;
background-attachment: fixed;
background-image:
linear-gradient(
-160deg,
rgb(231, 175, 175),
rgb(250, 179, 179),
rgb(146, 224, 185)
)
;
}
span{
font-family: 'Open Sans', sans-serif;
}
.comment{
color: #fff;
}
.mybtn{
font-family: 'Open Sans', sans-serif;
padding: 10px 30px;
text-transform: uppercase;
border: none;
background-color: #eee;
border-radius: 5px;
outline: none;
}
.mybtn:hover{
background-color: #aaa;
}
.Active
,.Active:hover{
color: #fff;
background-color: #333;
border: 2px solid rgb(43, 255, 0);
}

#item {
margin-left: -40px;
list-style: none;
display: grid;
grid-template-columns:
repeat(auto-fit,minmax(15rem,1fr))
;
grid-gap: 0.6rem;
}
.myItem{
padding: 10px 20px;
background-image:
linear-gradient(
160deg,
rgb(237, 243, 147),
rgb(183, 241, 156),
rgb(252, 155, 155)
)
;
}
.myItem:hover{
box-shadow: 0px 5px 10px 5px rgba(0,0,0,0.5);
}







`)


document.write('</style></body></html>')



}


}


     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.