Skip to content

Commit

Permalink
first try of deform_bootstrap merge
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Aug 17, 2013
1 parent fe226f7 commit 3998a2b
Showing 1 changed file with 63 additions and 45 deletions.
108 changes: 63 additions & 45 deletions deformdemo/templates/main.pt
Original file line number Diff line number Diff line change
@@ -1,50 +1,68 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
metal:define-macro="master"
tal:define="app_url request.application_url;
<metal:block define-macro="master">
<!DOCTYPE html>
<html tal:define="app_url request.application_url;
static app_url + '/static'">

<head>
<title>
Deform Demo Site
</title>
<!-- Meta Tags -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- CSS -->
<link rel="stylesheet" href="${app_url}/static_demo/fonts/nobile/stylesheet.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="${app_url}/static_demo/fonts/neuton/stylesheet.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="${app_url}/static_demo/pylons.css" type="text/css" />
<link rel="stylesheet" href="${app_url}/static_demo/deformdemo.css" type="text/css" />
<link rel="stylesheet" href="${app_url}/pygments.css" type="text/css" />
<tal:block repeat="reqt css_links|[]">
<link rel="stylesheet" href="${static}/${reqt}" type="text/css" />
</tal:block>
<!-- JavaScript -->
<tal:block repeat="reqt js_links|[]">
<script type="text/javascript" src="${static}/${reqt}"></script>
</tal:block>
<script type="text/javascript">
var stylesheets = ['${static}/css/beautify.css'];
</script>
<script type="text/javascript" src="${app_url}/static_demo/swap_stylesheets.js"></script>
</head>

<body id="public">
<div class="header-small">
<select class="swap_stylesheets">
<option value="off">CSS switcher - No additional styling</option>
<option value="0">CSS switcher - Example stylesheet 1</option>
</select>
</div>
<div tal:condition="showmenu" class="menu">
<ul>
<li tal:repeat="(title, name) demos"><a href="${name}/">${title}</a></li>
</ul>
<head>
<meta charset="utf-8"/>
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>
Deform Bootstrap Demo Site
</title>

<link rel="stylesheet" href="${app_url}/pygments.css"
type="text/css"/>
<link rel="stylesheet"
href="${request.static_url('deform:static/css/bootstrap.min.css')}"
type="text/css" media="screen" charset="utf-8"/>
<link rel="stylesheet"
href="${request.static_url('deform:static/css/typeahead.css')}"
type="text/css" media="screen" charset="utf-8"/>

<!-- Widget requirements -->
<script src="${request.static_url('deform:static/scripts/jquery-2.0.3.min.js')}"
type="text/javascript"></script>
<script src="${request.static_url('deform:static/scripts/bootstrap.min.js')}"
type="text/javascript"></script>
<script src="${request.static_url('deform:static/scripts/jquery.maskedinput-1.3.1.js')}"
type="text/javascript"></script>
<script src="${request.static_url('deform:static/tinymce/jscripts/tiny_mce/tiny_mce.js')}"
type="text/javascript"></script>
<script src="${request.static_url('deform:static/scripts/deform.js')}"
type="text/javascript"></script>
<script src="${app_url}/static/scripts/typeahead.min.js"
type="text/javascript"></script>

</head>

<body id="public">

<div class="navbar navbar-fixed-top">
<div class="container">
<a class="navbar-brand" href="#">Deform Bootstrap Demo</a>
</div>
</div>
<div class="body">
<span metal:define-slot="main"/>

<div class="container">

<div class="row" style="margin-top: 70px">
<div class="col-3 col-lg-3 col-sm-3">
<ul class="list-group">
<li class="list-group-item"
tal:repeat="(title, name) demos"><a
href="${name}/">${title}</a></li>
</ul>
</div>
<div class="col-9 col-lg-9 col-sm-9">
<span metal:define-slot="main"/>

</div>
</div>

</div>
</body>

</html>
</body>

</html>
</metal:block>

0 comments on commit 3998a2b

Please sign in to comment.