- Add line shading in isl_dump_html function.
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -101,7 +101,7 @@ isl_add()
|
||||
return 1 \n\
|
||||
fi \n\
|
||||
\n\
|
||||
ts=$(date -u +"%Y/%d/%m %H:%M:%S") \n\
|
||||
ts=$(date -u +"%Y/%m/%d %H:%M:%S") \n\
|
||||
\n\
|
||||
if [[ ! -e ${ISL_FILE} ]] \n\
|
||||
then \n\
|
||||
@@ -182,7 +182,12 @@ isl_html_dump()
|
||||
do \n\
|
||||
set $line \n\
|
||||
\n\
|
||||
print "${i_flag}" " <tr>" \n\
|
||||
if [[ $(( $i % 2)) -eq 0 ]] \n\
|
||||
then \n\
|
||||
print "${i_flag}" ` <tr class="shade">` \n\
|
||||
else \n\
|
||||
print "${i_flag}" " <tr>" \n\
|
||||
fi \n\
|
||||
\n\
|
||||
j=1 \n\
|
||||
while [[ $j -lt 7 ]] \n\
|
||||
@@ -198,7 +203,7 @@ isl_html_dump()
|
||||
done \n\
|
||||
\n\
|
||||
print "${i_flag}" " </tr>" \n\
|
||||
i=$(( $j + 1)) \n\
|
||||
i=$(( $i + 1)) \n\
|
||||
done \n\
|
||||
} \n\
|
||||
\n\
|
||||
|
||||
Reference in New Issue
Block a user