Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PigLatinTranslator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PeckaDesign
PigLatinTranslator
Commits
fbb20cc3
Commit
fbb20cc3
authored
Jun 25, 2014
by
Mpro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean layout and homepage
parent
2a3c8752
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
141 deletions
+43
-141
@layout.latte
app/templates/@layout.latte
+43
-8
default.latte
app/templates/Homepage/default.latte
+0
-133
No files found.
app/templates/@layout.latte
View file @
fbb20cc3
...
...
@@ -8,10 +8,26 @@
<head>
<meta
charset=
"utf-8"
>
<title>
{ifset #title}{include title|striptags} | {/ifset}Nette Sandbox
</title>
<title>
{ifset #title}{include title|striptags} | {/ifset}Pig Latin Translator
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
<!-- Le styles -->
<link
href=
"{$basePath}/bootstrap/css/bootstrap.css"
rel=
"stylesheet"
>
<style>
body
{
padding-top
:
60px
;
/* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link
href=
"{$basePath}/bootstrap/css/bootstrap-responsive.css"
rel=
"stylesheet"
>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="{$basePath}/bootstrap/js/html5shiv.js"></script>
<![endif]-->
<link
rel=
"stylesheet"
media=
"screen,projection,tv"
href=
"{$basePath}/css/screen.css"
>
<link
rel=
"stylesheet"
media=
"print"
href=
"{$basePath}/css/print.css"
>
<link
rel=
"shortcut icon"
href=
"{$basePath}/favicon.ico"
>
{block head}{/block}
</head>
...
...
@@ -19,14 +35,33 @@
<body>
<script>
document
.
documentElement
.
className
+=
' js'
</script>
<div
n:foreach=
"$flashes as $flash"
class=
"flash {$flash->type}"
>
{$flash->message}
</div>
{include content}
<div
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"navbar-inner"
>
<div
class=
"container"
>
<button
type=
"button"
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>
</button>
<a
class=
"brand"
href=
"#"
>
Pig Latin Translator
</a>
</div>
</div>
</div>
<div
class=
"container"
>
<div
n:foreach=
"$flashes as $flash"
class=
"alert alert-{$flash->type}"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"alert"
>
×
</button>
{$flash->message}
</div>
{include content}
</div>
{block scripts}
<script
src=
"{$basePath}/js/jquery.js"
></script>
<script
src=
"{$basePath}/js/netteForms.js"
></script>
<script
src=
"{$basePath}/js/main.js"
></script>
<script
src=
"{$basePath}/js/jquery.js"
></script>
<script
src=
"{$basePath}/js/netteForms.js"
></script>
<script
src=
"{$basePath}/js/main.js"
></script>
{/block}
</body>
</html>
app/templates/Homepage/default.latte
View file @
fbb20cc3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment