Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Александр Буш
/
minesite
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a7526f17
authored
Mar 06, 2013
by
Alex Bush
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wiki
1 parent
fde21ea3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
29 deletions
minecreft → minecraft
templates/layouts/admin.html.ep
templates/wiki.html.ep
minecr
e
ft
→
minecr
a
ft
View file @
a7526f1
...
@@ -29,6 +29,15 @@ get '/download' => sub {
...
@@ -29,6 +29,15 @@ get '/download' => sub {
);
);
};
};
get
'/wiki'
=>
sub
{
my
$self
=
shift
;
$self
->
render
(
template
=>
'wiki'
,
layout
=>
'default'
,
);
};
get
'/admin'
=>
sub
{
get
'/admin'
=>
sub
{
my
$self
=
shift
;
my
$self
=
shift
;
...
...
templates/layouts/admin.html.ep
deleted
100644 → 0
View file @
fde21ea
<!doctype html>
<html>
<head>
<title>
<
%= title %>
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
href=
"/css/style.css"
rel=
"stylesheet"
media=
"screen"
>
<script
src=
"http://code.jquery.com/jquery.js"
></script>
<script
src=
"/js/bootstrap.min.js"
></script>
</head>
<body>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<a
class=
"brand"
href=
"#"
>
<
%= title %>
</a>
<ul
class=
"nav"
>
<li><a
href=
"#"
>
Home
</a></li>
<li><a
href=
"/download"
>
Download
</a></li>
<li><a
href=
"/download"
>
wiki
</a></li>
</ul>
</div>
</div>
<div
id=
"wrapper"
class=
"container well"
>
<
%= content %>
</div>
</body>
</html>
\ No newline at end of file
templates/wiki.html.ep
0 → 100644
View file @
a7526f1
<div class="well">
<h2>Установка игры:</h2>
<p>Архив представляет собой две вложенные папки:
<code>minecraft</code> и <code>.minecraft</code> (с точкой):
</p>
<code>minecraft-1.5.1-linux.zip</code><br>
 <code>minecraft</code><br>
 <code>.minecraft</code><br>
<br>
<p>Для установки игры необходимо распаковать архив.
Папку <code>.minecraft</code> (с точкой в названии) положить в:
<ul>
<li>Для Linux: <code>~/</code> (в домашнюю директорию)</li>
<li>Для Windows: <code></code></li>
</ul>
</p>
</div>
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment