source: branches/1.2/workflow/templates/default/processes/header.tpl @ 1349

Revision 1349, 2.1 KB checked in by niltonneto, 15 years ago (diff)

Ticket #561 - Inclusão do módulo Workflow faltante nessa versão.

  • Property svn:executable set to *
Line 
1{* ARQUIVOS CSS *}
2<link rel="stylesheet" type="text/css" href="{$wf_default_resources_path}/default.css">
3<link rel="stylesheet" type="text/css" href="{$wf_default_resources_path}/screen.css">
4{* ARQUIVOS JS *}
5{* componente que faz a ligação entre a camada view e a camada de controle *}
6<script type="text/javascript" src="{$wf_js_path}/../scriptaculous/prototype.js"></script>
7{literal}
8<script type="text/javascript">
9function actionDelete()
10{
11        return (confirm('Deseja realmente remover o registro?'));
12}
13
14function dispatch(acaoSolicitada, args)
15{
16        if (acaoSolicitada == 'Excluir')
17                if (!actionDelete())
18                        return;
19
20        document.forms["workflow_form"].elements["action"].value = acaoSolicitada;
21        if (args) {
22                document.forms["workflow_form"].elements["params"].value = args;
23        }
24        document.forms["workflow_form"].submit();
25}
26</script>
27{/literal}
28{* CABEÇALHO HTML *}
29<span class="titulo">{$activity_title}</span>
30<div id="barra_acao_top">
31  <table width="100%">
32    <tr>
33      <td width="150">{wf_redir_menu}</td>
34      <td><div id="menu">
35          <ul>
36                {* variáveis $inbox e $processes são configuradas no controlador do processo *}
37            <li><a href="{$inbox}" title="Tarefas Pendentes">Tarefas Pendentes</a></li>
38            <li><a href="{$processes}" title="Executar Processos">Processos</a></li>
39          </ul>
40        </div></td>
41      <td>
42      <td width="30"><a href="javascript:history.back()" title="Voltar para página anterior">voltar</a></td>
43      <td width="16"><a href="javascript:history.back()"><img src="{$wf_default_resources_path}/icon_voltar.png" border="0"></a></td>
44      {* NÃO IMPLEMENTADO!!! *}
45          {if $help ne ""}
46              <td width="30"><a href="#" title="Obter ajuda do sistema">&nbsp;ajuda</a></td>
47          <td width="16"><a href="#"><img src="{$wf_default_resources_path}/icon_ajuda.png" border="0"></a></td>
48          {/if}
49      </td>
50    </tr>
51  </table>
52</div>
53<div>
54
55</div>
56{* componente de navegação que informa ao controlador mvc qual a ação solicitada *}
57<input  type="hidden" name="action" value="">
58{* argumentos opcionais enviados para o controlador mvc repassar a camada model *}
59<input  type="hidden" name="params" value="">
Note: See TracBrowser for help on using the repository browser.