2007-09-04 17:00:44 +02:00
|
|
|
<?xml version="1.0" standalone="yes"?>
|
2007-09-07 17:38:03 +02:00
|
|
|
<!DOCTYPE var:component>
|
|
|
|
<var:component
|
|
|
|
className="UIxPageFrame"
|
2006-06-15 21:34:10 +02:00
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
2007-09-04 17:00:44 +02:00
|
|
|
xmlns:rsrc="OGo:url"
|
|
|
|
xmlns:label="OGo:label"
|
2014-08-06 21:26:52 +02:00
|
|
|
const:jsFiles="Common/SOGoAuthentication.js"
|
2008-08-26 19:42:03 +02:00
|
|
|
const:popup="YES"
|
2007-09-18 22:52:32 +02:00
|
|
|
><var:string var:value="doctype" const:escapeHTML="NO"/>
|
2014-08-06 21:26:52 +02:00
|
|
|
<div data-ng-app="SOGo.RootPage">
|
2009-03-19 03:42:35 +01:00
|
|
|
<div id="aboutBox" style="display:none;">
|
|
|
|
<div>
|
2010-06-10 17:07:13 +02:00
|
|
|
<p class="logo"><img const:alt="SOGo" rsrc:src="sogo-logo.png"/></p>
|
2009-07-14 19:20:49 +02:00
|
|
|
<p>Version <var:string value="version"/> <span class="buildDate">(<var:string value="buildDate" />)</span></p>
|
2009-03-19 03:42:35 +01:00
|
|
|
<p class="scroll"><var:string label:value="AboutBox" const:escapeHTML="NO"/></p>
|
|
|
|
<img const:alt="Inverse" rsrc:src="inverse.png"/>
|
2014-06-19 21:52:57 +02:00
|
|
|
<p class="links"><a href="http://sogo.nu/" target="_new">sogo.nu</a> /
|
|
|
|
<a href="http://inverse.ca/" target="_new">inverse.ca</a></p>
|
2009-11-04 23:13:20 +01:00
|
|
|
<p><a id="aboutClose" href="#" class="button">
|
|
|
|
<span><var:string label:value="OK" /></span></a></p>
|
2009-03-19 03:42:35 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-06-19 21:52:57 +02:00
|
|
|
<nav class="top-bar">
|
|
|
|
<section class="top-bar-section">
|
|
|
|
<ul class="right">
|
|
|
|
<li><a href="#"><var:string label:value="About" /></a></li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</nav>
|
|
|
|
<div id="login">
|
|
|
|
<div id="logo">
|
|
|
|
<img const:alt="*" id="splash" rsrc:src="img/sogo-logo.png"/>
|
2007-09-07 17:38:03 +02:00
|
|
|
</div>
|
2014-08-06 21:26:52 +02:00
|
|
|
<form name="loginForm" data-ng-controller="loginController" data-ng-submit="login(creds)">
|
|
|
|
<var:if condition="hasLoginSuffix"><input type="hidden" data-ng-model="creds.loginSuffix" var:value="loginSuffix"/></var:if>
|
2014-06-19 21:52:57 +02:00
|
|
|
<div data-ng-show="warning" data-ng-cloak="ng-cloak" data-alert="data-alert" class="alert-box radius warning">{{warning}}</div>
|
|
|
|
<label><var:string label:value="Username:"/>
|
2014-08-06 21:26:52 +02:00
|
|
|
<input type="text" data-ng-model="creds.username" var:data-ng-init="cookieUsername" required="required" />
|
2014-06-19 21:52:57 +02:00
|
|
|
</label>
|
|
|
|
<label><var:string label:value="Password:"/>
|
2014-08-06 21:26:52 +02:00
|
|
|
<input type="password" data-ng-model="creds.password" required="required" />
|
2014-06-19 21:52:57 +02:00
|
|
|
</label>
|
|
|
|
<label><var:string label:value="Language:"/>
|
|
|
|
<var:popup const:name="language"
|
2014-08-06 21:26:52 +02:00
|
|
|
const:data-ng-model="creds.language"
|
2014-06-19 21:52:57 +02:00
|
|
|
list="languages"
|
|
|
|
item="item"
|
|
|
|
var:value="item"
|
|
|
|
string="languageText"
|
|
|
|
label:noSelectionString="choose"
|
|
|
|
/>
|
|
|
|
</label>
|
|
|
|
<var:if condition="hasLoginDomains">
|
|
|
|
<label><var:string label:value="Domain:"/><br/>
|
|
|
|
<var:popup const:name="domain"
|
2014-08-06 21:26:52 +02:00
|
|
|
const:data-ng-model="creds.domain"
|
2014-06-19 21:52:57 +02:00
|
|
|
list="loginDomains"
|
|
|
|
item="item"
|
|
|
|
var:selection="item"
|
|
|
|
var:value="item"
|
|
|
|
string="item"
|
|
|
|
/>
|
|
|
|
</label>
|
|
|
|
</var:if>
|
2014-08-06 21:26:52 +02:00
|
|
|
<label><input id="rememberLogin" type="checkbox" class="checkBox" var:checked="rememberLogin" data-ng-model="creds.rememberLogin"/> <var:string label:value="Remember username"/></label>
|
2014-06-19 21:52:57 +02:00
|
|
|
<label>
|
|
|
|
<button type="submit" class="small" data-ng-disabled='!loginForm.$valid'>
|
|
|
|
<var:string label:value="Connect" /></button>
|
|
|
|
</label>
|
|
|
|
<label id="animation"><!-- busy.gif! --></label>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2007-09-07 17:38:03 +02:00
|
|
|
</var:component>
|