added 8 template's
This commit is contained in:
205
public/componets/others/10_other.html
Normal file
205
public/componets/others/10_other.html
Normal file
@@ -0,0 +1,205 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="./../../../dist/tailshape.css">
|
||||
<link rel="stylesheet" href="https://demos.creative-tim.com/notus-js/assets/vendor/@fortawesome/fontawesome-free/css/all.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.8.2/dist/alpine.min.js" defer></script>
|
||||
<title>Other 10 (notification 4) </title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
|
||||
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
|
||||
d
|
||||
</button>
|
||||
|
||||
|
||||
<!-- other 10 start -->
|
||||
<section class="section_divider">
|
||||
<div>Other 10 (notification 4)</div>
|
||||
</section>
|
||||
<!-- notification 4 -->
|
||||
|
||||
<!-- notificatoin box 1 -->
|
||||
<div class="shadow-lg rounded-lg bg-white mx-auto m-8 p-4 w-80 ">
|
||||
<div class="text-sm pb-2">
|
||||
Notification Title
|
||||
<span class="float-right">
|
||||
<svg
|
||||
class="fill-current text-gray-600"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
width="22"
|
||||
height="22"
|
||||
>
|
||||
<path
|
||||
class="heroicon-ui"
|
||||
d="M16.24 14.83a1 1 0 0 1-1.41 1.41L12 13.41l-2.83 2.83a1 1 0 0 1-1.41-1.41L10.59 12 7.76 9.17a1 1 0 0 1 1.41-1.41L12 10.59l2.83-2.83a1 1 0 0 1 1.41 1.41L13.41 12l2.83 2.83z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
<div class="text-sm text-gray-600 tracking-tight ">
|
||||
I will never close automatically. This is a purposely very very long
|
||||
description that has many many characters and words.
|
||||
</div>
|
||||
</div>
|
||||
<!-- notificatoin box 2 -->
|
||||
<div class="shadow-lg rounded-lg bg-white mx-auto m-8 p-4 w-80 flex">
|
||||
<div class="pr-2">
|
||||
<svg
|
||||
class="fill-current text-green-600"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
width="22"
|
||||
height="22"
|
||||
>
|
||||
<path
|
||||
class="heroicon-ui"
|
||||
d="M12 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-3.54-4.46a1 1 0 0 1 1.42-1.42 3 3 0 0 0 4.24 0 1 1 0 0 1 1.42 1.42 5 5 0 0 1-7.08 0zM9 11a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm6 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<div class="text-sm pb-2">
|
||||
Notification Title
|
||||
<span class="float-right">
|
||||
<svg
|
||||
class="fill-current text-gray-600"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
width="22"
|
||||
height="22"
|
||||
>
|
||||
<path
|
||||
class="heroicon-ui"
|
||||
d="M16.24 14.83a1 1 0 0 1-1.41 1.41L12 13.41l-2.83 2.83a1 1 0 0 1-1.41-1.41L10.59 12 7.76 9.17a1 1 0 0 1 1.41-1.41L12 10.59l2.83-2.83a1 1 0 0 1 1.41 1.41L13.41 12l2.83 2.83z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
<div class="text-sm text-gray-600 tracking-tight ">
|
||||
I will never close automatically. This is a purposely very very long
|
||||
description that has many many characters and words.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- notificatoin box 3 -->
|
||||
<div class="shadow-lg rounded-lg bg-white mx-auto m-8 p-4 w-80 flex">
|
||||
<div class="pr-2">
|
||||
<svg
|
||||
class="fill-current text-red-600"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
width="24"
|
||||
height="24"
|
||||
>
|
||||
<path
|
||||
class="heroicon-ui"
|
||||
d="M12 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-3.54-4.54a5 5 0 0 1 7.08 0 1 1 0 0 1-1.42 1.42 3 3 0 0 0-4.24 0 1 1 0 0 1-1.42-1.42zM9 11a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm6 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<div class="text-sm pb-2">
|
||||
Notification Title
|
||||
<span class="float-right">
|
||||
<svg
|
||||
class="fill-current text-gray-600"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
width="22"
|
||||
height="22"
|
||||
>
|
||||
<path
|
||||
class="heroicon-ui"
|
||||
d="M16.24 14.83a1 1 0 0 1-1.41 1.41L12 13.41l-2.83 2.83a1 1 0 0 1-1.41-1.41L10.59 12 7.76 9.17a1 1 0 0 1 1.41-1.41L12 10.59l2.83-2.83a1 1 0 0 1 1.41 1.41L13.41 12l2.83 2.83z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
<div class="text-sm text-gray-600 tracking-tight ">
|
||||
I will never close automatically. This is a purposely very very long
|
||||
description that has many many characters and words.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- notificatoin box 4 -->
|
||||
<div class="shadow-lg rounded-lg bg-white mx-auto m-8 p-4 w-80 flex">
|
||||
<div class="pr-2">
|
||||
<svg
|
||||
class="fill-current text-orange-600"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
width="24"
|
||||
height="24"
|
||||
>
|
||||
<path
|
||||
class="heroicon-ui"
|
||||
d="M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm0 9a1 1 0 0 1-1-1V8a1 1 0 0 1 2 0v4a1 1 0 0 1-1 1zm0 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<div class="text-sm pb-2">
|
||||
Notification Title
|
||||
<span class="float-right">
|
||||
<svg
|
||||
class="fill-current text-gray-600"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
width="22"
|
||||
height="22"
|
||||
>
|
||||
<path
|
||||
class="heroicon-ui"
|
||||
d="M16.24 14.83a1 1 0 0 1-1.41 1.41L12 13.41l-2.83 2.83a1 1 0 0 1-1.41-1.41L10.59 12 7.76 9.17a1 1 0 0 1 1.41-1.41L12 10.59l2.83-2.83a1 1 0 0 1 1.41 1.41L13.41 12l2.83 2.83z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
<div class="text-sm text-gray-600 tracking-tight ">
|
||||
I will never close automatically. This is a purposely very very long
|
||||
description that has many many characters and words.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- notification 4 -->
|
||||
<!-- other 10 end -->
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- start of script section -->
|
||||
<script type="text/javascript">
|
||||
let toogler = document.getElementById("dark_mood_toogler");
|
||||
let doc_html_el = document.getElementsByTagName('html')[0];
|
||||
|
||||
doc_html_el.addEventListener('keyup',(e)=>{
|
||||
// key 220 is the backward slash , need to press ctrl+ \ to activate or deactivate darkmode
|
||||
if(e.ctrlKey && e.keyCode =='220'){
|
||||
doc_html_el.className =='' ? doc_html_el.classList.add('dark'):doc_html_el.classList.remove('dark');
|
||||
|
||||
}
|
||||
})
|
||||
doc_html_el.addEventListener('keyup',(e)=>{
|
||||
// key 191 is the forward slash , need to press ctrl+ / to show or hide the darkmode button
|
||||
if(e.ctrlKey && e.keyCode =='191'){
|
||||
toogler.style.display =='block'? toogler.style.display = 'none':toogler.style.display ='block';
|
||||
|
||||
}
|
||||
})
|
||||
toogler.addEventListener('click',()=>{
|
||||
doc_html_el.className =='' ? doc_html_el.classList.add('dark'):doc_html_el.classList.remove('dark');
|
||||
console.log(doc_html_el.className);
|
||||
})
|
||||
</script>
|
||||
<!-- end of script section -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user