Commit 45df5724 authored by 's avatar

Style changes, added smallRolesWidget

parent 7e620b9a
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<TITLE>New HTML Document</TITLE> <TITLE>New HTML Document</TITLE>
</HEAD> </HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B"> <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
<FONT SIZE="+2">New HTML Document</FONT> <H2>New HTML Document</H2>
<P> <P>
You can create a new html document using the form below. You can create a new html document using the form below.
You may choose to upload an existing html file from your You may choose to upload an existing html file from your
...@@ -13,52 +13,35 @@ ...@@ -13,52 +13,35 @@
ENCTYPE="multipart/form-data" TARGET="manage_main"> ENCTYPE="multipart/form-data" TARGET="manage_main">
<TABLE CELLSPACING="2"> <TABLE CELLSPACING="2">
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"><STRONG>Id</STRONG></TD>
<TD ALIGN="LEFT" VALIGN="TOP"><INPUT TYPE="TEXT" NAME="id" SIZE="50"></TD>
</TR>
<TR>
<TD ALIGN="LEFT" VALIGN="TOP"><STRONG>Title</STRONG></TD>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="title" SIZE="50"> <STRONG>Id</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="id" SIZE="50">
</TD> </TD>
</TR> </TR>
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"><STRONG>File</STRONG></TD>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="file" NAME="file:string" SIZE="30" VALUE=""> <STRONG>Title</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="title" SIZE="50">
</TD> </TD>
</TR> </TR>
<!--#if AUTHENTICATED_USER-->
<TR> <TR>
<TD></TD> <TD ALIGN="LEFT" VALIGN="TOP">
<TD> <STRONG>File</STRONG>
<TABLE>
<TR>
<TD VALIGN="TOP">
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="E">
Allow users with selected roles
<BR>
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="A" CHECKED>
Allow based on default roles
<BR>
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="P">
Allow all users
</TD>
<TD VALIGN="TOP">
<SELECT NAME="acl_roles:list" SIZE="3" MULTIPLE>
<!--#in selectedRoles-->
<!--#var sequence-item-->
<!--#/in selectedRoles-->
</SELECT>
</TD> </TD>
</TR> <TD ALIGN="LEFT" VALIGN="TOP">
</TABLE> <INPUT TYPE="file" NAME="file:string" SIZE="30" VALUE="">
</TD> </TD>
</TR> </TR>
<!--#/if AUTHENTICATED_USER--> <!--#var smallRolesWidget-->
<TR> <TR>
<TD></TD> <TD></TD>
<TD><BR><INPUT TYPE="SUBMIT" VALUE="Add Document"></TD> <TD>
<BR><INPUT TYPE="SUBMIT" VALUE=" Add ">
</TD>
</TR> </TR>
</TABLE> </TABLE>
</FORM> </FORM>
......
...@@ -3,47 +3,32 @@ ...@@ -3,47 +3,32 @@
<TITLE>New Folder</TITLE> <TITLE>New Folder</TITLE>
</HEAD> </HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B"> <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
<FONT SIZE="+2">New Folder</FONT> <H2>New Folder</H2>
<FORM ACTION="<!--#var PARENT_URL-->/manage_addFolder" METHOD="POST"> <FORM ACTION="<!--#var PARENT_URL-->/manage_addFolder" METHOD="POST">
<TABLE CELLSPACING="2"> <TABLE CELLSPACING="2">
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"><B>Id</B></TD> <TD ALIGN="LEFT" VALIGN="TOP">
<TD ALIGN="LEFT" VALIGN="TOP"><INPUT TYPE="TEXT" NAME="id" SIZE="50"></TD> <STRONG>Id</STRONG>
</TR> </TD>
<TR> <TD ALIGN="LEFT" VALIGN="TOP">
<TD ALIGN="LEFT" VALIGN="TOP"><B>Title</B></TD> <INPUT TYPE="TEXT" NAME="id" SIZE="50">
<TD ALIGN="LEFT" VALIGN="TOP"><INPUT TYPE="TEXT" NAME="title" SIZE="50"></TD> </TD>
</TR> </TR>
<TR> <TR>
<TD></TD> <TD ALIGN="LEFT" VALIGN="TOP">
<TD> <STRONG>Title</STRONG>
<TABLE>
<TR>
<TD VALIGN="TOP">
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="E">
Allow users with selected roles
<BR>
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="A" CHECKED>
Allow based on default roles
<BR>
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="P">
Allow all users
</TD>
<TD VALIGN="TOP">
<SELECT NAME="acl_roles:list" SIZE="3" MULTIPLE>
<!--#in selectedRoles-->
<!--#var sequence-item-->
<!--#/in selectedRoles-->
</SELECT>
</TD> </TD>
</TR> <TD ALIGN="LEFT" VALIGN="TOP">
</TABLE> <INPUT TYPE="TEXT" NAME="title" SIZE="50">
</TD> </TD>
</TR> </TR>
<!--#var smallRolesWidget-->
<TR> <TR>
<TD></TD> <TD></TD>
<TD><BR><INPUT TYPE="SUBMIT" VALUE="Add Folder"></TD> <TD>
<BR><INPUT TYPE="SUBMIT" VALUE=" Add ">
</TD>
</TR> </TR>
</TABLE> </TABLE>
</FORM> </FORM>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<TITLE>New Image</TITLE> <TITLE>New Image</TITLE>
</HEAD> </HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B"> <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
<FONT SIZE="+2">New Image</FONT> <H2>New Image</H2>
<P> <P>
You can create a new image in the system using the form below. You can create a new image in the system using the form below.
Select an image from your local computer by clicking the <I>Browse</I> Select an image from your local computer by clicking the <I>Browse</I>
...@@ -13,51 +13,35 @@ ...@@ -13,51 +13,35 @@
ENCTYPE="multipart/form-data" TARGET="manage_main"> ENCTYPE="multipart/form-data" TARGET="manage_main">
<TABLE CELLSPACING="2"> <TABLE CELLSPACING="2">
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"><B>Id</B></TD> <TD ALIGN="LEFT" VALIGN="TOP">
<TD ALIGN="LEFT" VALIGN="TOP"><INPUT TYPE="TEXT" NAME="id" SIZE="50"></TD> <STRONG>Id</STONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="id" SIZE="50">
</TD>
</TR> </TR>
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"><B>Image</B></TD> <TD ALIGN="LEFT" VALIGN="TOP">
<STRONG>Image</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="file" NAME="file" SIZE="30" VALUE=""> <INPUT TYPE="file" NAME="file" SIZE="30" VALUE="">
</TD> </TD>
</TR> </TR>
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"><B>Title</B></TD>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="title" SIZE="50"></TD> <STRONG>Title</STRONG>
</TR>
<!--#if AUTHENTICATED_USER-->
<TR>
<TD></TD>
<TD>
<TABLE>
<TR>
<TD VALIGN="TOP">
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="E">
Allow users with selected roles
<BR>
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="A" CHECKED>
Allow based on default roles
<BR>
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="P">
Allow all users
</TD> </TD>
<TD VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<SELECT NAME="acl_roles:list" SIZE="3" MULTIPLE> <INPUT TYPE="TEXT" NAME="title" SIZE="50">
<!--#in selectedRoles-->
<!--#var sequence-item-->
<!--#/in selectedRoles-->
</SELECT>
</TD>
</TR>
</TABLE>
</TD> </TD>
</TR> </TR>
<!--#/if AUTHENTICATED_USER--> <!--#var smallRolesWidget-->
<TR> <TR>
<TD></TD> <TD></TD>
<TD><BR><INPUT TYPE="SUBMIT" VALUE="Add Image"></TD> <TD>
<BR><INPUT TYPE="SUBMIT" VALUE=" Add ">
</TD>
</TR> </TR>
</TABLE> </TABLE>
</FORM> </FORM>
......
...@@ -3,61 +3,43 @@ ...@@ -3,61 +3,43 @@
<TITLE>Edit Image</TITLE> <TITLE>Edit Image</TITLE>
</HEAD> </HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B"> <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
<FONT SIZE="+2">Edit Image</FONT> <H2>Edit Image</H2>
<P> <P>
You can update image in the system using the form below. You can update image in the system using the form below.
Select an image from your local computer by clicking the <I>Browse</I> Select an image from your local computer by clicking the <EM>Browse</EM>
button. The image file you select will be uploaded to the application. button. The image file you select will be uploaded to the application.
<FORM ACTION="<!--#var PARENT_URL-->/manage_edit" METHOD="POST" <FORM ACTION="<!--#var PARENT_URL-->/manage_edit" METHOD="POST"
ENCTYPE="multipart/form-data" TARGET="manage_main"> ENCTYPE="multipart/form-data" TARGET="manage_main">
<TABLE CELLSPACING="2"> <TABLE CELLSPACING="2">
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"><B>Id</B></TD> <TD ALIGN="LEFT" VALIGN="TOP">
<TD ALIGN="LEFT" VALIGN="TOP"><!--#var id--></TD> <STRONG>Id</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<!--#var id-->
</TD>
</TR> </TR>
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"><B>Image</B></TD> <TD ALIGN="LEFT" VALIGN="TOP">
<STRONG>Image</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="file" NAME="file" SIZE="30" VALUE=""> <INPUT TYPE="file" NAME="file" SIZE="30" VALUE="">
</TD> </TD>
</TR> </TR>
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"><B>Title</B></TD>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="title" SIZE="50" VALUE="<!--#var title-->"></TD> <STRONG>Title</STRONG>
</TR>
<!--#if AUTHENTICATED_USER-->
<TR>
<TD></TD>
<TD>
<TABLE>
<TR>
<TD VALIGN="TOP">
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="E"<!--#var aclEChecked-->>
Allow users with selected roles
<BR>
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="A"<!--#var aclAChecked-->>
Allow based on default roles
<BR>
<INPUT TYPE="RADIO" NAME="acl_type" VALUE="P"<!--#var aclPChecked-->>
Allow all users
</TD> </TD>
<TD VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<SELECT NAME="acl_roles:list" SIZE="3" MULTIPLE> <INPUT TYPE="TEXT" NAME="title" SIZE="50" VALUE="<!--#var title-->">
<!--#in selectedRoles-->
<!--#var sequence-item-->
<!--#/in selectedRoles-->
</SELECT>
</TD>
</TR>
</TABLE>
</TD> </TD>
</TR> </TR>
<!--#/if AUTHENTICATED_USER--> <!--#var smallRolesWidget-->
<TR> <TR>
<TD></TD> <TD></TD>
<TD><BR><INPUT TYPE="SUBMIT" VALUE="Change Image"></TD> <TD><BR><INPUT TYPE="SUBMIT" VALUE="Change"></TD>
</TR> </TR>
</TABLE> </TABLE>
</FORM> </FORM>
......
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
</TITLE> </TITLE>
</HEAD> </HEAD>
<BODY> <BODY>
<FONT SIZE="+2"> <H2>
<!--#if title--> <!--#if title-->
<!--#var title--> <!--#var title-->
<!--#else title--> <!--#else title-->
<!--#var id--> <!--#var id-->
<!--#/if title--> <!--#/if title-->
</FONT> </H2>
<P> <P>
<!--#if parentObject--> <!--#if parentObject-->
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
The following items have been defined. To edit an item, click The following items have been defined. To edit an item, click
on the item's icon. To view an item, click on the item's id. on the item's icon. To view an item, click on the item's id.
<P> <P>
<!--#in objectValues--> <!--#in objectValues-->
<A HREF="<!--#var URL1-->/<!--#var id-->/manage" <A HREF="<!--#var URL1-->/<!--#var id-->/manage"
<!--#if sequence-var-manage_options--> <!--#if sequence-var-manage_options-->
...@@ -52,40 +51,40 @@ ...@@ -52,40 +51,40 @@
<!--#var id--><!--#/if title--></A><BR> <!--#var id--><!--#/if title--></A><BR>
<!--#/in objectValues--> <!--#/in objectValues-->
<!--#/if objectValues--> <!--#/if objectValues-->
<P> <P>
<TABLE> <TABLE>
<TR> <TR>
<TD VALIGN="TOP"> <TD VALIGN="TOP">
To add a new item, select an item type and click the &quot;Add&quot; button. To add a new item, select an item type and click &quot;Add&quot;.
</TD> </TD>
<TD VALIGN="TOP"> <TD VALIGN="TOP">
<FORM ACTION="<!--#var PARENT_URL-->/manage_addObject" METHOD="GET"> <FORM ACTION="<!--#var PARENT_URL-->/manage_addObject" METHOD="GET">
<SELECT NAME="type"> <SELECT NAME="type">
<!--#in all_meta_types mapping--> <!--#in all_meta_types mapping-->
<OPTION><!--#var name--> <OPTION><!--#var name-->
<!--#/in all_meta_types--> <!--#/in all_meta_types-->
</SELECT><BR> </SELECT><BR>
<INPUT TYPE="SUBMIT" VALUE="Add"> <INPUT TYPE="SUBMIT" VALUE=" Add ">
</FORM> </FORM>
</TD> </TD>
</TR> </TR>
<!--#if objectValues--> <!--#if objectValues-->
<TR> <TR>
<TD VALIGN="TOP"> <TD VALIGN="TOP">
To delete items, select one or more items and To delete items, select one or more items and click &quot;Delete&quot;.
click the &quot;Delete&quot; button. </TD>
</TD> <TD VALIGN="TOP">
<TD VALIGN="TOP"> <FORM ACTION="<!--#var PARENT_URL-->/manage_delObjects" METHOD="GET">
<FORM ACTION="<!--#var PARENT_URL-->/manage_delObjects" METHOD="GET"> <SELECT NAME="ids:list" MULTIPLE SIZE="4">
<SELECT NAME="ids:list" MULTIPLE SIZE="5"> <!--#in objectValues-->
<!--#in objectValues--> <OPTION VALUE="<!--#var id-->"><!--#var title-->
<OPTION VALUE="<!--#var id-->"><!--#var id fmt=spacify--> <!--#/in objectValues-->
<!--#/in objectValues--> </SELECT><BR>
</SELECT><br> <INPUT TYPE="SUBMIT" VALUE="Delete">
<INPUT TYPE="SUBMIT" VALUE="Delete"> </FORM>
</FORM> </TD>
</TD> </TR>
</TR>
<!--#/if objectValues--> <!--#/if objectValues-->
</TABLE> </TABLE>
</BODY> </BODY>
......
...@@ -3,49 +3,57 @@ ...@@ -3,49 +3,57 @@
<TITLE>Properties</TITLE> <TITLE>Properties</TITLE>
</HEAD> </HEAD>
<BODY> <BODY>
<FONT SIZE="+2">Properties</FONT> <H2>Properties</H2>
<P> <P>
<!--#if propertyMap--> <!--#if propertyMap-->
<FORM ACTION="<!--#var URL1-->/manage_editProperties"> <FORM ACTION="<!--#var URL1-->/manage_editProperties">
The following properties are defined. To change a property value, The following properties are defined. To change a property's value,
edit the value and click the "Change Properties" button. edit the value and click "Change".
<P> <P>
<TABLE CELLPADDING="4"> <TABLE CELLPADDING="4">
<!--#if propertyInputs--> <!--#if propertyInputs-->
<!--#in propertyInputs mapping--> <!--#in propertyInputs mapping-->
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"><B><!--#var id fmt=spacify--></B></TD> <TD ALIGN="LEFT" VALIGN="TOP">
<TD ALIGN="LEFT" VALIGN="TOP"><!--#var input--></TD> <STRONG><!--#var id fmt=spacify--></STRONG>
</TR> </TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<!--#var input-->
</TD>
</TR>
<!--#/in propertyInputs--> <!--#/in propertyInputs-->
<!--#/if propertyInputs--> <!--#/if propertyInputs-->
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"></TD> <TD ALIGN="LEFT" VALIGN="TOP">
<TD ALIGN="LEFT" VALIGN="TOP"> </TD>
<INPUT TYPE="SUBMIT" VALUE="Change Properties"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="SUBMIT" VALUE="Change">
</TD> </TD>
</TR> </TR>
</TABLE> </TABLE>
</FORM> </FORM>
<!--#else propertyMap--> <!--#else propertyMap-->
<I>No properties have been defined.</I> <EM>No properties have been defined.</EM>
<!--#/if propertyMap--> <!--#/if propertyMap-->
<P>
<P>
<FORM ACTION="<!--#var URL1-->/manage_addProperty" METHOD="POST"> <FORM ACTION="<!--#var URL1-->/manage_addProperty" METHOD="POST">
You may add a property by filling in the id, type, and initial To add a property, enter the id, type, and initial value of the new
value fields below and then clicking on the "Add Property" button. property below and click &quot;Add&quot;.
<BR> <BR>
<TABLE> <TABLE>
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP">Id:</TD> <TD ALIGN="LEFT" VALIGN="TOP">
<STRONG>Id</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="id" SIZE="16"> <INPUT TYPE="TEXT" NAME="id" SIZE="16">
</TD> </TD>
</TR> </TR>
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP">Type:</TD> <TD ALIGN="LEFT" VALIGN="TOP">
<STRONG>Type</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<SELECT NAME="type"> <SELECT NAME="type">
<!--#in propertyTypes mapping--> <!--#in propertyTypes mapping-->
...@@ -55,7 +63,9 @@ value fields below and then clicking on the "Add Property" button. ...@@ -55,7 +63,9 @@ value fields below and then clicking on the "Add Property" button.
</TD> </TD>
</TR> </TR>
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP">Value:</TD> <TD ALIGN="LEFT" VALIGN="TOP">
<STRONG>Value</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="value" SIZE="50"> <INPUT TYPE="TEXT" NAME="value" SIZE="50">
</TD> </TD>
...@@ -63,18 +73,17 @@ value fields below and then clicking on the "Add Property" button. ...@@ -63,18 +73,17 @@ value fields below and then clicking on the "Add Property" button.
<TR> <TR>
<TD ALIGN="LEFT" VALIGN="TOP"></TD> <TD ALIGN="LEFT" VALIGN="TOP"></TD>
<TD ALIGN="LEFT" VALIGN="TOP"> <TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="SUBMIT" VALUE="Add Property"> <INPUT TYPE="SUBMIT" VALUE=" Add ">
</TD> </TD>
</TR> </TR>
</TABLE> </TABLE>
</FORM> </FORM>
<P>
<!--#if propertyMap--> <!--#if propertyMap-->
<P>
<FORM ACTION="<!--#var URL1-->/manage_delProperties" METHOD="POST"> <FORM ACTION="<!--#var URL1-->/manage_delProperties" METHOD="POST">
You may delete properties by selecting one or more property ids To delete properties, select one or more property ids
from the list below and clicking the &quot;Delete Properties&quot; from the list below and click &quot;Delete&quot;.
button.
<BR> <BR>
<TABLE> <TABLE>
<TR> <TR>
...@@ -85,7 +94,7 @@ button. ...@@ -85,7 +94,7 @@ button.
<!--#/in propertyMap--> <!--#/in propertyMap-->
</SELECT> </SELECT>
<BR> <BR>
<INPUT TYPE="SUBMIT" VALUE="Delete Properties"> <INPUT TYPE="SUBMIT" VALUE="Delete">
</TD> </TD>
</TR> </TR>
</TABLE> </TABLE>
......
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