BUG 0000 BUG 0000 User Inbox Simplified (second commit)
This commit is contained in:
106
workflow/engine/templates/home/appList.html
Normal file
106
workflow/engine/templates/home/appList.html
Normal file
@@ -0,0 +1,106 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
||||
<link rel="stylesheet" href="/css/simplified.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript" src="/js/jquery/jquery-1.7.1.min.js"></script>
|
||||
|
||||
{literal}
|
||||
<style>
|
||||
body {
|
||||
/*width: 500px;*/
|
||||
margin: 10px auto;
|
||||
/*color: #999;*/
|
||||
font: 90%/150% Arial, Helvetica, sans-serif;
|
||||
/*margin : 0px;*/
|
||||
color : #808080;
|
||||
/*font : normal 8pt sans-serif,Tahoma,MiscFixed;*/
|
||||
background-color:#ECECEC;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
function resize()
|
||||
{
|
||||
var h = $(document.body).height() - 52;
|
||||
var w = $(document.body).width();
|
||||
if (w > 600) {
|
||||
w = 600;
|
||||
}
|
||||
|
||||
$('.content-header').width(w-50);
|
||||
}
|
||||
|
||||
function showNt(appNum)
|
||||
{
|
||||
var d = $('#m_'+appNum);
|
||||
|
||||
if (d.css('display') == 'block') {
|
||||
d.hide('slow');
|
||||
}
|
||||
else {
|
||||
d.show('slow');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
</head>
|
||||
|
||||
<body onload="resize()" onresize="resize()" >
|
||||
<center>
|
||||
<div class="content-header" style="text-align:left">
|
||||
<h1 style="padding: 10px">{$title}</h1>
|
||||
<ul id="commentlist">
|
||||
{foreach from=$cases key=id item=APP}
|
||||
<li>
|
||||
<!-- <span class="messages-link"></span> -->
|
||||
<span class="commentnumber">
|
||||
#{$APP.APP_NUMBER}
|
||||
</span>
|
||||
|
||||
{if $APP.NOTES_COUNT neq 0}
|
||||
<span class="notes-link">
|
||||
<a href="#" onclick="showNt('{$APP.APP_NUMBER}'); return false;"><img src="/images/simplified/messages-grey.png" height="20" width="20"></a>
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
<p>
|
||||
<cite>
|
||||
<a href="../cases/cases_Open?APP_UID={$APP.APP_UID}&DEL_INDEX={$APP.DEL_INDEX}&action=todo">{$APP.APP_TITLE}</a>
|
||||
</cite>
|
||||
</p>
|
||||
<p class="time">{$APP.DEL_DELEGATE_DATE}<!-- February 8th, 2009 at 5:38 am --></p>
|
||||
<p>{$APP.APP_PRO_TITLE}
|
||||
<br/>{$APP.APP_TAS_TITLE}</p>
|
||||
|
||||
<div id="m_{$APP.APP_NUMBER}" class="appMessages">
|
||||
{if $APP.NOTES_COUNT neq 0}
|
||||
{foreach from=$APP.NOTES_LIST key=k item=NOTE}
|
||||
<div class="appMessage">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td width="50" valign="top">
|
||||
<img border="0" src="../users/users_ViewPhotoGrid?pUID={$NOTE.USR_UID}" width="40" height="40"/>
|
||||
</td>
|
||||
<td>
|
||||
<h3>{$NOTE.USR_FIRSTNAME} {$NOTE.USR_LASTNAME} ({$NOTE.USR_USERNAME})</h3>
|
||||
<p><pre>{$NOTE.NOTE_CONTENT}</pre>
|
||||
|
||||
<div class="appMessageDate">Posted at {$NOTE.NOTE_DATE}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user