logo

Grimgrains

Unnamed repository; edit this file 'description' to name the repository.
commit: 4cf09e15b4f57947843e2c877900144aaad34a98
parent 4d716850695b6c94d3c0c007d0ea2c90e529acba
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date:   Wed, 14 Mar 2018 11:58:13 +1300

Added links to index

Diffstat:

Mlinks/main.css2+-
Mscripts/templates/index.js2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/links/main.css b/links/main.css @@ -54,7 +54,7 @@ h1,h2,h3,h4 { font-weight: normal; font-family: 'alte_haas_grotesk_bold'; margin #view #core #content #index { columns:3; font-size:14px; font-weight: bold} #view #core #content #index ln { display: block } - +#view #core #content #index ln a:hover { text-decoration: underline; cursor: pointer; } #view #footer { display: block; padding:15px 0px;font-family: 'alte_haas_grotesk_bold'; font-size:12px; margin-top:60px; } #view #footer a:hover { text-decoration: underline; cursor: pointer } diff --git a/scripts/templates/index.js b/scripts/templates/index.js @@ -39,7 +39,7 @@ function IndexTemplate(id,rect) html += "<list style='margin-bottom:15px'>" for(id in recipes){ var recipe = recipes[id] - html += `<ln>${recipe.name.capitalize()}</ln>` + html += `<ln><a onclick="Ø('query').bang('${recipe.name.capitalize()}')">${recipe.name.capitalize()}</a></ln>` } html += "</list>"