remove svg classes

This commit is contained in:
Hendrik Leppelsack 2016-06-23 13:39:28 +02:00 committed by Vincent Petry
parent 11be3d6276
commit c47833718f
15 changed files with 35 additions and 35 deletions

View File

@ -145,7 +145,7 @@
break; break;
case 'closeButton': case 'closeButton':
if(value) { if(value) {
var $closeButton = $('<a class="oc-dialog-close svg"></a>'); var $closeButton = $('<a class="oc-dialog-close"></a>');
this.$dialog.prepend($closeButton); this.$dialog.prepend($closeButton);
$closeButton.on('click', function() { $closeButton.on('click', function() {
self.close(); self.close();

View File

@ -592,7 +592,7 @@ var OC={
var arrowclass = settings.hasClass('topright') ? 'up' : 'left'; var arrowclass = settings.hasClass('topright') ? 'up' : 'left';
var jqxhr = $.get(OC.filePath(props.appid, '', props.scriptName), function(data) { var jqxhr = $.get(OC.filePath(props.appid, '', props.scriptName), function(data) {
popup.html(data).ready(function() { popup.html(data).ready(function() {
popup.prepend('<span class="arrow '+arrowclass+'"></span><h2>'+t('core', 'Settings')+'</h2><a class="close svg"></a>').show(); popup.prepend('<span class="arrow '+arrowclass+'"></span><h2>'+t('core', 'Settings')+'</h2><a class="close"></a>').show();
popup.find('.close').bind('click', function() { popup.find('.close').bind('click', function() {
popup.remove(); popup.remove();
}); });

View File

@ -38,7 +38,7 @@
'<span class="shareOption">' + '<span class="shareOption">' +
'<input id="canEdit-{{cid}}-{{shareWith}}" type="checkbox" name="edit" class="permissions checkbox" {{#if hasEditPermission}}checked="checked"{{/if}} />' + '<input id="canEdit-{{cid}}-{{shareWith}}" type="checkbox" name="edit" class="permissions checkbox" {{#if hasEditPermission}}checked="checked"{{/if}} />' +
'<label for="canEdit-{{cid}}-{{shareWith}}">{{canEditLabel}}</label>' + '<label for="canEdit-{{cid}}-{{shareWith}}">{{canEditLabel}}</label>' +
'<a href="#" class="showCruds"><img class="svg" alt="{{crudsLabel}}" src="{{triangleSImage}}"/></a>' + '<a href="#" class="showCruds"><img alt="{{crudsLabel}}" src="{{triangleSImage}}"/></a>' +
'</span>' + '</span>' +
'{{/if}}' + '{{/if}}' +
'<div class="cruds hidden">' + '<div class="cruds hidden">' +

View File

@ -30,7 +30,7 @@
'<div class="loading hidden" style="height: 50px"></div>'; '<div class="loading hidden" style="height: 50px"></div>';
var TEMPLATE_REMOTE_SHARE_INFO = var TEMPLATE_REMOTE_SHARE_INFO =
'<a target="_blank" class="icon-info svg shareWithRemoteInfo hasTooltip" href="{{docLink}}" ' + '<a target="_blank" class="icon-info shareWithRemoteInfo hasTooltip" href="{{docLink}}" ' +
'title="{{tooltip}}"></a>'; 'title="{{tooltip}}"></a>';
/** /**

View File

@ -51,14 +51,14 @@ script('core', [
autocomplete="off" autocapitalize="off" autocorrect="off" required> autocomplete="off" autocapitalize="off" autocorrect="off" required>
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label> <label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
<input type="checkbox" id="show" name="show"> <input type="checkbox" id="show" name="show">
<label for="show" class="svg"></label> <label for="show"></label>
<div class="strengthify-wrapper"></div> <div class="strengthify-wrapper"></div>
</p> </p>
</fieldset> </fieldset>
<?php if(!$_['directoryIsSet'] OR !$_['dbIsSet'] OR count($_['errors']) > 0): ?> <?php if(!$_['directoryIsSet'] OR !$_['dbIsSet'] OR count($_['errors']) > 0): ?>
<fieldset id="advancedHeader"> <fieldset id="advancedHeader">
<legend><a id="showAdvanced"><?php p($l->t( 'Storage & database' )); ?> <img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" /></a></legend> <legend><a id="showAdvanced"><?php p($l->t( 'Storage & database' )); ?> <img src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" /></a></legend>
</fieldset> </fieldset>
<?php endif; ?> <?php endif; ?>
@ -162,7 +162,7 @@ script('core', [
<div class="buttons"><input type="submit" class="primary" value="<?php p($l->t( 'Finish setup' )); ?>" data-finishing="<?php p($l->t( 'Finishing …' )); ?>"></div> <div class="buttons"><input type="submit" class="primary" value="<?php p($l->t( 'Finish setup' )); ?>" data-finishing="<?php p($l->t( 'Finishing …' )); ?>"></div>
<p class="info"> <p class="info">
<span class="icon-info-white svg"></span> <span class="icon-info-white"></span>
<?php p($l->t('Need help?'));?> <?php p($l->t('Need help?'));?>
<a target="_blank" rel="noreferrer" href="<?php p(link_to_docs('admin-install')); ?>"><?php p($l->t('See the documentation'));?> ↗</a> <a target="_blank" rel="noreferrer" href="<?php p(link_to_docs('admin-install')); ?>"><?php p($l->t('See the documentation'));?> ↗</a>
</p> </p>

View File

@ -31,7 +31,7 @@
<?php if ($_['bodyid'] === 'body-login' ): ?> <?php if ($_['bodyid'] === 'body-login' ): ?>
<header role="banner"> <header role="banner">
<div id="header"> <div id="header">
<div class="logo svg"> <div class="logo">
<h1 class="hidden-visually"> <h1 class="hidden-visually">
<?php p($theme->getName()); ?> <?php p($theme->getName()); ?>
</h1> </h1>

View File

@ -39,7 +39,7 @@
<header role="banner"><div id="header"> <header role="banner"><div id="header">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" <a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
id="owncloud" tabindex="1"> id="owncloud" tabindex="1">
<div class="logo-icon svg"> <div class="logo-icon">
<h1 class="hidden-visually"> <h1 class="hidden-visually">
<?php p($theme->getName()); ?> <?php p($theme->getName()); ?>
</h1> </h1>
@ -56,11 +56,11 @@
} }
?> ?>
</h1> </h1>
<div class="icon-caret svg"></div> <div class="icon-caret"></div>
</a> </a>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div> <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
<div id="settings" class="svg"> <div id="settings">
<div id="expand" tabindex="6" role="link" class="menutoggle"> <div id="expand" tabindex="6" role="link" class="menutoggle">
<?php if ($_['enableAvatars']): ?> <?php if ($_['enableAvatars']): ?>
<div class="avatardiv<?php if ($_['userAvatarSet']) { print_unescaped(' avatardiv-shown'); } else { print_unescaped('" style="display: none'); } ?>"> <div class="avatardiv<?php if ($_['userAvatarSet']) { print_unescaped(' avatardiv-shown'); } else { print_unescaped('" style="display: none'); } ?>">
@ -73,7 +73,7 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span> <span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
<img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>"> <img alt="" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>">
</div> </div>
<div id="expanddiv"> <div id="expanddiv">
<ul> <ul>
@ -81,14 +81,14 @@
<li> <li>
<a href="<?php print_unescaped($entry['href']); ?>" <a href="<?php print_unescaped($entry['href']); ?>"
<?php if( $entry["active"] ): ?> class="active"<?php endif; ?>> <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>>
<img class="svg" alt="" src="<?php print_unescaped($entry['icon']); ?>"> <img alt="" src="<?php print_unescaped($entry['icon']); ?>">
<?php p($entry['name']) ?> <?php p($entry['name']) ?>
</a> </a>
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>
<li> <li>
<a id="logout" <?php print_unescaped(OC_User::getLogoutAttribute()); ?>> <a id="logout" <?php print_unescaped(OC_User::getLogoutAttribute()); ?>>
<img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/logout.svg')); ?>"> <img alt="" src="<?php print_unescaped(image_path('', 'actions/logout.svg')); ?>">
<?php p($l->t('Log out'));?> <?php p($l->t('Log out'));?>
</a> </a>
</li> </li>
@ -100,20 +100,20 @@
<label for="searchbox" class="hidden-visually"> <label for="searchbox" class="hidden-visually">
<?php p($l->t('Search'));?> <?php p($l->t('Search'));?>
</label> </label>
<input id="searchbox" class="svg" type="search" name="query" <input id="searchbox" type="search" name="query"
value="" required value="" required
autocomplete="off" tabindex="5"> autocomplete="off" tabindex="5">
</form> </form>
</div></header> </div></header>
<nav role="navigation"><div id="navigation"> <nav role="navigation"><div id="navigation">
<div id="apps" class="svg"> <div id="apps">
<ul> <ul>
<?php foreach($_['navigation'] as $entry): ?> <?php foreach($_['navigation'] as $entry): ?>
<li data-id="<?php p($entry['id']); ?>"> <li data-id="<?php p($entry['id']); ?>">
<a href="<?php print_unescaped($entry['href']); ?>" tabindex="3" <a href="<?php print_unescaped($entry['href']); ?>" tabindex="3"
<?php if( $entry['active'] ): ?> class="active"<?php endif; ?>> <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
<img class="app-icon svg" alt="" src="<?php print_unescaped($entry['icon']); ?>"> <img class="app-icon" alt="" src="<?php print_unescaped($entry['icon']); ?>">
<div class="icon-loading-dark" style="display:none;"></div> <div class="icon-loading-dark" style="display:none;"></div>
<span> <span>
<?php p($entry['name']); ?> <?php p($entry['name']); ?>
@ -128,7 +128,7 @@
<li id="apps-management"> <li id="apps-management">
<a href="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('settings.AppSettings.viewApps')); ?>" tabindex="4" <a href="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('settings.AppSettings.viewApps')); ?>" tabindex="4"
<?php if( $_['appsmanagement_active'] ): ?> class="active"<?php endif; ?>> <?php if( $_['appsmanagement_active'] ): ?> class="active"<?php endif; ?>>
<img class="app-icon svg" alt="" src="<?php print_unescaped(image_path('settings', 'apps.svg')); ?>"> <img class="app-icon" alt="" src="<?php print_unescaped(image_path('settings', 'apps.svg')); ?>">
<div class="icon-loading-dark" style="display:none;"></div> <div class="icon-loading-dark" style="display:none;"></div>
<span> <span>
<?php p($l->t('Apps')); ?> <?php p($l->t('Apps')); ?>

View File

@ -53,7 +53,7 @@ script('core', [
<?php p($_['user_autofocus'] ? '' : 'autofocus'); ?> <?php p($_['user_autofocus'] ? '' : 'autofocus'); ?>
autocomplete="on" autocapitalize="off" autocorrect="off" required> autocomplete="on" autocapitalize="off" autocorrect="off" required>
<label for="password" class="infield"><?php p($l->t('Password')); ?></label> <label for="password" class="infield"><?php p($l->t('Password')); ?></label>
<input type="submit" id="submit" class="login primary icon-confirm svg" title="<?php p($l->t('Log in')); ?>" value="" disabled="disabled"/> <input type="submit" id="submit" class="login primary icon-confirm" title="<?php p($l->t('Log in')); ?>" value="" disabled="disabled"/>
</p> </p>
<?php if (!empty($_['invalidpassword']) && !empty($_['canResetPassword'])) { ?> <?php if (!empty($_['invalidpassword']) && !empty($_['canResetPassword'])) { ?>

View File

@ -47,7 +47,7 @@
<p id="update-progress-message-error" class="warning hidden"></p> <p id="update-progress-message-error" class="warning hidden"></p>
<ul id="update-progress-message-warnings" class="warning hidden"></ul> <ul id="update-progress-message-warnings" class="warning hidden"></ul>
<p id="update-progress-message"></p> <p id="update-progress-message"></p>
<a class="update-show-detailed"><?php p($l->t( 'Detailed logs' )); ?> <img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" /></a> <a class="update-show-detailed"><?php p($l->t( 'Detailed logs' )); ?> <img src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" /></a>
<div id="update-progress-detailed" class="hidden warning"></div> <div id="update-progress-detailed" class="hidden warning"></div>
</div> </div>
</div> </div>

View File

@ -117,7 +117,7 @@ var UserList = {
* remove action * remove action
*/ */
if ($tr.find('td.remove img').length === 0 && OC.currentUser !== user.name) { if ($tr.find('td.remove img').length === 0 && OC.currentUser !== user.name) {
var deleteImage = $('<img class="svg action">').attr({ var deleteImage = $('<img class="action">').attr({
src: OC.imagePath('core', 'actions/delete') src: OC.imagePath('core', 'actions/delete')
}); });
var deleteLink = $('<a class="action delete">') var deleteLink = $('<a class="action delete">')

View File

@ -202,7 +202,7 @@ if ($_['cronErrors']) {
<div class="section" id="shareAPI"> <div class="section" id="shareAPI">
<h2><?php p($l->t('Sharing'));?></h2> <h2><?php p($l->t('Sharing'));?></h2>
<a target="_blank" el="noreferrer" class="icon-info svg" <a target="_blank" el="noreferrer" class="icon-info"
title="<?php p($l->t('Open documentation'));?>" title="<?php p($l->t('Open documentation'));?>"
href="<?php p(link_to_docs('admin-sharing')); ?>"></a> href="<?php p(link_to_docs('admin-sharing')); ?>"></a>
<p id="enable"> <p id="enable">
@ -314,7 +314,7 @@ if ($_['cronErrors']) {
endif; ?> endif; ?>
</p> </p>
<?php endif; ?> <?php endif; ?>
<a target="_blank" rel="noreferrer" class="icon-info svg" <a target="_blank" rel="noreferrer" class="icon-info"
title="<?php p($l->t('Open documentation'));?>" title="<?php p($l->t('Open documentation'));?>"
href="<?php p(link_to_docs('admin-background-jobs')); ?>"></a> href="<?php p(link_to_docs('admin-background-jobs')); ?>"></a>
@ -346,7 +346,7 @@ if ($_['cronErrors']) {
<div class="section" id='encryptionAPI'> <div class="section" id='encryptionAPI'>
<h2><?php p($l->t('Server-side encryption')); ?></h2> <h2><?php p($l->t('Server-side encryption')); ?></h2>
<a target="_blank" rel="noreferrer" class="icon-info svg" <a target="_blank" rel="noreferrer" class="icon-info"
title="<?php p($l->t('Open documentation'));?>" title="<?php p($l->t('Open documentation'));?>"
href="<?php p(link_to_docs('admin-encryption')); ?>"></a> href="<?php p(link_to_docs('admin-encryption')); ?>"></a>
@ -412,7 +412,7 @@ if ($_['cronErrors']) {
<div class="section" id="mail_general_settings"> <div class="section" id="mail_general_settings">
<form id="mail_general_settings_form" class="mail_settings"> <form id="mail_general_settings_form" class="mail_settings">
<h2><?php p($l->t('Email server'));?></h2> <h2><?php p($l->t('Email server'));?></h2>
<a target="_blank" rel="noreferrer" class="icon-info svg" <a target="_blank" rel="noreferrer" class="icon-info"
title="<?php p($l->t('Open documentation'));?>" title="<?php p($l->t('Open documentation'));?>"
href="<?php p(link_to_docs('admin-email')); ?>"></a> href="<?php p(link_to_docs('admin-email')); ?>"></a>

View File

@ -26,7 +26,7 @@
<?php else: ?>style="visibility:hidden;" <?php else: ?>style="visibility:hidden;"
<?php endif; ?>><img alt="<?php p($l->t('Delete')); ?>" <?php endif; ?>><img alt="<?php p($l->t('Delete')); ?>"
title="<?php p($l->t('Delete')); ?>" title="<?php p($l->t('Delete')); ?>"
class="svg action" class="action"
src="<?php print_unescaped(image_path('core', 'actions/delete.svg')); ?>"/> src="<?php print_unescaped(image_path('core', 'actions/delete.svg')); ?>"/>
</td> </td>
</tr> </tr>

View File

@ -39,9 +39,9 @@
<div class="avatardiv"></div> <div class="avatardiv"></div>
<div class="warning hidden"></div> <div class="warning hidden"></div>
<?php if ($_['avatarChangeSupported']): ?> <?php if ($_['avatarChangeSupported']): ?>
<label for="uploadavatar" class="inlineblock button icon-upload svg" id="uploadavatarbutton" title="<?php p($l->t('Upload new')); ?>"></label> <label for="uploadavatar" class="inlineblock button icon-upload" id="uploadavatarbutton" title="<?php p($l->t('Upload new')); ?>"></label>
<div class="inlineblock button icon-folder svg" id="selectavatar" title="<?php p($l->t('Select from Files')); ?>"></div> <div class="inlineblock button icon-folder" id="selectavatar" title="<?php p($l->t('Select from Files')); ?>"></div>
<div class="hidden button icon-delete svg" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div> <div class="hidden button icon-delete" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div>
<input type="file" name="files[]" id="uploadavatar" class="hiddenuploadfield"> <input type="file" name="files[]" id="uploadavatar" class="hiddenuploadfield">
<p><em><?php p($l->t('png or jpg, max. 20 MB')); ?></em></p> <p><em><?php p($l->t('png or jpg, max. 20 MB')); ?></em></p>
<?php else: ?> <?php else: ?>
@ -130,7 +130,7 @@ if($_['passwordChangeSupported']) {
placeholder="<?php echo $l->t('New password');?>" placeholder="<?php echo $l->t('New password');?>"
data-typetoggle="#personal-show" data-typetoggle="#personal-show"
autocomplete="off" autocapitalize="off" autocorrect="off" /> autocomplete="off" autocapitalize="off" autocorrect="off" />
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show" class="svg"></label> <input type="checkbox" id="personal-show" name="show" /><label for="personal-show"></label>
<input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" /> <input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" />
<br/> <br/>
<div class="strengthify-wrapper"></div> <div class="strengthify-wrapper"></div>

View File

@ -8,7 +8,7 @@
<li id="newgroup-form" style="display: none"> <li id="newgroup-form" style="display: none">
<form> <form>
<input type="text" id="newgroupname" placeholder="<?php p($l->t('Group')); ?>..." /> <input type="text" id="newgroupname" placeholder="<?php p($l->t('Group')); ?>..." />
<input type="submit" class="button icon-add svg" value="" /> <input type="submit" class="button icon-add" value="" />
</form> </form>
</li> </li>
<!-- Everyone --> <!-- Everyone -->
@ -45,7 +45,7 @@
<span class="usercount"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></span> <span class="usercount"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></span>
<?php if($_['isAdmin']): ?> <?php if($_['isAdmin']): ?>
<a href="#" class="action delete" original-title="<?php p($l->t('Delete'))?>"> <a href="#" class="action delete" original-title="<?php p($l->t('Delete'))?>">
<img src="<?php print_unescaped(image_path('core', 'actions/delete.svg')) ?>" class="svg" /> <img src="<?php print_unescaped(image_path('core', 'actions/delete.svg')) ?>" />
</a> </a>
<?php endif; ?> <?php endif; ?>
</span> </span>

View File

@ -26,15 +26,15 @@
<td class="avatar"><div class="avatardiv"></div></td> <td class="avatar"><div class="avatardiv"></div></td>
<?php endif; ?> <?php endif; ?>
<th class="name" scope="row"></th> <th class="name" scope="row"></th>
<td class="displayName"><span></span> <img class="svg action" <td class="displayName"><span></span> <img class="action"
src="<?php p(image_path('core', 'actions/rename.svg'))?>" src="<?php p(image_path('core', 'actions/rename.svg'))?>"
alt="<?php p($l->t("change full name"))?>" title="<?php p($l->t("change full name"))?>"/> alt="<?php p($l->t("change full name"))?>" title="<?php p($l->t("change full name"))?>"/>
</td> </td>
<td class="password"><span>●●●●●●●</span> <img class="svg action" <td class="password"><span>●●●●●●●</span> <img class="action"
src="<?php print_unescaped(image_path('core', 'actions/rename.svg'))?>" src="<?php print_unescaped(image_path('core', 'actions/rename.svg'))?>"
alt="<?php p($l->t("set new password"))?>" title="<?php p($l->t("set new password"))?>"/> alt="<?php p($l->t("set new password"))?>" title="<?php p($l->t("set new password"))?>"/>
</td> </td>
<td class="mailAddress"><span></span><div class="loading-small hidden"></div> <img class="svg action" <td class="mailAddress"><span></span><div class="loading-small hidden"></div> <img class="action"
src="<?php p(image_path('core', 'actions/rename.svg'))?>" src="<?php p(image_path('core', 'actions/rename.svg'))?>"
alt="<?php p($l->t('change email address'))?>" title="<?php p($l->t('change email address'))?>"/> alt="<?php p($l->t('change email address'))?>" title="<?php p($l->t('change email address'))?>"/>
</td> </td>