Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
902e8c75
Commit
902e8c75
authored
Apr 02, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #479 from daylerees/docs-template
Offline Docs Template
parents
d41b1db7
2c459547
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1832 additions
and
2 deletions
+1832
-2
bundles.php
application/bundles.php
+7
-1
routes.php
application/routes.php
+1
-1
style.css
bundles/docs/public/css/style.css
+231
-0
logoback.png
bundles/docs/public/img/logoback.png
+0
-0
modernizr-2.5.3.min.js
bundles/docs/public/js/modernizr-2.5.3.min.js
+4
-0
prettify.js
bundles/docs/public/js/prettify.js
+1477
-0
routes.php
bundles/docs/routes.php
+15
-0
home.blade.php
bundles/docs/views/home.blade.php
+35
-0
menu.blade.php
bundles/docs/views/menu.blade.php
+28
-0
template.blade.php
bundles/docs/views/template.blade.php
+34
-0
No files found.
application/bundles.php
View file @
902e8c75
...
@@ -33,4 +33,10 @@
...
@@ -33,4 +33,10 @@
|
|
*/
*/
return
array
();
return
array
(
\ No newline at end of file
// route the official docs
'docs'
=>
array
(
'handles'
=>
'docs'
),
);
\ No newline at end of file
application/routes.php
View file @
902e8c75
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
Route
::
get
(
'/'
,
function
()
Route
::
get
(
'/'
,
function
()
{
{
return
View
::
make
(
'home.index
'
);
return
Redirect
::
to
(
'docs
'
);
});
});
/*
/*
...
...
bundles/docs/public/css/style.css
0 → 100644
View file @
902e8c75
@import
url(http://fonts.googleapis.com/css?family=Droid+Sans)
;
article
,
aside
,
details
,
figcaption
,
figure
,
footer
,
header
,
hgroup
,
nav
,
section
{
display
:
block
;
}
audio
,
canvas
,
video
{
display
:
inline-block
;
*
display
:
inline
;
*
zoom
:
1
;
}
audio
:not
([
controls
])
{
display
:
none
;
}
[
hidden
]
{
display
:
none
;
}
html
{
font-size
:
100%
;
-webkit-text-size-adjust
:
100%
;
-ms-text-size-adjust
:
100%
;
}
html
,
button
,
input
,
select
,
textarea
{
font-family
:
sans-serif
;
color
:
#222
;
}
body
{
margin
:
0
;
font-size
:
1em
;
line-height
:
1.4
;
}
::-moz-selection
{
background
:
#E37B52
;
color
:
#fff
;
text-shadow
:
none
;
}
::selection
{
background
:
#E37B52
;
color
:
#fff
;
text-shadow
:
none
;
}
a
{
color
:
#00e
;
}
a
:visited
{
color
:
#551a8b
;
}
a
:hover
{
color
:
#06e
;
}
a
:focus
{
outline
:
thin
dotted
;
}
a
:hover
,
a
:active
{
outline
:
0
;
}
abbr
[
title
]
{
border-bottom
:
1px
dotted
;
}
b
,
strong
{
font-weight
:
bold
;
}
blockquote
{
margin
:
1em
40px
;
}
dfn
{
font-style
:
italic
;
}
hr
{
display
:
block
;
height
:
1px
;
border
:
0
;
border-top
:
1px
solid
#ccc
;
margin
:
1em
0
;
padding
:
0
;
}
ins
{
background
:
#ff9
;
color
:
#000
;
text-decoration
:
none
;
}
mark
{
background
:
#ff0
;
color
:
#000
;
font-style
:
italic
;
font-weight
:
bold
;
}
pre
,
code
,
kbd
,
samp
{
font-family
:
monospace
,
serif
;
_font-family
:
'courier new'
,
monospace
;
font-size
:
1em
;
}
pre
{
white-space
:
pre
;
white-space
:
pre-wrap
;
word-wrap
:
break-word
;
}
q
{
quotes
:
none
;
}
q
:before
,
q
:after
{
content
:
""
;
content
:
none
;
}
small
{
font-size
:
85%
;
}
sub
,
sup
{
font-size
:
75%
;
line-height
:
0
;
position
:
relative
;
vertical-align
:
baseline
;
}
sup
{
top
:
-0.5em
;
}
sub
{
bottom
:
-0.25em
;
}
ul
,
ol
{
margin
:
1em
0
;
padding
:
0
0
0
40px
;
}
dd
{
margin
:
0
0
0
40px
;
}
nav
ul
,
nav
ol
{
list-style
:
none
;
list-style-image
:
none
;
margin
:
0
;
padding
:
0
;
}
img
{
border
:
0
;
-ms-interpolation-mode
:
bicubic
;
vertical-align
:
middle
;
}
svg
:not
(
:root
)
{
overflow
:
hidden
;
}
figure
{
margin
:
0
;
}
form
{
margin
:
0
;
}
fieldset
{
border
:
0
;
margin
:
0
;
padding
:
0
;
}
label
{
cursor
:
pointer
;
}
legend
{
border
:
0
;
*
margin-left
:
-7px
;
padding
:
0
;
white-space
:
normal
;
}
button
,
input
,
select
,
textarea
{
font-size
:
100%
;
margin
:
0
;
vertical-align
:
baseline
;
*
vertical-align
:
middle
;
}
button
,
input
{
line-height
:
normal
;
}
button
,
input
[
type
=
"button"
],
input
[
type
=
"reset"
],
input
[
type
=
"submit"
]
{
cursor
:
pointer
;
-webkit-appearance
:
button
;
*
overflow
:
visible
;
}
button
[
disabled
],
input
[
disabled
]
{
cursor
:
default
;
}
input
[
type
=
"checkbox"
],
input
[
type
=
"radio"
]
{
box-sizing
:
border-box
;
padding
:
0
;
*
width
:
13px
;
*
height
:
13px
;
}
input
[
type
=
"search"
]
{
-webkit-appearance
:
textfield
;
-moz-box-sizing
:
content-box
;
-webkit-box-sizing
:
content-box
;
box-sizing
:
content-box
;
}
input
[
type
=
"search"
]
::-webkit-search-decoration
,
input
[
type
=
"search"
]
::-webkit-search-cancel-button
{
-webkit-appearance
:
none
;
}
button
::-moz-focus-inner
,
input
::-moz-focus-inner
{
border
:
0
;
padding
:
0
;
}
textarea
{
overflow
:
auto
;
vertical-align
:
top
;
resize
:
vertical
;
}
input
:valid
,
textarea
:valid
{
}
input
:invalid
,
textarea
:invalid
{
background-color
:
#f0dddd
;
}
table
{
border-collapse
:
collapse
;
border-spacing
:
0
;
}
td
{
vertical-align
:
top
;
}
body
{
font-family
:
'Droid Sans'
,
sans-serif
;
font-size
:
11pt
;
color
:
#555
;
}
.wrapper
{
width
:
760px
;
margin
:
2em
auto
;
}
.wrapper
>
header
{
border-bottom
:
1px
solid
#eee
;
background-image
:
url(../img/logoback.png)
;
background-repeat
:
no-repeat
;
background-position
:
right
;
text-shadow
:
1px
1px
0px
#fff
;
}
.wrapper
>
header
h1
{
color
:
#222
;
margin
:
0
;
}
.wrapper
>
header
h2
{
margin
:
0
;
color
:
#888
;
}
.slogan
{
font-size
:
0.8em
;
}
.main
{
overflow
:
hidden
;
}
.sidebar
{
width
:
180px
;
float
:
left
;
font-size
:
0.9em
;
}
.content
{
width
:
540px
;
float
:
right
;
border-left
:
1px
solid
#eee
;
padding-left
:
1.5em
;
}
a
,
a
:visited
{
color
:
#2972A3
;
text-decoration
:
none
;
}
a
:hover
{
color
:
#72ADD4
;
text-decoration
:
underline
;
}
.menu
{
list-style-type
:
none
;
margin
:
0
;
padding
:
0
;
}
.menu
ul
{
list-style-type
:
none
;
padding-left
:
1em
;
margin
:
0
;
}
.menu
ul
li
:before
{
content
:
"\2013"
;
text-decoration
:
none
;
color
:
#777
;
margin-right
:
0.2em
;
}
pre
,
code
{
font-family
:
Monaco
,
"Bitstream Vera Sans Mono"
,
"Lucida Console"
,
Terminal
,
monospace
;
}
pre
{
border
:
1px
solid
#eee
;
padding
:
0.5em
1em
;
font-size
:
0.8em
;
background-color
:
#f5f5f5
;
text-shadow
:
1px
1px
0
#fff
;
line-height
:
1.7em
;
}
code
{
background-color
:
#FFE5DB
;
font-size
:
0.8em
;
display
:
inline-block
;
padding
:
0.2em
0.4em
;
text-shadow
:
1px
1px
0
#fff
;
}
/* Prettify Styles -------------- */
.com
{
color
:
#93a1a1
;
}
.lit
{
color
:
#195f91
;
}
.pun
,
.opn
,
.clo
{
color
:
#93a1a1
;
}
.fun
{
color
:
#dc322f
;
}
.str
,
.atv
{
color
:
#D14
;
}
.kwd
,
.linenums
.tag
{
color
:
#1e347b
;
}
.typ
,
.atn
,
.dec
,
.var
{
color
:
teal
;
}
.pln
{
color
:
#48484c
;
}
.prettyprint
{
padding
:
0
;
text-shadow
:
1px
1px
0
#fff
;
}
.prettyprint
ol
{
color
:
#ccc
;
}
/* end ------------------------ */
@media
print
{
*
{
background
:
transparent
!important
;
color
:
black
!important
;
box-shadow
:
none
!important
;
text-shadow
:
none
!important
;
filter
:
none
!important
;
-ms-filter
:
none
!important
;
}
a
,
a
:visited
{
text-decoration
:
underline
;
}
a
[
href
]
:after
{
content
:
" ("
attr
(
href
)
")"
;
}
abbr
[
title
]
:after
{
content
:
" ("
attr
(
title
)
")"
;
}
.ir
a
:after
,
a
[
href
^=
"javascript:"
]
:after
,
a
[
href
^=
"#"
]
:after
{
content
:
""
;
}
pre
,
blockquote
{
border
:
1px
solid
#999
;
page-break-inside
:
avoid
;
}
thead
{
display
:
table-header-group
;
}
tr
,
img
{
page-break-inside
:
avoid
;
}
img
{
max-width
:
100%
!important
;
}
@page
{
margin
:
0.5cm
;
}
p
,
h2
,
h3
{
orphans
:
3
;
widows
:
3
;
}
h2
,
h3
{
page-break-after
:
avoid
;
}
}
bundles/docs/public/img/logoback.png
0 → 100644
View file @
902e8c75
8.28 KB
bundles/docs/public/js/modernizr-2.5.3.min.js
0 → 100644
View file @
902e8c75
This diff is collapsed.
Click to expand it.
bundles/docs/public/js/prettify.js
0 → 100644
View file @
902e8c75
This diff is collapsed.
Click to expand it.
bundles/docs/routes.php
0 → 100644
View file @
902e8c75
<?php
View
::
composer
(
'docs::template'
,
function
(
$view
)
{
Asset
::
add
(
'stylesheet'
,
'css/style.css'
);
Asset
::
add
(
'modernizr'
,
'js/modernizr-2.5.3.min.js'
);
Asset
::
container
(
'footer'
)
->
add
(
'prettify'
,
'js/prettify.js'
);
});
Route
::
get
(
'(:bundle)'
,
function
()
{
return
View
::
make
(
'docs::home'
);
});
bundles/docs/views/home.blade.php
0 → 100644
View file @
902e8c75
@
layout
(
'docs::template'
)
@
section
(
'content'
)
<
h3
>
Learn
the
terrain
.</
h3
>
<
p
>
You
've landed yourself on our <code>default</code> home page. The route that
is generating this page lives at:
</p>
<pre>APP_PATH/routes.php</pre>
<pre class="prettyprint lang-php linenums">
return array(
'
welcome
' => '
Welcome
to
our
website
!
',
);
</pre>
<p>And the view sitting before you can be found at:</p>
<pre>APP_PATH/views/home/index.php</pre>
<h3>Create something beautiful.</h3>
<p>
Now that you'
re
up
and
running
,
it
'
s
time
to
start
creating
!
Here
are
some
links
to
help
you
get
started
:
</
p
>
<
ul
>
<
li
><
a
href
=
"http://laravel.com"
>
Official
Website
</
a
></
li
>
<
li
><
a
href
=
"http://forums.laravel.com"
>
Laravel
Forums
</
a
></
li
>
<
li
><
a
href
=
"http://github.com/laravel/laravel"
>
GitHub
Repository
</
a
></
li
>
</
ul
>
@
endsection
bundles/docs/views/menu.blade.php
0 → 100644
View file @
902e8c75
<h3>
Documentation
</h3>
<ul
class=
"menu"
>
<li><a
href=
"#"
>
Menu Item
</a></li>
<li><a
href=
"#"
>
Menu Item
</a></li>
<li><a
href=
"#"
>
Menu Item
</a>
<ul>
<li><a
href=
"#"
>
Sub Menu Item
</a></li>
<li><a
href=
"#"
>
Sub Menu Item
</a></li>
</ul>
</li>
<li><a
href=
"#"
>
Menu Item
</a></li>
<li><a
href=
"#"
>
Menu Item
</a></li>
<li><a
href=
"#"
>
Menu Item
</a>
<ul>
<li><a
href=
"#"
>
Sub Menu Item
</a></li>
<li><a
href=
"#"
>
Sub Menu Item
</a></li>
<li><a
href=
"#"
>
Sub Menu Item
</a></li>
</ul>
</li>
<li><a
href=
"#"
>
Menu Item
</a></li>
<li><a
href=
"#"
>
Menu Item
</a></li>
<li><a
href=
"#"
>
Menu Item
</a></li>
<li><a
href=
"#"
>
Menu Item
</a></li>
<li><a
href=
"#"
>
Menu Item
</a></li>
<li><a
href=
"#"
>
Menu Item
</a></li>
<li><a
href=
"#"
>
Menu Item
</a></li>
</ul>
\ No newline at end of file
bundles/docs/views/template.blade.php
0 → 100644
View file @
902e8c75
<!doctype html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<title>
Laravel: A Framework For Web Artisans
</title>
<meta
name=
"viewport"
content=
"width=device-width"
>
{{ Asset::bundle('docs')->styles(); }}
{{ Asset::bundle('docs')->scripts(); }}
</head>
<body
onload=
"prettyPrint()"
>
<div
class=
"wrapper"
>
<header>
<h1>
Laravel
</h1>
<h2>
A Framework For Web Artisans
</h2>
<p>
You have successfully installed the Laravel framework. Laravel is a simple framework
that helps web artisans create beautiful, creative applications using elegant, expressive
syntax. You'll love using it.
</p>
</header>
<div
role=
"main"
class=
"main"
>
<aside
class=
"sidebar"
>
@include('docs::menu')
</aside>
<div
class=
"content"
>
@yield('content')
</div>
</div>
</div>
{{ Asset::container('footer')->bundle('docs')->scripts(); }}
</body>
</html>
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