start.html.ep 998 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10

<!DOCTYPE html>
<html>
%= include 'bootstrap/header'
<body role="document">
    %= include 'bootstrap/navigation'
    <div class="container theme-showcase" role="main">
    <div class="jumbotron">
        <h2>Welcome to SPICE !</h2>
        <form method="post">
Francesc Guasch's avatar
Francesc Guasch committed
11
12
%           if (! $_logged_in) {
                User Name: <input name="login" value ="<%= $login %>" 
13
                        type="text"><br/>
Francesc Guasch's avatar
Francesc Guasch committed
14
15
                Password: <input type="password" name="password" value=""><br/>
%           }
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
            Base: <select name="id_base">
%           for my $option (sort keys %$base) {
                <option value="<%= $option %>"><%= $base->{$option} %></option>
%           }
            </select><br/>
    
            <input type="submit" name="submit" value="launch">
        </form>
% if (scalar @$error) {
        <ul>
%       for my $i (@$error) {
            <li><%= $i %></li>
%       }
        </ul>
% }

    </div>
    </div>
    %= include 'bootstrap/scripts'
</body>
</html>