Commit ec85929d authored by 's avatar

ui update

parent 9a9cd260
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
<FORM ACTION="manage_deleteUser" METHOD="POST"> <FORM ACTION="manage_deleteUser" METHOD="POST">
The following users have been defined. Click on a user to edit The following users have been defined. Click on a user to edit
that user. that user.
<BR> <P>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING=2> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2">
<!--#in userNames--> <!--#in userNames-->
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
...@@ -37,6 +37,7 @@ that user. ...@@ -37,6 +37,7 @@ that user.
</TABLE> </TABLE>
</FORM> </FORM>
<!--#else userNames--> <!--#else userNames-->
<P>
<EM>There are no users defined.</EM> <EM>There are no users defined.</EM>
<!--#/if userNames--> <!--#/if userNames-->
<P> <P>
......
"""Document object""" """Document object"""
__version__='$Revision: 1.28 $'[11:-2] __version__='$Revision: 1.29 $'[11:-2]
from Globals import HTML, HTMLFile from Globals import HTML, HTMLFile
from string import join,split,strip,rfind,atoi from string import join,split,strip,rfind,atoi
...@@ -27,9 +27,6 @@ class Document(HTML, RoleManager, SimpleItem.Item_w__name__, ...@@ -27,9 +27,6 @@ class Document(HTML, RoleManager, SimpleItem.Item_w__name__,
{'icon':'', 'label':'Security', {'icon':'', 'label':'Security',
'action':'manage_rolesForm', 'target':'manage_main', 'action':'manage_rolesForm', 'target':'manage_main',
}, },
{'icon':'', 'label':'Undo',
'action':'manage_UndoForm', 'target':'manage_main',
},
) )
def initvars(self, mapping, vars): def initvars(self, mapping, vars):
......
...@@ -5,25 +5,26 @@ ...@@ -5,25 +5,26 @@
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555"> <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs--> <!--#var manage_tabs-->
You may upload the source for <!--#var title_and_id--> using the form below. <P>
Choose an existing html file from your local computer by clicking the You may upload the source for <!--#var title_and_id--> using the form below.
<I>Browse</I> button. Choose an existing html file from your local computer by clicking the
<I>Browse</I> button.
<FORM ACTION="manage_upload" METHOD="POST" <FORM ACTION="manage_upload" METHOD="POST"
ENCTYPE="multipart/form-data" TARGET="manage_main"> ENCTYPE="multipart/form-data" TARGET="manage_main">
<TABLE CELLSPACING="2"> <TABLE CELLSPACING="2">
<TR> <TR>
<TH ALIGN="LEFT" VALIGN="TOP">File</TH> <TH ALIGN="LEFT" VALIGN="TOP">File</TH>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="file" NAME="file:string" SIZE="25" VALUE=""> <INPUT TYPE="file" NAME="file:string" SIZE="25" VALUE="">
</TD> </TD>
</TR> </TR>
<TR> <TR>
<TD></TD> <TD></TD>
<TD><BR><INPUT TYPE="SUBMIT" VALUE="Change"></TD> <TD><BR><INPUT TYPE="SUBMIT" VALUE="Change"></TD>
</TR> </TR>
</TABLE> </TABLE>
</FORM> </FORM>
</BODY> </BODY>
</HTML> </HTML>
...@@ -4,27 +4,31 @@ ...@@ -4,27 +4,31 @@
</HEAD> </HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555"> <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs--> <!--#var manage_tabs-->
<P>
You can update data in the <!--#var kind--> using the form below. You can update data in the <!--#var kind--> using the form below.
Select a data file from your local computer by clicking the <EM>Browse</EM> Select a data file from your local computer by clicking the <EM>Browse</EM>
button. The file you select will be uploaded to the application. button. The file you select will be uploaded to the application.
<FORM ACTION="manage_upload" METHOD="POST" <FORM ACTION="manage_upload" METHOD="POST"
ENCTYPE="multipart/form-data" TARGET="manage_main"> ENCTYPE="multipart/form-data" TARGET="manage_main">
<TABLE CELLSPACING="2"> <TABLE CELLSPACING="2">
<TR> <TR>
<TH ALIGN="LEFT" VALIGN="TOP">Id</TH> <TH ALIGN="LEFT" VALIGN="TOP">Id</TH>
<TD ALIGN="LEFT" VALIGN="TOP"><!--#var id--></TD> <TD ALIGN="LEFT" VALIGN="TOP"><!--#var id--></TD>
</TR> </TR>
<TR> <TR>
<TH ALIGN="LEFT" VALIGN="TOP">Data</TH> <TH ALIGN="LEFT" VALIGN="TOP">Data</TH>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="file" NAME="file" SIZE="25" VALUE=""> <INPUT TYPE="file" NAME="file" SIZE="25" VALUE="">
</TD> </TD>
</TR> </TR>
<TR><TD></TD><TD><BR><INPUT TYPE="SUBMIT" VALUE="Change"></TD> <TR>
</TR> <TD></TD>
</TABLE> <TD><BR>
<INPUT TYPE="SUBMIT" VALUE="Change">
</TD>
</TR>
</TABLE>
</FORM> </FORM>
</BODY> </BODY>
</HTML> </HTML>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment