base widget template added

This commit is contained in:
luke bonham 2014-02-12 12:23:02 +01:00
parent 72ed28967b
commit 59d9cd21ca
2 changed files with 7 additions and 5 deletions

View File

@ -6,6 +6,8 @@
# Integrated into Lain in september 2013
# https://github.com/copycat-killer/lain
# Requires gawk
# -------------------------------------------------------------------------
# Decoding options
# -------------------------------------------------------------------------
@ -183,7 +185,7 @@ echo "$SORTED_FILE_SYSTEMS_INFO" | $AWK_COMMAND -v DEBUG=$DEBUG -v PATTERN=$PATT
current_date = strftime ("%d-%m-%Y @ %H:%M:%S", localtime (systime ()));
free_threshold = 10; # %
printf ("<!-- DEBUT CONTENU -->\n");
printf ("<!-- DEBUT CONTENU -->\n");
printf ( \
"<A NAME=\"top\"></A>\n" \
@ -197,9 +199,9 @@ echo "$SORTED_FILE_SYSTEMS_INFO" | $AWK_COMMAND -v DEBUG=$DEBUG -v PATTERN=$PATT
"<TD ALIGN=LEFT><STRONG>Mount point</STRONG></TD>\n" \
"<TD ALIGN=CENTER><STRONG>%% Usato&nbsp;(<SPAN CLASS=\"titleblue\">*</SPAN>)" \
"&nbsp;-&nbsp;%% Free&nbsp;(<SPAN CLASS=\"titlegreen\">*</SPAN>)</STRONG></TD>\n" \
"<TD ALIGN=CENTER><STRONG>%% Usato</STRONG></TD>\n" \
"<TD ALIGN=CENTER><STRONG>Spazio libero</STRONG></TD>\n" \
"<TD ALIGN=CENTER><STRONG>Spazio totale</STRONG></TD>\n" \
"<TD ALIGN=CENTER><STRONG>%% Used</STRONG></TD>\n" \
"<TD ALIGN=CENTER><STRONG>Free</STRONG></TD>\n" \
"<TD ALIGN=CENTER><STRONG>Total</STRONG></TD>\n" \
"</TR>\n" );
}
else

2
wiki

@ -1 +1 @@
Subproject commit 60ad9c7c6b9fa533f10cd4ce4b2912165b76c0d9
Subproject commit 60754084cf7bb69d7387484e12fa686c73cfe1bc