chg: Finished round 1 of all accessibility changes

pull/2052/head
iglocska 2017-03-15 11:25:11 +01:00
parent e637bb5118
commit c32ae9bfa1
17 changed files with 55 additions and 55 deletions

View File

@ -52,11 +52,11 @@
<?php
foreach (array('local', 'external', 'all') as $scopeChoice):
?>
<span class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer <?php if ($scope === $scopeChoice) echo 'tabMenuActive';?>" onClick="window.location='/organisations/index/scope:<?php echo h($scopeChoice);?>'"><?php echo $texts[$scopeChoice]['text'];?></span>
<span role="button" tabindex="0" aria-label="<?php echo h($scopeChoice); ?>" title="<?php echo h($scopeChoice); ?>" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer <?php if ($scope === $scopeChoice) echo 'tabMenuActive';?>" onClick="window.location='/organisations/index/scope:<?php echo h($scopeChoice);?>'"><?php echo $texts[$scopeChoice]['text'];?></span>
<?php
endforeach;
?>
<span id="quickFilterButton" class="tabMenuFilterFieldButton useCursorPointer" onClick="quickFilter(<?php echo h($passedArgs); ?>, '<?php echo $baseurl . '/organisations/index'; ?>');">Filter</span>
<span role="button" tabindex="0" aria-label="Filtr" title="Filter" id="quickFilterButton" class="tabMenuFilterFieldButton useCursorPointer" onClick="quickFilter(<?php echo h($passedArgs); ?>, '<?php echo $baseurl . '/organisations/index'; ?>');">Filter</span>
<input class="tabMenuFilterField" type="text" id="quickFilterField"></input>
</div>
<table class="table table-striped table-hover table-condensed">

View File

@ -2,10 +2,10 @@
<fieldset>
<legend><?php echo __('New Sharing Group'); ?></legend>
<div class="tabMenuFixedContainer">
<span id="page1_tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer tabMenuActive" onClick="simpleTabPage(1);">General</span>
<span id="page2_tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(2);">Organisations</span>
<span id="page3_tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(3);">MISP Instances</span>
<span id="page4_tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(4);">Summary and Save</span>
<span id="page1_tab" role="button" tabindex="0" aria-label="General tab" title="General tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer tabMenuActive" onClick="simpleTabPage(1);">General</span>
<span id="page2_tab" role="button" tabindex="0" aria-label="Organisations tab" title="Organisations tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(2);">Organisations</span>
<span id="page3_tab" role="button" tabindex="0" aria-label="MISP instances tab" title="MISP instances tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(3);">MISP Instances</span>
<span id="page4_tab" role="button" tabindex="0" aria-label="Sharing group summary" title="Sharing group summary" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(4);">Summary and Save</span>
</div>
<div id="page1_content" class="multi-page-form-div tabContent" style="width:544px;">
<label for="SharingGroupName">Name</label>
@ -18,12 +18,12 @@
<input type="checkbox" style="float:left;" title="Active sharing groups can be selected by users of the local instance when creating events. Generally, sharing groups received through synchronisation will have this disabled until manually enabled." value="1" id="SharingGroupActive" checked></input>
<label for="SharingGroupActive" style="padding-left:20px;">Make the sharing group selectable (active)</label>
</div>
<span class="btn btn-inverse" onClick="simpleTabPage(2);">Next page</span>
<span role="button" tabindex="0" aria-label="Next page" title="Next page" class="btn btn-inverse" onClick="simpleTabPage(2);">Next page</span>
</div>
<div id="page2_content" class="multi-page-form-div tabContent" style="display:none;width:544px;">
<div class="tabMenuFixedContainer">
<span class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('organisation', 'local');">Add local organisation</span>
<span class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('organisation', 'remote');">Add remote organisation</span>
<span role="button" tabindex="0" aria-label="Add local organisation(s) to the sharing group" title="Add local organisation(s) to the sharing group" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('organisation', 'local');">Add local organisation</span>
<span role="button" tabindex="0" aria-label="Add remote organisations to the sharing group" title="Add remote organisations to the sharing group" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('organisation', 'remote');">Add remote organisation</span>
</div>
<table id="organisations_table" class="table table-striped table-hover table-condensed">
<tr id="organisations_table_header">
@ -34,8 +34,8 @@
<th>Actions</th>
</tr>
</table>
<span class="btn btn-inverse" onClick="simpleTabPage(1);">Previous page</span>
<span class="btn btn-inverse" onClick="simpleTabPage(3);">Next page</span>
<span role="button" tabindex="0" aria-label="Previous page" title="Previous page" class="btn btn-inverse" onClick="simpleTabPage(1);">Previous page</span>
<span role="button" tabindex="0" aria-label="Next page" title="Next page" class="btn btn-inverse" onClick="simpleTabPage(3);">Next page</span>
</div>
<div id="page3_content" class="multi-page-form-div tabContent" style="display:none;width:544px;">
<div style="display:block;">
@ -44,7 +44,7 @@
</div>
<div id="serverList">
<div class="tabMenuFixedContainer">
<span class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('server');">Add instance</span>
<span role="button" tabindex="0" aria-label="Add instance" title="Add instance" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('server');">Add instance</span>
</div>
<table id="servers_table" class="table table-striped table-hover table-condensed">
<tr>
@ -55,8 +55,8 @@
</tr>
</table>
</div>
<span class="btn btn-inverse" onClick="simpleTabPage(2);">Previous page</span>
<span class="btn btn-inverse" onClick="simpleTabPage(4);">Next page</span>
<span role="button" tabindex="0" aria-label="Previous page" title="Previous page" class="btn btn-inverse" onClick="simpleTabPage(2);">Previous page</span>
<span role="button" tabindex="0" aria-label="Next page" title="Next page" class="btn btn-inverse" onClick="simpleTabPage(4);">Next page</span>
</div>
</fieldset>
<div id="page4_content" class="multi-page-form-div tabContent" style="display:none;width:544px;">
@ -71,8 +71,8 @@
//echo $this->Form->button(__('Submit'), array('class' => 'btn btn-primary'));
echo $this->Form->end();
?>
<span class="btn btn-inverse" onClick="simpleTabPage(3);">Previous page</span>
<span class="btn btn-primary" onClick="sgSubmitForm('Add');">Submit</span>
<span role="button" tabindex="0" aria-label="Previous page" title="Previous page" class="btn btn-inverse" onClick="simpleTabPage(3);">Previous page</span>
<span role="button" tabindex="0" aria-label="Submit and create sharing group" title="Submit and create sharing group" class="btn btn-primary" onClick="sgSubmitForm('Add');">Submit</span>
</div>
</div>
<?php

View File

@ -2,10 +2,10 @@
<fieldset>
<legend><?php echo __('Edit Sharing Group'); ?></legend>
<div class="tabMenuFixedContainer">
<span id="page1_tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer tabMenuActive" onClick="simpleTabPage(1);">General</span>
<span id="page2_tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(2);">Organisations</span>
<span id="page3_tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(3);">MISP Instances</span>
<span id="page4_tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(4);">Summary and Save</span>
<span id="page1_tab" role="button" tabindex="0" aria-label="General tab" title="General tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer tabMenuActive" onClick="simpleTabPage(1);">General</span>
<span id="page2_tab" role="button" tabindex="0" aria-label="Organisations tab" title="Organisations tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(2);">Organisations</span>
<span id="page3_tab" role="button" tabindex="0" aria-label="MISP instances tab" title="MISP instances tab" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(3);">MISP Instances</span>
<span id="page4_tab" role="button" tabindex="0" aria-label="Sharing group summary" title="Sharing group summary" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="simpleTabPage(4);">Summary and Save</span>
</div>
<div id="page1_content" class="multi-page-form-div tabContent" style="width:544px;">
<label for="SharingGroupName">Name</label>
@ -18,12 +18,12 @@
<input type="checkbox" style="float:left;" title="Active sharing groups can be selected by users of the local instance when creating events. Generally, sharing groups received through synchronisation will have this disabled until manually enabled." <?php if ($sharingGroup['SharingGroup']['active']) echo "checked"; ?> id="SharingGroupActive"></input>
<label for="SharingGroupActive" style="padding-left:20px;">Make the sharing group selectable (active)</label>
</div>
<span class="btn btn-inverse" onClick="simpleTabPage(2);">Next page</span>
<span role="button" tabindex="0" aria-label="Next page" title="Next page" class="btn btn-inverse" onClick="simpleTabPage(2);">Next page</span>
</div>
<div id="page2_content" class="multi-page-form-div tabContent" style="display:none;width:544px;">
<div class="tabMenuFixedContainer">
<span class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('organisation', 'local');">Add local organisation</span>
<span class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('organisation', 'remote');">Add remote organisation</span>
<span role="button" tabindex="0" aria-label="Add local organisation(s) to the sharing group" title="Add local organisation(s) to the sharing group" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('organisation', 'local');">Add local organisation</span>
<span role="button" tabindex="0" aria-label="Add remote organisations to the sharing group" title="Add remote organisations to the sharing group" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('organisation', 'remote');">Add remote organisation</span>
</div>
<table id="organisations_table" class="table table-striped table-hover table-condensed">
<tr id="organisations_table_header">
@ -34,8 +34,8 @@
<th>Actions</th>
</tr>
</table>
<span class="btn btn-inverse" onClick="simpleTabPage(1);">Previous page</span>
<span class="btn btn-inverse" onClick="simpleTabPage(3);">Next page</span>
<span role="button" tabindex="0" aria-label="Previous page" title="Previous page" class="btn btn-inverse" onClick="simpleTabPage(1);">Previous page</span>
<span role="button" tabindex="0" aria-label="Next page" title="Next page" class="btn btn-inverse" onClick="simpleTabPage(3);">Next page</span>
</div>
<div id="page3_content" class="multi-page-form-div tabContent" style="display:none;width:544px;">
<?php
@ -52,7 +52,7 @@
</div>
<div id="serverList" <?php echo $serverDivVisibility; ?>>
<div class="tabMenuFixedContainer">
<span class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('server');">Add instance</span>
<span role="button" tabindex="0" aria-label="Add instance" title="Add instance" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer" onClick="sharingGroupAdd('server');">Add instance</span>
</div>
<table id="servers_table" class="table table-striped table-hover table-condensed">
<tr>
@ -63,9 +63,9 @@
</tr>
</table>
</div>
<span class="btn btn-inverse" onClick="simpleTabPage(2);">Previous page</span>
<span class="btn btn-inverse" onClick="simpleTabPage(4);">Next page</span>
</div>
<span role="button" tabindex="0" aria-label="Previous page" title="Previous page" class="btn btn-inverse" onClick="simpleTabPage(2);">Previous page</span>
<span role="button" tabindex="0" aria-label="Next page" title="Next page" class="btn btn-inverse" onClick="simpleTabPage(4);">Next page</span>
</div>
</fieldset>
<div id="page4_content" class="multi-page-form-div tabContent" style="display:none;width:544px;">
<p><span class="bold">General: </span>You are about to create the <span id="summarytitle" class="red bold"></span> sharing group, which is intended to be releasable to <span id="summaryreleasable" class="red bold"></span>. </p>
@ -79,8 +79,8 @@
//echo $this->Form->button(__('Submit'), array('class' => 'btn btn-primary'));
echo $this->Form->end();
?>
<span class="btn btn-inverse" onClick="simpleTabPage(3);">Previous page</span>
<span class="btn btn-primary" onClick="sgSubmitForm('Edit');">Submit</span>
<span role="button" tabindex="0" aria-label="Previous page" title="Previous page" class="btn btn-inverse" onClick="simpleTabPage(3);">Previous page</span>
<span role="button" tabindex="0" aria-label="Submit and create sharing group" title="Submit and create sharing group" class="btn btn-primary" onClick="sgSubmitForm('Edit');">Submit</span>
</div>
</div>
<?php

View File

@ -17,8 +17,8 @@ echo $this->Paginator->next(__('next') . ' &raquo;', array('tag' => 'li', 'escap
</ul>
</div>
<div class="tabMenuFixedContainer">
<span class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer <?php if ($passive !== true) echo 'tabMenuActive';?>" onClick="window.location='/sharing_groups/index'">Active Sharing Groups</span>
<span class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer <?php if ($passive === true) echo 'tabMenuActive';?>" onClick="window.location='/sharing_groups/index/true'">Passive Sharing Groups</span>
<span role="button" tabindex="0" aria-label="View only active sharing groups" title="View only active sharing groups" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer <?php if ($passive !== true) echo 'tabMenuActive';?>" onClick="window.location='/sharing_groups/index'">Active Sharing Groups</span>
<span role="button" tabindex="0" aria-label="View only passive sharing groups" title="View only passive sharing groups" class="tabMenuFixed tabMenuFixedCenter tabMenuSides useCursorPointer <?php if ($passive === true) echo 'tabMenuActive';?>" onClick="window.location='/sharing_groups/index/true'">Passive Sharing Groups</span>
</div>
<table class="table table-striped table-hover table-condensed">
<tr>

View File

@ -30,7 +30,7 @@
'label' => false
));
?>
<span id="submitButton" class="btn btn-primary" onClick="submitPopoverForm('<?php echo h($id);?>', 'addSighting', '<?php echo h($event_id); ?>')">Add</span>
<span id="submitButton" role="button" tabindex="0" aria-label="Add sighting" title="Add sighting" class="btn btn-primary" onClick="submitPopoverForm('<?php echo h($id);?>', 'addSighting', '<?php echo h($event_id); ?>')">Add</span>
<div class="input clear"></div>
<?php
echo $this->Form->end();

View File

@ -8,12 +8,12 @@
<table>
<tr>
<td style="vertical-align:top">
<span id="PromptYesButton" class="btn btn-primary" onClick="removeSighting('<?php echo h($id); ?>', '<?php echo h($rawId); ?>', '<?php echo h($context); ?>');">Yes</span>
<span id="PromptYesButton" role="button" tabindex="0" aria-label="Remove sighting" title="Remove sighting" class="btn btn-primary" onClick="removeSighting('<?php echo h($id); ?>', '<?php echo h($rawId); ?>', '<?php echo h($context); ?>');">Yes</span>
</td>
<td style="width:540px;">
</td>
<td style="vertical-align:top;">
<span class="btn btn-inverse" id="PromptNoButton" onClick="cancelPrompt(1);">No</span>
<span role="button" tabindex="0" aria-label="Cancel" title="Cancel" class="btn btn-inverse" id="PromptNoButton" onClick="cancelPrompt(1);">No</span>
</td>
</tr>
</table>

View File

@ -20,16 +20,16 @@
<?php foreach ($options as $k => &$option): ?>
<tr style="border-top:1px solid black;" class="templateChoiceButton" id="field_<?php echo h($k); ?>">
<?php if (isset($attributeTag)): ?>
<td style="padding-left:10px;padding-right:10px; text-align:center;width:100%;" onClick="quickSubmitAttributeTagForm('<?php echo h($object_id);?>', '<?php echo h($k); ?>');" title="<?php echo h($expanded[$k]);?>"><?php echo h($option); ?></td>
<td style="padding-left:10px;padding-right:10px; text-align:center;width:100%;" onClick="quickSubmitAttributeTagForm('<?php echo h($object_id);?>', '<?php echo h($k); ?>');" title="<?php echo h($expanded[$k]);?>" role="button" tabindex="0" aria-label="Attach tag <?php echo h($option); ?>"><?php echo h($option); ?></td>
<?php else: ?>
<td style="padding-left:10px;padding-right:10px; text-align:center;width:100%;" onClick="quickSubmitTagForm('<?php echo h($object_id);?>', '<?php echo h($k); ?>');" title="<?php echo h($expanded[$k]);?>"><?php echo h($option); ?></td>
<td style="padding-left:10px;padding-right:10px; text-align:center;width:100%;" onClick="quickSubmitTagForm('<?php echo h($object_id);?>', '<?php echo h($k); ?>');" title="<?php echo h($expanded[$k]);?>" role="button" tabindex="0" aria-label="Attach tag <?php echo h($option); ?>"><?php echo h($option); ?></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</table>
</div>
<div class="popover-back useCursorPointer" onClick="getPopup('<?php echo h($object_id); if (isset($attributeTag)) echo '/true'; ?>', 'tags', 'selectTaxonomy');" title="Select Taxonomy">Back to Taxonomy Selection</div>
<div class="templateChoiceButton templateChoiceButtonLast" onClick="cancelPopoverForm();">Cancel</div>
<div role="button" tabindex="0" aria-label="Return to taxonomy selection" class="popover-back useCursorPointer" onClick="getPopup('<?php echo h($object_id); if (isset($attributeTag)) echo '/true'; ?>', 'tags', 'selectTaxonomy');" title="Select Taxonomy">Back to Taxonomy Selection</div>
<div role="button" tabindex="0" aria-label="Cancel" class="templateChoiceButton templateChoiceButtonLast" onClick="cancelPopoverForm();">Cancel</div>
</div>
<script type="text/javascript">
var tags = <?php echo json_encode($options); ?>;

View File

@ -65,7 +65,7 @@
<?php
echo $this->Form->input('gpgkey', array('label' => 'GPG key', 'div' => 'clear', 'class' => 'input-xxlarge', 'placeholder' => 'Paste the user\'s PGP key here or try to retrieve it from the MIT key server by clicking on "Fetch GPG key" below.'));
?>
<div class="clear"><span onClick="lookupPGPKey('UserEmail');" class="btn btn-inverse" style="margin-bottom:10px;">Fetch GPG key</span></div>
<div class="clear"><span role="button" tabindex="0" aria-label="Fetch the user's PGP key" onClick="lookupPGPKey('UserEmail');" class="btn btn-inverse" style="margin-bottom:10px;">Fetch GPG key</span></div>
<?php
if (Configure::read('SMIME.enabled')) echo $this->Form->input('certif_public', array('label' => 'SMIME key', 'div' => 'clear', 'class' => 'input-xxlarge', 'placeholder' => 'Paste the user\'s SMIME public key in PEM format here.'));
echo $this->Form->input('autoalert', array('label' => 'Receive alerts when events are published', 'type' => 'checkbox', 'checked' => true));

View File

@ -59,7 +59,7 @@
<?php
echo $this->Form->input('gpgkey', array('label' => 'GPG key', 'div' => 'clear', 'class' => 'input-xxlarge', 'placeholder' => 'Paste the user\'s PGP key here or try to retrieve it from the MIT key server by clicking on "Fetch GPG key" below.'));
?>
<div class="clear"><span onClick="lookupPGPKey('UserEmail');" class="btn btn-inverse" style="margin-bottom:10px;">Fetch GPG key</span></div>
<div class="clear"><span role="button" tabindex="0" aria-label="Fetch the user's PGP key" onClick="lookupPGPKey('UserEmail');" class="btn btn-inverse" style="margin-bottom:10px;">Fetch GPG key</span></div>
<?php
if (Configure::read('SMIME.enabled')) echo $this->Form->input('certif_public', array('label' => 'SMIME key', 'div' => 'clear', 'class' => 'input-xxlarge', 'placeholder' => 'Paste the user\'s SMIME public key in PEM format here.'));
echo $this->Form->input('termsaccepted', array('label' => 'Terms accepted'));

View File

@ -103,8 +103,8 @@
</fieldset>
<div id = "generatedURL" style="word-wrap: break-word;"><br />Save this URL if you would like to use the same filter settings again<br /><div style="background-color:#f5f5f5;border: 1px solid #e3e3e3; border-radius:4px;padding:3px;background-color:white;"><span id="generatedURLContent"></span></div></div>
<br />
<span class="btn btn-primary" onClick="indexApplyFilters();">Apply</span>
<span class="btn btn-inverse" onClick="cancelPopoverForm();" style="float:right;">Cancel</span>
<span role="button" tabindex="0" aria-label="Apply filters" title="Apply filters" class="btn btn-primary" onClick="indexApplyFilters();">Apply</span>
<span role="button" tabindex="0" aria-label="Cancel" class="btn btn-inverse" onClick="cancelPopoverForm();" style="float:right;">Cancel</span>
</div>
</div>
<script type="text/javascript">

View File

@ -37,7 +37,7 @@
<?php echo $this->Html->link('', array('controller' => 'users', 'action' => 'index', 'admin' => true), array('class' => 'icon-remove', 'title' => 'Remove filters'));?>
</span>
<?php endif;?>
<span id="quickFilterButton" class="tabMenuFilterFieldButton useCursorPointer" onClick="quickFilter(<?php echo h($passedArgs); ?>, '<?php echo $baseurl . '/users/admin_index'; ?>');">Filter</span>
<span id="quickFilterButton" role="button" tabindex="0" aria-label="Filter user index" class="tabMenuFilterFieldButton useCursorPointer" onClick="quickFilter(<?php echo h($passedArgs); ?>, '<?php echo $baseurl . '/users/admin_index'; ?>');">Filter</span>
<input class="tabMenuFilterField" type="text" id="quickFilterField"></input>
</div>
<?php

View File

@ -9,7 +9,7 @@
</tr>
<?php foreach ($keys as $k => $key): ?>
<tr style="border-bottom:1px solid black;" class="templateChoiceButton">
<td style="padding-left:10px; text-align:left;width:20%;" title="<?php echo h($key['fingerprint']); ?>" onClick="pgpChoiceSelect('<?php echo h($key['uri']); ?>')"><?php echo h($key['key_id']); ?></td>
<td role="button" tabindex="0" aria-label="Select pgp key" style="padding-left:10px; text-align:left;width:20%;" title="<?php echo h($key['fingerprint']); ?>" onClick="pgpChoiceSelect('<?php echo h($key['uri']); ?>')"><?php echo h($key['key_id']); ?></td>
<td style="text-align:left;width:20%;" title="<?php echo h($key['fingerprint']); ?>" onClick="pgpChoiceSelect('<?php echo h($key['uri']); ?>')"><?php echo h($key['date']); ?></td>
<td style="padding-right:10px; text-align:left;width:60%;" title="<?php echo h($key['fingerprint']); ?>" onClick="pgpChoiceSelect('<?php echo h($key['uri']); ?>')">
<span class="bold">
@ -21,7 +21,7 @@
<?php endforeach; ?>
</table>
</div>
<div class="templateChoiceButton templateChoiceButtonLast" onClick="cancelPopoverForm();">Cancel</div>
<div role="button" tabindex="0" aria-label="Cancel" class="templateChoiceButton templateChoiceButtonLast" onClick="cancelPopoverForm();">Cancel</div>
</div>
<script type="text/javascript">
$(document).ready(function() {

View File

@ -24,12 +24,12 @@
<table>
<tr>
<td style="vertical-align:top">
<span id="PromptYesButton" class="btn btn-primary" onClick="submitPasswordReset('<?php echo $user['User']['id']; ?>');">Yes</span>
<span id="PromptYesButton" role="button" tabindex="0" aria-label="Submit password reset" class="btn btn-primary" onClick="submitPasswordReset('<?php echo $user['User']['id']; ?>');">Yes</span>
</td>
<td style="width:540px;">
</td>
<td style="vertical-align:top;">
<span class="btn btn-inverse" id="PromptNoButton" onClick="cancelPrompt();">No</span>
<span role="button" tabindex="0" aria-label="Cancel" class="btn btn-inverse" id="PromptNoButton" onClick="cancelPrompt();">No</span>
</td>
</tr>
</table>

View File

@ -13,7 +13,7 @@
echo $this->Form->input('nids_sid');
echo $this->Form->input('gpgkey', array('label' => 'GPG key', 'div' => 'clear', 'class' => 'input-xxlarge'));
?>
<div class="clear"><span onClick="lookupPGPKey('UserEmail');" class="btn btn-inverse" style="margin-bottom:10px;">Fetch GPG key</span></div>
<div class="clear"><span role="button" tabindex="0" aria-label="Fetch PGP key" onClick="lookupPGPKey('UserEmail');" class="btn btn-inverse" style="margin-bottom:10px;">Fetch GPG key</span></div>
<?php
if (Configure::read('SMIME.enabled')) echo $this->Form->input('certif_public', array('label' => 'SMIME Public certificate (PEM format)', 'div' => 'clear', 'class' => 'input-xxlarge'));
echo $this->Form->input('autoalert', array('label' => 'Receive alerts when events are published', 'type' => 'checkbox'));

View File

@ -57,13 +57,13 @@
<table>
<tr>
<td style="vertical-align:top;">
<div style="margin-right:5px;margin-top:40px;"><button id="goLeft" class="btn" onClick="goLeft()"><span class="icon-arrow-left"></span></button></div>
<div style="margin-right:5px;margin-top:40px;"><button id="goLeft" class="btn" onClick="goLeft();" title="Go left"><span class="icon-arrow-left"></span></button></div>
</td>
<td>
<div id="cal-heatmap"></div>
</td>
<td style="vertical-align:top;">
<div style="margin-left:5px;margin-top:40px;"><button id="goRight" class="btn" onClick="goRight()"><span class="icon-arrow-right"></span></button></div>
<div style="margin-left:5px;margin-top:40px;"><button id="goRight" class="btn" onClick="goRight();" title="Go right"><span class="icon-arrow-right"></span></button></div>
</td>
</tr>
</table>

View File

@ -60,13 +60,13 @@
<table>
<tr>
<td style="vertical-align:top;">
<div style="margin-right:5px;margin-top:40px;"><button id="goLeft" class="btn" onClick="goLeft()"><span class="icon-arrow-left"></span></button></div>
<div style="margin-right:5px;margin-top:40px;"><button id="goLeft" class="btn" onClick="goLeft();" title="Go left"><span class="icon-arrow-left"></span></button></div>
</td>
<td>
<div id="cal-heatmap"></div>
</td>
<td style="vertical-align:top;">
<div style="margin-left:5px;margin-top:40px;"><button id="goRight" class="btn" onClick="goRight()"><span class="icon-arrow-right"></span></button></div>
<div style="margin-left:5px;margin-top:40px;"><button id="goRight" class="btn" onClick="goRight();" title="Go right"><span class="icon-arrow-right"></span></button></div>
</td>
</tr>
</table>

View File

@ -42,7 +42,7 @@
echo ' (' . $this->Html->link('reset', array('controller' => 'users', 'action' => 'resetauthkey', $user['User']['id'])) . ')';
endif;
else:
echo "<a onclick=\"requestAPIAccess()\" style=\"cursor:pointer;\">Request API access</a>";
echo "<a onclick=\"requestAPIAccess();\" style=\"cursor:pointer;\">Request API access</a>";
endif;
?>
&nbsp;