Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
6b5e2e8e
Commit
6b5e2e8e
authored
May 17, 2021
by
Francesc Guasch
Browse files
refactor(frontend): new machine route
parent
d4e27462
Changes
2
Hide whitespace changes
Inline
Side-by-side
script/rvd_front
View file @
6b5e2e8e
...
...
@@ -294,7 +294,7 @@ any '/admin/#type' => sub {
return admin($c);
};
any '/new_machine' => sub {
any '/new_machine
.html
' => sub {
my $c = shift;
return access_denied($c) if !$USER->can_create_machine;
return new_machine($c);
...
...
templates/ng-templates/new_machine_template.html.ep
View file @
6b5e2e8e
<div class="tab-pane fade show active" id="fromtemplate" role="tabpanel">
<div class="card-body">
<form name="new_machineForm" role="form" method="post" action="/new_machine" novalidate>
<form name="new_machineForm" role="form" method="post" action="/new_machine
.html
" novalidate>
<div class="form-group row">
<label for="backend" class="col-xl-3 col-form-label"><%=l 'Backend' %> <a
title="Choose the virtualization type of the Virtual Machine."><i class="fa fa-info-circle"></i></a></label>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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