From 1c8a7cbbdfe407df3aeef04616dbe31094864697 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 10 Jan 2016 17:10:57 +0100 Subject: [PATCH] webbuild-cgi: add icon button to refresh spec list --- webbuild/html/images/refresh.png | Bin 0 -> 335 bytes webbuild/webbuild-cgi | 9 +++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 webbuild/html/images/refresh.png diff --git a/webbuild/html/images/refresh.png b/webbuild/html/images/refresh.png new file mode 100644 index 0000000000000000000000000000000000000000..b51e03dfc97c3940ad08d2bae399c4b1a1f63007 GIT binary patch literal 335 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ za0`PlBg3pY5mdKI;Vst0M9;zkN^Mx literal 0 HcmV?d00001 diff --git a/webbuild/webbuild-cgi b/webbuild/webbuild-cgi index 65f54b1..48b38cc 100755 --- a/webbuild/webbuild-cgi +++ b/webbuild/webbuild-cgi @@ -737,7 +737,8 @@ echo -n "]]>" if [ "$MAINTAINERMODE" = "true" ]; then echo -n " " elif [ ! "$REQUEST" -o "$REQUEST" = "changeenvironment" -o "$REQUEST" = "switchmaintainermode" \ - -o "$REQUEST" = "prepare" -o "$REQUEST" = "reloadspec" -o "$REQUEST" = "edit" ]; then + -o "$REQUEST" = "prepare" -o "$REQUEST" = "reloadspec" -o "$REQUEST" = "edit" \ + -o "$REQUEST" = "reloadspeclist" -o "$REQUEST" = "prepare" ]; then # SPECFILES select echo -n "${specname}" done - echo -n ".spec]]>" + echo -n ".spec" + echo -n " \"Refresh\"" + echo -n "]]>" fi [ "$PACKAGE" -a ! "$REQUEST" ] && REQUEST=edit