Browse Source

dsds

master
Cristobal Bernal Mayordomo 1 year ago
parent
commit
1c9428d627
5 changed files with 154 additions and 89 deletions
  1. +10
    -4
      src/main/java/com/cristobalbernal/foro/Servicios/ServicioRespuestas.java
  2. +24
    -0
      src/main/resources/static/css/style.css
  3. +3
    -0
      src/main/resources/static/js/jquery-3.1.1.min.js
  4. +40
    -41
      src/main/resources/templates/Ask_Question/ask_question.html
  5. +77
    -44
      src/main/resources/templates/index.html

+ 10
- 4
src/main/java/com/cristobalbernal/foro/Servicios/ServicioRespuestas.java View File

@ -16,17 +16,23 @@ public class ServicioRespuestas {
@PostConstruct @PostConstruct
public void init(){ public void init(){
respuestas = new Respuestas[4];
respuestas = new Respuestas[6];
respuestas[0] = new Respuestas(0, "TITULO 1", "aslkjbdakjdbkajwdbjakwdbkawjdbawkd.bawdawd" + respuestas[0] = new Respuestas(0, "TITULO 1", "aslkjbdakjdbkajwdbjakwdbkawjdbawkd.bawdawd" +
"adaw,dbakwjdbawkjd,abjwkd,awk,dad" + "adaw,dbakwjdbawkjd,abjwkd,awk,dad" +
"awda,wbjdwakjdawkjdawdblaw"); "awda,wbjdwakjdawkjdawdblaw");
respuestas[1] = new Respuestas(1, "TITULO 1", "aslkjbdakjdbkajwdbjakwdbkawjdbawkd.bawdawd" +
respuestas[1] = new Respuestas(1, "TITULO 2", "aslkjbdakjdbkajwdbjakwdbkawjdbawkd.bawdawd" +
"adaw,dbakwjdbawkjd,abjwkd,awk,dad" + "adaw,dbakwjdbawkjd,abjwkd,awk,dad" +
"awda,wbjdwakjdawkjdawdblaw"); "awda,wbjdwakjdawkjdawdblaw");
respuestas[2] = new Respuestas(2, "TITULO 1", "aslkjbdakjdbkajwdbjakwdbkawjdbawkd.bawdawd" +
respuestas[2] = new Respuestas(2, "TITULO 3", "aslkjbdakjdbkajwdbjakwdbkawjdbawkd.bawdawd" +
"adaw,dbakwjdbawkjd,abjwkd,awk,dad" + "adaw,dbakwjdbawkjd,abjwkd,awk,dad" +
"awda,wbjdwakjdawkjdawdblaw"); "awda,wbjdwakjdawkjdawdblaw");
respuestas[3] = new Respuestas(3, "TITULO 1", "aslkjbdakjdbkajwdbjakwdbkawjdbawkd.bawdawd" +
respuestas[3] = new Respuestas(3, "TITULO 4", "aslkjbdakjdbkajwdbjakwdbkawjdbawkd.bawdawd" +
"adaw,dbakwjdbawkjd,abjwkd,awk,dad" +
"awda,wbjdwakjdawkjdawdblaw");
respuestas[4] = new Respuestas(4, "TITULO 5", "aslkjbdakjdbkajwdbjakwdbkawjdbawkd.bawdawd" +
"adaw,dbakwjdbawkjd,abjwkd,awk,dad" +
"awda,wbjdwakjdawkjdawdblaw");
respuestas[5] = new Respuestas(5, "TITULO 6", "aslkjbdakjdbkajwdbjakwdbkawjdbawkd.bawdawd" +
"adaw,dbakwjdbawkjd,abjwkd,awk,dad" + "adaw,dbakwjdbawkjd,abjwkd,awk,dad" +
"awda,wbjdwakjdawkjdawdblaw"); "awda,wbjdwakjdawkjdawdblaw");
} }


+ 24
- 0
src/main/resources/static/css/style.css View File

@ -2310,4 +2310,28 @@ h5:hover {
.category2781 { .category2781 {
margin-top: 70px; margin-top: 70px;
}
button {
font-size: 17px;
padding: 0.5em 2em;
border: transparent;
box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
background: dodgerblue;
color: white;
border-radius: 4px;
}
button:hover {
background: rgb(2,0,36);
background: linear-gradient(90deg, rgba(30,144,255,1) 0%, rgba(0,212,255,1) 100%);
}
button:active {
transform: translate(0em, 0.2em);
}
#respuesta{
display: none;
}
#derecha{
} }

+ 3
- 0
src/main/resources/static/js/jquery-3.1.1.min.js
File diff suppressed because it is too large
View File


+ 40
- 41
src/main/resources/templates/Ask_Question/ask_question.html View File

@ -54,8 +54,7 @@
<!-- strart col-md-3 (side bar)--> <!-- strart col-md-3 (side bar)-->
<aside class="col-md-3 sidebar97239"> <aside class="col-md-3 sidebar97239">
<div class="status-part3821"> <div class="status-part3821">
<h4>stats</h4>
<h4>stats</h4>
<a href="#"><i class="fa fa-question-circle" aria-hidden="true"> Question(20)</i></a> <a href="#"><i class="fa fa-question-circle" aria-hidden="true"> Question(20)</i></a>
<i class="fa fa-comment" aria-hidden="true"> Answers(50)</i> <i class="fa fa-comment" aria-hidden="true"> Answers(50)</i>
</div> </div>
@ -143,47 +142,47 @@
</div> </div>
<!-- end of Highest points --> <!-- end of Highest points -->
<!-- start tags part--> <!-- start tags part-->
<div class="tags-part2398">
<h4>Tags</h4>
<ul>
<li><a href="#">analytics</a></li>
<li><a href="#">Computer</a></li>
<li><a href="#">Developer</a></li>
<li><a href="#">Google</a></li>
<li><a href="#">Interview</a></li>
<li><a href="#">Programmer</a></li>
<li><a href="#">Salary</a></li>
<li><a href="#">University</a></li>
<li><a href="#">Employee</a></li>
</ul>
</div>
<div class="tags-part2398">
<h4>Tags</h4>
<ul>
<li><a href="#">analytics</a></li>
<li><a href="#">Computer</a></li>
<li><a href="#">Developer</a></li>
<li><a href="#">Google</a></li>
<li><a href="#">Interview</a></li>
<li><a href="#">Programmer</a></li>
<li><a href="#">Salary</a></li>
<li><a href="#">University</a></li>
<li><a href="#">Employee</a></li>
</ul>
</div>
<!-- End tags part--> <!-- End tags part-->
<!-- start recent post --> <!-- start recent post -->
<div class="recent-post3290">
<h4>Recent Post</h4>
<div class="post-details021">
<a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p>
<small style="color: #848991">July 16, 2017</small>
</div>
<hr>
<div class="post-details021">
<a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p>
<small style="color: #848991">July 16, 2017</small>
</div>
<hr>
<div class="post-details021">
<a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p>
<small style="color: #848991">July 16, 2017</small>
</div>
</div>
<div class="recent-post3290">
<h4>Recent Post</h4>
<div class="post-details021">
<a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p>
<small style="color: #848991">July 16, 2017</small>
</div>
<hr>
<div class="post-details021">
<a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p>
<small style="color: #848991">July 16, 2017</small>
</div>
<hr>
<div class="post-details021">
<a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p>
<small style="color: #848991">July 16, 2017</small>
</div>
</div>
<!-- end recent post --> <!-- end recent post -->
</aside> </aside>


+ 77
- 44
src/main/resources/templates/index.html View File

@ -65,9 +65,12 @@
</div> </div>
<!--end of col-md-9 --> <!--end of col-md-9 -->
<!--strart col-md-3 (side bar)--> <!--strart col-md-3 (side bar)-->
<aside class="col-md-3 sidebar97239">
<aside class="col-md-3 sidebar97239 ui-corner-right" id="derecha">
<div class="status-part3821"> <div class="status-part3821">
<h4>stats</h4> <a href="#"><i class="fa fa-question-circle" aria-hidden="true"> Question(20)</i></a> <i class="fa fa-comment" aria-hidden="true"> Answers(50)</i> </div>
<h4>stats</h4>
<a href="#"><i class="fa fa-question-circle" aria-hidden="true"> Question(20)</i></a>
<i class="fa fa-comment" aria-hidden="true"> Answers(50)</i>
</div>
<div class="categori-part329"> <div class="categori-part329">
<h4>Category</h4> <h4>Category</h4>
<ul> <ul>
@ -75,68 +78,81 @@
<li><a href="#">Andriod developer</a></li> <li><a href="#">Andriod developer</a></li>
<li><a href="#">grapics developer</a></li> <li><a href="#">grapics developer</a></li>
<li><a href="#">web developer</a></li> <li><a href="#">web developer</a></li>
</ul> </ul>
</div> </div>
<!-- social part --> <!-- social part -->
<div class="social-part2189"> <div class="social-part2189">
<h4>Find us</h4> <h4>Find us</h4>
<li class="rss-one"> <li class="rss-one">
<a href="#" target="_blank"> <strong>
<span>Subscribe</span>
<i class="fa fa-rss" aria-hidden="true"></i>
<a href="#" target="_blank">
<strong>
<span>Subscribe</span>
<i class="fa fa-rss" aria-hidden="true"></i>
<br>
<small>To RSS Feed</small>
<br>
<small>To RSS Feed</small>
</strong> </a>
</strong>
</a>
</li> </li>
<li class="facebook-two"> <li class="facebook-two">
<a href="#" target="_blank"> <strong>
<span>Subscribe</span>
<i class="fa fa-facebook" aria-hidden="true"></i>
<a href="#" target="_blank">
<strong>
<span>Subscribe</span>
<i class="fa fa-facebook" aria-hidden="true"></i>
<br>
<small>To Facebook Feed</small>
<br>
<small>To Facebook Feed</small>
</strong> </a>
</strong>
</a>
</li> </li>
<li class="twitter-three"> <li class="twitter-three">
<a href="#" target="_blank"> <strong>
<span>Subscribe</span>
<i class="fa fa-twitter" aria-hidden="true"></i>
<a href="#" target="_blank">
<strong>
<span>Subscribe</span>
<i class="fa fa-twitter" aria-hidden="true"></i>
<br>
<small>To twitter Feed</small>
<br>
<small>To twitter Feed</small>
</strong> </a>
</strong>
</a>
</li> </li>
<li class="youtube-four"> <li class="youtube-four">
<a href="#" target="_blank"> <strong>
<span>Subscribe</span>
<i class="fa fa-youtube" aria-hidden="true"></i>
<a href="#" target="_blank">
<strong>
<span>Subscribe</span>
<i class="fa fa-youtube" aria-hidden="true"></i>
<br>
<small>To youtube Feed</small>
<br>
<small>To youtube Feed</small>
</strong> </a>
</strong>
</a>
</li> </li>
</div> </div>
<!-- login part--> <!-- login part-->
<div class="login-part2389"> <div class="login-part2389">
<h4>Login</h4> <h4>Login</h4>
<div class="input-group300"> <span><i class="fa fa-user" aria-hidden="true"></i></span>
<input type="text" class="namein309" placeholder="Username"> </div>
<div class="input-group300"> <span><i class="fa fa-lock" aria-hidden="true"></i></span>
<input type="password" class="passin309" placeholder="Name"> </div>
<a href="#">
<button type="button" class="userlogin320">Log In</button>
</a>
<div class="input-group300">
<span><i class="fa fa-user" aria-hidden="true"></i></span>
<input type="text" class="namein309" placeholder="Username">
</div>
<div class="input-group300">
<span><i class="fa fa-lock" aria-hidden="true"></i></span>
<input type="password" class="passin309" placeholder="Name">
</div>
<a href="#"><button type="button" class="userlogin320">Log In</button></a>
<div class="rememberme"> <div class="rememberme">
<label>
<input type="checkbox" checked="checked"> Remember Me</label> <a href="#" class="resbutton3892">Register</a> </div>
<label><input type="checkbox" checked="checked"> Remember Me</label>
<a href="#" class="resbutton3892">Register</a>
</div>
</div> </div>
<!-- highest part-->
<!-- end of Highest points --> <!-- end of Highest points -->
<!-- start tags part--> <!-- start tags part-->
<div class="tags-part2398"> <div class="tags-part2398">
@ -151,26 +167,43 @@
<li><a href="#">Salary</a></li> <li><a href="#">Salary</a></li>
<li><a href="#">University</a></li> <li><a href="#">University</a></li>
<li><a href="#">Employee</a></li> <li><a href="#">Employee</a></li>
</ul> </ul>
</div> </div>
<!-- End tags part--> <!-- End tags part-->
<!-- start recent post --> <!-- start recent post -->
<div class="recent-post3290"> <div class="recent-post3290">
<h4>Recent Post</h4> <h4>Recent Post</h4>
<div class="post-details021"> <a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p> <small style="color: #848991">July 16, 2017</small> </div>
<div class="post-details021">
<a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p>
<small style="color: #848991">July 16, 2017</small>
</div>
<hr> <hr>
<div class="post-details021"> <a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p> <small style="color: #848991">July 16, 2017</small> </div>
<div class="post-details021">
<a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p>
<small style="color: #848991">July 16, 2017</small>
</div>
<hr> <hr>
<div class="post-details021"> <a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p> <small style="color: #848991">July 16, 2017</small> </div>
<div class="post-details021">
<a href="#"><h5>How much do web developers</h5></a>
<p>I am thinking of pursuing web developing as a career & was ...</p>
<small style="color: #848991">July 16, 2017</small>
</div>
</div> </div>
<!-- end recent post --> <!-- end recent post -->
</aside>
</aside>
</section>
</div> </div>
</div> </div>
</div>
</div>
</section> </section>


Loading…
Cancel
Save