123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <html>
- <head>
- <!-- Font Awesome -->
- <link
- href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
- rel="stylesheet"
- />
- <!-- Google Fonts -->
- <link
- href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
- rel="stylesheet"
- />
- <!-- MDB -->
- <link
- href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/3.3.0/mdb.min.css"
- rel="stylesheet"
- />
- <!-- MDB -->
- <script
- type="text/javascript"
- src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/3.3.0/mdb.min.js"
- ></script>
- <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
- </head>
- <body>
- <!-- Navbar -->
- <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
- <!-- Container wrapper -->
- <div class="container-fluid">
- <!-- Navbar brand -->
- <a class="navbar-brand" href="#">Navbar</a>
-
- <!-- Toggle button -->
- <button class="navbar-toggler" type="button" data-mdb-toggle="collapse"
- data-mdb-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
- aria-label="Toggle navigation">
- <i class="fas fa-bars text-light"></i>
- </button>
-
- <!-- Collapsible wrapper -->
- <div class="collapse navbar-collapse" id="navbarSupportedContent">
- <!-- Left links -->
- <ul class="navbar-nav me-auto d-flex flex-row mt-3 mt-lg-0">
- <li class="nav-item text-center mx-2 mx-lg-1">
- <a class="nav-link active" aria-current="page" href="#!">
- <div>
- <i class="fas fa-home fa-lg mb-1"></i>
- </div>
- Home
- </a>
- </li>
- <li class="nav-item text-center mx-2 mx-lg-1">
- <a class="nav-link" href="#!">
- <div>
- <i class="far fa-envelope fa-lg mb-1"></i>
- <span class="badge rounded-pill badge-notification bg-danger">11</span>
- </div>
- Link
- </a>
- </li>
- <li class="nav-item text-center mx-2 mx-lg-1">
- <a class="nav-link disabled" aria-disabled="true" href="#!">
- <div>
- <i class="far fa-envelope fa-lg mb-1"></i>
- <span class="badge rounded-pill badge-notification bg-warning">11</span>
- </div>
- Disabled
- </a>
- </li>
- <li class="nav-item dropdown text-center mx-2 mx-lg-1">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-mdb-toggle="dropdown"
- aria-expanded="false">
- <div>
- <i class="far fa-envelope fa-lg mb-1"></i>
- <span class="badge rounded-pill badge-notification bg-primary">11</span>
- </div>
- Dropdown
- </a>
- <!-- Dropdown menu -->
- <ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDropdown">
- <li><a class="dropdown-item" href="#">Action</a></li>
- <li><a class="dropdown-item" href="#">Another action</a></li>
- <li>
- <hr class="dropdown-divider" />
- </li>
- <li>
- <a class="dropdown-item" href="#">Something else here</a>
- </li>
- </ul>
- </li>
- </ul>
- <!-- Left links -->
-
- <!-- Right links -->
- <ul class="navbar-nav ms-auto d-flex flex-row mt-3 mt-lg-0">
- <li class="nav-item text-center mx-2 mx-lg-1">
- <a class="nav-link" href="#!">
- <div>
- <i class="fas fa-bell fa-lg mb-1"></i>
- <span class="badge rounded-pill badge-notification bg-info">11</span>
- </div>
- Messages
- </a>
- </li>
- <li class="nav-item text-center mx-2 mx-lg-1">
- <a class="nav-link" href="#!">
- <div>
- <i class="fas fa-globe-americas fa-lg mb-1"></i>
- <span class="badge rounded-pill badge-notification bg-success">11</span>
- </div>
- News
- </a>
- </li>
- </ul>
- <!-- Right links -->
-
- </div>
- <!-- Collapsible wrapper -->
- </div>
- <!-- Container wrapper -->
- </nav>
- <!-- Navbar -->
- </br>
- <div class="container">
- <div class="row">
- <div class="col-1 col-lg-1"></div>
- <div class="col-sm-11 col-lg-11">
- <!-- Search form -->
- <form id="searchform" class="d-flex input-group w-auto" >
- <input type="search" class="form-control" placeholder="Search" aria-label="Domain Name" id="search_query"/>
- <button class="btn btn-primary" type="button" data-mdb-ripple-color="dark" onclick="check_form();">
- Search
- </button>
- </form>
- </div>
- </div>
- </div>
- <script>
- function check_form(){
- var qry=document.getElementById('search_query').value;
- axios.get('http://139.162.121.30:8080/domain/'+qry)
- .then((response) => {
- console.log(response.data);
- console.log(response.status);
- console.log(response.statusText);
- console.log(response.headers);
- console.log(response.config);
- alert(response.data);
- });
- }
- </script>
- </body>
-
- </html>
|