Просмотр исходного кода

#1043 Adjustments to logo / iframe

- Set fixed image to logo.png (60px x 60px)
- Ajusted frame height
- Minor change to v-add-web-domain-stats to how it handles aliases.
Jaap Marcus 5 лет назад
Родитель
Сommit
78816a079e

+ 1 - 1
bin/v-add-web-domain-stats

@@ -75,7 +75,7 @@ cat $WEBTPL/$type/$type.tpl |\
         -e "s|%domain%|$domain|g" \
         -e "s|%domain%|$domain|g" \
         -e "s|%user%|$user|g" \
         -e "s|%user%|$user|g" \
         -e "s|%home%|$HOMEDIR|g" \
         -e "s|%home%|$HOMEDIR|g" \
-        -e "s|%alias%|${aliases//,/ }|g" \
+        -e "s|%alias%|$stats_alias|g" \
         -e "s|%alias_idn%|$stats_alias|g" \
         -e "s|%alias_idn%|$stats_alias|g" \
     > $HOMEDIR/$user/conf/web/$domain/$type.conf
     > $HOMEDIR/$user/conf/web/$domain/$type.conf
 
 

+ 1 - 1
install/deb/templates/web/awstats/index.tpl

@@ -3,7 +3,7 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>Awstats log analyzer </title>
     <title>Awstats log analyzer </title>
 </head>
 </head>
-<frameset rows="60,*" cols="*">
+<frameset rows="80,*" cols="*">
     <frame src="nav.html" name="nav" scrolling="no" noresize>
     <frame src="nav.html" name="nav" scrolling="no" noresize>
     <frame src="%month%/index.html" name="stats">
     <frame src="%month%/index.html" name="stats">
 </frameset>
 </frameset>

+ 1 - 1
install/deb/templates/web/awstats/nav.tpl

@@ -10,7 +10,7 @@
 <body>
 <body>
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
 <tr>
-    <td><img src="logo.png" alt="hestia"></td>
+    <td><img src="logo.png" alt="hestia" height="60px" width="60px"></td>
     <td><form name="period" action="" method="get">
     <td><form name="period" action="" method="get">
         <select name="select" ONCHANGE="change()">
         <select name="select" ONCHANGE="change()">
 %select_month%
 %select_month%