NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<!DOCTYPE html>
<html>
<head>
<title>NMNP SPA UI</title>
<style>
body {
margin: 0;
padding: 0;
display: flex;
}

#menu {
width: 200px;
background: #333;
color: #fff;
transition: transform 0.3s ease;
overflow: hidden;
}

#menu ul {
list-style: none;
padding: 0;
margin: 50px 0 0 0; /* Adjust the top margin here */
}

#menu li {
padding: 10px;
}

#menu li a {
display: block;
text-decoration: none;
color: #fff;
padding: 10px;
transition: background-color 0.3s ease;
}

#menu li a:hover {
background-color: #555;
}

#content {
flex: 1;
background: #222;
padding: 20px;
height: calc(100vh - 40px);
transition: margin-left 0.3s ease;
overflow-y: scroll; /* Add this line to enable vertical scrolling */
}

#pageFrame {
width: 100%;
height: 100%;
border: none;
}

#defaultMessage {
font-size: 18px;
text-align: center;
margin-top: 100px;
color: #999;
}

#defaultLoggedMessage {
font-size: 18px;
text-align: center;
margin-top: 10px;
color: #999;
}

.defaultLoggedMessage {
font-size: 18px;
text-align: center;
margin-top: 10px;
color: #999;
}

.defaultMessage {
font-size: 18px;
text-align: center;
margin-top: 100px;
color: #999;
}

#toggleMenuBtn {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top: 10px;
left: 10px;
width: 40px;
height: 40px;
background: #555;
color: #fff;
border: none;
cursor: pointer;
z-index: 9999;
}

.menu-hidden #menu {
transform: translateX(-200px);
}

.menu-hidden #content {
margin-left: 0;
}
</style>
</head>
<body>
<button id="toggleMenuBtn" onclick="toggleMenu()">&#9776;</button>
<div id="menu" id="toggleMenuBtn" class="menu-hidden">
<ul>
<li><a href="#" onclick="redirectToPage('../terminal.html')">Terminal UI</a></li>
<li><a href="#" onclick="loadPage('page1.html')">Gsm</a></li>
<li><a href="#" onclick="loadPage('page2.html')">101M</a></li>
<li><a href="#" onclick="loadPageAndRefresh('page3.html')">Exit</a></li>
</ul>
</div>

<div id="content">
<div id="defaultMessage">No Masters No Pastors</div>
<div id="defaultMessage">Logged Account:</div>
<h1 id="myAco" class="defaultLoggedMessage" ></h1>
<div id="defaultMessage">Welcome To The NMNP Panel. Please select data from the menu</div>
<iframe id="pageFrame" src=""></iframe>
</div>

<script>
var lAc = localStorage.getItem("lAc");

document.getElementById("myAco").innerHTML = lAc;

var toggleMenuBtn = document.getElementById('toggleMenuBtn');
var menu = document.getElementById('menu');
var content = document.getElementById('content');

function toggleMenu() {
menu.classList.toggle('menu-hidden');
content.style.marginLeft = menu.classList.contains('menu-hidden') ? '0' : '-200px';
}

function loadPage(page) {
if (page === 'terminal.html') {
redirectToPage('../terminal.html');
} else {
document.getElementById('defaultMessage').style.display = 'none';
document.getElementById('pageFrame').src = page;
}

if (page === 'page3.html') {
loadPageAndRefresh(page);
}
}

function redirectToPage(page) {
window.location.href = page;
}

function loadPageAndRefresh(page) {
var lAc = 0;
localStorage.setItem('lAc', lAc);
window.location.href = page;
setTimeout(() => {
window.location.reload();
}, 500);
}
</script>
<script src="sc.js"></script>
</body>
</html>
     
 
what is notes.io
 

Notes is a web-based application for online 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 14 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.