This is the Links Portal. The Place for Handy Links
This is designed as a homepage for navigating to other links using HTML, CSS and JavaScript
Welcome to the Links Portal!! We are so happy for you to help!!
To have weblinks added to the Links Portal please:
- Fork this repository
- Edit the weblink code to add new weblinks
- Send out a pull request back to the repository for review and possible addition
- Welcome aboard and help us make this portal better for everyone
As links are defined in multiple files, it is important to follow these instructions when adding links.
- Open
links.jsonand add a comma after the last curly-brace (},)
{
"id": "",
"text": "",
"url": "",
"issmart": false,
"hasimage": true,
"script": "",
"imagepath": "/images/",
"imagewidth": 30,
"imageheight": 30
},-
Copy the above
JSONcode and paste on a new line between }, and ] -
Fill in the code properties:
id- ID of the button. This should be a short string in all lowercasetext- The text that appears on the buttonurl- The URL which the button will open when clicked - Optional ifissmartistrueissmart- Controls whether the button appears in the Smart Buttons section. If it istruethen the URL property will be ignored and the script property used instead for the click actionhasimage- Controls whether the button shows an image. If this isfalsethen the three image paths are optionalscript- The script which will be executed when the button is clicked. Optional ifissmartisfalseimagepath- Where the image is stored. This should be in the images directory. Optional ifhasimageisfalseimagewidth- What the image width is. Should be around 30 for correct sizing. Optional ifhasimageisfalseimageheight- What the image height is. Should be around 30 for correct sizing. Optional ifhasimageisfalse
- You should now have your link showing up in the list:
- Navigate to this page and generate the hashed password.
- Open
users.jsand add the new username to theusersarray, which is defined in thelogin()function. - Add the hashed passsword to the
passwordsarray. - Combine the username and hashed password and add the combined string to the
userpassarray.
