No Description

articles.html 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  4. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  5. <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  6. <head>
  7. <meta charset="utf-8">
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  9. <title>dato.pr</title>
  10. <meta name="viewport" content="width=device-width, initial-scale=1">
  11. <meta name="description" content="No" />
  12. <!-- Facebook and Twitter integration -->
  13. <meta property="og:title" content=""/>
  14. <meta property="og:image" content=""/>
  15. <meta property="og:url" content=""/>
  16. <meta property="og:site_name" content=""/>
  17. <meta property="og:description" content=""/>
  18. <meta name="twitter:title" content="" />
  19. <meta name="twitter:image" content="" />
  20. <meta name="twitter:url" content="" />
  21. <meta name="twitter:card" content="" />
  22. <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
  23. <link rel="shortcut icon" href="favicon.ico">
  24. <link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700" rel="stylesheet">
  25. <!-- Custom css -->
  26. <link rel="stylesheet" href="css/main.css">
  27. <!-- Animate.css -->
  28. <link rel="stylesheet" href="css/animate.css">
  29. <!-- Icomoon Icon Fonts-->
  30. <link rel="stylesheet" href="css/icomoon.css">
  31. <!-- Simple Line Icons -->
  32. <link rel="stylesheet" href="css/simple-line-icons.css">
  33. <!-- Bootstrap -->
  34. <link rel="stylesheet" href="css/bootstrap.css">
  35. <!-- Style -->
  36. <link rel="stylesheet" href="css/style.css">
  37. <!-- Modernizr JS -->
  38. <script src="js/modernizr-2.6.2.min.js"></script>
  39. <!-- FOR IE9 below -->
  40. <!--[if lt IE 9]>
  41. <script src="js/respond.min.js"></script>
  42. <![endif]-->
  43. <!-- Custom JS -->
  44. <script src="sortposts.js"></script>
  45. <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  46. <script>
  47. var articles;
  48. axios.get(`http://localhost:5000/articles`)
  49. .then(response => {
  50. articles = response.data;
  51. for (element of articles) {
  52. axios.get(`http://localhost:5000/articles/${element}`)
  53. .then(response => {
  54. let articlesHeading = document.querySelector("#articles-heading");
  55. let articleElm = document.createElement("pre");
  56. articleElm.textContent = response.data;
  57. articlesHeading.appendChild(articleElm);
  58. })
  59. .catch(error => console.error(error));
  60. }
  61. })
  62. .catch(error => console.error(error));
  63. </script>
  64. </head>
  65. <body>
  66. <header role="banner" id="fh5co-header">
  67. <div class="fluid-container">
  68. <nav class="navbar navbar-default navbar-fixed-top js-fullheight">
  69. <div id="navbar" class="navbar-collapse js-fullheight">
  70. <ul class="nav navbar-nav navbar-left">
  71. <li class="active"><a href="#" data-nav-section="home"><span>Home</span></a></li>
  72. <li><a href="#" data-nav-section="services"><span>Services</span></a></li>
  73. </ul>
  74. </div>
  75. </nav>
  76. </div>
  77. </header>
  78. <section id="fh5co-home" data-section="home" style="background-image: url(images/project-5.jpg);">
  79. <div class="gradient"></div>
  80. <div class="container">
  81. <div class="text-wrap">
  82. <div class="text-inner">
  83. <div class="row">
  84. <div class="col-md-8 col-md-offset-2 text-center">
  85. <h1 style="color :white;" class="to-animate">dato.pr</h1>
  86. <h2 style="color :white;" class="to-animate">"Estudiando lo ambiguo e investigando lo desconocido."</h2>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </section>
  93. <section id="fh5co-services" data-section="services">
  94. <div class="fh5co-services">
  95. <div class="container">
  96. <div class="row">
  97. <div class="col-md-12 section-heading text-center">
  98. <h2 class="to-animate">Articles</h2>
  99. </div>
  100. </div>
  101. <div class="row">
  102. <div class="core-features">
  103. <div class="grid2">
  104. <div id="rows-parent" class="core-f">
  105. <div class="row" id="articles-row">
  106. <div class="col-md-12">
  107. <div class="core">
  108. <i class="icon-columns to-animate-2"></i>
  109. <div class="fh5co-post to-animate">
  110. <!-- <h3 async onload="fetchArticle();">Articles</h3> -->
  111. <h3 id="articles-heading">Articles</h3>
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. <div id="fh5co-counter-section" class="fh5co-counters">
  121. <div class="container">
  122. <div class="row to-animate">
  123. <div class="col-md-3 text-center">
  124. <span class="fh5co-counter js-counter" data-from="0" data-to="3452" data-speed="5000" data-refresh-interval="50"></span>
  125. <span class="fh5co-counter-label">Tazas de Café Consumidas</span>
  126. </div>
  127. <div class="col-md-3 text-center">
  128. <span class="fh5co-counter js-counter" data-from="0" data-to="234" data-speed="5000" data-refresh-interval="50"></span>
  129. <span class="fh5co-counter-label">Días sin Luz</span>
  130. </div>
  131. <div class="col-md-3 text-center">
  132. <span class="fh5co-counter js-counter" data-from="0" data-to="6542" data-speed="5000" data-refresh-interval="50"></span>
  133. <span class="fh5co-counter-label">Cosas que Hacer</span>
  134. </div>
  135. <div class="col-md-3 text-center">
  136. <span class="fh5co-counter js-counter" data-from="0" data-to="0" data-speed="5000" data-refresh-interval="50"></span>
  137. <span class="fh5co-counter-label">Tiempo para perder</span>
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. </section>
  145. <!-- jQuery -->
  146. <script src="js/jquery.min.js"></script>
  147. <!-- jQuery Easing -->
  148. <script src="js/jquery.easing.1.3.js"></script>
  149. <!-- Bootstrap -->
  150. <script src="js/bootstrap.min.js"></script>
  151. <!-- Waypoints -->
  152. <script src="js/jquery.waypoints.min.js"></script>
  153. <!-- Stellar Parallax -->
  154. <script src="js/jquery.stellar.min.js"></script>
  155. <!-- Counters -->
  156. <script src="js/jquery.countTo.js"></script>
  157. <!-- Main JS (Do not remove) -->
  158. <script src="js/main.js"></script>
  159. </body>
  160. </html>