Revize 1244
Přidáno uživatelem Ondřej Fibich před asi 13 roky(ů)
freenetis/branches/testing/media/css/jquery-ui.css | ||
---|---|---|
|
||
/* Component containers
|
||
----------------------------------*/
|
||
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
|
||
.ui-widget .ui-widget { font-size: 1em; }
|
||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
|
||
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
|
||
... | ... | |
*/
|
||
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
||
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
||
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
|
||
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
|
||
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
||
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
|
||
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
freenetis/branches/testing/media/css/style.css | ||
---|---|---|
}
|
||
|
||
ul.tabs {
|
||
margin-top: 30px;
|
||
margin-bottom: 30px;
|
||
width: 700px;
|
||
float: left;
|
||
border-bottom: 1px solid black;
|
||
padding: 0px;
|
||
margin-top: 20px ! important;
|
||
margin-bottom: 10px ! important;
|
||
width: 100% ! important;
|
||
float: left ! important;
|
||
border-bottom: 1px solid #ccc ! important;
|
||
padding: 0px ! important;
|
||
}
|
||
|
||
ul.tabs li {
|
||
float: left;
|
||
list-style: none;
|
||
border: 1px solid black;
|
||
margin: 0px 5px -1px 5px;
|
||
padding: 5px;
|
||
border: 1px solid #ccc ! important;
|
||
background: white ! important;
|
||
margin: 0px 5px -1px 5px ! important;
|
||
padding: 5px ! important;
|
||
}
|
||
|
||
ul.tabs li a {
|
||
text-decoration: none;
|
||
margin: 0px;
|
||
padding: 0px;
|
||
margin: 0px ! important;
|
||
padding: 0px ! important;
|
||
}
|
||
|
||
ul.tabs li.current {
|
||
border-bottom: 1px solid white;
|
||
ul.tabs li.current, ul.tabs li.ui-tabs-selected {
|
||
border-bottom: 1px solid white ! important;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.mail_to_field {
|
||
... | ... | |
}
|
||
|
||
.button_link {
|
||
border: 1px solid black;
|
||
border: 1px solid #ccc;
|
||
padding: 5px;
|
||
margin: 0px 10px 0px 0px;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.button_link:hover {
|
||
border: 1px solid orange;
|
||
}
|
||
|
||
#mark_all {
|
||
width: 20px;
|
||
}
|
||
... | ... | |
#whisper {
|
||
display: none;
|
||
background-color: white;
|
||
border: 1px solid #CCC;
|
||
width: 224px;
|
||
height: 300px;
|
||
position: absolute;
|
||
top: 120px;
|
||
left: 10px;
|
||
border: 1px solid #ebebeb;
|
||
width: 228px;
|
||
max-height: 300px;
|
||
margin-bottom: 10px;
|
||
overflow: auto;
|
||
}
|
||
|
||
... | ... | |
padding: 5px;
|
||
display: block;
|
||
text-decoration: none;
|
||
border: 1px solid #CCC;
|
||
border: 1px solid white;
|
||
border-bottom: 1px solid #ebebeb;
|
||
}
|
||
|
||
#search_submit {
|
||
width: 14px;
|
||
}
|
||
|
||
.ajax-loader-big {
|
||
.ajax-loader-big {
|
||
padding-left: 60px;
|
||
padding-top: 80px;
|
||
padding-top: 20px;
|
||
padding-bottom: 20px;
|
||
}
|
||
|
||
.search {
|
||
... | ... | |
width: 10px;
|
||
height: 10px;
|
||
cursor: help;
|
||
padding: 0 2px;
|
||
}
|
||
|
||
.more {
|
||
... | ... | |
border-radius: 0px ! important;
|
||
}
|
||
|
||
#tabs ul li a {
|
||
font-size: 13px;
|
||
font-weight: bold;
|
||
}
|
||
|
||
/* Action icon of grid */
|
||
a.action_field_icon {
|
||
display: block;
|
||
... | ... | |
.one_row_textarea {
|
||
height: 16px;
|
||
margin: 2px 10px;
|
||
}
|
||
|
||
.table_form tr td {
|
||
padding: 1px;
|
||
}
|
||
|
||
.device_button {
|
||
cursor: pointer;
|
||
}
|
freenetis/branches/testing/application/controllers/js.php | ||
---|---|---|
$this->address_point_gps();
|
||
}
|
||
|
||
private function _js_devices_show_by_user()
|
||
{
|
||
$this->address_point_gps();
|
||
}
|
||
|
||
private function _js_ifaces_add()
|
||
{
|
||
$this->segment_iface();
|
freenetis/branches/testing/application/libraries/Filter.php | ||
---|---|---|
*/
|
||
|
||
/**
|
||
* This is library for filter form
|
||
*
|
||
* @author Michal Kliment
|
||
* @version 1.0
|
||
*
|
||
* This is library for filter form
|
||
*/
|
||
class Filter
|
||
{
|
freenetis/branches/testing/application/views/js/base.php | ||
---|---|---|
$dialog.dialog('open');
|
||
return false;
|
||
})
|
||
|
||
// dialog with help
|
||
$('.help_hint').click(function ()
|
||
{
|
||
var title = $(this).attr('title');
|
||
|
||
if (title.length)
|
||
{
|
||
$('<div class="left">' + title + '</div>').dialog({
|
||
title: '<?php echo html::image('/media/images/help_small.png') ?> <?php echo __('Help') ?>',
|
||
modal: true,
|
||
position: ['center', 150]
|
||
});
|
||
}
|
||
});
|
||
|
||
// set up for password checker
|
||
$.validator.passwordRating.messages = {
|
||
... | ... | |
});
|
||
|
||
// asking before delete action
|
||
$('.delete_link, .delete_link *').click(function()
|
||
$('.delete_link').click(function()
|
||
{
|
||
return window.confirm('<?php echo __('Do you really want to delete this record') ?>?');
|
||
});
|
||
... | ... | |
});
|
||
}
|
||
else
|
||
$("#whisper").hide ('slow');
|
||
$("#whisper").hide('slow');
|
||
|
||
}, 200);
|
||
});
|
||
|
||
// trigger search also after on-click action
|
||
$("#keyword").click(function ()
|
||
{
|
||
$("#keyword").trigger("keypress");
|
||
});
|
||
// hide search after clicking on other elements
|
||
$("*").bind("click", function (e)
|
||
{
|
||
e.stopPropagation();
|
||
if (this.id != 'whisper' && this.id != 'keyword')
|
||
{
|
||
$("#whisper").hide('slow');
|
||
}
|
||
});
|
||
|
||
/* Input helpers */
|
||
|
||
... | ... | |
var subnet = document.getElementById('subnet_id');
|
||
|
||
// for each subnets from select box
|
||
for (i=0;i<subnet.options.length;i++)
|
||
for (i = 0; i < subnet.options.length; i++)
|
||
{
|
||
var value = subnet.options[i].value;
|
||
var text = subnet.options[i].text;
|
freenetis/branches/testing/application/views/js/__pieces/voip_calculator.php | ||
---|---|---|
var $output = $('#number_price');
|
||
|
||
$calculate_voip_call_input.attr('disable', 'disable');
|
||
$('#a_calculate img').unbind('click');
|
||
$('#a_calculate').unbind('click');
|
||
|
||
$output.css('color', '#ccc');
|
||
$output.html('<?php echo __('Wait please') ?>...');
|
||
... | ... | |
$output.html(data);
|
||
|
||
$calculate_voip_call_input.removeAttr('disable');
|
||
$('#a_calculate img').click(get_price);
|
||
$('#a_calculate').click(get_price);
|
||
$calculate_voip_call_input.focus();
|
||
});
|
||
|
||
... | ... | |
{
|
||
var $calculate_voip_call_input = $('#number');
|
||
var $calculate_voip_call = $('#a_calculate');
|
||
$('#a_calculate img').unbind('click');
|
||
$('#a_calculate').unbind('click');
|
||
|
||
if (($calculate_voip_call_input.val().length < 3) ||
|
||
!$calculate_voip_call_input.val().match(/^\d+$/))
|
||
... | ... | |
$calculate_voip_call_input.css('border', '1px solid #ccc');
|
||
$calculate_voip_call.css('opacity', 1);
|
||
$calculate_voip_call.css('cursor', 'pointer');
|
||
$('#a_calculate img').click(get_price);
|
||
$('#a_calculate').click(get_price);
|
||
}
|
||
}
|
||
}
|
freenetis/branches/testing/application/views/js/__pieces/work_report_form_functions.php | ||
---|---|---|
|
||
// add capability to add fields
|
||
|
||
$('#add_work, #add_work img').unbind('click');
|
||
$('#add_work').unbind('click');
|
||
|
||
$('#add_work, #add_work img').click(function ()
|
||
$('#add_work').click(function ()
|
||
{
|
||
var $last_tr = $('#work_table tbody tr:last');
|
||
var index = 0;
|
||
... | ... | |
|
||
// add capability to remove work
|
||
|
||
$('.remove_row, .remove_row *').unbind('click');
|
||
$('.remove_row').unbind('click');
|
||
|
||
$('.remove_row').click(function ()
|
||
{
|
||
... | ... | |
|
||
// add capability to clear work row
|
||
|
||
$('.clear_row, .clear_row *').unbind('click');
|
||
$('.clear_row').unbind('click');
|
||
|
||
$('.clear_row').click(function ()
|
||
{
|
freenetis/branches/testing/application/views/filter_form_template.php | ||
---|---|---|
<script>
|
||
$(document).ready(function(){
|
||
<script type="text/javascript">
|
||
$(document).ready(function()
|
||
{
|
||
|
||
$("#filter_form").validate({
|
||
errorPlacement: function(error, element){}
|
||
... | ... | |
type_options_orders['<?php echo $name ?>'] = new Array();
|
||
value_options['<?php echo $name ?>'] = new Array();
|
||
<?php foreach ($opers as $key => $val): ?>
|
||
type_options['<?php echo $name ?>'][<?php echo $key ?>] = '<?php echo $val ?>';
|
||
type_options['<?php echo $name ?>'][<?php echo $key ?>] = '<?php echo __($val) ?>';
|
||
type_options_orders['<?php echo $name ?>'][type_options_orders['<?php echo $name ?>'].length] = <?php echo $key ?>;
|
||
<?php endforeach ?>
|
||
<?php if (isset ($value_options[$name])) :?>
|
freenetis/branches/testing/application/views/languages_change.php | ||
---|---|---|
|
||
<?php foreach ($langs as $lang => $name): ?>
|
||
<p style="margin-bottom: 15px;">
|
||
<a href="<?php url::base().$index_page.$lang.'/'.$uri ?>">
|
||
<img src="<?php echo url::base() ?>media/images/flags/<?php echo $lang ?>.jpg" border="0" title="<?php echo $name ?>" alt="<?php echo $name ?>">
|
||
</a>
|
||
<a href="<?php echo url::base().$index_page.$lang.'/'.$uri ?>" title="<?php echo $name ?>">
|
||
<?php echo $name ?>
|
||
</a>
|
||
<a href="<?php echo url::base().$index_page.$lang.'/'.$uri ?>" style="text-decoration: none">
|
||
<img src="<?php echo url::base() ?>media/images/flags/<?php echo $lang ?>.jpg" border="0" title="<?php echo $name ?>" alt="<?php echo $name ?>">
|
||
</a>
|
||
<a href="<?php echo url::base().$index_page.$lang.'/'.$uri ?>" title="<?php echo $name ?>"><?php echo $name ?></a>
|
||
</p>
|
||
<?php endforeach ?>
|
freenetis/branches/testing/application/views/devices_show_by_user.php | ||
---|---|---|
<?php
|
||
if ($this->acl_check_new('Devices_Controller', 'devices', $member_id))
|
||
echo html::anchor(url_lang::base() . 'devices/add/' . $user_id, __('Add new device'))
|
||
?><br /><br />
|
||
?><br />
|
||
|
||
<div id="tabs">
|
||
<ul>
|
||
<li><a href="#user-devices-base-grid"><?php echo __('Base mode') ?></a></li>
|
||
<li><a href="#user-devices-advanced-grid"><?php echo __('Advanced mode') ?></a></li>
|
||
<ul class="tabs">
|
||
<li class="ui-corner-all"><a href="#user-devices-base-grid"><?php echo __('Base mode') ?></a></li>
|
||
<li class="ui-corner-all"><a href="#user-devices-advanced-grid"><?php echo __('Advanced mode') ?></a></li>
|
||
</ul>
|
||
|
||
<br />
|
||
|
||
<div id="user-devices-base-grid">
|
||
<?php echo $base_grid ?>
|
||
</div>
|
||
|
||
<div id="user-devices-advanced-grid">
|
||
<br /><br />
|
||
<div id="user-devices-advanced-grid" class="clear">
|
||
<?php echo $order_form ?>
|
||
<br />
|
||
<?php echo __('Total items') ?>: <?php echo $total_devices ?> | <?php echo __('All devices') ?>:
|
Také k dispozici: Unified diff
Upravy:
- nove zobrazeni vyhledavani primo v menu (vyreseni problemu blokovane onClick udalosti kvuli vyskakovacimu oknu)
- pri kliknuti na help hint se otevre dialog (zjednoduseni cteni napovedy)
- novy styl pro taby
- vyhozeni hacku pouzivanych pri nefunkcnim probublavanim onClick udalosti
- upravy vzhledu filter formu
Opravy:
- oprava velikosti pisma u zobrazeni uzivatelovych zarizeni
- oprava prekladu operaci filtru
- opravy javascriptu
- oprava odkazu u zmeny jazyku