Browse Source

Add responsive features to static sample

pull/9/head
Dave Syer 13 years ago
parent
commit
6d76467a66
  1. 6
      jquery.min.js
  2. 9
      spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/css/bootstrap-responsive.min.css
  3. BIN
      spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/img/glyphicons-halflings-white.png
  4. BIN
      spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/img/glyphicons-halflings.png
  5. 58
      spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/index.html
  6. 6
      spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/js/bootstrap.min.js
  7. 6
      spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/js/jquery.min.js

6
jquery.min.js vendored

File diff suppressed because one or more lines are too long

9
spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/css/bootstrap-responsive.min.css vendored

File diff suppressed because one or more lines are too long

BIN
spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/img/glyphicons-halflings-white.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

BIN
spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/img/glyphicons-halflings.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

58
spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/index.html

@ -1,30 +1,34 @@ @@ -1,30 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<title>Static</title>
<link rel="stylesheet" href="/css/bootstrap.min.css"/>
</head>
<body>
<div class="container">
<div class="navbar">
<div class="navbar-inner">
<a class="brand"
href="https://github.com/SpringSource/spring-boot">
Spring Boot
</a>
<ul class="nav">
<li>
<a href="/">
Home
</a>
</li>
</ul>
</div>
</div>
<h1>Home</h1>
<div>
Some static content
</div>
</div>
</body>
<head>
<title>Static</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css"
href="/css/bootstrap-responsive.min.css" />
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
</head>
<body>
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="https://github.com/SpringSource/spring-boot">
Spring Boot </a> <a class="btn btn-navbar" data-toggle="collapse"
data-target=".nav-collapse"> <span class="icon-bar"></span> <span
class="icon-bar"></span> <span class="icon-bar"></span>
</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="/"> Home </a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<h1>Home</h1>
<div>Some static content</div>
</div>
</body>
</html>

6
spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/js/bootstrap.min.js vendored

File diff suppressed because one or more lines are too long

6
spring-boot-samples/spring-boot-sample-web-static/src/main/webapp/js/jquery.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save