From 4fc1e1c40f8f4342e8b1f4332282d77233341564 Mon Sep 17 00:00:00 2001 From: ocueye2 <157711490+ocueye2@users.noreply.github.com> Date: Mon, 19 Aug 2024 07:38:49 -0400 Subject: [PATCH] Update index.html --- html/index.html | 60 +++++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 27 deletions(-) diff --git a/html/index.html b/html/index.html index ad52fbf..d413224 100644 --- a/html/index.html +++ b/html/index.html @@ -1,28 +1,34 @@ -
-
-
-

welcome to easyweb

-

easly merge your nav bar, css, html, and js in one easy place

-
-
-

How to use

-

ezweb requires bacic knolage of html and optionaly css and js to take full advantage

-
-

ezweb uses 3 folders, they should be in the same directory as the python script (ezweb.py)

-

this means if ezweb.py is in /home, there should be /home/css/, /home/html/, /home/script/.

-
-

to create a webpage, create a html file and optionaly add css and js files with the name of the directory it will display
(ex: pagea.html, pagea.js, and pagea.css is at localhost:8080/pagea)

-
-
-

html

-

like most webservers, the name index.html has the root directory of the server (localhost:8080/)

-
-

nav.html is the html file for the nav bar, it will appear on the top of the page of every directory of the server (like the one up top)
use all.css for styling

-
- -
-
-

for you convinence, the example pages " pagea " and "pageb " are provided

-
+
+

Welcome to EasyWeb

+

Easily combine your navigation bar, CSS, HTML, and JavaScript into one streamlined environment.

-
\ No newline at end of file +
+

Getting Started

+

To fully leverage EasyWeb, a basic understanding of HTML is essential, with optional knowledge of CSS and JavaScript for advanced features.

+

EasyWeb organizes your project into three essential folders: css, html, and script. These should reside in the same directory as the ezweb.py script.

+

For instance, if ezweb.py is located in /home, the folders should be in /home/css/, /home/html/, and /home/script/.

+

Create your HTML, CSS, and JavaScript files and place them in their respective folders. Files with matching names (e.g., pagea.html, pagea.js, pagea.css) will be served at localhost:8080/pagea.

+
+ +
+
+

HTML Structure

+

The index.html file serves as the root of your server at localhost:8080/.

+

The nav.html file defines your site's navigation bar, automatically appearing at the top of each page.

+
+ +
+

Global Styles and Scripts

+

Apply global styling and scripting with all.css and all.js, which affect all pages on your server.

+
+
+ +
+

Running the Server

+

Once your files are ready, launch the server by running ezweb.py. Your website will be accessible at localhost:8080.

+
+ + +