summaryrefslogtreecommitdiff
path: root/framework/Wsat/pages/TWsatGenerateAR.page
diff options
context:
space:
mode:
authorDaniel <darthdaniel85@gmail.com>2013-11-25 12:49:07 -0500
committerDaniel <darthdaniel85@gmail.com>2013-11-25 12:49:07 -0500
commit227ef973f923ec201a1ece197f6242b3248c66ae (patch)
tree9eae95c47d7ac19a15d1f61f19d417e354b943c0 /framework/Wsat/pages/TWsatGenerateAR.page
parentefde949d00b808f55710abbd3d82ceb490545116 (diff)
WSAT beta release with doc.
Diffstat (limited to 'framework/Wsat/pages/TWsatGenerateAR.page')
-rw-r--r--framework/Wsat/pages/TWsatGenerateAR.page47
1 files changed, 35 insertions, 12 deletions
diff --git a/framework/Wsat/pages/TWsatGenerateAR.page b/framework/Wsat/pages/TWsatGenerateAR.page
index acd456fd..b1cd98aa 100644
--- a/framework/Wsat/pages/TWsatGenerateAR.page
+++ b/framework/Wsat/pages/TWsatGenerateAR.page
@@ -1,33 +1,56 @@
<com:TContent ID="Content">
- <div style="margin-left: 220px; font-size: 14px">
+ <div style="margin: 10px; font-size: 16px; font-weight: bold">Active Record Classes Generator</div>
+ <div class="green_panel" style="text-align: left; font-size: 14px; margin: 15px 5px">
+ <label>This generator generates an AR class for the specified database table.</label><br/>
+ <label>Fields with <b style="color: red">*</b> are required.</label>
+ <hr/>
+ <div style="font-size: 12px; font-style: italic">
+ <ul>
+ <li>If you want to generate all AR Classes, keep the "Table Name" field as appears by default.</li>
+ <li>"Output Folder" field refers to the directory that the new AR class file should be generated under... where Application refers to the protected folder of your project. You can let this default field value and PRADO will create the proper folders for you.</li>
+ </ul>
+ </div>
+ </div>
+
+ <div style="font-size: 14px">
<div class="form_row">
- <com:TLabel Text="Table Name:" ForControl="table_name" style="margin-right: 24px" />
- <com:TTextBox ID="table_name" Text="*" CssClass="in_text" />
- <com:TRequiredFieldValidator ControlToValidate="table_name" Text="Table name cannot be blank." Display="Dynamic" />
+ <com:TLabel Text="Table Name:" ForControl="table_name" style="margin-right: 24px" />
+ <com:TTextBox ID="table_name" Text="*" CssClass="in_text" />
+ <label style="color: red">*</label>
+ <com:TRequiredFieldValidator ControlToValidate="table_name" Text="Table name cannot be blank." Display="Dynamic" />
</div>
+
+ <div class="form_row">
+ <com:TLabel Text="Output Folder:" ForControl="output_folder" style="margin-right: 8px"/>
+ <com:TTextBox ID="output_folder" Text="Application.App_Data.AR_Classes" CssClass="in_text" />
+ <label style="color: red">*</label>
+ <com:TRequiredFieldValidator ControlToValidate="output_folder" Text="Output folder cannot be blank." Display="Dynamic" />
+ </div>
+
<div class="form_row">
<com:TLabel Text="Class Prefix:" ForControl="class_prefix" style="margin-right: 25px"/>
<com:TTextBox ID="class_prefix" Text="AR_" CssClass="in_text" />
</div>
+
<div class="form_row">
- <com:TLabel Text="Output Folder:" ForControl="output_folder" style="margin-right: 8px"/>
- <com:TTextBox ID="output_folder" Text="Application.App_Data.AR_Classes" CssClass="in_text" />
+ <com:TLabel Text="Class Sufix:" ForControl="class_sufix" style="margin-right: 27px"/>
+ <com:TTextBox ID="class_sufix" CssClass="in_text" />
</div>
-
+
<div class="form_row">
<com:TLabel Text="Build Relations:" ForControl="build_rel"/>
<com:TCheckBox ID="build_rel" Checked="true" />
</div>
-
- <com:TPanel ID="success_panel" Visible="false">
- <com:TLabel ID="generation_msg" />
+
+ <com:TPanel ID="feedback_panel" Visible="false" style="width: 400px">
+ <com:TLabel ID="generation_msg" />
</com:TPanel>
<br/>
- <div style="text-align: center">
+ <div style="text-align: center; width: 400px">
<com:TButton Text="Preview" OnClick="preview" Visible="false" />
<com:TButton Text="Generate" OnClick="generate" />
</div>
</div>
-
+
</com:TContent>