src/org/openbravo/erpCommon/businessUtility/TabAttachments_F1.html
author Juan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Tue, 29 Jan 2008 11:08:22 +0000
changeset 378 5c93458e2916
parent 0 0247c26f10c6
child 528 7aa737db257f
permissions -rw-r--r--
[1881705] Force file eol to LF (UNIX)
juanpablo@378
     1
<!--
juanpablo@378
     2
 *************************************************************************
juanpablo@378
     3
 * The contents of this file are subject to the Openbravo  Public  License
juanpablo@378
     4
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
juanpablo@378
     5
 * Version 1.1  with a permitted attribution clause; you may not  use this
juanpablo@378
     6
 * file except in compliance with the License. You  may  obtain  a copy of
juanpablo@378
     7
 * the License at http://www.openbravo.com/legal/license.html 
juanpablo@378
     8
 * Software distributed under the License  is  distributed  on  an "AS IS"
juanpablo@378
     9
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
juanpablo@378
    10
 * License for the specific  language  governing  rights  and  limitations
juanpablo@378
    11
 * under the License. 
juanpablo@378
    12
 * The Original Code is Openbravo ERP. 
juanpablo@378
    13
 * The Initial Developer of the Original Code is Openbravo SL 
juanpablo@378
    14
 * All portions are Copyright (C) 2001-2007 Openbravo SL 
juanpablo@378
    15
 * All Rights Reserved. 
juanpablo@378
    16
 * Contributor(s):  ______________________________________.
juanpablo@378
    17
 ************************************************************************
juanpablo@378
    18
-->
juanpablo@378
    19
<HTML>
juanpablo@378
    20
<HEAD>
juanpablo@378
    21
<TITLE>Attached files</TITLE>
juanpablo@378
    22
juanpablo@378
    23
<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
juanpablo@378
    24
<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
juanpablo@378
    25
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>      
juanpablo@378
    26
juanpablo@378
    27
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
juanpablo@378
    28
<SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
juanpablo@378
    29
juanpablo@378
    30
juanpablo@378
    31
juanpablo@378
    32
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
juanpablo@378
    33
      <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
juanpablo@378
    34
      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
juanpablo@378
    35
      <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
juanpablo@378
    36
      <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
juanpablo@378
    37
      <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">	var baseDirection = "localhost";</SCRIPT>
juanpablo@378
    38
      <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
juanpablo@378
    39
      <script type="text/javascript">
juanpablo@378
    40
        dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
juanpablo@378
    41
      </script>
juanpablo@378
    42
      <script type="text/javascript">
juanpablo@378
    43
      var selectedRadio = "";
juanpablo@378
    44
        function selectActual(obj) {
juanpablo@378
    45
          if (selectedRadio != "") {
juanpablo@378
    46
            changeClass("funcEvenOddRow" + selectedRadio, " Popup_Client_Selector_SelectedRow_bg", "", true);
juanpablo@378
    47
          }
juanpablo@378
    48
          selectedRadio = obj.getAttribute("pos");
juanpablo@378
    49
          document.getElementById("funcEvenOddRow" + selectedRadio).className += " Popup_Client_Selector_SelectedRow_bg";
juanpablo@378
    50
         }
juanpablo@378
    51
         </script>
juanpablo@378
    52
</head>
juanpablo@378
    53
juanpablo@378
    54
juanpablo@378
    55
<body>
juanpablo@378
    56
juanpablo@378
    57
<div class="Popup_ContentPane_CircleLogo">
juanpablo@378
    58
  <div class="Popup_WindowLogo">
juanpablo@378
    59
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_attachment" src="../../../../../web/images/blank.gif" border=0/></img>
juanpablo@378
    60
  </div>
juanpablo@378
    61
</div>
juanpablo@378
    62
juanpablo@378
    63
<table cellspacing="0" cellpadding="0" width="100%">
juanpablo@378
    64
 <form id="form" method="POST" action="TabAttachments_F1.html" name="frmMain">
juanpablo@378
    65
  <INPUT type="hidden" name="Command">
juanpablo@378
    66
<INPUT type="hidden" name="IsPopUpCall" value="1">
juanpablo@378
    67
  <INPUT type="hidden" name="inpTabId" value="xx" id="paramTabId">
juanpablo@378
    68
  <INPUT type="hidden" name="inpwindowId" value="xx" id="paramWindow"> 
juanpablo@378
    69
  <INPUT type="hidden" name="inpKey" value="xx" id="paramKey">
juanpablo@378
    70
  <tr>
juanpablo@378
    71
    <td>
juanpablo@378
    72
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
juanpablo@378
    73
        <tr class="Popup_NavBar_bg"><td></td>
juanpablo@378
    74
          <td class="Popup_NavBar_separator_cell"></td>
juanpablo@378
    75
          <td class="Popup_NavBar_bg_logo_left"></td>
juanpablo@378
    76
          <td class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><IMG src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
juanpablo@378
    77
          <td class="Popup_NavBar_bg_logo_right"></td>
juanpablo@378
    78
          <td class="Popup_NavBar_Popup_title_cell"><span>Attachment</span></td>
juanpablo@378
    79
          <td class="Popup_NavBar_separator_cell"></td>
juanpablo@378
    80
        </tr>
juanpablo@378
    81
      </table>
juanpablo@378
    82
    </td>
juanpablo@378
    83
  </tr>
juanpablo@378
    84
juanpablo@378
    85
  <tr>
juanpablo@378
    86
    <td>
juanpablo@378
    87
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
juanpablo@378
    88
        <tr>
juanpablo@378
    89
          <td class="Popup_SeparatorBar_bg"></td>
juanpablo@378
    90
        </tr>
juanpablo@378
    91
      </table>
juanpablo@378
    92
    </td>
juanpablo@378
    93
  </tr>
juanpablo@378
    94
juanpablo@378
    95
  
juanpablo@378
    96
  <!-- MessageBox -->
juanpablo@378
    97
                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
juanpablo@378
    98
                              <TBODY>
juanpablo@378
    99
                              <tr class="MessageBox_TopMargin">
juanpablo@378
   100
                                <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   101
                                <td></td>
juanpablo@378
   102
                                <td class="MessageBox_RightMargin"></td>
juanpablo@378
   103
                              </tr>
juanpablo@378
   104
                              <tr>
juanpablo@378
   105
                                <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   106
                                <td>
juanpablo@378
   107
juanpablo@378
   108
                                  <table cellpadding="0" cellspacing="0" style="width: 100%;">
juanpablo@378
   109
                                    <TBODY>
juanpablo@378
   110
                                    <tr>
juanpablo@378
   111
                                      <td>
juanpablo@378
   112
                                        <div class="MessageBox_TopLeft"></div>
juanpablo@378
   113
                                        <div class="MessageBox_Left"></div>
juanpablo@378
   114
                                      </td>
juanpablo@378
   115
                                      <td class="MessageBox_bg">
juanpablo@378
   116
juanpablo@378
   117
                                        <table class="MessageBox_Top">
juanpablo@378
   118
                                        <TBODY>
juanpablo@378
   119
                                          <tr>
juanpablo@378
   120
                                            <td>
juanpablo@378
   121
                                              <span>
juanpablo@378
   122
                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
juanpablo@378
   123
                                                <TBODY>
juanpablo@378
   124
                                                <tr>
juanpablo@378
   125
                                                  <td class="MessageBox_Icon_ContentCell">
juanpablo@378
   126
                                                    <div class="MessageBox_Icon"></div>
juanpablo@378
   127
                                                  </td>
juanpablo@378
   128
                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
juanpablo@378
   129
                                                    <span>
juanpablo@378
   130
                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
juanpablo@378
   131
                                                        xxInfo: AccessTableWithNoView
juanpablo@378
   132
                                                      </div>
juanpablo@378
   133
                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
juanpablo@378
   134
                                                        xxThe current information is empty.
juanpablo@378
   135
                                                      </div>
juanpablo@378
   136
                                                      <div class="MessageBox_TextSeparator"></div>
juanpablo@378
   137
                                                    </span>
juanpablo@378
   138
                                                  </td>
juanpablo@378
   139
                                                </tr>
juanpablo@378
   140
                                                </TBODY>
juanpablo@378
   141
                                              </table>
juanpablo@378
   142
                                              </span>
juanpablo@378
   143
                                            </td>
juanpablo@378
   144
                                          </tr>
juanpablo@378
   145
                                          </TBODY>
juanpablo@378
   146
                                        </table>
juanpablo@378
   147
juanpablo@378
   148
                                      </td>
juanpablo@378
   149
                                      <td class="MessageBox_RightTrans">
juanpablo@378
   150
                                        <div class="MessageBox_TopRight"></div>
juanpablo@378
   151
                                        <div class="MessageBox_Right"></div>
juanpablo@378
   152
                                      </td>
juanpablo@378
   153
                                    </tr>
juanpablo@378
   154
                                    <tr>
juanpablo@378
   155
                                      <td rowspan="2" class="MessageBox_BottomLeft">
juanpablo@378
   156
                                      </td>
juanpablo@378
   157
                                      <td class="MessageBox_BottomTrans MessageBox_bg">
juanpablo@378
   158
                                      </td>
juanpablo@378
   159
                                      <td rowspan="2" class="MessageBox_BottomRight">
juanpablo@378
   160
                                      </td>
juanpablo@378
   161
                                    </tr>
juanpablo@378
   162
                                    <tr>
juanpablo@378
   163
                                      <td class="MessageBox_Bottom">
juanpablo@378
   164
                                      </td>
juanpablo@378
   165
                                    </tr>
juanpablo@378
   166
                                    </TBODY>
juanpablo@378
   167
                                  </table>
juanpablo@378
   168
juanpablo@378
   169
                                </td>
juanpablo@378
   170
                                <td class="MessageBox_RightMargin"></td>
juanpablo@378
   171
                              </tr>
juanpablo@378
   172
                              <tr class="MessageBox_BottomMargin">
juanpablo@378
   173
                                <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   174
                                <td></td>
juanpablo@378
   175
                                <td class="MessageBox_RightMargin"></td>
juanpablo@378
   176
                              </tr>
juanpablo@378
   177
                              </TBODY>
juanpablo@378
   178
                            </table>
juanpablo@378
   179
  
juanpablo@378
   180
  
juanpablo@378
   181
  <tr>
juanpablo@378
   182
    <td>
juanpablo@378
   183
      <div class="Popup_ContentPane_Client" style="overflow: auto;">
juanpablo@378
   184
        <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
juanpablo@378
   185
juanpablo@378
   186
          <tr>
juanpablo@378
   187
            <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   188
            <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   189
            <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   190
            <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   191
          </tr>
juanpablo@378
   192
juanpablo@378
   193
          <tr>
juanpablo@378
   194
            <td class="TitleCell"> <SPAN class="LabelText">Attached to</SPAN></td>
juanpablo@378
   195
            <td class="ContentCell" colspan="2"> <span class="Label_ReadOnly_Text" id="paramRecordIdentifier">xxAtachedRecord</span></td>
juanpablo@378
   196
            <td/>
juanpablo@378
   197
          </tr>
juanpablo@378
   198
juanpablo@378
   199
          
juanpablo@378
   200
juanpablo@378
   201
          <tr id="noData">
juanpablo@378
   202
            <td/>
juanpablo@378
   203
            <td colspan="2"class="TitleCell"> <SPAN class="LabelText">No files attached</SPAN></td>
juanpablo@378
   204
            <td>
juanpablo@378
   205
            <td/>
juanpablo@378
   206
          </tr>
juanpablo@378
   207
          <tr id="widthData">
juanpablo@378
   208
            <td colspan="4">
juanpablo@378
   209
              <table class="Border" border="1" cellspacing="0" cellpadding="0" width="100%"> <!--style="text-align:-moz-center;_text-align:center;"-->
juanpablo@378
   210
                <div class="Popup_ContentPane_Client" style="overflow: auto;">
juanpablo@378
   211
                  <TR class="Popup_Client_Selector_DataGrid_HeaderRow"> 
juanpablo@378
   212
                  
juanpablo@378
   213
                    <TH width="3%"  class="datagridLineNoHeaderCell">&nbsp;</TH>
juanpablo@378
   214
                    <TH width="33%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">File name</TH>
juanpablo@378
   215
                    <TH width="52%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">Text</TH>
juanpablo@378
   216
                    <TH width="12%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">type</TH>
juanpablo@378
   217
                  </TR>
juanpablo@378
   218
                  
juanpablo@378
   219
                  
juanpablo@378
   220
                  
juanpablo@378
   221
                  <DIV id="sectionDetail"> 
juanpablo@378
   222
                    <TR class="Popup_Client_Selector_DataGrid_Row Popup_Client_Selector_yyRow_bg" id="funcEvenOddRowxx">
juanpablo@378
   223
                      <TD class="datagridLineNoCell"> 
juanpablo@378
   224
                        <INPUT type="radio" name="inpcFileId" onclick="selectActual(this); return true;"value="xx" id="fieldC_File_ID" class="CheckBox" pos="pp">
juanpablo@378
   225
                      </TD>
juanpablo@378
   226
                      <TD id="fieldName">xx</TD>
juanpablo@378
   227
                      <TD id="fieldText">xx</TD>
juanpablo@378
   228
                      <TD id="fieldDataType">xx</TD>
juanpablo@378
   229
                    </TR>
juanpablo@378
   230
                  </DIV>
juanpablo@378
   231
                </div>
juanpablo@378
   232
              </table>
juanpablo@378
   233
             </td>
juanpablo@378
   234
          </tr>
juanpablo@378
   235
          <tr><td height="20px"></td></tr>
juanpablo@378
   236
juanpablo@378
   237
          <tr>
juanpablo@378
   238
            <td class="Button_RightAlign_ContentCell">
juanpablo@378
   239
              <div>
juanpablo@378
   240
                <table class="Button" 
juanpablo@378
   241
                onclick="submitCommandForm('NEW', false, null, 'TabAttachments_F1.html', '_self');return false;"
juanpablo@378
   242
                onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='HTML_Report';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
juanpablo@378
   243
                  <tr>
juanpablo@378
   244
                    <td class="Button_left"></td>
juanpablo@378
   245
                    <td class="Button_text Button_width">Add</td>
juanpablo@378
   246
                    <td class="Button_right"></td>
juanpablo@378
   247
                  </tr>
juanpablo@378
   248
                </table>
juanpablo@378
   249
              </div>
juanpablo@378
   250
            </td>
juanpablo@378
   251
            <td class="Button_RightAlign_ContentCell">
juanpablo@378
   252
              <div id="widthData">
juanpablo@378
   253
                <table class="Button" 
juanpablo@378
   254
                onclick="submitCommandForm('EDIT', false, null, 'TabAttachments_F1.html', '_self');return false;" 
juanpablo@378
   255
                onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='HTML_Report';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
juanpablo@378
   256
                  <tr>
juanpablo@378
   257
                    <td class="Button_left"></td>
juanpablo@378
   258
                    <td class="Button_text Button_width">Edit</td>
juanpablo@378
   259
                    <td class="Button_right"></td>
juanpablo@378
   260
                  </tr>
juanpablo@378
   261
                </table>
juanpablo@378
   262
              </div>
juanpablo@378
   263
            </td>
juanpablo@378
   264
            <td class="Button_LeftAlign_ContentCell">
juanpablo@378
   265
              <div id="widthData">
juanpablo@378
   266
                <table class="Button" 
juanpablo@378
   267
                onclick="submitCommandForm('DISPLAY_DATA', false, null, 'TabAttachments_F1.html', '_self');return false;" 
juanpablo@378
   268
                onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='PDF_Report';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
juanpablo@378
   269
                  <tr>
juanpablo@378
   270
                    <td class="Button_left"></td>
juanpablo@378
   271
                    <td class="Button_text Button_width">Download</td>
juanpablo@378
   272
                    <td class="Button_right"></td>
juanpablo@378
   273
                  </tr>
juanpablo@378
   274
                </table>
juanpablo@378
   275
              </div>
juanpablo@378
   276
            </td>
juanpablo@378
   277
            <td class="Button_RightAlign_ContentCell">
juanpablo@378
   278
              <div id="widthData">
juanpablo@378
   279
                <table class="Button" 
juanpablo@378
   280
                onclick="submitCommandForm('DELETE', false, null, 'TabAttachments_F1.html', '_self');return false;"
juanpablo@378
   281
                onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='HTML_Report';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
juanpablo@378
   282
                  <tr>
juanpablo@378
   283
                    <td class="Button_left"></td>
juanpablo@378
   284
                    <td class="Button_text Button_width">Delete</td>
juanpablo@378
   285
                    <td class="Button_right"></td>
juanpablo@378
   286
                  </tr>
juanpablo@378
   287
                </table>
juanpablo@378
   288
              </div>
juanpablo@378
   289
            </td>
juanpablo@378
   290
          </tr>
juanpablo@378
   291
juanpablo@378
   292
        </table>
juanpablo@378
   293
      </div>
juanpablo@378
   294
    </td>
juanpablo@378
   295
  </tr>
juanpablo@378
   296
  </form>
juanpablo@378
   297
</table>
juanpablo@378
   298
juanpablo@378
   299
</body>
juanpablo@378
   300
</html>