Created
December 5, 2013 11:50
-
-
Save mnvx/7804061 to your computer and use it in GitHub Desktop.
Шаблон с Bootstrap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<HTML> | |
<?php | |
/** | |
* Шаблон страницы | |
*/ | |
?> | |
<head> | |
<title>Iris CRM</title> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=<?php echo GetDefaultEncoding(); ?>"/> | |
<meta http-equiv="Content-Language" content="ru"> | |
<meta http-equiv="X-UA-Compatible" content="chrome=1"> | |
<?php echo $javascript; ?> | |
<script type="text/javascript" src="core/bootstrap/js/bootstrap.min.js"> </script> | |
<?php echo $css; ?> | |
<link href="core/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> | |
<link rel="SHORTCUT ICON" href="core/templates/<?php echo $style_name; ?>/favicon.png" type="image/png"> | |
</head> | |
<body onkeyup="ActivateHotKeys(event)"> | |
<?php /* Главная таблица, в которой содержатся все элементы: меню, реестр записей и т.д. */ ?> | |
<table id="maintable" style="width: 100%; height: 100%;"><tbody> | |
<?php /* Панель для сворачивания окон */ ?> | |
<tr><td class="dock"> | |
<div id="dock"> | |
</div> | |
</td></tr> | |
<tr style="height: 70px;"><td> | |
<?php /* Таблица, в которой находится заголовок и прветствие */ ?> | |
<table class="header"> | |
<tbody> | |
<tr class="header"><td> | |
<table class="header"> | |
<tbody> | |
<tr> | |
<?php /* Логотип (см. в css td.header_1) */ ?> | |
<td class="header_1" rowspan=2></td> | |
<td class="header_2"> | |
<span id="user_welcome_area"></span> | |
<span id="user_styleselect_area"></span> | |
<span id="quickadd_area"></span> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<table> | |
<tbody> | |
<tr> | |
<td style="width: 50px;"> </td> | |
<td class="header_3"> | |
<span id="current_time_area"></span> | |
<span id="remind_area"></span> | |
</td> | |
<td style="width: 50px;"> </td> | |
</tr> | |
</tbody> | |
</table> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</td></tr> | |
</tbody> | |
</table> | |
</td></tr> | |
<tr style="height: 32px"><td> | |
<?php /* Меню */ ?> | |
<table> | |
<tbody> | |
<tr><td id="menu_panel"><?php /* Панель меню */ ?></td></tr> | |
</tbody> | |
</table> | |
</td></tr> | |
<tr><td> | |
<?php /* | |
Таблица, содержащая 3 столбца: | |
(1) панель меню и фильтров, | |
(2) разделитель, | |
(3) панель гридов | |
*/ ?> | |
<table style="width: 100%; height: 100%;"> | |
<tbody> | |
<tr> | |
<?php /* (1) панель меню и фильтров */ ?> | |
<td class="left"> | |
<table class="left" style="height: 100%;"> | |
<tr style="height: 100%;"> | |
<td class="left"> | |
<div id="filters_area" style="overflow-x: hidden; overflow-y: auto; height: 200px;"><?php | |
/* Панель фильтров */ | |
?></div> | |
</td> | |
</tr> | |
</table> | |
</td> | |
<?php /* (2) разделитель */ ?> | |
<td width=10 class="vert_div"> | |
</td> | |
<?php /* (3) панель гридов */ ?> | |
<td> | |
<table style="height: 100%;" > | |
<tbody> | |
<tr style="height: 100%;"> | |
<td id="grid_area" align="center" valign="top"><?php | |
/* Содержимое реестра записей формируется через javascript */ | |
?></td> | |
</tr> | |
</tbody> | |
</table> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</td></tr> | |
</tbody></table> | |
<?php echo $javascript_bottom; ?> | |
</body> | |
</HTML> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment