migrated more items to app.css and fixed (hopefully) most current issues with calendar's layout.

Cutting off long event titles is done purposely - not a bug ;-)
This commit is contained in:
ak703 2004-03-12 23:47:03 +00:00
parent e212d838b5
commit 4b4df263cc
13 changed files with 194 additions and 142 deletions

View File

@ -1,12 +1,12 @@
<!-- $Id$ -->
<!-- BEGIN day -->
{printer_friendly}
<table border="0" width="100%">
<table id="calendar_dayview_table" class="calendar_dayview_table" border="0" width="100%">
<tr>
<td valign="top" width="70%">
<table border="0" width=100%>
<tr>
<td class="calendar_header">
<td class="calendar_dayview_table_header">
{date}&nbsp;[{username}]<br />
</td>
</tr>
@ -18,14 +18,14 @@
<table width="100%">
<tr>
<td align="center">
{small_calendar}
{small_calendar}
</td>
</tr>
<tr>
<td align="center">
<div class="th">
<p style="margin: 0px; padding: 2px;"><b>{lang_todos}</b></p>
{todos}
<p class="calendar_dayview_todo_header">{lang_todos}</p>
{todos}
</div>
</td>
</tr>
@ -34,11 +34,13 @@
</tr>
</table>
<!-- END day -->
<!-- BEGIN day_event -->
<tr>
<td>
{daily_events}
{daily_events}
</td>
</tr>
<!-- END day_event -->

View File

@ -1,7 +1,7 @@
<!-- $Id$ -->
<!-- BEGIN day -->
<div class="th">
<table width="100%" cellpadding="0">
<table class="calendar_dayview_maintable" width="100%" cellpadding="0">
{row}
</table>
</div>

View File

@ -1,9 +1,14 @@
<!-- $Id$ -->
<td width="{form_width}%" align="center" valign="bottom">
<form action="{form_link}" method="post" name="{form_name}form">
<b>{title}:</b>
{hidden_vars} <select name="{form_name}" onchange="document.{form_name}form.submit()">
{form_options} </select>
<noscript><input type="submit" value="{button_value}"></noscript>
</form>
</td>
<form action="{form_link}" method="post" name="{form_name}form">
<td width="{form_width}%" align="center" valign="top" style="padding-top:16px">
<span style="font-size:10px"><b>{title}:</b>
{hidden_vars}
<select name="{form_name}" onchange="document.{form_name}form.submit()">
{form_options}
</select>
<noscript>
<input type="submit" value="{button_value}">
</noscript>
</span>
</td>
</form>

View File

@ -1,6 +1,13 @@
<!-- $Id$ -->
<!-- BEGIN form_button -->
<nobr>
<form action="{action_url_button}" method="post" name="{action_text_button}form">
{action_extra_field} <input type="submit" value="{action_text_button}" {action_confirm_button}>
<div style="padding-top:15px; padding-right: 2px">
{action_extra_field}
<input style="font-size:10px" type="submit" value="{action_text_button}" {action_confirm_button}>
</div>
</form>
</nobr>
<!-- END form_button -->

View File

@ -1,13 +1,17 @@
<!-- $Id$ -->
<!-- BEGIN head -->
{row}<br>
{row}<br />
<!-- END head -->
<!-- BEGIN head_table -->
<table border="0" width="100%" cols="{cols}" cellpadding="0" cellspacing="0">
<table id="calendar_head_table" class="calendar_head_table" border="0" width="100%" cols="{cols}" cellpadding="0" cellspacing="0">
<tr>
{header_column} </tr>
{header_column}
</tr>
</table>
<!-- END head_table -->
<!-- BEGIN head_col -->
{str}
<!-- END head_col -->

View File

@ -5,14 +5,19 @@
<td align="left" valign="top" width="20%">
{small_calendar_prev}
</td>
<td align="center" valign="middle" width="20%">
<td align="center" valign="middle" width="15%">
<b>{prev_month_link}</b>
</td>
<td align="center" width="20%">
<font size="+2" color="#000000"><b>{month_identifier}</b></font>
<font size="+1" color="#000000"><br>{username}</font>
<td align="center" width="30%">
<span class="calendar_month_identifier">
{month_identifier}
</span>
<br />
<span class="calendar_user_identifier">
[&nbsp;{username}&nbsp;]
</span>
</td>
<td align="center" valign="middle" width="20%">
<td align="center" valign="middle" width="15%">
{next_month_link}
</td>
<td align="right" valign="top" width="20%">
@ -23,5 +28,6 @@
{large_month}
<p>
<p>
{print}
<div class="calendar_link_print">
{print}
</div>

View File

@ -1,19 +1,26 @@
<!-- $Id$ link_pict -->
<!-- BEGIN link_pict -->
{picture}
<!-- END link_pict -->
<!-- BEGIN link_open -->
<a href="{link_link}" onMouseOver="window.status='{lang_view}'; return true;" onMouseOut="window.status=''; return true;" title="{desc} - {location}"><br>
<div style="overflow:hidden;">
<a class="event_entry" href="{link_link}" onMouseOver="window.status='{lang_view}'; return true;" onMouseOut="window.status=''; return true;" title="{desc} - {location}"><br>
<!-- END link_open -->
<!-- BEGIN pict -->
<img src="{pic_image}" width="{width}" height="{height}" title="{title}" border="0" />
<!-- END pict -->
<!-- BEGIN link_text_old -->
<nobr>&nbsp;{time}&nbsp;</nobr> {title}&nbsp;{users_status}: <i>{desc}</i><!--({location})-->
<!-- END link_text_old -->
<!-- BEGIN link_text -->
<nobr>&nbsp;{time}&nbsp;</nobr>{users_status}&nbsp;{title}<!-- : <i>{desc}</i>--><!--({location})-->
<!-- END link_text -->
<!-- BEGIN link_close -->
</a>
</a></div>
<!-- END link_close -->

View File

@ -11,15 +11,19 @@
<tr valign="top">
<td colspan="7">
<table border="0" width="100%" cellspacing="7" cellpadding="0" valign="top" cols="7">
<tr>{daynames} </tr>{display_monthweek} </table>
<tr>{daynames}</tr>
{display_monthweek}
</table>
</td>
</tr>
</table>
<!-- END mini_cal -->
<!-- BEGIN mini_week -->
<tr>{monthweek_day}
</tr>
<!-- END mini_week -->
<!-- BEGIN mini_day -->
<td align="center"{day_image}><font size="-2">{dayname}</font></td>
<!-- END mini_day -->

View File

@ -1,18 +1,20 @@
<!-- $Id$ month_day -->
<!-- BEGIN m_w_table -->
<table width="100%" border="0" bordercolor="#FFFFFF" cellspacing="2" cellpadding="2" cols="{cols}">
<table id="calendar_m_w_table" class="calendar_m_w_table" cellspacing="2">
{row}
</table>
<!-- END m_w_table -->
<!-- BEGIN month_daily -->
<font size="-1">[ {day_number} ]</font>{new_event_link}<br>
<span style="font-size:10px">[ {day_number} ]</span>{new_event_link}<br />
{daily_events}
<!-- END month_daily -->
<!-- BEGIN day_event -->
<font size="{week_day_font_size}">
{events}
</font>
<!-- END day_event -->
<!-- BEGIN event -->
{day_events}
<!-- END event -->

View File

@ -1,14 +1,16 @@
<!-- $Id$ -->
<!-- BEGIN monthly_header -->
<tr colspan="{cols}" width="{col_width}%">
{column_header}</tr>
<!-- END monthly_header -->
<!-- BEGIN column_title -->
<th width="11%" bgcolor="{bgcolor}"><font color="{font_color}">{col_title}</font></th>
<!-- END column_title -->
<!-- BEGIN month_column -->
<td valign="top" height="75" colspan="1" width="{col_width}%"{extra}>
{column_data}
</td>
<!-- END month_column -->
<!-- BEGIN column_title -->
<th class="calendar_weekview_daytitle" width="11%" bgcolor="{bgcolor}">{col_title}</th>
<!-- END column_title -->
<!-- BEGIN month_column -->
<td class="calendar_m_w_tablecell" colspan="1" width="{col_width}%"{extra}>
{column_data}
</td>
<!-- END month_column -->

View File

@ -1,4 +1,5 @@
<!-- $Id$ -->
<!-- BEGIN view_event -->
<center>
<table border="0" width="90%">
@ -11,12 +12,14 @@
</table>
</center>
<!-- END view_event -->
<!-- BEGIN list -->
<tr bgcolor="{tr_color}">
<td valign="top" width="30%">&nbsp;<b>{field}:</b></td>
<td colspan="2" valign="top" width="70%">{data}</td>
</tr>
<!-- END list -->
<!-- BEGIN hr -->
<tr>
<td colspan="3" bgcolor="{th_bg}" align="center">

View File

@ -1,6 +1,6 @@
<!-- $Id$ -->
{printer_friendly}
<table border="0" width="100%" cols="5">
<table id="calendar_minical_table" border="0" width="100%" cols="5">
<tr>
<td align="left" valign="top" width="20%">
{small_calendar_prev}
@ -19,10 +19,16 @@
</td>
</tr>
</table>
<table border="0" width="100%">
<td style="font-size: 14px" align="center">
<b>{week_identifier}<br>{username}</b>
<table id="calendar_week_identifier_table" class="calendar_week_identifier_table">
<tr>
<td align="center">
<span class="calendar_week_identifier">{week_identifier}&nbsp;&nbsp;</span>
<span class="calendar_user_identifier">[&nbsp;{username}&nbsp;]</span>
</td>
</tr>
</table>
{week_display}
<div class="calendar_link_print">
{print}
</div>

View File

@ -17,15 +17,19 @@
</table>
</center>
<p>
<div class="calendar_link_print">
{printer_friendly}
</div>
<!-- END year -->
<!-- BEGIN month -->
<td valign="top">
{mini_month}
</td>
<!-- END month -->
<!-- BEGIN month_sep -->
</tr>
<tr valign="top">
</tr>
<tr valign="top">
<!-- END month_sep -->