set koakuma_png "/static/koakuma.png"
set css "/static/style.css"
+set running_png "/static/continued.png"
tputs " </tr>"
tputs " <tr>"
tputs " <th>"
+ tputs " Status"
+ tputs " </th>"
+ tputs " <td>"
+ if { [file exists "@@PREFIX@@/lib/koakuma/db/data/$projname/build.lock"] } {
+ set fid [open "@@PREFIX@@/lib/koakuma/db/data/$projname/build.loc" "r"]
+ if { [file exists "/proc/[gets $fid]"] } {
+ tputs "Running"
+ } else {
+ tputs "Idle"
+ }
+ close $fid
+ } else {
+ tputs "Idle"
+ }
+ tputs " "
+ tputs " </td>"
+ tputs " </tr>"
+ tputs " <tr>"
+ tputs " <th>"
tputs " Last successful run"
tputs " </th>"
tputs " <td>"