diff --git a/home/index.html.erb b/home/index.html.erb index 41a9bf1..9e6b283 100644 --- a/home/index.html.erb +++ b/home/index.html.erb @@ -8,7 +8,7 @@ <%= render_orbit_bar %> <%= render_header %> -
移動至目標位置
+
移動至目標位置
/accesskey" title="Content">::: diff --git a/modules/ruling_weather/_ruling_weather_widget2.html.erb b/modules/ruling_weather/_ruling_weather_widget2.html.erb new file mode 100644 index 0000000..90a50e4 --- /dev/null +++ b/modules/ruling_weather/_ruling_weather_widget2.html.erb @@ -0,0 +1,52 @@ +
+ +
+
+
+ {{wx_text}} +
+
+
{{wx_text}}
+
{{avgt}}
+
+
+
{{uv-head}}
+
{{uvi_text}}
+
+
+
+
+
{{relative_humidity-head}}
+
{{rh}}%
+
+
+
{{current_wind_speed-head}}
+
{{ws}}m/s
+
+
+
{{accumulated_rainfall-head}}
+
{{rain}}mm
+
+
+
+
\ No newline at end of file diff --git a/modules/ruling_weather/info.json b/modules/ruling_weather/info.json index 2d93212..8182ba4 100644 --- a/modules/ruling_weather/info.json +++ b/modules/ruling_weather/info.json @@ -1,14 +1,23 @@ -{ - "frontend": [ - ], - "widgets" : [ - { - "filename" : "ruling_weather_widget1", - "name" : { - "zh_tw" : "1. 天氣呈現樣式1", - "en" : "1. Weather layout 1" - }, - "thumbnail" : "weather1_thumbs.png" - } - ] +{ + "frontend": [ + + ], + "widgets": [ + { + "filename": "ruling_weather_widget1", + "name": { + "zh_tw": "1. 天氣呈現樣式1", + "en": "1. Weather layout 1" + }, + "thumbnail": "weather1_thumbs.png" + }, + { + "filename": "ruling_weather_widget2", + "name": { + "zh_tw": "2. 天氣呈現樣式2", + "en": "2. Weather layout 2" + }, + "thumbnail": "weather2_thumbs.png" + } + ] } \ No newline at end of file diff --git a/modules/ruling_weather/thumbs/weather1_thumbs.png b/modules/ruling_weather/thumbs/weather1_thumbs.png index e4bcf01..676d874 100644 Binary files a/modules/ruling_weather/thumbs/weather1_thumbs.png and b/modules/ruling_weather/thumbs/weather1_thumbs.png differ diff --git a/modules/ruling_weather/thumbs/weather2_thumbs.png b/modules/ruling_weather/thumbs/weather2_thumbs.png new file mode 100644 index 0000000..e4bcf01 Binary files /dev/null and b/modules/ruling_weather/thumbs/weather2_thumbs.png differ