Утверждён дизайн.
This commit is contained in:
parent
467d7b2b8b
commit
78c94ef5fe
|
@ -7,4 +7,4 @@ class Controller_Footer extends Controller_Template {
|
|||
if (date('Y') > Kohana::config('common.this_year')) $this->template->years = Kohana::config('common.this_year') . date('-Y');
|
||||
}
|
||||
public function action_view(){$this->request->redirect('');}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
return array(
|
||||
'this_year' => "2011",
|
||||
'title' => "Название",
|
||||
'logo' => "logo_transparent.png"
|
||||
'title' => "Проектирование информационных ресурсов для промышленных и торговых предприятий",
|
||||
//'logo' => "logo_transparent.png"
|
||||
'logo' => "logo.gif"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
</div>
|
||||
<div id="footer">© Студия Гид <?php echo $years ?></div>
|
||||
<div id="footer">
|
||||
<!--© Студия Гид <?php echo $years ?>-->
|
||||
<p>г. Кемерово <br> б-р. Строителей, 6, оф. 1<br>33 77 77<br>37 56 99<br> 37 57 99<br>37 55 99<br> e-mail: <span style="unicode-bidi: bidi-override; direction: rtl;">u<span class="hidden">q</span>r.liam@digo<span class="hidden">Y</span>idu<span class="hidden">r</span>ts</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
<div id="main_container">
|
||||
<?php if (Kohana::config('common.title') != '') { ?>
|
||||
<div id="header">
|
||||
<?php echo $logo?>
|
||||
<h1><?php echo Kohana::config('common.title')?></h1>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div id="menu">
|
||||
<?php echo Request::factory('navigation/actions')->execute() ?>
|
||||
</div>
|
||||
<div id="logo"><?php echo $logo?></div>
|
||||
<div id="column_text">
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
<div id="error"><?php if(!empty($error)) echo $error;?></div>
|
||||
<div id="message"><?php if(!empty($message)) echo $message;?></div>
|
||||
<h1>Вход в систему</h1>
|
||||
<p>Введите логин и пароль для получения доступа к разделу.</p>
|
||||
<?php echo form::open('login') ?>
|
||||
<p><?php echo form::label('login','Логин: '); echo form::input('login','') ?></p>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<li><?php echo HTML::anchor('page/view/'.$page->id,$page->name) ?></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<ul>
|
||||
<!--<ul>
|
||||
<?php if (isset($admin_actions)) echo $admin_actions;?>
|
||||
<li><?php echo $login_or_logout; ?></li>
|
||||
</ul>
|
||||
</ul>-->
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<div id="error"><?php if(!empty($error)) echo $error;?></div>
|
||||
<div id="message"><?php if(!empty($message)) echo $message;?></div>
|
||||
<h3>Добавление страницы</h3>
|
||||
<?php echo form::open('admin/pages/add') ?>
|
||||
<?php echo form::open('pages/add') ?>
|
||||
<p><?php echo form::label('name','Короткое имя: '); echo form::input('name','') ?></p>
|
||||
<p><?php echo form::label('content','Содержимое страницы:'); //echo Form::textarea('content');?></p>
|
||||
<textarea name="content" id="content"></textarea>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div id="message"><?php if(!empty($message)) echo $message;?></div>
|
||||
<h3>Удаление страницы <?php echo $name ?></h3>
|
||||
<?php echo $content ?>
|
||||
<?php echo form::open('admin/pages/delete/' . $id) ?>
|
||||
<?php echo form::open('pages/delete/' . $id) ?>
|
||||
<p><?php echo form::label('yes','Наберите «УДАЛИТЬ», если хотите удалить страницу: '); echo form::input('yes','') ?></p>
|
||||
<p><?php echo form::submit('submit','Удалить страницу') ?>
|
||||
</p>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<div id="error"><?php if(!empty($error)) echo $error;?></div>
|
||||
<div id="message"><?php if(!empty($message)) echo $message;?></div>
|
||||
<h3>Редактирование страницы <?php echo $name ?></h3>
|
||||
<?php echo form::open('admin/pages/edit/' . $id) ?>
|
||||
<?php echo form::open('pages/edit/' . $id) ?>
|
||||
<p><?php echo form::label('name','Короткое имя: '); echo form::input('name',$name) ?></p>
|
||||
<p><?php echo form::label('content','Содержимое страницы:'); //echo Form::textarea('content',$content);?></p>
|
||||
<textarea name="content" id="content"><?php echo $content ?></textarea>
|
||||
|
|
|
@ -1,45 +1,78 @@
|
|||
body{
|
||||
background: darkblue;
|
||||
color: #ffffff;
|
||||
background: white;
|
||||
color: black;
|
||||
font-family: 'PT Sans', arial, serif;
|
||||
}
|
||||
#header h1{
|
||||
padding-top: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
h1{
|
||||
border: 3px solid darkblue;
|
||||
padding: 3px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
#header img{
|
||||
float: left;
|
||||
}
|
||||
#header{
|
||||
height: 100px;
|
||||
display:none;
|
||||
}
|
||||
#menu a{
|
||||
text-decoration: none;
|
||||
}
|
||||
a, a:visited{
|
||||
color: #ffffff;
|
||||
color: black;
|
||||
}
|
||||
#main_container{
|
||||
clear:left;
|
||||
margin: 1em 5%;
|
||||
margin: 2em;
|
||||
border: 1px solid black;
|
||||
-moz-box-shadow: 5px 5px 5px #ccc;
|
||||
-webkit-box-shadow: 5px 5px 5px #ccc;
|
||||
box-shadow: 5px 5px 5px #ccc;
|
||||
background: url('/assets/images/background.png');
|
||||
background-style: fixed;
|
||||
background-size: 100%;
|
||||
}
|
||||
#header{
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
#menu{
|
||||
float: right;
|
||||
width: 160px;
|
||||
margin-right: 10px;
|
||||
margin-top: 150px;
|
||||
margin-right: 5em;
|
||||
margin-left: 10px;
|
||||
padding-top: 1em;
|
||||
border: 2px solid darkblue;
|
||||
background: white;
|
||||
}
|
||||
#logo{
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
top: 50px;
|
||||
border: 2px solid darkblue;
|
||||
background: white;
|
||||
padding: 5px;
|
||||
}
|
||||
#column_text{
|
||||
padding-top: 1em;
|
||||
margin: 0 200px 0 2em;
|
||||
margin: 0 2em 0 6em;
|
||||
text-align: justify;
|
||||
width: 70%;
|
||||
min-height: 500px;
|
||||
}
|
||||
#footer{
|
||||
clear: both;
|
||||
/*clear: both;*/
|
||||
float: right;
|
||||
position: relative;
|
||||
top: -240px;
|
||||
right: 10px;
|
||||
padding: 3px;
|
||||
margin-top: 1em;
|
||||
text-align: right;
|
||||
border-top: 1px solid #fff;
|
||||
background: white;
|
||||
border: 3px solid darkblue;
|
||||
}
|
||||
.hidden{display:none;}
|
||||
|
|
BIN
assets/images/background.png
Normal file
BIN
assets/images/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
163
assets/images/background.svg
Normal file
163
assets/images/background.svg
Normal file
|
@ -0,0 +1,163 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="453.5433"
|
||||
height="340.15747"
|
||||
id="svg2"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.47 r22583"
|
||||
sodipodi:docname="background.svg"
|
||||
version="1.0"
|
||||
inkscape:export-filename="/var/www/assets/images/background.png"
|
||||
inkscape:export-xdpi="158.75"
|
||||
inkscape:export-ydpi="158.75">
|
||||
<defs
|
||||
id="defs4">
|
||||
<inkscape:path-effect
|
||||
effect="skeletal"
|
||||
id="path-effect2834"
|
||||
is_visible="true"
|
||||
pattern="M 0,5 C 0,2.24 2.24,0 5,0 7.76,0 10,2.24 10,5 10,7.76 7.76,10 5,10 2.24,10 0,7.76 0,5 z"
|
||||
copytype="single_stretched"
|
||||
prop_scale="1"
|
||||
scale_y_rel="false"
|
||||
spacing="0"
|
||||
normal_offset="0"
|
||||
tang_offset="0"
|
||||
prop_units="false"
|
||||
vertical_pattern="false"
|
||||
fuse_tolerance="0" />
|
||||
<inkscape:path-effect
|
||||
effect="skeletal"
|
||||
id="path-effect2830"
|
||||
is_visible="true"
|
||||
pattern="M 0,0 0,10 10,5 z"
|
||||
copytype="single_stretched"
|
||||
prop_scale="1"
|
||||
scale_y_rel="false"
|
||||
spacing="0"
|
||||
normal_offset="0"
|
||||
tang_offset="0"
|
||||
prop_units="false"
|
||||
vertical_pattern="false"
|
||||
fuse_tolerance="0" />
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 170.07874 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="453.5433 : 170.07874 : 1"
|
||||
inkscape:persp3d-origin="226.77165 : 113.38582 : 1"
|
||||
id="perspective2826" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.540463"
|
||||
inkscape:cx="211.64068"
|
||||
inkscape:cy="179.16692"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:window-width="1278"
|
||||
inkscape:window-height="1001"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="21"
|
||||
width="12.8cm"
|
||||
height="9.6cm"
|
||||
units="cm"
|
||||
showgrid="true"
|
||||
grid_units="mm"
|
||||
inkscape:object-paths="false"
|
||||
inkscape:grid-points="true"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:guide-points="true"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:snap-global="true"
|
||||
inkscape:window-maximized="0">
|
||||
<sodipodi:guide
|
||||
orientation="vertical"
|
||||
position="56.476527"
|
||||
id="guide3573" />
|
||||
<sodipodi:guide
|
||||
orientation="horizontal"
|
||||
position="11.035643"
|
||||
id="guide3579" />
|
||||
<sodipodi:guide
|
||||
orientation="horizontal"
|
||||
position="24.018753"
|
||||
id="guide3886" />
|
||||
<sodipodi:guide
|
||||
orientation="horizontal"
|
||||
position="285.62841"
|
||||
id="guide3988" />
|
||||
<sodipodi:guide
|
||||
orientation="horizontal"
|
||||
position="303.15561"
|
||||
id="guide4081" />
|
||||
<inkscape:grid
|
||||
id="GridFromPre046Settings"
|
||||
type="xygrid"
|
||||
originx="0px"
|
||||
originy="0px"
|
||||
spacingx="2mm"
|
||||
spacingy="2mm"
|
||||
color="#0000ff"
|
||||
empcolor="#0000ff"
|
||||
opacity="0.2"
|
||||
empopacity="0.4"
|
||||
empspacing="5" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(4.149475e-6,-698.0315)">
|
||||
<path
|
||||
style="fill:none;stroke:#110e89;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 425.19685,-9.6118357e-6 425.19685,340.15747"
|
||||
id="path2836"
|
||||
transform="translate(-4.149475e-6,698.0315)" />
|
||||
<path
|
||||
style="fill:none;stroke:#110e89;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 411.02362,340.15747 0,-340.1574796118357"
|
||||
id="path2838"
|
||||
transform="translate(-4.149475e-6,698.0315)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:none;stroke:#110e89;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
id="path3612"
|
||||
sodipodi:cx="361.41733"
|
||||
sodipodi:cy="290.55118"
|
||||
sodipodi:rx="49.6063"
|
||||
sodipodi:ry="49.606304"
|
||||
d="m 361.12624,240.94573 a 49.6063,49.606304 0 1 1 -11.89586,97.69145"
|
||||
transform="matrix(-0.9943055,0.10656719,-0.10656719,-0.9943055,838.57936,1125.8607)"
|
||||
sodipodi:start="4.7065209"
|
||||
sodipodi:end="8.1021959"
|
||||
sodipodi:open="true" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 5 KiB |
BIN
assets/images/logo.gif
Normal file
BIN
assets/images/logo.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
Loading…
Reference in a new issue