source: admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/login.php @ 2960

Last change on this file since 2960 was 2960, checked in by joamuran, 3 years ago

fixed

File size: 4.3 KB
Line 
1<html>
2<head>
3
4        <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
5       
6        <!--link rel="stylesheet" href="lib/bootstrap-design/css/material.min.css"-->
7        <link rel="stylesheet" href="lib/bootstrap-material-design/css/bootstrap-material-design.min.css">
8        <link rel="stylesheet" href="lib/bootstrap-material-design/css/ripples.min.css">
9        <!--link rel="stylesheet" href="lib/bootstrap-material-design/css/material-fullpalette.min.css"-->
10        <link rel="stylesheet" href="lib/snackbar/snackbar.css">
11        <!--link rel="stylesheet" href="lib/bootstrap-design/css/ripples.min.css"-->
12        <!--link rel="stylesheet" href="lib/material/css/ripples.min.css"-->
13        <!--link rel="stylesheet" href="lib/bootstrap-design/css/roboto.min.css"-->
14        <link rel="stylesheet" href="lib/bootstrap-material-design/css/material-custom.css">
15        <link rel="stylesheet" href="css/main.css">
16
17       
18        <!--jquery -->
19        <script type="text/javascript" src="lib/jquery/jquery.js"></script>
20        <script type="text/javascript" src="lib/jsencrypt/jsencrypt.js"></script>
21        <!--script type="text/javascript" src="lib/jquery-ui/js/jquery-ui-1.10.4.custom.js"></script-->
22        <!--script type="text/javascript" src="lib/jquery.xmlrpc.js"></script-->
23       
24        <!--Utilities -->
25        <script type="text/javascript" src="lib/waitwin.js"></script>
26        <script type="text/javascript" src="lib/formFactory.js"></script>
27        <script type="text/javascript" src="lib/markdown/showdown.min.js"></script>
28        <script type="text/javascript" src="lib/utils.js"></script>
29
30
31        <script type="text/javascript" src="lib/bootstrap/js/bootstrap.min.js"></script>
32        <script type="text/javascript" src="lib/snackbar/snackbar.min.js"></script>
33
34        <!-- Material Design -->
35        <!--script type="text/javascript" src="lib/bootstrap-design/js/ripples.min.js"></script-->
36        <script type="text/javascript" src="lib/bootstrap-material-design/js/ripples.min.js"></script>
37        <!--script type="text/javascript" src="lib/bootstrap-design/js/material.min.js"></script-->
38        <script type="text/javascript" src="lib/bootstrap-material-design/js/material.min.js"></script>
39       
40        <script type="text/javascript" src="lib/cryptojs-aes/aes.js"></script>
41    <script type="text/javascript" src="lib/cryptojs-aes/aes-json-format.js"></script>
42
43
44        <!--OWNER-->
45        <script type="text/javascript" src="lib/i18n.js"></script>
46        <script type="text/javascript" src="js/login.js"></script>
47
48
49
50
51</head>
52<body>
53       
54<?php
55function gt($text){
56        $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
57        switch ($lang){
58    case "en":
59        if ($text=="Authentication") return "Authentication";
60                else if ($text=="Username") return "Username";
61                else if ($text=="login") return "Login";
62                else return "Password";
63        break;
64        case "es":
65        if ($text=="Authentication") return "Autenticación";
66                else if ($text=="Username") return "Usuario";
67                else if ($text=="login") return "Entrar";
68                else return "Contraseña";
69        break;
70        default:
71        if ($text=="Authentication") return "Autenticació";
72                else if ($text=="Username") return "Usuari";
73                else if ($text=="login") return "Entra";
74                else return "Contrassenya";
75        break;
76        }
77}
78?>
79
80<!--div id="login" class="jumbotron col-lg-4 col-lg-offset-4" style="padding: 0px"-->
81<!-- Mirar en: http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 -->
82<div class="container-fluid"><div class="row">
83        <div id="login" class="container panel col-xs-12 col-md-4 col-md-offset-4" style="padding: 0px;display: inline-block; vertical-align: middle;float: none ">
84        <div class="login_header"></div>
85
86       
87                <!--h3 style="text-align:center;"><?php echo (gt("Authentication")); ?></h3-->
88        <div id="loginform" style="padding: 30px;">
89
90                <label for="input_username" class="control-label"><?php echo (gt("Username")); ?></label>
91                <input type="text" id="input_username" class="form-control"></input>
92                <label for="input_username" class="control-label"><?php echo (gt("Password")); ?></label>
93                <input type="password" id="input_password" class="form-control"></input>
94
95
96                <!--div style="margin-top: 10px; margin-left: 100px;"-->
97                <div style="float:right;">
98                        <button id="LoginButton" class="btn btn-primary btn-lg" value="<?php gt("login");?>"></button>
99                </div>
100        </div></div>
101        <div id="msg_err"></div>
102</div>
103
104</div> <!--row-->
105</div> <!--container-->
106
107<div id='snack' data-toggle='snackbar' data-html-allowed='true' data-content=''></div>
108</body>
109</html>
Note: See TracBrowser for help on using the repository browser.