From b0bfba53b62e84402f6da4226725f4eac745747c Mon Sep 17 00:00:00 2001 From: gtlsgamr Date: Fri, 12 Aug 2022 21:05:43 +0530 Subject: [PATCH] updated roadmap, added css, minor fix to register page --- funds.php | 5 +++- includes/header.php | 6 ++++- index.php | 51 ++++++++++++++++++++++++++---------- register.php | 10 +++---- roadmap.php | 18 +++++++++++++ static/css/writ.css | 63 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 133 insertions(+), 20 deletions(-) create mode 100644 roadmap.php diff --git a/funds.php b/funds.php index b5afba4..7da014d 100644 --- a/funds.php +++ b/funds.php @@ -1,5 +1,8 @@ - +
+

Funding

You can support us by providing small amount of chanda (Donation). It doesnt matter how much or little you donate because we know not everyone is paid employee or has a job.

diff --git a/includes/header.php b/includes/header.php index 0fe6ed9..1d026d6 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,16 +1,20 @@ + + ~varsh<?php - $pagetitle ?> +

~Tildevarsh

diff --git a/index.php b/index.php index a4c17e4..c67c9a0 100644 --- a/index.php +++ b/index.php @@ -5,24 +5,49 @@ Everyone is connected via the internet, and yet something is lacking. Something that we all know isn't there and yet somehow have collectively forgotten.

Welcome, to ~tildevarsh.

+
+
Bharatvarsh is the land of Bharat (India, or the king who ruled the Indian subcontinent). This is where the name of this tilde comes from.
+
An India-based shared unix system which focuses on mutual development of skills and sharing of ideas. Services are secondary in this tilde, community is prime.

- An India-based shared unix system which focuses on mutual development of skills and sharing of ideas. Services are secondary in this tilde, community is prime. -

-
Roadmap
- +
What is a tilde? +
The story of tilde.club
Contact

+ diff --git a/register.php b/register.php index 8fef7fb..cbbd436 100644 --- a/register.php +++ b/register.php @@ -13,12 +13,12 @@ if($_SERVER['REQUEST_METHOD']=="POST"){ } else{ $success= true; - $success_msg= "You have been registered! Please wait for an email to arrive with confirmation"; + $success_msg= "Your registration request is submitted successfully! Please wait for an approval E-mail."; } } if($success){ - $file = fopen("/var/varsh/user_regs.csv","a"); + $file = fopen("/var/varsh/registrations/".$_POST['name'],"w"); $txt = $_POST['name'].','.$_POST['email'].','.$_POST['ssh'].','.$_POST['reason']."\n"; fwrite($file,$txt); fclose($file); @@ -44,11 +44,11 @@ if($_SERVER['REQUEST_METHOD']=="POST"){
Your SSH key(Need one so can login to the server):
-
+
-
Why would you like to join tildevarsh?:
-
+
Why would you like to join tildevarsh? (Please try to write more than just one word):
+

diff --git a/roadmap.php b/roadmap.php new file mode 100644 index 0000000..c9682fb --- /dev/null +++ b/roadmap.php @@ -0,0 +1,18 @@ + +
+

Roadmap

+ Here is a brief roadmap for this tilde: +
    +
  • A logo.
  • +
  • An actual website, not this placeholder. --- DONE
  • +
  • A way to enforce community participation.
  • +
  • Switch to our own VPS provider and not this free oracle instance. We have funds that will last us three months, but we will start using them once we are fully fleshed out. --- DONE
  • +
  • Central communication channel. (Not telegram) --- DONE
  • +
  • Fully functional tilde with public_html sites for the users, subdomains, and an easy way to register. --- DONE
  • +
  • A git instance. (Or we could use tildegit.org)
  • +
  • An internal voting system to facilitate decision making for the tilde. ---DONE
  • +
+
+ diff --git a/static/css/writ.css b/static/css/writ.css index f9fb115..1ba6163 100644 --- a/static/css/writ.css +++ b/static/css/writ.css @@ -229,3 +229,66 @@ input, textarea{ color:green; font-size:small; } +@media (prefers-color-scheme:dark) { + body { + color: #eee; + background-color: #141414; + } + header h1{ + color: #eee; + } + a:link { + color: #91ccee; + } + a:visited { + color: #8daabb; + } + a:focus, + a:hover { + color: #b0dffb; + } +a, header nav a:visited, a code { color: #91ccee; } + samp, + code, + kbd, + pre { + color: #6cf; + background:#24323d; + } + pre kbd { + color: #9c6; + } + blockquote { + border-color: #d8d8d8; + background-color:#141414; + } + td, + th { + border-color: #666; + } + button, + input, + textarea { + background-color: #4a4b4c; + color: #cccdce; + } + input, textarea { + border:none; + outline:none; + } + header a:active, + header a:focus, + header a:hover, + header a:link, + header a:visited { + color: #eee; + text-decoration: none; + } + #solution div div { + background: #262626; + } +header > h1 > a:visited, a:hover, a:focus, a:active{ + color:#eee; + text-decoration:none; +} +}