This repository has been archived by the owner on Jun 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·82 lines (75 loc) · 3.06 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Wikipedia Fetch Content</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//tools-static.wmflabs.org/cdnjs/ajax/libs/twitter-bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="row">
<div class="side-menu">
<nav class="navbar navbar-default" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<div class="brand-wrapper">
<!-- Hamburger Menu -->
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- Brand -->
<div class="brand-name-wrapper">
<a class="navbar-brand" href="#">
Ready to Fetch Wikipedia
</a>
</div>
</div>
</div>
<!-- Main Menu -->
<div class="side-menu-container">
<ul class="nav navbar-nav" id="form">
<br />
<form>
<div class="form-group col-lg-12">
<input type="text" id="article_name" class="form-control" placeholder="Article name" autocomplete="off">
<ul id="articles_list"></ul>
</div>
<div class="form-group col-lg-12">
<select class="form-control" id="language">
<option value="en">English</option>
<option value="fr">French</option>
<option value="es">Spanish</option>
<option value="de">German</option>
<option value="pl">Polish</option>
<option value="he">Hebrew</option>
<option value="io">Ido</option>
<option value="pt">Portugese</option>
<option value="it">Italian</option>
<option value="tw">Twi</option>
</select>
</div>
<div class="form-group col-lg-12">
<button id="fetch" class="btn btn-default col-lg-12 col-md-12 col-sm-12 col-xs-12">Fetch</button>
</div>
</form>
</ul>
</div>
</nav>
</div>
<div class="container-fluid">
<div class="side-body">
<h1 align="center" id="title"> Article name </h1>
<hr>
<pre id="content"> Fetched Content will appear here :) </pre>
</div>
</div>
</div>
<script src="//tools-static.wmflabs.org/cdnjs/ajax/libs/jquery/1.12.4/jquery.js" integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU=" crossorigin="anonymous"></script>
<script type="text/javascript" src="script.js"></script>
<script src="//tools-static.wmflabs.org/cdnjs/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js"></script>
</body>
</html>