Skip to content

Commit

Permalink
update, config, privacy
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymkt committed Mar 13, 2024
1 parent d57aea0 commit de30533
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
14 changes: 10 additions & 4 deletions config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
<body>
<script>navstart();</script>
<h1 id="mainc">site config</h1>
<p>here you can change the preferences for the site.</p>

<form>
<fieldset>
<legend>time format</legend>
<h2>time format</h2>
<legend><h2>time format</h2></legend>
<p>the time format is the format that will be used to display the date and time as you can find at the top of any page.</p>
<p id="timeformat"></p>
<label for="timeformatinp">choose time format</label>
<select name="labeltf" id="timeformatinp" placeholder="choose time format" label="choose time format" value="choose">
Expand All @@ -28,8 +29,8 @@ <h2>time format</h2>
</select>
</fieldset>
<fieldset>
<legend>visiter name for the site</legend>
<h2>visiter name</h2>
<legend><h2>visiter name for the site</h2></legend>
<p>the visiter's name is the name that will be used in name calling, such as in privacy policy section of greetings message at the top of any page.</p>
<p id="visitname"></p>
<label for="visitnameinp">enter your name that will be used on the site</label>
<input id="visitnameinp" type="text" placeholder="enter your name to use"></input>
Expand Down Expand Up @@ -76,6 +77,11 @@ <h2>visiter name</h2>
}//end.function
function removeallcf()
{
if(!confirm("are you sure you want to remove all data saved on this site? this cannot be undone"))
{
alert("removal canceled");
return;
}
localStorage.clear();
startform();
var msg="complete";
Expand Down
7 changes: 2 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@
<script>navstart();</script>
<div class="container">
<h1 id="mainc">welcome</h1>
<script>
var wp=document.createElement("p");
wp.textContent="hello "+get_storage("visitname","visiter")+", thanks for stopping bye! I hope my website will give you useful contents and creativities. have a look around!";
document.body.appendChild(wp);
</script>
<p id="welcome"></p>
<script>document.getElementById("welcome").textContent="hello "+get_storage("visitname","visiter")+", thanks for stopping bye! I hope my website will give you useful contents and creativities. have a look around!";</script>
<p>the navigation menu is located at the top. the footer section is located below. in the footer you'll found some links, including to my social profiles and other useful links.</p>

</div>
Expand Down
1 change: 1 addition & 0 deletions privacy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ <h2>Retention of Information</h2>
<p>I retain your personal information for as long as necessary to fulfill the purposes for which it was collected, unless a longer retention period is required or permitted by law.</p>

<p>You have the right to access, correct, and delete your personal information that I have collected. You may also request that I restrict or limit the processing of your personal information or object to my processing of your personal information. To exercise these rights, please contact me using the information in the contact page that is found in footer.</p>
<p>some rights can also be customized within the site config section that is found at the very top of any page within the site. most of things, such as your name for the site, format for time display, are saved in local storage of your browser and it is thus they are not shared.</p>

<h2>Changes to this Policy</h2>
<p>I may update this privacy policy from time to time. The updated policy will be posted on telegram channels, and I encourage you to review it periodically.</p>
Expand Down
4 changes: 2 additions & 2 deletions projects/games/blackjack/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<h1 id="mainc">blackjack</h1>
<p>Blackjack, in its simplified version, exclusively involves numbered cards from 1 to 10, excluding face cards and suits. The goal remains the same: achieve a total card value of 21 without surpassing it. Players start with two cards and decide whether to 'hit' for more cards or 'stand' to maintain their current total. numbered cards retain their face value. Strategy and calculated decisions drive this streamlined iteration of the classic game, focusing solely on numbers in pursuit of the winning hand.</p>
<p>this game is developed in NGT(New Game Toolkit) and has been opened source on github. you may also contribute on github.</p>
<p><a href="https://github.com/harrymkt/blackjack-NGT">open on github</a></p>
<p><a target="_blank" href="https://github.com/harrymkt/blackjack-NGT">open on github</a></p>

<h2>download</h2>
<script>
Expand Down Expand Up @@ -45,7 +45,7 @@ <h2>download</h2>
// Append the paragraph element to the body or any other target element
document.body.appendChild(downloadParagraph);
</script>
<p><a href="https://github.com/harrymkt/blackjack-NGT">open on github</a></p>
<p><a target="_blank" href="https://github.com/harrymkt/blackjack-NGT">open on github</a></p>

<script>addfooter();</script>
</body>
Expand Down
2 changes: 2 additions & 0 deletions test locally.url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[internetshortcut]
url=http://localhost:8000

0 comments on commit de30533

Please sign in to comment.