Blame view

index.html 3.48 KB
d45f025c   Elena.Budnik   merge remote and ...
1
<!DOCTYPE HTML>
7ac3e07e   Elena.Budnik   do not check user...
2
3
<html>
<head>
d45f025c   Elena.Budnik   merge remote and ...
4
5
6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Welcome on Amda</title>
<link href="js/resources/css/AccueilAmda.css" rel="stylesheet" type="text/css">
7ac3e07e   Elena.Budnik   do not check user...
7
8
9
10
<!-- Login -->
<link rel="stylesheet" type="text/css" href="js/resources/css/login.css" />
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> 
7ac3e07e   Elena.Budnik   do not check user...
11
12
13
</head>

<body>
d45f025c   Elena.Budnik   merge remote and ...
14
15
<div id="centrage">

1f3ee1cd   Benjamin Renard   Improve login pag...
16

d45f025c   Elena.Budnik   merge remote and ...
17
<div id="trou">
7ac3e07e   Elena.Budnik   do not check user...
18

d45f025c   Elena.Budnik   merge remote and ...
19
20
21
<div id="couvercle"></div>

<div id="TousLesBoutons">
b27dfbc5   Elena.Budnik   new info at home ...
22
<div id="Btn_FirstVisit" onclick="location.href='help.html';"></div>
d45f025c   Elena.Budnik   merge remote and ...
23
<div id="Btn_Rules" onclick="location.href='help/policy.html';"></div>
1f3ee1cd   Benjamin Renard   Improve login pag...
24
25
<form id="Form_Login" method="POST" action="desktop.php" onsubmit="return checkForm(this);">  
            <div id="loader" class="loader"></div>
d45f025c   Elena.Budnik   merge remote and ...
26
27
	    <input type="text" name="username" placeholder="LOGIN" id="Btn_EnterLogin" class="PlaceHolder" />   
	    <input type="password" name="password" placeholder="PASSWORD" id="Btn_EnterPassword" class="PlaceHolder"/>
1f3ee1cd   Benjamin Renard   Improve login pag...
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
     <div><input id="Btn_Login" name="login" type="submit" value=""/></div>
</form>
<script type="text/javascript">
  function setLoginLoader(value) {
    var form = document.getElementById('Form_Login');
    form.elements['username'].readOnly = value;
    form.elements['password'].readOnly = value;
    form.elements['login'].disabled = value;
    document.getElementById("loader").style.display = value ? 'block' : 'none';
  }

  
  function checkForm(form)
  {
    if (form.elements['username'].value == "" || form.elements['password'].value == "") {
       alert('Please type your username and password');
       return false;
    }
    setLoginLoader(true);
    return true;
  }

  window.onpageshow = function(event) {
    var qs = (function(a) {
      if (a == "") return {};
      var b = {};
      for (var i = 0; i < a.length; ++i)
      {
        var p=a[i].split('=', 2);
        if (p.length == 1)
            b[p[0]] = "";
        else
            b[p[0]] = decodeURIComponent(p[1].replace(/\+/g, " "));
      }
      return b;
     })(window.location.search.substr(1).split('&'));

     if (qs["error"] && qs["error"] == "1") {
       alert('Cannot connect to AMDA');
       return false;
     }

     setLoginLoader(false);
     
  };
</script>
d45f025c   Elena.Budnik   merge remote and ...
74
75
<a href="mailto:amda@irap.omp.eu?subject=AMDA registration" id="Btn_Register"></a>
<a href="mailto:amda@irap.omp.eu?subject=AMDA contact" id="Btn_Contact"></a>
b27dfbc5   Elena.Budnik   new info at home ...
76
<div id="Btn_About" onclick="location.href='help/info.html';"></div><div id="textAbout">AMDA Info</div>
8b134172   Myriam Bouchemit   lien CDPP
77
<a href="http://www.cdpp.eu/" id="Logo_CDPP"></a>
d45f025c   Elena.Budnik   merge remote and ...
78
79
80
81
82
83
<div id="PaveGuest">
<div id="TitrePaveGuest">Try AMDA as a guest</div>
<div id="TextePaveGuest">login: guest</div>
<div id="TextePaveGuest">password : your e-mail address</div>
</div>
<div id="Logos_partenaires"></div>
7ac3e07e   Elena.Budnik   do not check user...
84

d45f025c   Elena.Budnik   merge remote and ...
85
86
<div id="PaveAnnoucements">
<div id="TitrePaveAnnoucement">Announcements </div>
620ed033   Myriam Bouchemit   update announcements
87
<div id="DateAnnoucement">20/01/2020</div>
92a07386   Myriam Bouchemit   Add TAO for Bepi
88
<div id="TexteAnnoucement">New data: PHOBOS 2,</BR>Solar Wind at BepiColombo in cruise phase (Tao model)</div>
620ed033   Myriam Bouchemit   update announcements
89
90
<div id="DateAnnoucement">01/10/2019</div>
<div id="TexteAnnoucement">New data: </BR>Rosetta/LAP,</BR> MESSENGER/FIPS,</BR> MESSENGER/EPS,</BR>Earth Moon/Ephemeris,</BR> Cassini/MAG cruise</div>
d6d40c1d   Myriam Bouchemit   url old AMDA
91
<div id="TexteAnnoucement">Access to <a href="http://amda-old.cdpp.eu" target="_blank">old version</a></div>
7ac3e07e   Elena.Budnik   do not check user...
92
93
</div>

d45f025c   Elena.Budnik   merge remote and ...
94
95
96
</div><!--TousLesBoutons-->
</div><!--trou-->
</div><!--centrage-->
7ac3e07e   Elena.Budnik   do not check user...
97
</body>
d45f025c   Elena.Budnik   merge remote and ...
98
</html>