mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
Сделал боковое меню теперь на полный экран.
Более менее сделал карточный вид Добавил пару кнопок на странице принтера
This commit is contained in:
1 parent
644485fb63
commit
5faa4c6359
11 files changed
+135
-53
No files matched your search
@@ -52,5 +52,15 @@ namespace CartriX.Api.Controllers.Network
|
||||
var ip = NetworkHelper.GetLocalIp();
|
||||
return Ok(new Uri($"http://{ip}:{port}"));
|
||||
}
|
||||
/// <summary>
|
||||
/// Получить IP Адрес через имя хоста
|
||||
/// </summary>
|
||||
[ProducesResponseType(typeof(string), StatusCodes.Status200OK)]
|
||||
[HttpGet(nameof(GetIpAddressFromHostname))]
|
||||
public async Task<ActionResult> GetIpAddressFromHostname([FromQuery] string Hostname)
|
||||
{
|
||||
var ip = await NetworkHelper.GetIPFromHostnameAsync(Hostname);
|
||||
return Ok(ip);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user