MeshMage/Web/templates/adopt/get_adopt.html.tx

35 lines
1.2 KiB
Text
Raw Normal View History

2021-06-14 05:16:54 +08:00
%% cascade _base::layout { title => "View Machine",
2021-06-09 03:57:10 +08:00
%% sb_active => 'adopt'
%% }
%% override panel -> {
<form method="POST" action="/adopt">
2021-06-14 05:16:54 +08:00
%% include '_base/form/input.tx' { type => 'text', name => 'domain_name',
2021-06-09 03:57:10 +08:00
%% title => 'Domain Name',
%% help => 'The domain to access this machine over the mesh network (e.g. foobar.mn.example.com)',
%% value => $form_domain_name
%% };
2021-06-14 05:16:54 +08:00
%% include '_base/form/input.tx' { type => 'text', name => 'address',
2021-06-09 03:57:10 +08:00
%% title => 'IP Address',
%% help => 'The IP Addess on the mesh network (e.g. 172.16.32.100)',
%% value => $form_address
%% };
2021-06-14 05:16:54 +08:00
%% include '_base/form/input.tx' { type => 'text', name => 'cidr',
2021-06-09 03:57:10 +08:00
%% title => 'Cidr Bits',
%% help => 'If your network is 192.168.0.1/24, enter 24.',
%% value => $form_cidr
%% };
2021-06-14 05:16:54 +08:00
%% include '_base/form/input.tx' { type => 'text', name => 'deploy_address',
2021-06-09 03:57:10 +08:00
%% title => 'Deploy Address',
%% help => 'SSH user@host to configure',
%% value => $form_deploy_address
%% };
<button type="submit" class="btn btn-primary float-end">Next</button>
</form>
%% }