File size: 2,765 Bytes
25cc038
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <title>MXenes Database</title>
    <link href="img/favicon.png" rel="icon">
    <link href="img/apple-touch-icon.png" rel="apple-touch-icon">
    
    <link rel="stylesheet" href="styles.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">

</head>

<body>
    <div class="top-right-link">
        <a href="about.html" target="_self" title="Learn more about this database">
            <i class="fas fa-info-circle"></i> About
        </a>
    </div>
    <h1><span style="color: rgb(144, 144, 144);">M</span><span style="color: rgb(97, 131, 216);">X</span>enes Database</h1>

    <div class="search-container">
        <input type="text" id="searchInput" placeholder="Enter MXene (e.g. Zr2CO2 or Zr2CO2_ABC_HM)" onkeypress="searchOnEnter(event)">
        <button id="toggleFilterBtn" onclick="toggleFilters()" title="Toggle Filters"> <i id="filterIcon" class="fas fa-filter"></i></button>
        <button id="searchBtn" onclick="searchMXene()"><i id="searchIcon" title="Search" class="fas fa-search"></i></button>
    </div>
    

    <div id="filterContainer">
     
        <div class="filter-item">
          <label for="filter_M">M:</label>
          <select id="filter_M" onchange="searchMXene()">
            <option value="">All M</option>
          </select>
        </div>
      
        <div class="filter-item">
          <label for="filter_X">X:</label>
          <select id="filter_X" onchange="searchMXene()">
            <option value="">All X</option>
          </select>
        </div>
      
        <div class="filter-item">
          <label for="filter_T">T:</label>
          <select id="filter_T" onchange="searchMXene()">
            <option value="">All T</option>
          </select>
        </div>

        <div class="filter-item">
            <label for="filter_n">n:</label>
            <select id="filter_n" onchange="searchMXene()">
              <option value="">All n</option>
            </select>
          </div>
      
        <div class="filter-item">
          <label for="filter_stack">Stacking:</label>
          <select id="filter_stack" onchange="searchMXene()">
            <option value="">All Stacks</option>
          </select>
        </div>
      
        <div class="filter-item">
          <label for="filter_hollow">Hollow:</label>
          <select id="filter_hollow" onchange="searchMXene()">
            <option value="">All Hollows</option>
          </select>
        </div>
      </div>
      
      
      


    <div id="result"></div>



    <script src="script.js"></script>
</body>
</html>