|
@@ -6,24 +6,6 @@ SET redirect = COALESCE($go, '') = 'true' AND $hash IS NOT NULL;
|
|
SELECT 'dynamic' AS component, sqlpage.run_sql('goto/redirect.sql') AS properties
|
|
SELECT 'dynamic' AS component, sqlpage.run_sql('goto/redirect.sql') AS properties
|
|
WHERE $redirect
|
|
WHERE $redirect
|
|
;
|
|
;
|
|
|
|
+SET inner = 'goto/Index.sql';
|
|
|
|
+SELECT 'dynamic' AS component, sqlpage.run_sql('goto/entry.sql') AS properties;
|
|
|
|
|
|
-SELECT 'shell' AS component
|
|
|
|
-, 'dark' AS theme
|
|
|
|
-, 'GoTo' AS title
|
|
|
|
-, 'https://shandan.one/static/goto/chain-link2fr-3-2.svg' AS image
|
|
|
|
-, 'https://cdn.jsdelivr.net/npm/purecss@2.1.0/build/pure-min.css' AS css
|
|
|
|
-;
|
|
|
|
-
|
|
|
|
-SET color = '#8f4f4f';
|
|
|
|
-SET tabler_color = 'google';
|
|
|
|
-SELECT 'dynamic' AS component, sqlpage.run_sql('sqlpage/Style.sql') AS properties;
|
|
|
|
-
|
|
|
|
-SET tool = 'goto';
|
|
|
|
-SET inner = CASE COALESCE($content,'') <> '' AND COALESCE($action, '') = 'Shrtn It!'
|
|
|
|
- WHEN TRUE THEN 'goto/save.sql'
|
|
|
|
- ELSE CASE $hash IS NULL
|
|
|
|
- WHEN TRUE THEN 'sqlpage/Link.sql'
|
|
|
|
- ELSE 'sqlpage/link.sql'
|
|
|
|
- END
|
|
|
|
-END;
|
|
|
|
-SELECT 'dynamic' AS component, sqlpage.run_sql($inner) AS properties;
|
|
|