Re: Модуль отслеживания посылок
Добавлено: Пн окт 13, 2014 10:58 am
Чет после изменения Панели управления, пропала кнопка перевода трека из активного в неактивный, никто не в курсе как щас переводится?
Код: Выделить всё
<style type="text/css">
table {
*border-collapse: collapse; /* Для IE7 и меньше */
border-spacing: 0;
width: 100%;
}
.bordered {
border: solid #ccc 0px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 10px;
-webkit-box-shadow: 0 1px 1px #ccc;
-moz-box-shadow: 0 1px 1px #ccc;
box-shadow: 0 1px 1px #ccc;
background-color: #ffffff;
}
.bordered tr:hover {
background: #fbf8e9;
-o-transition: all 0.1s ease-in-out;
-webkit-transition: all 0.1s ease-in-out;
-moz-transition: all 0.1s ease-in-out;
-ms-transition: all 0.1s ease-in-out;
transition: all 0.1s ease-in-out;
}
.bordered td, .bordered th {
border-left: 1px solid #ccc;
border-top: 1px solid #ccc;
padding: 10px;
text-align: left;
}
.bordered th {
background-color: #dce9f9;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9));
background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);
background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9);
background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9);
background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9);
background-image: linear-gradient(top, #ebf3fc, #dce9f9);
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
-moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;
box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
border-top: none;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.bordered td:first-child, .bordered th:first-child {
border-left: none;
}
.bordered th:first-child {
-moz-border-radius: 6px 0 0 0;
-webkit-border-radius: 6px 0 0 0;
border-radius: 10px 0 0 0;
}
.bordered th:last-child {
-moz-border-radius: 0 6px 0 0;
-webkit-border-radius: 0 6px 0 0;
border-radius: 0 10px 0 0;
}
.bordered tr:last-child td:first-child {
-moz-border-radius: 0 0 0 6px;
-webkit-border-radius: 0 0 0 6px;
border-radius: 0 0 0 10px;
}
.bordered tr:last-child td:last-child {
-moz-border-radius: 0 0 6px 0;
-webkit-border-radius: 0 0 6px 0;
border-radius: 0 0 10px 0;
}
text { color: #000000}
</style>
<div class="well">
<table class="table table-striped table-condensed bordered">
<thead>
<tr>
<th><center><text>Посылка</text></center></th>
<th><center><text>Текущее местонахождение</text></center></th>
<th><center><text>Дата</text></center></th>
<th><center><text>Статус</text></center></th>
</tr>
</thead>
<tbody>
[#begin TRACK_LIST#]
<tr>
<td width=300px><center><font color="#333399"><strong><font size="+1" face="Comic Sans MS"><#TRACK_LIST.TRACK_NAME#></font></strong><br><#TRACK_LIST.TRACK_ID#></font></center></td>
<td><font size="+1"><font color="#808000"><i><#TRACK_LIST.OPER_NAME#></i></font> <font color="#008000"><#TRACK_LIST.ATTRIB_NAME#></font> <font face="Palatino Linotype" color="#008080"><u><#TRACK_LIST.OPER_POSTPLACE#></u></font></font></td>
<td width=70px><center><strong><text><#TRACK_LIST.OPER_DATE#></text></strong></center></td>
[#if $T.FLAG_CHECK=="Y"#]
<td width=70px><center><span class="label label-success"><text>В пути</text></span><center></td>
[#else#]
<td width=70px><center><span class="label"><text>Получено</text></span></center></td>
[#endif#]
</tr>
[#end TRACK_LIST#]
</tbody>
</table>
</div>
