-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.html
91 lines (72 loc) · 3.32 KB
/
admin.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
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<title>Адмін</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="js/admin.js"></script>
<script src="js/news.js"></script>
<script src="js/indexeddb.js"></script>
<link href="styles.css" media="screen" rel="stylesheet" type="text/css">
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button class="navbar-toggle" data-target="#myNavbar" data-toggle="collapse" type="button">
<span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="#">ПРАВО</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li><a href="index.html">ГОЛОВНА</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">СТУДЕНТАМ<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="table.html">Програма</a></li>
<li><a href="#">Лабораторні</a></li>
<li><a href="#">Література</a></li>
</ul>
</li>
<li><a href="news.html">НОВИНИ</a></li>
<li><a href="responses.html">ВІДГУКИ</a></li>
<li><a href="index.html#contacts">КОНТАКТИ</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="admin.html">АДМІН</a></li>
</ul>
</div>
</div>
</nav>
<div class="titleimg">
<div class="container text-center align-middle">
<br><p>Додати новину</p>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="col-sm-6 form-group">
<form id="news-img-form">
<input type="file" class="form-control-file" id="news-img" accept="image/*">
</form>
<img src="img/camera-logo.png" id='target' class="media-object" style="width:65%"><br>
</div>
<div class="col-sm-6 form-group">
<form id="news-form">
<input id="news-name" type="text" class="form-control" placeholder="Заголовок новини"><br>
<textarea id= "news-text" type="text" class="form-control admin-text" rows="14" placeholder="Уведіть текст..."></textarea>
<br>
<button class="btn btn-primary btn-block" onclick="addNews()" type="submit">Надіслати</button>
</form>
</div>
</div>
</div>
<footer class="text-center">
<p>Made By <a href="https://www.facebook.com/yana.didun" data-toggle="tooltip">Yana Didun</a></p>
</footer>
</body>
</html>