~sebastian-scalr/openstack-platform-php/trunk

« back to all changes in this revision

Viewing changes to templates/en_US/aws_rds_param_group_edit.tpl

  • Committer: DicsyDel
  • Date: 2010-01-14 09:49:24 UTC
  • Revision ID: svn-v4:ea022c65-b648-0410-8974-0d324702c27d:trunk:247
1.2.0 Stable Release
Events system improvements:
* Added new events: OnDNSZoneUpdated, OnEBSVolumeAttached

Scripting engine improvements:
* Added the %zone_name% variable for scripts executed on DNSZoneUpdate event
* Added the %new_ip_address% variable for scripts executed on IPAddressChanged event
* Added the %volume_id% and %mountpoint% variables for scripts executed on EBSVolumeMounted event
* The ability to execute scripts from the Scripts view page.

Snapshots manager improvements:
* Remove multiple snapshots in one time
* Share snapshots!

API improvements:
* Added methods: LaunchInstance, TerminateInstance, GetFarmDetails, GetScriptDetails, RebootInstance, GetEvents, GetLogs
* Added methods for working with DNS zones: ListDNSZones, ListDNSZoneRecords, AddDNSZoneRecord and RemoveDNSZoneRecord
* Improved the ExecuteScript method.
* Added LA for each instance to the GetFarmDetails method
* Added the ability to execute scripts with specified revision and parameters

Core improvements:
* Amazon RDS support
* Amazon Spot instances support.
* Amazon CloudWatch support (fine grained monitoring)
* Amazon VPC support (enterprise feature, deploy on non-shared servers)
* Rewrote the “Synchronize to all” feature. Cleaner and more reliable now.
* Same goes for AutoEBS and AutoEIP. Cleaner and more reliable.
* When you create a new AMI for a custom role, you can now switch over to it immediately.
* And the long awaited “Keep me logged in” checkbox on the login page!
* Filters for instances on the Servers view page.
* CloudFront distributions for domains not managed by Scalr.
* The ability to remove Elastic Load Balancers.
* Support for new region: us-west-1 (deploy on the west coast!)
* A new page with more details on the instance.
* Increased page load speed. Optimized js code. (faster, better interface!)
* An improved MySQL status page for your Farms
* The ability to set whether Scalr should terminate or reboot instances that fail to respond to SNMP calls.
* The ability to slowdown the scaling process
* Support for new instance types, the high memory instances (32 and 68GB of memory)
* The ability to add Google Apps MX records in the Zone Edit page in a single click.
* The ability to edit system DNS records. For advanced clients.
* The ability to set both size and snapshot for Role auto EBS (previously just one)
* Added ability to edit farm role specified security group
* Added Hide terminated instances checkbox on instances list.
* Added ability to view all instances (include non-scalr ones)
* Added ability to set system timezone for clients (Logs, Events, API logs)
* Fixed bug in garbage.php with “select all” checkbox
* Fixed bug with default SSH port (see thread)
* More than 200 bugs was fixed and tons of other internal improvements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{include file="inc/header.tpl"}
 
2
    <script language="Javascript">
 
3
    
 
4
    {literal}
 
5
        
 
6
    function SaveParams()
 
7
    {
 
8
        //AddRule(true);
 
9
        
 
10
        var footer_button_table = $('footer_button_table');
 
11
                var elems = footer_button_table.select('[class="btn"]');
 
12
                elems.each(function(item){
 
13
                        item.disabled = true;
 
14
                });
 
15
                
 
16
                $('btn_hidden_field').name = this.name;
 
17
                $('btn_hidden_field').value = this.value;
 
18
                
 
19
                document.forms[1].submit();
 
20
    }
 
21
    
 
22
    {/literal}
 
23
    </script>
 
24
                {include file="inc/table_header.tpl"}  
 
25
{*------------ Parameters Group ------------------------*} 
 
26
                {include file="inc/intable_header.tpl" header="Parameters Group " color="Gray"}
 
27
        <tr>
 
28
                <td colspan="2">
 
29
                  <table cellpadding="5" cellspacing="15" width="100%" border="0" >                   
 
30
                      <tr>
 
31
                          <td style="font-weight:bold; width:30%;">Parameter Group Name</td>
 
32
                          <td>{$group_name}</td>                          
 
33
                      </tr>                   
 
34
                      <tr>
 
35
                                        <td style="font-weight:bold;">Engine</td>       
 
36
                                        <td> 
 
37
                                                <select class="text"><option>MySQL5.1</option></select>
 
38
                                        </td>
 
39
                      </tr>
 
40
                      <tr>
 
41
                          <td style="font-weight:bold;vertical-align:text-top;">Description</td>
 
42
                          <td style="vertical-align:text-top;">{$groupDescription}</td>  
 
43
                      </tr> 
 
44
                  </table>
 
45
                </td>
 
46
        </tr>
 
47
                {include file="inc/intable_footer.tpl" color="Gray"}    
 
48
 
 
49
{*------------ system parameters -------------------------*}                    
 
50
                {include file="inc/intable_header.tpl" header="system parameters" color="Gray"}
 
51
        <tr>
 
52
                <td colspan="2">                                
 
53
                        <table cellpadding="5" cellspacing="15" width="100%" border="0" >                                  
 
54
                                 <tr>
 
55
                                         <td  style="font-weight:bold; width:15%;">Name</td>
 
56
                                         <td  style="font-weight:bold; width:25%;">Value</td>                                                                    
 
57
                                         <td  style="font-weight:bold;">Description</td>
 
58
                                 </tr>
 
59
                                 {foreach from = $parameters item = param}
 
60
                                        {if $param.Source == 'system'}
 
61
                                        <tr id="{$param.ParameterName}">                        
 
62
                                                <td  style="vertical-align:text-top;">{$param.ParameterName}</td>
 
63
                                                <td  style="vertical-align:text-top; text-align:left;">                                 
 
64
                                                        {if $param.IsModifiable == 'false' }                                                                                                                                                                                            
 
65
                                                                        {$param.ParameterValue} 
 
66
                                                        {else}
 
67
                                                        
 
68
                                                                {if $param.DataType == 'string' && $param.AllowedValues}
 
69
                                                                                        <select class="text" style="width:80%" name="{$param.ParameterName}" id="{$param.ParameterName}">
 
70
                                                                                        {* if the ParameterValue is set, the selected option is ParameterValue, else - ""*}
 
71
                                                                                        <option class="text" selected value="{$param.ParameterValue}">{if $param.ParameterValue}{$param.ParameterValue}{else}{/if}</option>
 
72
                                                                                        {foreach from = $param.AllowedValues  item = value }
 
73
                                                                                                <option class="text"  value="{$value}">{$value}</option>
 
74
                                                                                        {/foreach}                                                                              
 
75
                                                                                        </select>
 
76
                                                                        {else}
 
77
                                                                                {if $param.DataType == 'boolean'}                                                                                                                                                                                       
 
78
                                                                                        <input type="checkbox"  name="{$param.ParameterName}" id="{$param.ParameterName}" {if $param.ParameterValue == '1'} checked {/if} value="1">
 
79
                                                                                {else}                                                                                                                                                          
 
80
                                                                                        <input type="text" class="text" style="width:80%" id="{$param.ParameterName}" name="{$param.ParameterName}" value="{$param.ParameterValue}">                                                                            
 
81
                                                                                {/if}
 
82
                                                                        {/if} 
 
83
                                                                {/if}
 
84
                                                </td>                                           
 
85
                                                        <td  style="font-style:italic;vertical-align:text-top;font-size:9pt; ">
 
86
                                                                {$param.Description}
 
87
                                                                {if $param.AllowedValues && $param.DataType != 'string' }<br/>Allowed values: {$param.AllowedValues}{/if}  
 
88
                                                        </td>                                             
 
89
                                                </tr>
 
90
                                                {/if}
 
91
                                         {/foreach}                                                           
 
92
                        </table>
 
93
                </td>
 
94
        </tr>                   
 
95
                {include file="inc/intable_footer.tpl" color="Gray"}
 
96
 
 
97
{*------------ engine-default parameter ------------------*}    
 
98
                {include file="inc/intable_header.tpl" header="engine-default parameters" color="Gray"}
 
99
        <tr>
 
100
                <td colspan="2">                                
 
101
                        <table cellpadding="5" cellspacing="15" width="100%" border="0" >                                  
 
102
                                 <tr>
 
103
                                         <td  style="font-weight:bold; width:15%;">Name</td>
 
104
                                         <td  style="font-weight:bold; width:25%;">Value</td>                                                                    
 
105
                                         <td  style="font-weight:bold;">Description</td>
 
106
                                 </tr>
 
107
                                 {foreach from = $parameters item = param}
 
108
                                        {if $param.Source == 'engine-default'}
 
109
                                        <tr id="{$param.ParameterName}">                        
 
110
                                                <td  style="vertical-align:text-top;">{$param.ParameterName}</td>
 
111
                                                <td  style="vertical-align:text-top; text-align:left;">                                 
 
112
                                                        {if $param.IsModifiable == 'false' }                                                                                                                                                                                            
 
113
                                                                        {$param.ParameterValue} 
 
114
                                                        {else}
 
115
                                                        
 
116
                                                                {if $param.DataType == 'string' && $param.AllowedValues}
 
117
                                                                                        <select class="text" style="width:80%" name="{$param.ParameterName}" id="{$param.ParameterName}">
 
118
                                                                                        {* if the ParameterValue is set, the selected option is ParameterValue, else - ""*}
 
119
                                                                                        <option class="text" selected value="{$param.ParameterValue}">{if $param.ParameterValue}{$param.ParameterValue}{else}{/if}</option>
 
120
                                                                                        {foreach from = $param.AllowedValues  item = value }
 
121
                                                                                                <option class="text"  value="{$value}">{$value}</option>
 
122
                                                                                        {/foreach}                                                                              
 
123
                                                                                        </select>
 
124
                                                                        {else}
 
125
                                                                                {if $param.DataType == 'boolean'}                                                                                                                                                                                       
 
126
                                                                                        <input type="checkbox"  name="{$param.ParameterName}" id="{$param.ParameterName}" {if $param.ParameterValue == '1'} checked {/if} value="1">
 
127
                                                                                {else}                                                                                                                                                          
 
128
                                                                                        <input type="text" class="text" style="width:80%" id="{$param.ParameterName}" name="{$param.ParameterName}" value="{$param.ParameterValue}">                                                                            
 
129
                                                                                {/if}
 
130
                                                                        {/if} 
 
131
                                                                {/if}
 
132
                                                </td>                                           
 
133
                                                        <td  style="font-style:italic;vertical-align:text-top;font-size:9pt; ">
 
134
                                                                {$param.Description}
 
135
                                                                {if $param.AllowedValues && $param.DataType != 'string' }<br/>Allowed values: {$param.AllowedValues}{/if} 
 
136
                                                        </td>                                             
 
137
                                                </tr>
 
138
                                                {/if}
 
139
                                         {/foreach}                                                           
 
140
                        </table>
 
141
                </td>
 
142
        </tr>                   
 
143
                {include file="inc/intable_footer.tpl" color="Gray"}   
 
144
{*------------ user parameters ---------------------------*}    
 
145
                {include file="inc/intable_header.tpl" header="user parameters" color="Gray"}
 
146
        <tr>
 
147
                <td colspan="2">                                
 
148
                        <table cellpadding="5" cellspacing="15" width="100%" border="0" >                                  
 
149
                                 <tr>
 
150
                                         <td  style="font-weight:bold; width:15%;">Name</td>
 
151
                                         <td  style="font-weight:bold; width:25%;">Value</td>                                                                    
 
152
                                         <td  style="font-weight:bold;">Description</td>
 
153
                                 </tr>
 
154
                                 {foreach from = $parameters item = param}
 
155
                                        {if $param.Source == 'user'}
 
156
                                        <tr id="{$param.ParameterName}">                        
 
157
                                                <td  style="vertical-align:text-top;">{$param.ParameterName}</td>
 
158
                                                <td  style="vertical-align:text-top; text-align:left;">                                 
 
159
                                                        {if $param.IsModifiable == 'false' }                                                                                                                                                                                            
 
160
                                                                        {$param.ParameterValue} 
 
161
                                                        {else}
 
162
                                                        
 
163
                                                                {if $param.DataType == 'string' && $param.AllowedValues}
 
164
                                                                                        <select class="text" style="width:80%" name="{$param.ParameterName}" id="{$param.ParameterName}">
 
165
                                                                                        {* if the ParameterValue is set, the selected option is ParameterValue, else - ""*}
 
166
                                                                                        <option class="text" selected value="{$param.ParameterValue}">{if $param.ParameterValue}{$param.ParameterValue}{else}{/if}</option>
 
167
                                                                                        {foreach from = $param.AllowedValues  item = value }
 
168
                                                                                                <option class="text"  value="{$value}">{$value}</option>
 
169
                                                                                        {/foreach}                                                                              
 
170
                                                                                        </select>
 
171
                                                                        {else}
 
172
                                                                                {if $param.DataType == 'boolean'}                                                                                                                                                                                       
 
173
                                                                                        <input type="checkbox"  name="{$param.ParameterName}" id="{$param.ParameterName}" {if $param.ParameterValue == '1'} checked {/if} value="1">
 
174
                                                                                {else}                                                                                                                                                          
 
175
                                                                                        <input type="text" class="text" style="width:80%" id="{$param.ParameterName}" name="{$param.ParameterName}" value="{$param.ParameterValue}">                                                                            
 
176
                                                                                {/if}
 
177
                                                                        {/if} 
 
178
                                                                {/if}
 
179
                                                </td>                                           
 
180
                                                        <td  style="font-style:italic;vertical-align:text-top;font-size:9pt; ">
 
181
                                                                {$param.Description}
 
182
                                                                {if $param.AllowedValues && $param.DataType != 'string' }<br/>Allowed values: {$param.AllowedValues}{/if} 
 
183
                                                        </td>                                             
 
184
                                                </tr>
 
185
                                                {/if}
 
186
                                         {/foreach}                                                           
 
187
                        </table>
 
188
                </td>
 
189
        </tr>                   
 
190
                {include file="inc/intable_footer.tpl" color="Gray"} 
 
191
{*---------------------------------------------------------------*}  
 
192
        
 
193
        <input type="hidden" name="name" value="{$group_name}">       
 
194
        {include file="inc/table_footer.tpl" button_js=1 button_js_name="Save" show_js_button=1 button_js_action="SaveParams();" button3=1 button3_name = "Set to default"}
 
195
                
 
196
{include file="inc/footer.tpl"}
 
 
b'\\ No newline at end of file'