Add files via upload
This commit is contained in:
commit
f3c85e43f9
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,38 @@
|
|||
function $(elid) {
|
||||
return document.getElementById(elid);
|
||||
}
|
||||
|
||||
var cursor;
|
||||
window.onload = init;
|
||||
|
||||
function init() {
|
||||
cursor = $("cursor");
|
||||
cursor.style.left = "0px";
|
||||
}
|
||||
|
||||
function nl2br(txt) {
|
||||
return txt.replace(/\n/g, '');
|
||||
}
|
||||
|
||||
function typeIt(from, e) {
|
||||
e = e || window.event;
|
||||
var w = $("typer");
|
||||
var tw = from.value;
|
||||
if (!pw){
|
||||
w.innerHTML = nl2br(tw);
|
||||
}
|
||||
}
|
||||
|
||||
function moveIt(count, e) {
|
||||
e = e || window.event;
|
||||
var keycode = e.keyCode || e.which;
|
||||
if (keycode == 37 && parseInt(cursor.style.left) >= (0 - ((count - 1) * 10))) {
|
||||
cursor.style.left = parseInt(cursor.style.left) - 10 + "px";
|
||||
} else if (keycode == 39 && (parseInt(cursor.style.left) + 10) <= 0) {
|
||||
cursor.style.left = parseInt(cursor.style.left) + 10 + "px";
|
||||
}
|
||||
}
|
||||
|
||||
function alert(txt) {
|
||||
console.log(txt);
|
||||
}
|
|
@ -0,0 +1,170 @@
|
|||
var discord = "https://discord.com/users/AdilSadqi#6482";
|
||||
var instagram = "https://www.instagram.com/sadqi.adil";
|
||||
var twitter = "https://www.twitter.com/adilsadqi/";
|
||||
var password = "ascodes";
|
||||
var adil = "adil";
|
||||
var Adil = "Adil";
|
||||
var ADIL = "ADIL";
|
||||
var jaber = "jaber";
|
||||
var whatsapp = "https://wa.link/p8dhsa";
|
||||
var phone = "tel:+212624489471";
|
||||
var email = 'mailto:adil@asadqi.com';
|
||||
var website = 'https://win.asadqi.com';
|
||||
var cloud = "https://cloud.asadqi.com";
|
||||
var instagramjb = "https://www.instagram.com/sadqi.jpeg";
|
||||
var curl = '';
|
||||
|
||||
whois = [
|
||||
"<br>",
|
||||
"Hey, I'm Adil!👋",
|
||||
"Since 1998 I’ve start learning about computer and programing and on this page you will find all what i have learned in the past years until now",
|
||||
"And this Website created by me and I’ve name it Terminal because this is like my knowledge Terminal and to put all my experience on this page ",
|
||||
"And the purpose of building this site is just to let people know more about me and keep in touch with my Friends and with who i know and everyone interesting to contact me ",
|
||||
"with a simple design and new look website.",
|
||||
"And I’ve used to build this website HTML ",
|
||||
"PHP and CSS with some animation to keep it lightweight site.",
|
||||
"Please feel free to contact me if you have anything for me to say 😉",
|
||||
|
||||
"<br>"
|
||||
];
|
||||
|
||||
jb = [
|
||||
"<br>",
|
||||
"The first person who discovered this terminal!👋",
|
||||
"<br>"
|
||||
];
|
||||
|
||||
weather = [
|
||||
"<div class=\"color2\">",
|
||||
'<iframe async src="https://wttr.in/kenitra" scrolling="no" width="100%" height="585" frameborder="0" class="color2"></iframe>',
|
||||
|
||||
"<div>"
|
||||
];
|
||||
|
||||
|
||||
|
||||
update1 = [
|
||||
"<br>",
|
||||
"Checking for updates...",
|
||||
"Downloading update...",
|
||||
'<span style="color:#1976d2">==========> 10%</span>',
|
||||
'<span style="color:#1976d2">====================> 20%</span>',
|
||||
'<span style="color:#1976d2">==============================> 30%</span>',
|
||||
'<span style="color:#1976d2">========================================> 40%</span>',
|
||||
'<span style="color:#1976d2">==================================================> 50%</span>',
|
||||
'<span style="color:#1976d2">============================================================> 60%</span>',
|
||||
'<span style="color:#1976d2">======================================================================> 70%</span>',
|
||||
'<span style="color:#1976d2">================================================================================> 80%</span>',
|
||||
'<span style="color:#1976d2">==========================================================================================> 90%</span>',
|
||||
'<span style="color:#1976d2">====================================================================================================> 100%</span>',
|
||||
"Updating terminal...",
|
||||
"Finishing installation...",
|
||||
"Update complete!",
|
||||
"<br>"
|
||||
];
|
||||
|
||||
const updateElement = document.getElementById("update");
|
||||
|
||||
let i = 0;
|
||||
const intervalId = setInterval(() => {
|
||||
if (i >= update.length) {
|
||||
clearInterval(intervalId);
|
||||
} else {
|
||||
updateElement.innerHTML += update[i];
|
||||
i++;
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
whoami = [
|
||||
"<br>",
|
||||
"The paradox of “Who am I?” is: we never know, but, we constantly find out.",
|
||||
"<br>"
|
||||
];
|
||||
|
||||
social = [
|
||||
"<br>",
|
||||
|
||||
'discord <a href="' + discord + '" target="_blank">discord/adilsadqi' + '</a>',
|
||||
'instagram <a href="' + instagram + '" target="_blank">instagram/adilsadqi' + '</a>',
|
||||
'twitter <a href="' + twitter + '" target="_blank">twitter/adilsadqi' + '</a>',
|
||||
'whatsapp <a href="' + whatsapp + '" target="_blank">whatsapp/adilsadqi' + "</a>",
|
||||
'phone <a href="' + phone + '" target="_blank">phone/number' + "</a>",
|
||||
|
||||
|
||||
"<br>"
|
||||
];
|
||||
socialjb = [
|
||||
"<br>",
|
||||
|
||||
'instagram <a href="' + instagramjb + '" target="_blank">instagram/jabersadqi' + '</a>',
|
||||
|
||||
|
||||
"<br>"
|
||||
];
|
||||
secret = [
|
||||
"<br>",
|
||||
'<span class="command">sudo</span> Only use if you\'re admin',
|
||||
"<br>"
|
||||
];
|
||||
|
||||
projects = [
|
||||
"<br>",
|
||||
"Still Learning... But here is some projects i did in the past :",
|
||||
"ROUTER ON RASPBERRY PI, AUTOMATION ON RASPBERRY PI, CUSTOMIZE OS ON VM, SERVER CREATION ON RASPBERRY PI AND VM, BOTS CREATION, WEBSITE CREATION, CLOUD CREATION.",
|
||||
|
||||
"<br>"
|
||||
];
|
||||
|
||||
help = [
|
||||
"<br>",
|
||||
'<span class="command">whois</span> Who is Adil?',
|
||||
'<span class="command">whoami</span> Who are you?',
|
||||
'<span class="command">windows</span> Windows Sadqi',
|
||||
'<span class="command">social</span> Display social networks',
|
||||
'<span class="command">secret</span> Find the password',
|
||||
'<span class="command">projects</span> View coding projects',
|
||||
'<span class="command">history</span> View command history',
|
||||
'<span class="command">help</span> You obviously already know what this does',
|
||||
'<span class="command">email</span> Do not email me ;)',
|
||||
'<span class="command">clear</span> Clear terminal',
|
||||
'<span class="command">banner</span> Display the header',
|
||||
'<span class="command">update</span> Update terminal',
|
||||
"<br>",
|
||||
];
|
||||
|
||||
root = [
|
||||
"<br>",
|
||||
'<span class="command">close</span> Close this page',
|
||||
'<span class="command">exit</span> Exit from terminal',
|
||||
'<span class="command">history</span> View command history',
|
||||
'<span class="command">help</span> This is what you need if you get lost',
|
||||
'<span class="command">clear</span> Clear terminal',
|
||||
'<span class="command">version</span> Check teminal version',
|
||||
'<span class="command">sudo</span> Check it out',
|
||||
'<span class="command">creator</span> Author and creator of this terminal',
|
||||
'<span class="command">sadqi</span> Look for specific name in Sadqi family',
|
||||
'<span class="command">weather</span> Check local weather in realtime',
|
||||
"<br>",
|
||||
]
|
||||
|
||||
banner = [
|
||||
'<span class="index">Adil Sadqi Not A Corporation. No Rights reserved.</span>',
|
||||
|
||||
" ",
|
||||
|
||||
" █████╗ ██████╗ ██╗██╗ ███████╗ █████╗ ██████╗ ██████╗ ██╗",
|
||||
" ██╔══██╗██╔══██╗██║██║ ██╔════╝██╔══██╗██╔══██╗██╔═══██╗██║",
|
||||
" ███████║██║ ██║██║██║ ███████╗███████║██║ ██║██║ ██║██║",
|
||||
" ██╔══██║██║ ██║██║██║ ╚════██║██╔══██║██║ ██║██║▄▄ ██║██║",
|
||||
" ██║ ██║██████╔╝██║███████╗ ███████║██║ ██║██████╔╝╚██████╔╝██║",
|
||||
" ╚═╝ ╚═╝╚═════╝ ╚═╝╚══════╝ ╚══════╝╚═╝ ╚═╝╚═════╝ ╚══▀▀═╝ ╚═╝ ©",
|
||||
" ",
|
||||
|
||||
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",
|
||||
'<span class="color2">Welcome to my interactive web terminal.</span>',
|
||||
"<span class=\"color2\">For a list of available commands, type</span> <span class=\"command\">'help'</span><span class=\"color2\"><span class=\"color2\"> Or type </span> <span class=\"command\">'windows'</span><span class=\"color2\"><span class=\"color2\"> For Windows Version. </span></span>",
|
||||
];
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,345 @@
|
|||
var before = document.getElementById("before");
|
||||
var liner = document.getElementById("liner");
|
||||
var command = document.getElementById("typer");
|
||||
var textarea = document.getElementById("texter");
|
||||
var terminal = document.getElementById("terminal");
|
||||
|
||||
var git = 0;
|
||||
var pw = false;
|
||||
let pwd = false;
|
||||
var gt = 0;
|
||||
var wr = false;
|
||||
let wrd = false;
|
||||
let wrr = false;
|
||||
let wrdd = false;
|
||||
var commands = [];
|
||||
|
||||
|
||||
setTimeout(function() {
|
||||
loopLines(banner, "", 80);
|
||||
textarea.focus();
|
||||
}, 100);
|
||||
|
||||
window.addEventListener("keyup", enterKey);
|
||||
|
||||
console.log(
|
||||
"%cYou hacked my password!😠",
|
||||
"color: #04ff00; font-weight: bold; font-size: 24px;"
|
||||
);
|
||||
console.log("%cPassword: '" + password + "' - I wonder what it does?🤔", "color: grey");
|
||||
|
||||
|
||||
console.log(
|
||||
"%cYou hacked my password!😠",
|
||||
"color: #04ff00; font-weight: bold; font-size: 24px;"
|
||||
);
|
||||
console.log("%cPassword: '" + who + "' - I wonder what it does?🤔", "color: grey");
|
||||
|
||||
|
||||
//init
|
||||
textarea.value = "";
|
||||
command.innerHTML = textarea.value;
|
||||
|
||||
function enterKey(e) {
|
||||
if (e.keyCode == 181) {
|
||||
document.location.reload(true);
|
||||
}
|
||||
if (pw) {
|
||||
let et = "*";
|
||||
let w = textarea.value.length;
|
||||
command.innerHTML = et.repeat(w);
|
||||
if (textarea.value === password) {
|
||||
pwd = true;
|
||||
}
|
||||
if (pwd && e.keyCode == 13) {
|
||||
loopLines(secret, "color2 margin", 120);
|
||||
command.innerHTML = "";
|
||||
textarea.value = "";
|
||||
pwd = false;
|
||||
pw = false;
|
||||
liner.classList.remove("password");
|
||||
} else if (e.keyCode == 13) {
|
||||
addLine("Wrong password", "error", 0);
|
||||
command.innerHTML = "";
|
||||
textarea.value = "";
|
||||
pw = false;
|
||||
liner.classList.remove("password");
|
||||
}
|
||||
}
|
||||
if (wr) {
|
||||
// Set the command text to the value of the textarea
|
||||
command.innerHTML = textarea.value;
|
||||
|
||||
// Check if the textarea value matches any of the expected values
|
||||
if (textarea.value === adil || textarea.value === Adil || textarea.value === ADIL) {
|
||||
wrd = true;
|
||||
} else if (textarea.value === jaber) {
|
||||
wrdd = true;
|
||||
}
|
||||
|
||||
// If the textarea value matches, execute the appropriate function
|
||||
if (wrd && e.keyCode == 13) {
|
||||
loopLines(whois, social, "color2 margin", 120);
|
||||
loopLines(social, "color2 margin", 120);
|
||||
command.innerHTML = "";
|
||||
textarea.value = "";
|
||||
wrd = false;
|
||||
wr = false;
|
||||
liner.classList.remove("who");
|
||||
} else if (wrdd && e.keyCode == 13) {
|
||||
loopLines(jb, "color2 margin", 120);
|
||||
loopLines(socialjb, "color2 margin", 120);
|
||||
command.innerHTML = "";
|
||||
textarea.value = "";
|
||||
wrdd = false;
|
||||
wrr = false;
|
||||
liner.classList.remove("who");
|
||||
} else if (e.keyCode == 13) {
|
||||
// If the textarea value doesn't match, display an error message
|
||||
addLine("We don't know anything about this person yet", "error", 0);
|
||||
command.innerHTML = "";
|
||||
textarea.value = "";
|
||||
wrr = false;
|
||||
wr = false;
|
||||
liner.classList.remove("who");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
else {
|
||||
if (e.keyCode == 13) {
|
||||
commands.push(command.innerHTML);
|
||||
git = commands.length;
|
||||
addLine("visitor@asadqi.com:~$ " + command.innerHTML, "no-animation", 0);
|
||||
commander(command.innerHTML.toLowerCase());
|
||||
command.innerHTML = "";
|
||||
textarea.value = "";
|
||||
}
|
||||
|
||||
if (e.keyCode == 38 && git != 0) {
|
||||
git -= 1;
|
||||
textarea.value = commands[git];
|
||||
command.innerHTML = textarea.value;
|
||||
}
|
||||
if (e.keyCode == 40 && git != commands.length) {
|
||||
git += 1;
|
||||
if (commands[git] === undefined) {
|
||||
textarea.value = "";
|
||||
} else {
|
||||
textarea.value = commands[git];
|
||||
}
|
||||
command.innerHTML = textarea.value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function commander(cmd) {
|
||||
switch (cmd.toLowerCase()) {
|
||||
case "help":
|
||||
loopLines(help, "color2 margin", 80);
|
||||
break;
|
||||
case "menu":
|
||||
loopLines(help, "color2 margin", 80);
|
||||
break;
|
||||
case "ls":
|
||||
loopLines(help, "color2 margin", 80);
|
||||
break;
|
||||
case "root":
|
||||
loopLines(root, "color2 margin", 80);
|
||||
break;
|
||||
case "whois":
|
||||
loopLines(whois, "color2 margin", 80);
|
||||
break;
|
||||
case "adil":
|
||||
loopLines(whois, "color2 margin", 120);
|
||||
break;
|
||||
case "jaber":
|
||||
addLine("Jaber Sadqi...", "color2", 80);
|
||||
loopLines(socialjb, "color2 margin", 120);
|
||||
break;
|
||||
case "whoami":
|
||||
loopLines(whoami, "color2 margin", 80);
|
||||
break;
|
||||
case "cloud":
|
||||
addLine("Opening Cloud...", "color2", 80);
|
||||
newTab(cloud);
|
||||
break;
|
||||
case "youtube":
|
||||
addLine("Opening Youtube...", "color2", 80);
|
||||
setTimeout(function() {
|
||||
window.open('https://www.youtube.com');
|
||||
}, 1000);
|
||||
break;
|
||||
case "google":
|
||||
addLine("Opening Google...", "color2", 80);
|
||||
setTimeout(function() {
|
||||
window.open('https://www.google.com');
|
||||
}, 1000);
|
||||
break;
|
||||
case "update":
|
||||
addLine("Opening Updater...", "color2", 80);
|
||||
setTimeout(function() {
|
||||
var url = '/update';
|
||||
var win = window.open(url, '_self');
|
||||
if (win) {
|
||||
win.addEventListener('load', function() {
|
||||
win.document.documentElement.requestFullscreen();
|
||||
});
|
||||
}
|
||||
}, 1000);
|
||||
break;
|
||||
case "sudo":
|
||||
addLine("Oh no, you're not admin...", "color2", 80);
|
||||
addLine("---------------------------","color2", 80);
|
||||
loopLines(help, "color2 margin", 80);
|
||||
break;
|
||||
case "version":
|
||||
addLine("ASCODES v3.0.1", "color2", 80);
|
||||
setTimeout(function() {
|
||||
},800);
|
||||
break;
|
||||
case "creator":
|
||||
addLine("Adil Sadqi", "color2", 80);
|
||||
setTimeout(function() {
|
||||
},800);
|
||||
break;
|
||||
case "exit":
|
||||
addLine("Thank you for your visit. Goodbye!", "color2", 80);
|
||||
setTimeout(function() {
|
||||
window.open('','_parent','');
|
||||
window.setTimeout(function() {
|
||||
window.location.href = 'about:blank';
|
||||
window.close();
|
||||
}, 500);
|
||||
}, 2500);
|
||||
break;
|
||||
case "close":
|
||||
addLine("Thank you for your visit. Goodbye!", "color2", 80);
|
||||
setTimeout(function() {
|
||||
window.open('','_parent','');
|
||||
window.setTimeout(function() {
|
||||
window.location.href = 'about:blank';
|
||||
window.close();
|
||||
}, 500);
|
||||
}, 2500);
|
||||
break;
|
||||
case "update1":
|
||||
loopLines(update, "color2 margin", 1000);
|
||||
setTimeout(function() {
|
||||
location.reload();
|
||||
}, 17000);
|
||||
break;
|
||||
case "social":
|
||||
loopLines(social, "color2 margin", 80);
|
||||
break;
|
||||
case "secret":
|
||||
liner.classList.add("password");
|
||||
pw = true;
|
||||
break;
|
||||
case "projects":
|
||||
loopLines(projects, "color2 margin", 80);
|
||||
break;
|
||||
case "password":
|
||||
addLine("<span class=\"inherit\"> Lol! You're joking, right? You\'re gonna have to try harder than that!😂</span>", "error", 100);
|
||||
break;
|
||||
case "weather":
|
||||
loopLines(weather, "color2 margin", 10);
|
||||
break;
|
||||
case "sadqi":
|
||||
liner.classList.add("who");
|
||||
wr = true;
|
||||
wrr = true;
|
||||
break;
|
||||
case "history":
|
||||
addLine("<br>", "", 0);
|
||||
loopLines(commands, "color2", 80);
|
||||
addLine("<br>", "command", 80 * commands.length + 50);
|
||||
break;
|
||||
case "email":
|
||||
addLine('Opening mailto:<a href="mailto:adil@asadqi.com.com">adil@asadqi.com</a>...', "color2", 80);
|
||||
newTab(email);
|
||||
break;
|
||||
case "clear":
|
||||
setTimeout(function() {
|
||||
terminal.innerHTML = '<a id="before"></a>';
|
||||
before = document.getElementById("before");
|
||||
}, 1);
|
||||
break;
|
||||
case "banner":
|
||||
loopLines(banner, "", 80);
|
||||
break;
|
||||
// socials
|
||||
case "cloud":
|
||||
addLine("Opening Cloud...", "color2", 80);
|
||||
newTab(cloud);
|
||||
break;
|
||||
case "twitter":
|
||||
addLine("Opening Twitter...", "color2", 0);
|
||||
newTab(twitter);
|
||||
break;
|
||||
case "whatsapp":
|
||||
addLine("Opening Whatsapp...", "color2", 0);
|
||||
newTab(whatsapp);
|
||||
break;
|
||||
case "discord":
|
||||
addLine("Opening Discord...", "color2", 0);
|
||||
newTab(discord);
|
||||
break;
|
||||
case "instagram":
|
||||
addLine("Opening Instagram...", "color2", 0);
|
||||
newTab(instagram);
|
||||
break;
|
||||
case "phone":
|
||||
addLine("Opening Phone Number...", "color2", 0);
|
||||
newTab(phone);
|
||||
break;
|
||||
case "windows":
|
||||
addLine("Starting Windows Sadqi...", "color2", 0);
|
||||
setTimeout(() => {
|
||||
newTab(website);
|
||||
}, 2000);
|
||||
break;
|
||||
|
||||
case "curl":
|
||||
addLine("Opening Website...", "color2", 0);
|
||||
newTab(curl);
|
||||
break;
|
||||
default:
|
||||
addLine("<span class=\"inherit\">Command not found. For a list of commands, type <span class=\"command\">'help'</span>.</span>", "error", 100);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
function newTab(link) {
|
||||
setTimeout(function() {
|
||||
window.open(link, "_blank");
|
||||
}, 500);
|
||||
|
||||
}
|
||||
|
||||
function addLine(text, style, time) {
|
||||
var t = "";
|
||||
for (let i = 0; i < text.length; i++) {
|
||||
if (text.charAt(i) == " " && text.charAt(i + 1) == " ") {
|
||||
t += " ";
|
||||
i++;
|
||||
} else {
|
||||
t += text.charAt(i);
|
||||
}
|
||||
}
|
||||
setTimeout(function() {
|
||||
var next = document.createElement("p");
|
||||
next.innerHTML = t;
|
||||
next.className = style;
|
||||
|
||||
before.parentNode.insertBefore(next, before);
|
||||
|
||||
window.scrollTo(0, document.body.offsetHeight);
|
||||
}, time);
|
||||
}
|
||||
|
||||
function loopLines(name, style, time) {
|
||||
name.forEach(function(item, index) {
|
||||
addLine(item, style, index * time);
|
||||
});
|
||||
}
|
|
@ -0,0 +1,134 @@
|
|||
body {
|
||||
margin: 0;
|
||||
padding: 15px 20px;
|
||||
min-height: 99%;
|
||||
width: 100%;
|
||||
min-width: 550px;
|
||||
color: #519975;
|
||||
background: #211D1B;
|
||||
font-family: cursor, monospace;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
::selection {
|
||||
color: #211830;
|
||||
background-color: #519975;
|
||||
}
|
||||
::-moz-selection {
|
||||
color: #211830;
|
||||
background-color: #519975;
|
||||
}
|
||||
textarea {
|
||||
left: -1000px;
|
||||
position: absolute;
|
||||
}
|
||||
b {
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
}
|
||||
/* Cursor Start */
|
||||
.cursor {
|
||||
font-size: 12px;
|
||||
color: #73ABAD;
|
||||
background-color: #73ABAD;
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
height: 1.5em;
|
||||
width: 10px;
|
||||
max-width: 10px;
|
||||
transform: translateY(4px);
|
||||
overflow: hidden;
|
||||
text-indent: -5px;
|
||||
display: inline-block;
|
||||
text-decoration: blink;
|
||||
animation: blinker 1s linear infinite;
|
||||
}
|
||||
@keyframes blinker {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
#command {
|
||||
cursor: text;
|
||||
height: 50px;
|
||||
color: #73ABAD;
|
||||
}
|
||||
#liner {
|
||||
line-height: 1.3em;
|
||||
margin-top: -2px;
|
||||
animation: show 0.5s ease forwards;
|
||||
animation-delay: 1.2s;
|
||||
opacity: 0;
|
||||
}
|
||||
#liner::before {
|
||||
color: #519975;
|
||||
content: "visitor@asadqi.com:~$";
|
||||
}
|
||||
#liner.password::before {
|
||||
content: "Password:";
|
||||
}
|
||||
#liner.who::before {
|
||||
content: "Please specify a name:";
|
||||
}
|
||||
@keyframes show {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
/* Cursor End */
|
||||
p {
|
||||
display: block;
|
||||
line-height: 1.3em;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
margin: 0;
|
||||
letter-spacing: 0.05em;
|
||||
animation: typing 0.5s steps(30, end);
|
||||
}
|
||||
.no-animation {
|
||||
animation: typing 0 steps(30, end);
|
||||
}
|
||||
.margin {
|
||||
margin-left: 20px;
|
||||
}
|
||||
@keyframes typing {
|
||||
from {
|
||||
width: 0;
|
||||
}
|
||||
to {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.index {
|
||||
color: #DCDCCC;
|
||||
}
|
||||
.color2 {
|
||||
color: #B89076;
|
||||
}
|
||||
.command {
|
||||
color: #73ABAD;
|
||||
text-shadow: 0 0 5px #73ABAD;
|
||||
}
|
||||
.error {
|
||||
color: #B89076;
|
||||
}
|
||||
.white {
|
||||
color: #fff;
|
||||
}
|
||||
.inherit,
|
||||
a {
|
||||
color: #9C8394;
|
||||
}
|
||||
a {
|
||||
text-decoration: inherit;
|
||||
}
|
||||
a:hover {
|
||||
background: #73ABAD;
|
||||
color: #211830;
|
||||
}
|
||||
a:focus {
|
||||
outline: 0;
|
||||
}
|
|
@ -0,0 +1,238 @@
|
|||
<!DOCTYPE html>
|
||||
<html data-arp-injected="true"><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<title>Sadqi-OS Update</title>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<script src="./update/jquery-latest.js.download"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
$(document).keyup(function(e) {
|
||||
switch(e.keyCode) {
|
||||
case 13 : document.getElementById("bsod").style.display="none";document.getElementById("black").style.display="block"; setTimeout('document.getElementById("bsod").style.display="block";', 1500); break;
|
||||
case 8 : document.getElementById("bsod").style.display="none";document.getElementById("black").style.display="block"; setTimeout('document.getElementById("bsod").style.display="block";', 1800); break;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
setTimeout( function codeAddress() {
|
||||
document.getElementById("black").style.display="block";setTimeout('document.getElementById("black").style.display="none";', 1000);
|
||||
},17000)
|
||||
window.onload = codeAddress;
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
setTimeout( function codeAddress() {
|
||||
document.getElementById("black").style.display="block";setTimeout('document.getElementById("black").style.display="none";', 2000);
|
||||
},35000)
|
||||
window.onload = codeAddress;
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
setTimeout( function codeAddress() {
|
||||
document.getElementById("black").style.display="block";setTimeout('document.getElementById("black").style.display="none";', 1300);
|
||||
},135000)
|
||||
window.onload = codeAddress;
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var message="Sorry, right-click has been disabled";
|
||||
function clickIE() {if (document.all) {(message);return false;}}
|
||||
function clickNS(e) {if
|
||||
(document.layers||(document.getElementById&&!document.all)) {
|
||||
if (e.which==2||e.which==3) {(message);return false;}}}
|
||||
if (document.layers)
|
||||
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
|
||||
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
|
||||
document.oncontextmenu=new Function("return false")
|
||||
// -->
|
||||
</script>
|
||||
<script>
|
||||
|
||||
|
||||
var count=0;
|
||||
var stage=1;
|
||||
var stage2=3;
|
||||
var counter=setInterval(timer, 14800); //1000 will run it every 1 second
|
||||
var ref="Configuring updates";
|
||||
|
||||
function timer()
|
||||
{
|
||||
count=count+1;
|
||||
if (count <= 0)
|
||||
{
|
||||
clearInterval(counter);
|
||||
return;
|
||||
}
|
||||
|
||||
document.getElementById("timer").innerHTML=count +'%';
|
||||
|
||||
|
||||
|
||||
if (count > 99)
|
||||
{
|
||||
stage=stage+1;
|
||||
document.getElementById("stage").innerHTML=stage +'';
|
||||
count=0;
|
||||
return;
|
||||
}
|
||||
|
||||
if (stage > 3)
|
||||
{
|
||||
stage2=68;
|
||||
ref="Installing the Matrix";
|
||||
document.getElementById("ref").innerHTML=ref +'';
|
||||
document.getElementById("stage2").innerHTML=stage2 +'';
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
<style>
|
||||
|
||||
body {
|
||||
|
||||
background: #000 no-repeat center center fixed;
|
||||
user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
vertical-align:middle;
|
||||
text-align:center;
|
||||
z-index: -1;
|
||||
margin:0;
|
||||
font-family:Consolas;
|
||||
padding:0;
|
||||
cursor: url(http://fediafedia.com/fakeupdate.net/assets/img/gQyFbtU.png), auto;
|
||||
|
||||
}
|
||||
|
||||
.CT {
|
||||
|
||||
vertical-align:middle;
|
||||
position: absolute;
|
||||
top: 60%;
|
||||
height: 70px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
display:block;
|
||||
width:520px;
|
||||
margin-top: -5%;
|
||||
font-family:Tahoma, Arial;
|
||||
font-size:20px;
|
||||
color:#fff;
|
||||
font-weight:normal;
|
||||
text-align:right;
|
||||
user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;
|
||||
|
||||
}
|
||||
|
||||
.image_block {
|
||||
|
||||
|
||||
position: absolute;
|
||||
bottom: 50px;
|
||||
left: 50%;
|
||||
width: 50%;
|
||||
margin: -5% 0 0 -25%;
|
||||
|
||||
|
||||
}
|
||||
p {
|
||||
|
||||
display:block;
|
||||
float:middle;
|
||||
text-align:right;
|
||||
width:100%;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.centeragain {
|
||||
|
||||
width:520px;
|
||||
margin:0px auto;
|
||||
text-align:left;
|
||||
|
||||
|
||||
|
||||
}
|
||||
.messageBox {
|
||||
display:block;
|
||||
color:#67A2E6;
|
||||
font-family:Segoe UI, Arial;
|
||||
font-size:20px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
text-align:right;
|
||||
user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;
|
||||
z-index:999; }
|
||||
|
||||
#black {
|
||||
display:none;
|
||||
}
|
||||
|
||||
|
||||
#bsod {
|
||||
display:none;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index:999;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
#myImage {
|
||||
float:left;
|
||||
padding:20px;
|
||||
}
|
||||
|
||||
#myImage2 {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index:998;
|
||||
height:100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="width:100%;height:100%;background:black;position:fixed;">
|
||||
<span style="color:white;"><br>Sadqi GNU/Linux 3.0</span>
|
||||
<div style="font-size:16px;position:fixed;left:50px;top:20%;text-align:left;">
|
||||
<span style="color:#d589e6;">Automated install (WILL ERASE DISK!)</span><br>
|
||||
<span style="color:white;">Expert Install</span><br>
|
||||
<span style="color:white;">Progress <a id="timer">0%</a></span>
|
||||
</div>
|
||||
<div style="position:fixed;left:50px;bottom:10%;text-align:left;">
|
||||
<span style="color:grey;">Enter: Pause Installation</span><br>
|
||||
<span style="color:grey;">E: Edit Selection</span><br>
|
||||
</div>
|
||||
<div style="position:fixed;left:350px;bottom:10%;text-align:left;z-index:1;">
|
||||
<span style="color:grey;">C: GRUB Command line</span><br>
|
||||
</div>
|
||||
<img draggable="false" src="./update/UHjixmA.png" ondragstart="return false;" style=" margin: auto;
|
||||
position: absolute;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;
|
||||
top: 0; left: 0; bottom: 0; right: 0;z-index:-1;">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="black"><img id="myImage2" src="./update/QOBYXA3.png"></div><br>
|
||||
<div id="bsod"><img id="myImage" src="./update/boot.png"></div><br>
|
||||
|
||||
|
||||
</body></html>
|
Binary file not shown.
After Width: | Height: | Size: 466 B |
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue