add calendar to portal

This commit is contained in:
Neale Pickett 2011-12-23 16:42:43 -06:00
parent 0f292d2400
commit c7c1ac3709
2 changed files with 11 additions and 2 deletions

View File

@ -11,6 +11,7 @@ COPY += mdwntohtml template.xml
COPY += face.png chumby-photo.cgi COPY += face.png chumby-photo.cgi
COPY += format.css default.css print.css COPY += format.css default.css print.css
COPY += gitweb.cgi git-logo.png gitweb.css gitweb.conf COPY += gitweb.cgi git-logo.png gitweb.css gitweb.conf
COPY += portal.png portal.cgi
# Directories in which %.mdwn generates %.html # Directories in which %.mdwn generates %.html
PLAIN = . papers poems misc PLAIN = . papers poems misc

View File

@ -59,12 +59,20 @@ h2 {
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
} }
.more { .calendar {
text-align: right; height: 300px;
float: right;
} }
</style> </style>
</head> </head>
<body> <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> <form action="http://m.google.com/"><input name="q" size="12"><input type="submit" value="G"></form>
EOF EOF
weather weather