Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finalize basic bootstrap usage for the main zmi forms in dtml
- Loading branch information
Showing
6 changed files
with
85 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,60 @@ | ||
<dtml-var manage_page_header> | ||
<dtml-var manage_tabs> | ||
|
||
<main> | ||
|
||
<p class="form-help"> | ||
You may edit the source for this document using the form below. You | ||
You may edit the source for this document using the form below. You | ||
may also upload the source for this document from a local file. Click | ||
the <em>browse</em> button to select a local file to upload. | ||
</p> | ||
|
||
<form action="manage_edit" method="post"> | ||
<table cellpadding="2" cellspacing="0" width="100%" border="0"> | ||
<form action="manage_edit" method="post" class="zmi-dtml zmi-edit"> | ||
|
||
<dtml-with keyword_args mapping> | ||
<tr> | ||
<td align="left" valign="top"> | ||
<div class="form-optional"> | ||
<div class="form-group row"> | ||
<label for="title" class="form-label col-sm-2"> | ||
Title | ||
</div> | ||
</td> | ||
<td align="left" valign="top"> | ||
<input type="text" name="title" size="40" value="<dtml-if | ||
title>&dtml-title;</dtml-if>"> | ||
</td> | ||
</tr> | ||
</label> | ||
|
||
<tr> | ||
<td align="left" valign="top" colspan="2"> | ||
<textarea name="data:text" wrap="off" style="width: 100%;" | ||
<input id="title" class="form-control col-sm-10 col-md-7" type="text" name="title" size="40" value="<dtml-if | ||
title>&dtml-title;</dtml-if>"> | ||
</div> | ||
<div class="form-group"> | ||
<textarea id="content" class="form-control zmi-code col-sm-12" name="data:text" wrap="off" style="width: 100%;" | ||
rows="20"><dtml-var __str__></textarea> | ||
</td> | ||
</tr> | ||
</div> | ||
</dtml-with> | ||
|
||
<tr> | ||
<td align="left" valign="top" colspan="2"> | ||
<div class="form-element"> | ||
<dtml-if wl_isLocked> | ||
<em>Locked</em> | ||
<dtml-else> | ||
<input class="form-element" type="submit" name="SUBMIT" value="Save Changes"> | ||
</dtml-if> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</form> | ||
|
||
<form action="manage_upload" method="post" enctype="multipart/form-data"> | ||
<table cellpadding="2" cellspacing="0" border="0"> | ||
<tr> | ||
<td align="left" valign="top"> | ||
<div class="form-label"> | ||
File | ||
</div> | ||
</td> | ||
<td align="left" valign="top"> | ||
<input type="file" name="file" size="25" value=""> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td></td> | ||
<td align="left" valign="top"> | ||
<div class="form-element"> | ||
<div class="controls"> | ||
<dtml-if wl_isLocked> | ||
<em>Locked</em> | ||
<dtml-else> | ||
<input class="form-element" type="submit" value="Upload File"> | ||
<input class="btn btn-primary" type="submit" name="SUBMIT" value="Save Changes"> | ||
</dtml-if> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</form> | ||
|
||
<dtml-var manage_page_footer> | ||
|
||
|
||
|
||
|
||
</form> | ||
|
||
<form action="manage_upload" method="post" enctype="multipart/form-data" class="zmi-upload mt-5"> | ||
<div class="form-group row"> | ||
<label for="file-data" class="col-sm-3 col-md-2" class="form-label"> | ||
File | ||
</label> | ||
<div class="col-sm-9 col-md-6"> | ||
<input id="file-data" class="form-control-file" type="file" name="file" size="25" value=""> | ||
</div> | ||
</div> | ||
<div class="controls"> | ||
<dtml-if wl_isLocked> | ||
<em>Locked</em> | ||
<dtml-else> | ||
<input class="btn btn-primary" type="submit" value="Upload File"> | ||
</dtml-if> | ||
</div> | ||
</form> | ||
|
||
</main> | ||
|
||
<dtml-var manage_page_footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters