add search engine - ringle

This commit is contained in:
Face
2025-08-27 20:23:05 +03:00
parent 1cf81bbfee
commit 347b40ed71
47 changed files with 7214 additions and 493 deletions

View File

@@ -74,7 +74,7 @@ end
local function loadDomains()
print('Loading domains...')
local response = fetch('gurt://localhost:8877/auth/domains?page=1&size=100', {
local response = fetch('gurt://localhost:8877/auth/domains?page=1&limit=100', {
headers = {
Authorization = 'Bearer ' .. authToken
}

View File

@@ -325,7 +325,7 @@ gurt.select('#add-record-btn'):on('click', function()
local recordType = gurt.select('#record-type').value
local recordName = gurt.select('#record-name').value
local recordValue = gurt.select('#record-value').value
local recordTTL = tonumber(gurt.select('#record-ttl').value) or ''
local recordTTL = tonumber(gurt.select('#record-ttl').value) or 'none'
if not recordValue or recordValue == '' then
showError('record-error', 'Record value is required')

View File

@@ -20,7 +20,7 @@
}
input {
w-full p-3 border border-gray-600 rounded-md bg-[#374151] text-white mb-4 placeholder:text-[#999999] outline-none active:border-red-500
text-xs w-full p-3 border border-gray-600 rounded-md bg-[#374151] text-white mb-4 placeholder:text-[#999999] outline-none active:border-red-500
}
button {
@@ -51,4 +51,4 @@
<p id="log-output" style="min-h-24"></p>
</div>
</body>
</body>

View File

@@ -39,9 +39,9 @@ local function renderTLDSelector()
local total = #tlds
local intervalId
intervalId = gurt.setInterval(function()
intervalId = setInterval(function()
if i > total then
gurt.clearInterval(intervalId)
clearInterval(intervalId)
return
end