Slightly better looks

pull/762/head
Iglocska 2015-07-24 18:26:21 +02:00
parent ed25d96a54
commit a4ab089f50
2 changed files with 26 additions and 12 deletions

View File

@ -62,8 +62,22 @@
'type' => 'file',
'div' => 'clear'
));
echo $this->Form->input('push_rules', array('type' => 'textarea', 'label' => 'Push filters (in JSON format)', 'div' => 'clear', 'class' => 'input-xxlarge'));
echo $this->Form->input('pull_rules', array('type' => 'textarea', 'label' => 'Pull filters (in JSON format)', 'div' => 'clear', 'class' => 'input-xxlarge'));
?>
<br /><b>Push rules:</b><br />
<span id="push_tags_allowed" style="display:none;">Events with the following tags allowed: <span id="push_tags_allowed_text" style="color:green;"></span><br /></span>
<span id="push_tags_blocked" style="display:none;">Events with the following tags blocked: <span id="push_tags_blocked_text" style="color:red;"></span><br /></span>
<span id="push_orgs_allowed" style="display:none;">Events with the following organisations allowed: <span id="push_orgs_allowed_text" style="color:green;"></span><br /></span>
<span id="push_orgs_blocked" style="display:none;">Events with the following organisations blocked: <span id="push_orgs_blocked_text" style="color:red;"></span><br /></span>
<span class="btn btn-inverse" style="line-height:10px; padding: 4px 4px;">Modify</span><br /><br />
<b>Pull rules:</b><br />
<span id="pull_tags_allowed" style="display:none;">Events with the following tags allowed: <span id="pull_tags_allowed_text" style="color:green;"></span><br /></span>
<span id="pull_tags_blocked" style="display:none;">Events with the following tags blocked: <span id="pull_tags_blocked_text" style="color:red;"></span><br /></span>
<span id="pull_orgs_allowed" style="display:none;">Events with the following organisations allowed: <span id="pull_orgs_allowed_text" style="color:green;"></span><br /></span>
<span id="pull_orgs_blocked" style="display:none;">Events with the following organisations blocked: <span id="pull_orgs_blocked_text" style="color:red;"></span><br /></span>
<span class="btn btn-inverse" style="line-height:10px; padding: 4px 4px;">Modify</span><br /><br />
<?php
echo $this->Form->input('push_rules', array('style' => 'display:none;', 'label' => false, 'div' => false));
echo $this->Form->input('pull_rules', array('style' => 'display:none;', 'label' => false, 'div' => false));
echo $this->Form->input('json', array('style' => 'display:none;', 'label' => false, 'div' => false));
?>
</fieldset>

View File

@ -75,17 +75,17 @@
));
?>
<br /><b>Push rules:</b><br />
<span id="push_tags_allowed" style="display:none;">Tags allowed:<span id="push_tags_allowed_text" style="color:green;"></span><br /></span>
<span id="push_tags_blocked" style="display:none;">Tags blocked:<span id="push_tags_blocked_text" style="color:red;"></span><br /></span>
<span id="push_orgs_allowed" style="display:none;">Organisations allowed:<span id="push_orgs_allowed_text" style="color:green;"></span><br /></span>
<span id="push_orgs_blocked" style="display:none;">Organisations blocked:<span id="push_orgs_blocked_text" style="color:red;"></span><br /></span>
<span class="btn btn-inverse">Modify</span><br /><br />
<span id="push_tags_allowed" style="display:none;">Events with the following tags allowed: <span id="push_tags_allowed_text" style="color:green;"></span><br /></span>
<span id="push_tags_blocked" style="display:none;">Events with the following tags blocked: <span id="push_tags_blocked_text" style="color:red;"></span><br /></span>
<span id="push_orgs_allowed" style="display:none;">Events with the following organisations allowed: <span id="push_orgs_allowed_text" style="color:green;"></span><br /></span>
<span id="push_orgs_blocked" style="display:none;">Events with the following organisations blocked: <span id="push_orgs_blocked_text" style="color:red;"></span><br /></span>
<span class="btn btn-inverse" style="line-height:10px; padding: 4px 4px;">Modify</span><br /><br />
<b>Pull rules:</b><br />
<span id="pull_tags_allowed" style="display:none;">Tags allowed:<span id="pull_tags_allowed_text" style="color:green;"></span><br /></span>
<span id="pull_tags_blocked" style="display:none;">Tags blocked:<span id="pull_tags_blocked_text" style="color:red;"></span><br /></span>
<span id="pull_orgs_allowed" style="display:none;">Organisations allowed:<span id="pull_orgs_allowed_text" style="color:green;"></span><br /></span>
<span id="pull_orgs_blocked" style="display:none;">Organisations blocked:<span id="pull_orgs_blocked_text" style="color:red;"></span><br /></span>
<span class="btn btn-inverse">Modify</span><br /><br />
<span id="pull_tags_allowed" style="display:none;">Events with the following tags allowed: <span id="pull_tags_allowed_text" style="color:green;"></span><br /></span>
<span id="pull_tags_blocked" style="display:none;">Events with the following tags blocked: <span id="pull_tags_blocked_text" style="color:red;"></span><br /></span>
<span id="pull_orgs_allowed" style="display:none;">Events with the following organisations allowed: <span id="pull_orgs_allowed_text" style="color:green;"></span><br /></span>
<span id="pull_orgs_blocked" style="display:none;">Events with the following organisations blocked: <span id="pull_orgs_blocked_text" style="color:red;"></span><br /></span>
<span class="btn btn-inverse" style="line-height:10px; padding: 4px 4px;">Modify</span><br /><br />
<?php
echo $this->Form->input('push_rules', array('style' => 'display:none;', 'label' => false, 'div' => false));
echo $this->Form->input('pull_rules', array('style' => 'display:none;', 'label' => false, 'div' => false));