git://git.jankratochvil.net
/
www.jankratochvil.net.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+icons
[www.jankratochvil.net.git]
/
WebConfig.pm
diff --git
a/WebConfig.pm
b/WebConfig.pm
index
51149df
..
4fa0fc1
100644
(file)
--- a/
WebConfig.pm
+++ b/
WebConfig.pm
@@
-35,6
+35,8
@@
use My::Web;
require CGI;
require CGI;
+my $resume_url="/resume/Resume-JanKratochvil.html.pl/Resume-JanKratochvil.html";
+
our %WebConfig=(
"admin_mail"=>'web-www.jankratochvil.net@jankratochvil.net',
"SendMsg_to"=>'web-www.jankratochvil.net@jankratochvil.net',
our %WebConfig=(
"admin_mail"=>'web-www.jankratochvil.net@jankratochvil.net',
"SendMsg_to"=>'web-www.jankratochvil.net@jankratochvil.net',
@@
-50,6
+52,7
@@
our %WebConfig=(
"project_viewcvs"=>"http://cvs.jankratochvil.net/viewcvs/",
"pserver"=>':pserver:pserver:@cvs.jankratochvil.net',
"pserver_path"=>"/cvs",
"project_viewcvs"=>"http://cvs.jankratochvil.net/viewcvs/",
"pserver"=>':pserver:pserver:@cvs.jankratochvil.net',
"pserver_path"=>"/cvs",
+ "resume_url"=>$resume_url,
"heading"=>sub () {
print '<table border="0" align="center" style="font-size: larger;">'."\n";
print '<col width="20%">'."\n";
"heading"=>sub () {
print '<table border="0" align="center" style="font-size: larger;">'."\n";
print '<col width="20%">'."\n";
@@
-61,7
+64,8
@@
our %WebConfig=(
.' style="border-collapse: collapse; border-style: solid; border-width: 2px;">'."\n";
print '<tr>'."\n";
print '<td style="padding: 5px; font-weight: bold;">'."\n";
.' style="border-collapse: collapse; border-style: solid; border-width: 2px;">'."\n";
print '<tr>'."\n";
print '<td style="padding: 5px; font-weight: bold;">'."\n";
- print My::Web::a_href('http://www.jankratochvil.net/','Jan Kratochvil');
+ print My::Web::a_href('http://www.jankratochvil.net/','Jan Kratochvil',
+ "attr"=>'style="text-decoration: inherit; /* revoke underline */;"');
print '</td>'."\n";
print '</tr>'."\n";
print '</table>';
print '</td>'."\n";
print '</tr>'."\n";
print '</table>';
@@
-71,18
+75,19
@@
our %WebConfig=(
.' style="border-collapse: collapse; border-style: solid; border-width: 2px;">'."\n";
print '<tr>'."\n";
my @sections=(
.' style="border-collapse: collapse; border-style: solid; border-width: 2px;">'."\n";
print '<tr>'."\n";
my @sections=(
-
My::Web::top_dir().
"/project/"=>"Projects",
+ "/project/"=>"Projects",
"http://cvs.jankratochvil.net/"=>"CVS",
"http://cvs.jankratochvil.net/"=>"CVS",
-#
My::Web::top_dir().
"/News.html.pl"=>"News",
-
My::Web::top_dir()."/Resume.html.pl"
=>"Resume",
-
My::Web::top_dir().
"/Contact.html.pl"=>"Contact",
+# "/News.html.pl"=>"News",
+
$resume_url
=>"Resume",
+ "/Contact.html.pl"=>"Contact",
);
while (@sections) {
my $section_path=shift @sections;
my $section_name=shift @sections;
print '<td style="padding: 5px;">';
print(($My::Web::W->{"section"} || "") eq $section_name ? "<b>$section_name</b>"
);
while (@sections) {
my $section_path=shift @sections;
my $section_name=shift @sections;
print '<td style="padding: 5px;">';
print(($My::Web::W->{"section"} || "") eq $section_name ? "<b>$section_name</b>"
- : My::Web::a_href($section_path,$section_name));
+ : My::Web::a_href($section_path,$section_name,
+ "attr"=>'style="text-decoration: inherit; /* revoke underline */;"'));
print "</td>\n";
}
print '</tr>'."\n";
print "</td>\n";
}
print '</tr>'."\n";
@@
-90,7
+95,7
@@
our %WebConfig=(
print '</td>'."\n";
print '</tr>'."\n";
print '</table>'."\n";
print '</td>'."\n";
print '</tr>'."\n";
print '</table>'."\n";
- print My::Web::vskip("1ex");
+ print My::Web::vskip("1ex")
if !$My::Web::W->{"WebConfig::heading_novskip"}
;
},
"footing"=>sub () {
# print "<h1>footing</h1>\n";
},
"footing"=>sub () {
# print "<h1>footing</h1>\n";