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

View File

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

View File

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

View File

@ -1,6 +1,13 @@
<!-- $Id$ --> <!-- $Id$ -->
<!-- BEGIN form_button --> <!-- BEGIN form_button -->
<nobr>
<form action="{action_url_button}" method="post" name="{action_text_button}form"> <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> </form>
</nobr>
<!-- END form_button --> <!-- END form_button -->

View File

@ -1,13 +1,17 @@
<!-- $Id$ --> <!-- $Id$ -->
<!-- BEGIN head --> <!-- BEGIN head -->
{row}<br> {row}<br />
<!-- END head --> <!-- END head -->
<!-- BEGIN head_table --> <!-- 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> <tr>
{header_column} </tr> {header_column}
</tr>
</table> </table>
<!-- END head_table --> <!-- END head_table -->
<!-- BEGIN head_col --> <!-- BEGIN head_col -->
{str} {str}
<!-- END head_col --> <!-- END head_col -->

View File

@ -1,27 +1,33 @@
<!-- $Id$ --> <!-- $Id$ -->
{printer_friendly} {printer_friendly}
<table border="0" width="100%" cols="5"> <table border="0" width="100%" cols="5">
<tr> <tr>
<td align="left" valign="top" width="20%"> <td align="left" valign="top" width="20%">
{small_calendar_prev} {small_calendar_prev}
</td> </td>
<td align="center" valign="middle" width="20%"> <td align="center" valign="middle" width="15%">
<b>{prev_month_link}</b> <b>{prev_month_link}</b>
</td> </td>
<td align="center" width="20%"> <td align="center" width="30%">
<font size="+2" color="#000000"><b>{month_identifier}</b></font> <span class="calendar_month_identifier">
<font size="+1" color="#000000"><br>{username}</font> {month_identifier}
</td> </span>
<td align="center" valign="middle" width="20%"> <br />
{next_month_link} <span class="calendar_user_identifier">
</td> [&nbsp;{username}&nbsp;]
<td align="right" valign="top" width="20%"> </span>
{small_calendar_next} </td>
</td> <td align="center" valign="middle" width="15%">
</tr> {next_month_link}
</td>
<td align="right" valign="top" width="20%">
{small_calendar_next}
</td>
</tr>
</table> </table>
{large_month} {large_month}
<p> <p>
<p> <p>
{print} <div class="calendar_link_print">
{print}
</div>

View File

@ -1,19 +1,26 @@
<!-- $Id$ link_pict --> <!-- $Id$ link_pict -->
<!-- BEGIN link_pict --> <!-- BEGIN link_pict -->
{picture} {picture}
<!-- END link_pict --> <!-- END link_pict -->
<!-- BEGIN link_open --> <!-- 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 --> <!-- END link_open -->
<!-- BEGIN pict --> <!-- BEGIN pict -->
<img src="{pic_image}" width="{width}" height="{height}" title="{title}" border="0" /> <img src="{pic_image}" width="{width}" height="{height}" title="{title}" border="0" />
<!-- END pict --> <!-- END pict -->
<!-- BEGIN link_text_old --> <!-- BEGIN link_text_old -->
<nobr>&nbsp;{time}&nbsp;</nobr> {title}&nbsp;{users_status}: <i>{desc}</i><!--({location})--> <nobr>&nbsp;{time}&nbsp;</nobr> {title}&nbsp;{users_status}: <i>{desc}</i><!--({location})-->
<!-- END link_text_old --> <!-- END link_text_old -->
<!-- BEGIN link_text --> <!-- BEGIN link_text -->
<nobr>&nbsp;{time}&nbsp;</nobr>{users_status}&nbsp;{title}<!-- : <i>{desc}</i>--><!--({location})--> <nobr>&nbsp;{time}&nbsp;</nobr>{users_status}&nbsp;{title}<!-- : <i>{desc}</i>--><!--({location})-->
<!-- END link_text --> <!-- END link_text -->
<!-- BEGIN link_close --> <!-- BEGIN link_close -->
</a> </a></div>
<!-- END link_close --> <!-- END link_close -->

View File

@ -1,25 +1,29 @@
<!-- $Id$ --> <!-- $Id$ -->
<!-- BEGIN mini_cal --> <!-- BEGIN mini_cal -->
<table border="0" cellspacing="0" cellpadding="0" valign="top" width="80" cols="7"> <table border="0" cellspacing="0" cellpadding="0" valign="top" width="80" cols="7">
<tr valign="middle"> <tr valign="middle">
<td align="left" colspan=4><font size="-2">&nbsp;&nbsp;&nbsp;&nbsp;<b>{month}</b></font></td> <td align="left" colspan=4><font size="-2">&nbsp;&nbsp;&nbsp;&nbsp;<b>{month}</b></font></td>
<td align="right" colspan=3>{prevmonth}&nbsp;&nbsp;{nextmonth}</td> <td align="right" colspan=3>{prevmonth}&nbsp;&nbsp;{nextmonth}</td>
</tr> </tr>
<tr> <tr>
<td align="center" colspan=7><img src="{cal_img_root}" width="90%" height="5"></td> <td align="center" colspan=7><img src="{cal_img_root}" width="90%" height="5"></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td colspan="7"> <td colspan="7">
<table border="0" width="100%" cellspacing="7" cellpadding="0" valign="top" cols="7"> <table border="0" width="100%" cellspacing="7" cellpadding="0" valign="top" cols="7">
<tr>{daynames} </tr>{display_monthweek} </table> <tr>{daynames}</tr>
</td> {display_monthweek}
</tr> </table>
</td>
</tr>
</table> </table>
<!-- END mini_cal --> <!-- END mini_cal -->
<!-- BEGIN mini_week --> <!-- BEGIN mini_week -->
<tr>{monthweek_day} <tr>{monthweek_day}
</tr> </tr>
<!-- END mini_week --> <!-- END mini_week -->
<!-- BEGIN mini_day --> <!-- BEGIN mini_day -->
<td align="center"{day_image}><font size="-2">{dayname}</font></td> <td align="center"{day_image}><font size="-2">{dayname}</font></td>
<!-- END mini_day --> <!-- END mini_day -->

View File

@ -1,18 +1,20 @@
<!-- $Id$ month_day --> <!-- $Id$ month_day -->
<!-- BEGIN m_w_table --> <!-- 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} {row}
</table> </table>
<!-- END m_w_table --> <!-- END m_w_table -->
<!-- BEGIN month_daily --> <!-- 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} {daily_events}
<!-- END month_daily --> <!-- END month_daily -->
<!-- BEGIN day_event --> <!-- BEGIN day_event -->
<font size="{week_day_font_size}">
{events} {events}
</font>
<!-- END day_event --> <!-- END day_event -->
<!-- BEGIN event --> <!-- BEGIN event -->
{day_events} {day_events}
<!-- END event --> <!-- END event -->

View File

@ -1,14 +1,16 @@
<!-- $Id$ --> <!-- $Id$ -->
<!-- BEGIN monthly_header --> <!-- BEGIN monthly_header -->
<tr colspan="{cols}" width="{col_width}%"> <tr colspan="{cols}" width="{col_width}%">
{column_header}</tr> {column_header}</tr>
<!-- END monthly_header --> <!-- 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,9 +1,10 @@
<!-- $Id$ --> <!-- $Id$ -->
<!-- BEGIN view_event --> <!-- BEGIN view_event -->
<center> <center>
<table border="0" width="90%"> <table border="0" width="90%">
{row} {row}
<tr> <tr>
<td><table cellspacing="5"><tr>{button_left}</tr></table></td> <td><table cellspacing="5"><tr>{button_left}</tr></table></td>
<td align="center"><table cellspacing="5"><tr>{button_center}</tr></table></td> <td align="center"><table cellspacing="5"><tr>{button_center}</tr></table></td>
<td align="right"><table cellspacing="5"><tr>{button_right}</tr></table></td> <td align="right"><table cellspacing="5"><tr>{button_right}</tr></table></td>
@ -11,12 +12,14 @@
</table> </table>
</center> </center>
<!-- END view_event --> <!-- END view_event -->
<!-- BEGIN list --> <!-- BEGIN list -->
<tr bgcolor="{tr_color}"> <tr bgcolor="{tr_color}">
<td valign="top" width="30%">&nbsp;<b>{field}:</b></td> <td valign="top" width="30%">&nbsp;<b>{field}:</b></td>
<td colspan="2" valign="top" width="70%">{data}</td> <td colspan="2" valign="top" width="70%">{data}</td>
</tr> </tr>
<!-- END list --> <!-- END list -->
<!-- BEGIN hr --> <!-- BEGIN hr -->
<tr> <tr>
<td colspan="3" bgcolor="{th_bg}" align="center"> <td colspan="3" bgcolor="{th_bg}" align="center">

View File

@ -1,28 +1,34 @@
<!-- $Id$ --> <!-- $Id$ -->
{printer_friendly} {printer_friendly}
<table border="0" width="100%" cols="5"> <table id="calendar_minical_table" border="0" width="100%" cols="5">
<tr> <tr>
<td align="left" valign="top" width="20%"> <td align="left" valign="top" width="20%">
{small_calendar_prev} {small_calendar_prev}
</td> </td>
<td align="center" valign="middle" width="20%"> <td align="center" valign="middle" width="20%">
<b>{prev_week_link}</b> <b>{prev_week_link}</b>
</td> </td>
<td align="center" valign="top" width="20%"> <td align="center" valign="top" width="20%">
{small_calendar_this} {small_calendar_this}
</td> </td>
<td align="center" valign="middle" width="20%"> <td align="center" valign="middle" width="20%">
<b>{next_week_link}</b> <b>{next_week_link}</b>
</td> </td>
<td align="right" valign="top" width="20%"> <td align="right" valign="top" width="20%">
{small_calendar_next} {small_calendar_next}
</td> </td>
</tr> </tr>
</table> </table>
<table border="0" width="100%">
<td style="font-size: 14px" align="center"> <table id="calendar_week_identifier_table" class="calendar_week_identifier_table">
<b>{week_identifier}<br>{username}</b> <tr>
</td> <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> </table>
{week_display} {week_display}
<div class="calendar_link_print">
{print} {print}
</div>

View File

@ -2,30 +2,34 @@
{print} {print}
<center> <center>
<table border="0" cellspacing="3" cellpadding="4" cols=4> <table border="0" cellspacing="3" cellpadding="4" cols=4>
<tr> <tr>
<td align="center"> <td align="center">
{left_link} {left_link}
</td> </td>
<td align="center"> <td align="center">
<font face="{font}" size="+1">{year_text}</font> <font face="{font}" size="+1">{year_text}</font>
</td> </td>
<td align="center"> <td align="center">
{right_link} {right_link}
</td> </td>
{row} {row}
</tr> </tr>
</table> </table>
</center> </center>
<p> <p>
<div class="calendar_link_print">
{printer_friendly} {printer_friendly}
</div>
<!-- END year --> <!-- END year -->
<!-- BEGIN month --> <!-- BEGIN month -->
<td valign="top"> <td valign="top">
{mini_month} {mini_month}
</td> </td>
<!-- END month --> <!-- END month -->
<!-- BEGIN month_sep --> <!-- BEGIN month_sep -->
</tr> </tr>
<tr valign="top"> <tr valign="top">
<!-- END month_sep --> <!-- END month_sep -->