소스 검색

add code utility to landing page and add an image for it

Pi 4 달 전
부모
커밋
431aa8bd22
4개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 0
      home-sqlpage/sqlpage/migrations/000_index.sql
  2. 1 0
      rest/static/code/qr.svg
  3. 0 0
      rest/static/upload/qr.svg
  4. 1 1
      util-sqlpage/code/entry.sql

+ 7 - 0
home-sqlpage/sqlpage/migrations/000_index.sql

@@ -58,6 +58,13 @@ VALUES
 	2
 ),
 (
+	'/code?',
+	'Track Vouchers',
+	'https://shandan.one/static/code/qr.svg',
+	'Save scanned voucher codes to keep them handy and not forgotten',
+	'github',
+	2
+),(
 	'https://wol.shandan.one?location=outside',
 	'Wake a Device',
 	'',

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
rest/static/code/qr.svg


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
rest/static/upload/qr.svg


+ 1 - 1
util-sqlpage/code/entry.sql

@@ -3,7 +3,7 @@ SET tool = 'code';
 SET ":link" = '/code.sql';
 SET color = '#f59f00';
 SET tabler_color = 'azure';
---SET image = '/static/upload/upload-favicon_square.svg';
+SET image = '/static/code/qr.svg';
 --SET favicon = $image;
 --SET manifest = '/static/upload/manifest.json';
 SELECT 'dynamic' AS component, sqlpage.run_sql($inner) AS properties;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.