Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acf-dnscache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACF
acf-dnscache
Commits
7554600e
Commit
7554600e
authored
Oct 28, 2012
by
Ted Trask
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unneeded views by updating CFE for autoview
parent
c5b93907
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
dnscache-editdomain-html.lsp
dnscache-editdomain-html.lsp
+0
-12
dnscache-model.lua
dnscache-model.lua
+2
-2
No files found.
dnscache-editdomain-html.lsp
deleted
100644 → 0
View file @
c5b93907
<% local form, viewlibrary, page_info = ...
require("htmlviewfunctions")
html = require("acf.html")
%>
<H1><%= html.html_escape(form.label) %></H1>
<%
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
form.value.domain.readonly = true
local order = { "domain", "iplist" }
htmlviewfunctions.displayform(form, order)
%>
dnscache-model.lua
View file @
7554600e
...
...
@@ -194,8 +194,8 @@ end
function
getDomain
(
self
,
clientdata
)
local
getdomainname
=
clientdata
.
domain
local
domain
=
cfe
({
value
=
getdomainname
,
label
=
"Domain"
,
errtxt
=
"Invalid domain"
})
local
iplist
=
cfe
({
type
=
"list"
,
value
=
{},
label
=
"List of DNS servers"
})
local
domain
=
cfe
({
value
=
getdomainname
,
label
=
"Domain"
,
errtxt
=
"Invalid domain"
,
readonly
=
true
,
seq
=
1
})
local
iplist
=
cfe
({
type
=
"list"
,
value
=
{},
label
=
"List of DNS servers"
,
seq
=
2
})
local
domains
=
getDomains
()
for
i
,
name
in
ipairs
(
domains
.
value
)
do
if
name
==
getdomainname
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment