Advertisement
Guest User

html

a guest
Mar 25th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  7. <title> NewNews</title>
  8. <link rel="stylesheet" href="styles.css" type="text/css">
  9. <link href="https://fonts.googleapis.com/css?family=Caveat+Brush" rel="stylesheet">
  10. </head>
  11. <body>
  12.  
  13. <template id="sign-in-form">
  14. <form style="margin: auto; background-color: white;" name="signIn">
  15. <input type="text" name="login" placeholder="Login"> </input>
  16. <input type="password" name="password" placeholder="Password"> </input>
  17. <button type="submit" onclick="ui.closeSignInForm();" class="pink btn">Login</button>
  18. </form>
  19. </template>
  20.  
  21. <template id="edit-new-form">
  22. <form style="margin: auto; background-color: white;" name="edit" onsubmit="return false;">
  23. <textarea type="text" name="title" placeholder="Title"> </textarea>
  24. <textarea type="text" name="summary" placeholder="Summary"> </textarea>
  25. <textarea type="text" name="content" placeholder="Content"> </textarea>
  26. <button type="submit" onclick="ui.closeEditForm();" class="pink btn">Change</button>
  27. </form>
  28. </template>
  29.  
  30. <template id="add-new-form">
  31. <form style="margin: auto; background-color: white;" name="add" onsubmit="return false;">
  32. <textarea type="text" name="title" placeholder="Title"> </textarea>
  33. <textarea type="text" name="summary" placeholder="Summary"> </textarea>
  34. <textarea type="text" name="content" placeholder="Content"> </textarea>
  35. <button type="submit" onclick="ui.closeAddForm();" class="pink btn">Post</button>
  36. </form>
  37. </template>
  38.  
  39. <template id="read-more-form">
  40. <form style="margin: auto; background-color: white;" name="read" onsubmit="return false;">
  41. <img src="230840.jpg" width="235" height="200" align="left" hspace="10px">
  42. <h1 type="text" name="title"> </h1>
  43. <h3 type="text" name="summary"> </h3>
  44. <p type="text" name="content"> </p>
  45.  
  46. </form>
  47. </template>
  48.  
  49.  
  50. <div id="overlay" style="display: none;">
  51.  
  52. </div>
  53.  
  54.  
  55. <header>
  56. <div class="left-header">
  57. <h1>NewNews</h1>
  58. </div>
  59. <div class="right-header">
  60. <div id="user">
  61. <div style="display: flex; flex-direction: column">
  62. <div style="display: flex">
  63. <div id="USERNAME"></div>
  64. <button class="pink btn" onclick="ui.openSignInForm()">Sign in</button>
  65. <button class="exit"> <img src="logOut.png" width="15" height="18"></button>
  66. </div></div>
  67. <div class="add">
  68. <button class="add-news btn" onclick="ui.openAddForm()">Add news</button>
  69. </div></div>
  70. </div>
  71. </header>
  72. <div class="filter">
  73. <input class="menu" type="date" name="bday" style="display: inline-block;">
  74. <span class="menu">
  75. <select>
  76. <option selected>Select categories</option>
  77. <option value="art">art</option>
  78. <option value="sport">sport</option>
  79. <option value="politics">politics</option>
  80. </select>
  81. </span>
  82. <span class="menu">
  83. <select id="by-author">
  84. <option selected>Select author</option>
  85.  
  86. </select>
  87. </span>
  88. <button class="apply btn"> Apply</button>
  89. </div>
  90. <div class="main-part">
  91. <button id="show-prev" class="more prev" onclick="functionsService.show('prev');"><img src="right.png" width="35"
  92. height="35"></button>
  93. <div class="news">
  94. </div>
  95.  
  96.  
  97. <button id="show-more" class="more" onclick="functionsService.show('next');"><img src="right.png" width="35"
  98. height="35"></button>
  99. </div>
  100. <div style="height: 32px;">
  101. <div class="footer">
  102. <div class="newnews"> NewNews</div>
  103. <div class="information"> Ambrozhevich Tatsiana, 2 course, 8 group</div>
  104. <div class="email"> tambrojevich@gmail.ru</div>
  105. <div class="date"> 18.02.2017</div>
  106. </div>
  107. </div>
  108. <script src="script.js"></script>
  109. <script>
  110. functionsService.show();
  111. functionsService.sign();
  112. </script>
  113. </body>
  114. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement