Blame view

index.html 3.25 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">

d45f025c   Elena.Budnik   merge remote and ...
16
<div id="trou">
d45f025c   Elena.Budnik   merge remote and ...
17
18
19
<div id="couvercle"></div>

<div id="TousLesBoutons">
b27dfbc5   Elena.Budnik   new info at home ...
20
<div id="Btn_FirstVisit" onclick="location.href='help.html';"></div>
d45f025c   Elena.Budnik   merge remote and ...
21
<div id="Btn_Rules" onclick="location.href='help/policy.html';"></div>
8fe95461   Elena.Budnik   rm 8001, draft
22
23
<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 ...
24
25
	    <input type="text" name="username" placeholder="LOGIN" id="Btn_EnterLogin" class="PlaceHolder" />   
	    <input type="password" name="password" placeholder="PASSWORD" id="Btn_EnterPassword" class="PlaceHolder"/>
8fe95461   Elena.Budnik   rm 8001, draft
26
27
        <div><input id="Btn_Login" name="login" type="submit" value=""/></div>
        <div id="textLogin">( Registered User )</div>
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
</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") {
c5ef1a5d   Elena.Budnik   ereg => preg_match
65
66
        alert('Cannot connect to AMDA. \n Please check your username/password');
        setLoginLoader(false);
1f3ee1cd   Benjamin Renard   Improve login pag...
67
68
69
70
       return false;
     }

     setLoginLoader(false);
1f3ee1cd   Benjamin Renard   Improve login pag...
71
72
  };
</script>
d45f025c   Elena.Budnik   merge remote and ...
73
74
<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>
8fe95461   Elena.Budnik   rm 8001, draft
75
76
77
<div id="Btn_About" onclick="location.href='help/info.html';"></div>
<div id="textAbout">AMDA Info</div>

8b134172   Myriam Bouchemit   lien CDPP
78
<a href="http://www.cdpp.eu/" id="Logo_CDPP"></a>
d45f025c   Elena.Budnik   merge remote and ...
79
<div id="PaveGuest">
8fe95461   Elena.Budnik   rm 8001, draft
80
81
<input id="Btn_GuestLogin" name="guest_login" type="submit" value=""/>
<div id="TitrePaveGuest">Public Login</div>
d45f025c   Elena.Budnik   merge remote and ...
82
</div>
8fe95461   Elena.Budnik   rm 8001, draft
83

d45f025c   Elena.Budnik   merge remote and ...
84
<div id="Logos_partenaires"></div>
7ac3e07e   Elena.Budnik   do not check user...
85

d45f025c   Elena.Budnik   merge remote and ...
86
<div id="PaveAnnoucements">
8fe95461   Elena.Budnik   rm 8001, draft
87
<div id="TitrePaveAnnoucement">Announcements</div>
620ed033   Myriam Bouchemit   update announcements
88
<div id="DateAnnoucement">20/01/2020</div>
8fe95461   Elena.Budnik   rm 8001, draft
89
<div id="TexteAnnoucement">New data: Parker Solar Probe :</BR> SWEAP (spc,spi), ISOIS (epilo, epihi)</div>
7ac3e07e   Elena.Budnik   do not check user...
90
</div>
d45f025c   Elena.Budnik   merge remote and ...
91
92
93
</div><!--TousLesBoutons-->
</div><!--trou-->
</div><!--centrage-->
7ac3e07e   Elena.Budnik   do not check user...
94
</body>
d45f025c   Elena.Budnik   merge remote and ...
95
</html>