OK, at this stage it's just an empty LuminusWeb project...
This commit is contained in:
commit
e455387f96
19 changed files with 547 additions and 0 deletions
4
resources/templates/about.html
Normal file
4
resources/templates/about.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<p>this is the story of mw-ui... work in progress</p>
|
||||
{% endblock %}
|
||||
40
resources/templates/base.html
Normal file
40
resources/templates/base.html
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Welcome to mw-ui</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- navbar -->
|
||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="{{servlet-context}}/">mw-ui</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse ">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="{{home-selected}}"><a href="{{servlet-context}}/">Home</a></li>
|
||||
<li class="{{about-selected}}"><a href="{{servlet-context}}/about">About</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<!-- scripts and styles -->
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
|
||||
{% style "/css/screen.css" %}
|
||||
|
||||
<script src="//code.jquery.com/jquery-2.0.3.min.js" type="text/javascript"></script>
|
||||
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var context = "{{servlet-context}}";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
14
resources/templates/home.html
Normal file
14
resources/templates/home.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div class="jumbotron">
|
||||
<h1>Welcome to mw-ui</h1>
|
||||
<p>Time to start building your site!</p>
|
||||
<p><a class="btn btn-primary btn-lg" href="http://luminusweb.net">Learn more »</a></p>
|
||||
</div>
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span8">
|
||||
{{content|safe}}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue