| .. | .. |
|---|
| 1 | | -<!DOCTYPE html> |
|---|
| 2 | | -<html class="no-js" lang="en" ng-app="app" xmlns:ng="http://angularjs.org"> |
|---|
| 3 | | -<head> |
|---|
| 4 | | -<meta charset="utf-8"> |
|---|
| 5 | | -<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|---|
| 6 | | -<title></title> |
|---|
| 7 | | -<meta name="description" content=""> |
|---|
| 8 | | -<meta name="viewport" content="width=device-width"> |
|---|
| 9 | 1 | |
|---|
| 10 | | -<link rel="stylesheet" |
|---|
| 11 | | - href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> |
|---|
| 12 | | -<style> |
|---|
| 13 | | -body { |
|---|
| 14 | | - padding-top: 50px; |
|---|
| 15 | | - padding-bottom: 20px; |
|---|
| 16 | | -} |
|---|
| 17 | | -</style> |
|---|
| 18 | | -<link rel="stylesheet" |
|---|
| 19 | | - href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/css/bootstrap-theme.min.css"> |
|---|
| 20 | | -<link rel="stylesheet" |
|---|
| 21 | | - href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css"> |
|---|
| 22 | | -<!-- <link rel="stylesheet" href="css/main.css"> --> |
|---|
| 23 | | -<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|---|
| 24 | | -<!-- <link href="assets/css/bootstrap-responsive.css" rel="stylesheet"> --> |
|---|
| 25 | | - |
|---|
| 26 | | -<!-- <script src="js/vendor/modernizr-2.6.2.min.js"></script> --> |
|---|
| 27 | | -</head> |
|---|
| 28 | | -<body> |
|---|
| 29 | 2 | <div class="navbar navbar-inverse navbar-fixed-top"> |
|---|
| 30 | 3 | <div class="container"> |
|---|
| 31 | 4 | <div class="navbar-header"> |
|---|
| .. | .. |
|---|
| 34 | 7 | <span class="icon-bar"></span> <span class="icon-bar"></span> <span |
|---|
| 35 | 8 | class="icon-bar"></span> |
|---|
| 36 | 9 | </button> |
|---|
| 37 | | - <a class="navbar-brand" href="#">SeCuris</a> |
|---|
| 10 | + <a i18n class="navbar-brand" href="#">SeCuris</a> |
|---|
| 38 | 11 | </div> |
|---|
| 39 | 12 | <div class="navbar-collapse collapse"> |
|---|
| 40 | 13 | <ul class="nav navbar-nav navbar-right"> |
|---|
| 41 | | - <li><a href="#about">About</a></li> |
|---|
| 42 | | - <li><a href="#contact">Contact</a></li> |
|---|
| 14 | + <li><a i18n href="#about">About</a></li> |
|---|
| 15 | + <li><a i18n href="#contact">Contact</a></li> |
|---|
| 43 | 16 | </ul> |
|---|
| 44 | 17 | </div> |
|---|
| 45 | 18 | </div> |
|---|
| .. | .. |
|---|
| 48 | 21 | <!-- Main jumbotron for a primary marketing message or call to action --> |
|---|
| 49 | 22 | <div class="jumbotron"> |
|---|
| 50 | 23 | <div class="container"> |
|---|
| 51 | | - <h2>SeCuris</h2> |
|---|
| 52 | | - <p>Server License for CurisTEC products.</p> |
|---|
| 24 | + <h2 i18n >SeCuris</h2> |
|---|
| 25 | + <p i18n >Server License for CurisTEC products.</p> |
|---|
| 53 | 26 | </div> |
|---|
| 54 | 27 | </div> |
|---|
| 55 | 28 | |
|---|
| 56 | 29 | <div class="container"> |
|---|
| 57 | 30 | <div class="col-md-8 col-md-offset-2"> |
|---|
| 58 | | - <form role="form" class="form-horizontal" ng-controller="LoginCtrl" |
|---|
| 31 | + <form role="form" class="form-horizontal" |
|---|
| 59 | 32 | ng-submit="submit()" name="loginForm"> |
|---|
| 60 | | - <p class="lead">Sign in SeCuris</p> |
|---|
| 33 | + <p i18n class="lead">Sign in SeCuris</p> |
|---|
| 61 | 34 | <fieldset> |
|---|
| 62 | 35 | <div class="form-group"> |
|---|
| 63 | | - <label class="col-md-3 control-label" for="username">Username</label> |
|---|
| 36 | + <label i18n class="col-md-3 control-label" for="username">Username</label> |
|---|
| 64 | 37 | <div class="col-md-5"> |
|---|
| 65 | 38 | <input type="text" id="username" name="username" placeholder="" |
|---|
| 66 | 39 | class="form-control" ng-model="username" required> |
|---|
| .. | .. |
|---|
| 68 | 41 | </div> |
|---|
| 69 | 42 | <div class="form-group"> |
|---|
| 70 | 43 | <!-- Password--> |
|---|
| 71 | | - <label class="col-md-3 control-label" for="password">Password</label> |
|---|
| 44 | + <label i18n class="col-md-3 control-label" for="password">Password</label> |
|---|
| 72 | 45 | <div class="col-md-5"> |
|---|
| 73 | 46 | <input type="password" id="password" name="password" |
|---|
| 74 | 47 | placeholder="" class="form-control" ng-model="password" required> |
|---|
| 75 | 48 | </div> |
|---|
| 76 | 49 | </div> |
|---|
| 77 | | - <div ng-show="$loginerror" class="alert alert-danger col-md-8 hide" id="loginError"> |
|---|
| 78 | | - <button type="button" class="close" aria-hidden="true" ng-click="hideAlert()">×</button> |
|---|
| 79 | | - <span>{{$errormsg}}</span> |
|---|
| 80 | | - </div> |
|---|
| 81 | 50 | <div class="form-group"> |
|---|
| 82 | 51 | <div class="col-md-offset-3 col-md-10"> |
|---|
| 83 | | - <button type="submit" class="btn btn-primary">Sign in</button> |
|---|
| 52 | + <button i18n type="submit" class="btn btn-primary">Sign in</button> |
|---|
| 84 | 53 | </div> |
|---|
| 85 | 54 | </div> |
|---|
| 86 | 55 | </fieldset> |
|---|
| .. | .. |
|---|
| 89 | 58 | </div> |
|---|
| 90 | 59 | </div> |
|---|
| 91 | 60 | |
|---|
| 92 | | - |
|---|
| 93 | | - <hr> |
|---|
| 94 | | - <div> |
|---|
| 95 | | - <footer> |
|---|
| 96 | | - <small style="margin: auto; display: block;" class="text-center">© |
|---|
| 97 | | - CurisTEC 2014</small> |
|---|
| 98 | | - </footer> |
|---|
| 99 | | - </div> |
|---|
| 100 | | - <!-- /container --> |
|---|
| 101 | | - <script |
|---|
| 102 | | - src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> |
|---|
| 103 | | - |
|---|
| 104 | | - <script type="text/javascript" |
|---|
| 105 | | - src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> |
|---|
| 106 | | - <script type="text/javascript" |
|---|
| 107 | | - src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js"></script> |
|---|
| 108 | | - <script type="text/javascript" |
|---|
| 109 | | - src="//code.angularjs.org/1.2.6/angular-route.js"></script> |
|---|
| 110 | | - <script type="text/javascript" |
|---|
| 111 | | - src="//code.angularjs.org/1.2.6/angular-resource.js"></script> |
|---|
| 112 | | - <script type="text/javascript" src="js/login.js"></script> |
|---|
| 113 | | - |
|---|
| 114 | | - <!-- <script src="js/main.js"></script> --> |
|---|
| 115 | | - <script type="text/javascript"> |
|---|
| 116 | | - $(function() { |
|---|
| 117 | | - $('#user').focus(); |
|---|
| 118 | | - }); |
|---|
| 119 | | - |
|---|
| 120 | | - </script> |
|---|
| 121 | | -</body> |
|---|
| 122 | | -</html> |
|---|