- yWeb: add some missing Y_User.css entrys

This commit is contained in:
svenhoefer
2015-02-26 12:42:16 +01:00
parent f21e776451
commit e97885bc02
5 changed files with 19 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="stylesheet" type="text/css" href="/Y_Main.css">
<link rel="stylesheet" type="text/css" href="/Y_User.css">
<script language="JavaScript" type="text/javascript">
function do_it()
{

View File

@@ -1,4 +1,4 @@
version=2.9.0.4
version=2.9.0.5
date=25.02.2015
type=Release
info=Port CST

View File

@@ -14,7 +14,8 @@ disc1="/dev/ide/host0/bus0/target0/lun0/disc"
y_format_message_html()
{
tmp="<html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'></head>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_User.css'></head>"
tmp="$tmp <body><div class='work_box'><div class='work_box_head'><div class='work_box_head_h2'>Results</div></div><div class='work_box_body' style='overflow:auto'>"
tmp="$tmp <pre>\n$msg\n</pre></div></div></body></html>"

View File

@@ -364,13 +364,19 @@ do_installer()
rm -f $y_install # clean up
if [ -s "$y_out_html" ] #html - output?
then
echo '<html><head><link rel="stylesheet" type="text/css" href="/Y_Main.css">'
echo "<meta http-equiv='refresh' content='0; $y_out_html'></head>"
echo '<html><head>'
echo '<link rel="stylesheet" type="text/css" href="/Y_Main.css">'
echo '<link rel="stylesheet" type="text/css" href="/Y_User.css">'
echo "<meta http-equiv='refresh' content='0; $y_out_html'>"
echo '</head>'
echo "<body><a href='$y_out_html'>If automatic forwarding does not go.</a>"
echo '</body></html>'
# cat $y_out_html
else
echo '<html><head><link rel="stylesheet" type="text/css" href="/Y_Main.css"></head>'
echo '<html><head>'
echo '<link rel="stylesheet" type="text/css" href="/Y_Main.css">'
echo '<link rel="stylesheet" type="text/css" href="/Y_User.css">'
echo '</head>'
echo '<body>'
echo "$o"
echo '</body></html>'

View File

@@ -73,7 +73,8 @@ buildStreamingAudioRawURL()
y_format_message_html()
{
tmp="<html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'></head>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_User.css'></head>"
tmp="$tmp <body><div class='work_box'><div class='work_box_head'><div class='work_box_head_h2'>Results</div></div><div class='work_box_body' style='overflow:auto'>"
tmp="$tmp <pre>\n$msg\n</pre></div></div></body></html>"
@@ -83,7 +84,8 @@ y_format_message_html()
y_format_message_html2()
{
tmp="<html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'></head>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_User.css'></head>"
tmp="$tmp <body><div class='work_box'><div class='work_box_head'><div class='work_box_head_h2'>Results</div></div><div class='work_box_body'>"
tmp="$tmp $msg</div></div></body></html>"
echo "$tmp"
@@ -91,7 +93,8 @@ y_format_message_html2()
y_format_message_html_plain()
{
tmp="<html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'></head>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'>"
tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_User.css'></head>"
tmp="$tmp <body>$msg</body></html>"
echo "$tmp"
}