Skip to content

Commit

Permalink
Minor cosmetic improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jjdejong committed Dec 5, 2017
1 parent 745b8d1 commit 9dbb706
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
21 changes: 11 additions & 10 deletions application/views/scripts/index/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
.home-box-header{
background: #B5D9E5;
display:block;
height: 24px;
height: 32px;
padding: 5px 5px 0px 0px;
margin:0px 0px -3px 5px;
box-shadow: 2px 0px 1px #888;
Expand Down Expand Up @@ -230,7 +230,8 @@ $(document).ready(function(){
$('#ren-tasks-list').load('/index/task-filter', { task_type : 'ren', filter: tasks_flag });
});
$( "button, input:button").button();
$( "input[type='radio']" ).checkboxradio({icon: false});
$("#radio-tasks, #radio-renewals").controlgroup();
$( "input:radio" ).checkboxradio({icon: false});

var restricted = <?=$this->restricted?>;
if (restricted) {
Expand All @@ -249,7 +250,7 @@ $(document).ready(function(){
Categories for <em><?=$this->responsible?></em>
</div>
<div class="clear-tasks-box">
<button class="add-cat-matter" style="display:block; margin-top: -5px" id="Patent-PAT">New matter</button>
<button class="add-cat-matter" style="display:block;" id="Patent-PAT">New matter</button>
</div>
</div>
<div id="" class="home-card">
Expand Down Expand Up @@ -300,22 +301,22 @@ if(count($this->categories)){ ?>
if(count($this->open_tasks)): ?>
<div class="home-box-header">
<div class="list-header">Open tasks
<span id="radio-tasks" style="float: right; margin-top: -5px;">
<span id="radio-tasks" style="float: right;">
<input type="radio" name="open-tasks-filter" id="open-tasks-all" value="0" checked="checked" />
<label for="open-tasks-all" style="width: 50px;">All</label>
<input type="radio" name="open-tasks-filter" id="open-tasks-assigned" value="1" />
<label for="open-tasks-assigned" style="width: 50px;">Mine</label>
</span>
</div>

<div class="clear-tasks-box" style="margin-top: -7px;">
<input type="button" id="clear-open-tasks" value="Clear selected on" style="padding: 2px 8px;" />
<div class="clear-tasks-box">
<input type="button" id="clear-open-tasks" value="Clear selected on" />
<label for="open-done-date" ></label>
<input type="text" value="" id="open-done-date" class="done-date" />
<input type="hidden" value="" id="alt-date" />
</div>
</div>
<div id="" class="home-card">
<div class="home-card">
<div class="list-headers">
<div class="col-task-name">Task</div>
<div class="col-task-matter">Matter</div>
Expand Down Expand Up @@ -418,15 +419,15 @@ endif;?>
if(count($this->ren_tasks)): ?>
<div class="home-box-header">
<div class="list-header">Open renewals
<span id="radio-renewals" style="float: right; margin-top: -5px;">
<span id="radio-renewals" style="float: right;">
<input type="radio" name="open-rens-filter" id="open-rens-all" value="0" checked="checked" />
<label for="open-rens-all" style="width: 50px;">All</label>
<input type="radio" name="open-rens-filter" id="open-rens-assigned" value="1" />
<label for="open-rens-assigned" style="width: 50px;">Mine</label>
</span>
</div>
<div class="clear-tasks-box" style="margin-top: -7px;">
<input type="button" id="clear-ren-tasks" value="Clear selected on" style="padding: 2px 8px;" />
<div class="clear-tasks-box">
<input type="button" id="clear-ren-tasks" value="Clear selected on" />
<label for="ren-done-date" ></label>
<input type="text" value="" id="ren-done-date" class="done-date" />
<input type="hidden" value="" id="alt-date" />
Expand Down
8 changes: 4 additions & 4 deletions application/views/scripts/matter/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ $(document).ready(function(){
});

$( "button, input:submit, input:button").button();
$( "input[type='radio']" ).checkboxradio({icon: false});
$( "input[type='checkbox']" ).checkboxradio({icon: false});
$( "#container-all, #actor-status" ).controlgroup();
$( "input:radio, input:checkbox" ).checkboxradio({icon: false});

});

Expand All @@ -407,9 +407,9 @@ if (isset ( $this->containers )) {
</div>
<div id="actor-status" style="float: left; margin-left: 20px;">
<input class="display_style" type="radio" id="show-actor" name="displaystyle" value="0" <?=!$this->display_style ? 'checked' : ''?> />
<label for="show-actor">Actor View</label>
<label for="show-actor">Bibliography</label>
<input class="display_style" type="radio" id="show-status" name="displaystyle" value="1" <?=$this->display_style ? 'checked' : ''?> />
<label for="show-status">Status View</label>
<label for="show-status">Status</label>
</div>

<div id="mine-all" style="float: left; margin-left: 20px;">
Expand Down

0 comments on commit 9dbb706

Please sign in to comment.