This commit is contained in:
life
2014-05-10 17:35:20 +08:00
parent f0b4012118
commit 6eb4702cd2
3 changed files with 9 additions and 22 deletions

View File

@ -4,14 +4,10 @@
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0"/> <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0"/>
<meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>leanote login</title> <title>leanote sign in</title>
<link href="/public/css/font-awesome-4.0.3/css/font-awesome.css" rel="stylesheet"> <link href="/public/css/font-awesome-4.0.3/css/font-awesome.css" rel="mobile/csssheet">
<link href="/public/mobile/styles/style.css" rel="stylesheet" type="text/css">
<link href="/public/mobile/styles/colors/default.css" rel="stylesheet" type="text/css" id="pagestyle">
<link href="/public/mobile/styles/framework.css" rel="stylesheet" type="text/css">
<link href="/public/css/bootstrap.css" rel="stylesheet" /> <link href="/public/css/bootstrap.css" rel="stylesheet" />
<link href="/public/mobile/styles/life.css" rel="stylesheet" type="text/css">
<style> <style>
.alert { .alert {
@ -31,33 +27,24 @@
</head> </head>
<body> <body>
<div id="preloader">
<div id="status">
<p class="center-text">
loading...
</p>
</div>
</div>
<div style="text-align: center"> <div style="text-align: center">
<img src="/public/mobile/images/blog01.jpg" style="width: 100%"/> <img src="/public/mobile/images/blog01.jpg" style="width: 100%"/>
<form id="loginForm" style="width: 90%; margin: auto;"> <form id="loginForm" style="width: 90%; margin: auto;">
<div class="form-group"> <div class="form-group">
<h2 style="margin-top:10px">leanote 登录</h2> <h2 style="margin-top:10px">leanote {{msg . "login"}}</h2>
</div> </div>
<div class="alert alert-danger" id="loginMsg" style="display: none"></div> <div class="alert alert-danger" id="loginMsg" style="display: none"></div>
<div class="form-group"> <div class="form-group">
<input class="form-control" id="email" name="email" placeholder="用户名或Email" value=""> <input class="form-control" id="email" name="email" placeholder="{{msg . "usernameOrEmail"}}" value="">
</div> </div>
<div class="form-group"> <div class="form-group">
<input type="password" class="form-control" id="pwd" name="pwd" placeholder="密码"> <input type="password" class="form-control" id="pwd" name="pwd" placeholder="{{msg . "password"}}">
</div> </div>
<button id="loginBtn" class="btn btn-success" style="width: 100%">登录</button> <button id="loginBtn" class="btn btn-success" style="width: 100%">{{msg . "login"}}</button>
</form> </form>
</div> </div>
<script type="text/javascript" src="/public/mobile/scripts/jquery.js"></script> <script type="text/javascript" src="/public/js/jquery-1.9.0.min.js"></script>
<script> <script>
$(function() { $(function() {
$("#status").fadeOut(); // will first fade out the loading animation $("#status").fadeOut(); // will first fade out the loading animation

View File

@ -240,7 +240,7 @@ function log(o) {
<div class="folderHeader"> <div class="folderHeader">
<i class="fa fa-user fa-left"></i> <i class="fa fa-user fa-left"></i>
<span> <span>
共享 {{msg . "share"}}
</span> </span>
</div> </div>

View File

@ -224,7 +224,7 @@ Note.curHasChanged = function(force) {
hasChanged.hasChanged = true; // 本页使用用小写 hasChanged.hasChanged = true; // 本页使用用小写
hasChanged.Title = title; // 要传到后台的用大写 hasChanged.Title = title; // 要传到后台的用大写
if(!hasChanged.Title) { if(!hasChanged.Title) {
alert(1); // alert(1);
} }
} }