Skip to content
Snippets Groups Projects
Commit 11097f73 authored by Bob Mottram's avatar Bob Mottram
Browse files

Completion of tables

parent 4618c759
No related branches found
No related tags found
No related merge requests found
......@@ -329,18 +329,22 @@ function web_admin_create_add_apps {
fi
done
# Complete the rest of the four column row
# shellcheck disable=SC2034
for i in $(seq ${available_apps_ctr} 3)
do
{ echo ' <div class="column">';
echo ' <div>';
echo ' </div>';
echo ' </div>'; } >> "$appslist_add_filename"
done
if [ ${available_apps_ctr} -gt 0 ]; then
# Complete the rest of the four column row
# shellcheck disable=SC2034
for i in $(seq ${available_apps_ctr} 3)
do
{ echo ' <div class="column">';
echo ' <div>';
echo ' </div>';
echo ' </div>'; } >> "$appslist_add_filename"
done
echo ' </div>' >> "$appslist_add_filename"
fi
echo ' </body>' >> "$appslist_add_filename"
echo '</html>' >> "$appslist_add_filename"
{ echo ' <br><br>';
echo ' </body>';
echo '</html>'; } >> "$appslist_add_filename"
chown -R www-data:www-data "$webadmin_install_dir"
}
......@@ -475,18 +479,22 @@ function web_admin_create_installed_apps {
app_index=$((app_index+1))
done
# Complete the rest of the four column row
# shellcheck disable=SC2034
for i in $(seq ${installed_apps_ctr} 3)
do
{ echo ' <div class="column">';
echo ' <div>';
echo ' </div>';
echo ' </div>'; } >> "$appslist_filename"
done
if [ ${installed_apps_ctr} -gt 0 ]; then
# Complete the rest of the four column row
# shellcheck disable=SC2034
for i in $(seq ${installed_apps_ctr} 3)
do
{ echo ' <div class="column">';
echo ' <div>';
echo ' </div>';
echo ' </div>'; } >> "$appslist_filename"
done
echo ' </div>' >> "$appslist_filename"
fi
echo ' </body>' >> "$appslist_filename"
echo '</html>' >> "$appslist_filename"
{ echo ' <br><br>';
echo ' </body>';
echo '</html>'; } >> "$appslist_filename"
chown -R www-data:www-data "$webadmin_install_dir"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment