add calendar to portal
This commit is contained in:
parent
0f292d2400
commit
c7c1ac3709
1
Makefile
1
Makefile
|
@ -11,6 +11,7 @@ COPY += mdwntohtml template.xml
|
|||
COPY += face.png chumby-photo.cgi
|
||||
COPY += format.css default.css print.css
|
||||
COPY += gitweb.cgi git-logo.png gitweb.css gitweb.conf
|
||||
COPY += portal.png portal.cgi
|
||||
|
||||
# Directories in which %.mdwn generates %.html
|
||||
PLAIN = . papers poems misc
|
||||
|
|
12
portal.cgi
12
portal.cgi
|
@ -59,12 +59,20 @@ h2 {
|
|||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
.more {
|
||||
text-align: right;
|
||||
.calendar {
|
||||
height: 300px;
|
||||
float: right;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
EOF
|
||||
|
||||
if [ -z "$HTTP_X_WAP_PROFILE" ]; then
|
||||
echo '<iframe class="calendar" src="https://www.google.com/calendar/embed?showTitle=0&showDate=0&showPrint=0&showCalendars=0&showTz=0&mode=AGENDA&height=350&wkst=1&bgcolor=%23FFFFFF&src=2cdrf19kah6jkonhom8evck38c%40group.calendar.google.com&color=%23333333&src=s531giqfiotabht4qrn59tjf9g%40group.calendar.google.com&color=%231B887A&src=umtjjc250gp0m5gm8h3dn13hcc%40group.calendar.google.com&color=%236E6E41&src=dartcatcher%40gmail.com&color=%23125A12&src=ameigh%40gmail.com&color=%2329527A&src=laderbydames%40gmail.com&color=%2323164E&src=en.usa%23holiday%40group.v.calendar.google.com&color=%238D6F47&ctz=America%2FDenver"></iframe>'
|
||||
fi
|
||||
|
||||
cat <<EOF
|
||||
<form action="http://m.google.com/"><input name="q" size="12"><input type="submit" value="G"></form>
|
||||
EOF
|
||||
weather
|
||||
|
|
Loading…
Reference in New Issue