fix page "DNS Zone Records"
This commit is contained in:
parent
f2564ce514
commit
ee03438168
3 changed files with 11 additions and 6 deletions
|
@ -32,4 +32,8 @@ table.filemanager td {padding:0 !important;}
|
||||||
.RadioButtonsGridView .AspNet-GridView table{width: 100%;}
|
.RadioButtonsGridView .AspNet-GridView table{width: 100%;}
|
||||||
.RadioButtonsGridView .AspNet-GridView table tbody tr td{font-size: 9pt; color: #333333; background: White; padding: 5px; text-align: left; white-space: nowrap;}
|
.RadioButtonsGridView .AspNet-GridView table tbody tr td{font-size: 9pt; color: #333333; background: White; padding: 5px; text-align: left; white-space: nowrap;}
|
||||||
.RadioButtonsGridView .AspNet-GridView table tbody tr td.RadioButtonColumn{padding-right: 25px; padding-left: 10px!important;}
|
.RadioButtonsGridView .AspNet-GridView table tbody tr td.RadioButtonColumn{padding-right: 25px; padding-left: 10px!important;}
|
||||||
.RadioButtonsGridView .AspNet-GridView table thead tr th{clear: both; background: #f5f5f5; padding: 4px; border-top: solid 1px #CCCCCC; font-size: 9pt; color: #333333; text-align: left; white-space: nowrap;}
|
.RadioButtonsGridView .AspNet-GridView table thead tr th{clear: both; background: #f5f5f5; padding: 4px; border-top: solid 1px #CCCCCC; font-size: 9pt; color: #333333; text-align: left; white-space: nowrap;}
|
||||||
|
|
||||||
|
/* fixed */
|
||||||
|
.FixedGrid table { table-layout: fixed; }
|
||||||
|
.FixedGrid table tbody tr td {word-wrap:break-word;}
|
||||||
|
|
|
@ -19,11 +19,12 @@
|
||||||
<asp:Button ID="btnAdd" runat="server" meta:resourcekey="btnAdd" Text="Add record" CssClass="Button2" OnClick="btnAdd_Click" CausesValidation="False" />
|
<asp:Button ID="btnAdd" runat="server" meta:resourcekey="btnAdd" Text="Add record" CssClass="Button2" OnClick="btnAdd_Click" CausesValidation="False" />
|
||||||
</div>
|
</div>
|
||||||
<asp:GridView ID="gvRecords" runat="server" AutoGenerateColumns="False" EmptyDataText="gvRecords"
|
<asp:GridView ID="gvRecords" runat="server" AutoGenerateColumns="False" EmptyDataText="gvRecords"
|
||||||
CssSelectorClass="NormalGridView"
|
CssSelectorClass="NormalGridView FixedGrid"
|
||||||
OnRowEditing="gvRecords_RowEditing" OnRowDeleting="gvRecords_RowDeleting"
|
OnRowEditing="gvRecords_RowEditing" OnRowDeleting="gvRecords_RowDeleting"
|
||||||
AllowSorting="True" DataSourceID="odsDnsRecords">
|
AllowSorting="True" DataSourceID="odsDnsRecords">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
|
<ItemStyle Width="3%" />
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:ImageButton ID="cmdEdit" runat="server" SkinID="EditSmall" CommandName="edit" AlternateText="Edit record">
|
<asp:ImageButton ID="cmdEdit" runat="server" SkinID="EditSmall" CommandName="edit" AlternateText="Edit record">
|
||||||
</asp:ImageButton>
|
</asp:ImageButton>
|
||||||
|
@ -37,15 +38,16 @@
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle CssClass="NormalBold" Wrap="False" />
|
<ItemStyle CssClass="NormalBold" Wrap="False" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:BoundField DataField="RecordName" SortExpression="RecordName" HeaderText="gvRecordsName" />
|
<asp:BoundField DataField="RecordName" SortExpression="RecordName" HeaderText="gvRecordsName" ItemStyle-Width="20%" />
|
||||||
<asp:BoundField DataField="RecordType" SortExpression="RecordType" HeaderText="gvRecordsType" />
|
<asp:BoundField DataField="RecordType" SortExpression="RecordType" HeaderText="gvRecordsType" ItemStyle-Width="5%" />
|
||||||
<asp:TemplateField SortExpression="RecordData" HeaderText="gvRecordsData" >
|
<asp:TemplateField SortExpression="RecordData" HeaderText="gvRecordsData" >
|
||||||
<ItemStyle Width="100%" />
|
<ItemStyle Width="69%" />
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<%# GetRecordFullData((string)Eval("RecordType"), (string)Eval("RecordData"), (int)Eval("MxPriority"), (int)Eval("SrvPort"))%>
|
<%# GetRecordFullData((string)Eval("RecordType"), (string)Eval("RecordData"), (int)Eval("MxPriority"), (int)Eval("SrvPort"))%>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
|
<ItemStyle Width="3%" />
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:ImageButton ID="cmdDelete" runat="server" SkinID="DeleteSmall" CommandName="delete"
|
<asp:ImageButton ID="cmdDelete" runat="server" SkinID="DeleteSmall" CommandName="delete"
|
||||||
AlternateText="Delete record" OnClientClick="return confirmation();">
|
AlternateText="Delete record" OnClientClick="return confirmation();">
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue