]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove svg classes
authorHendrik Leppelsack <hendrik@leppelsack.de>
Thu, 23 Jun 2016 11:39:28 +0000 (13:39 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 1 Jul 2016 14:36:37 +0000 (16:36 +0200)
15 files changed:
core/js/jquery.ocdialog.js
core/js/js.js
core/js/sharedialogshareelistview.js
core/js/sharedialogview.js
core/templates/installation.php
core/templates/layout.guest.php
core/templates/layout.user.php
core/templates/login.php
core/templates/update.admin.php
settings/js/users/users.js
settings/templates/admin.php
settings/templates/certificates.php
settings/templates/personal.php
settings/templates/users/part.grouplist.php
settings/templates/users/part.userlist.php

index ea034f0aff7060428c81dba1b79fb397e7657889..15b58f9e08643900da50f64cabb986da873ede9d 100644 (file)
                                        break;
                                case 'closeButton':
                                        if(value) {
-                                               var $closeButton = $('<a class="oc-dialog-close svg"></a>');
+                                               var $closeButton = $('<a class="oc-dialog-close"></a>');
                                                this.$dialog.prepend($closeButton);
                                                $closeButton.on('click', function() {
                                                        self.close();
index 8acb08698b2bd24c744afd2d0ef6b9f3c8d6e56a..07ed396bec9bed8e5466422d47c979b48e20d753 100644 (file)
@@ -592,7 +592,7 @@ var OC={
                        var arrowclass = settings.hasClass('topright') ? 'up' : 'left';
                        var jqxhr = $.get(OC.filePath(props.appid, '', props.scriptName), function(data) {
                                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.remove();
                                        });
index 83fde154615062d66024b338e625fc1c91d85462..85dee9789876919797483fd896890a24c66656ff 100644 (file)
@@ -38,7 +38,7 @@
                                        '<span class="shareOption">' +
                                                '<input id="canEdit-{{cid}}-{{shareWith}}" type="checkbox" name="edit" class="permissions checkbox" {{#if hasEditPermission}}checked="checked"{{/if}} />' +
                                                '<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>' +
                                        '{{/if}}' +
                                        '<div class="cruds hidden">' +
index a4bfde1777bec9fce74c0c393aef233a619dd7ef..c17da94bab3d3f42cd309ee1cc73a818b3ba705e 100644 (file)
@@ -30,7 +30,7 @@
                '<div class="loading hidden" style="height: 50px"></div>';
 
        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>';
 
        /**
index 7f179bfa5d69a8d92fbe2e22386bbd552c034e66..98d9554182770a9afad4fa4b8bc4e5ac8db684b5 100644 (file)
@@ -51,14 +51,14 @@ script('core', [
                                autocomplete="off" autocapitalize="off" autocorrect="off" required>
                        <label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
                        <input type="checkbox" id="show" name="show">
-                       <label for="show" class="svg"></label>
+                       <label for="show"></label>
                        <div class="strengthify-wrapper"></div>
                </p>
        </fieldset>
 
        <?php if(!$_['directoryIsSet'] OR !$_['dbIsSet'] OR count($_['errors']) > 0): ?>
        <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>
        <?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>
 
        <p class="info">
-               <span class="icon-info-white svg"></span>
+               <span class="icon-info-white"></span>
                <?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>
        </p>
index 985e95294adcf2df153d91071a7ce7fc675ae7d1..5850635315861e26ade0d698a55dc8356e7db8bf 100644 (file)
@@ -31,7 +31,7 @@
                                <?php if ($_['bodyid'] === 'body-login' ): ?>
                                        <header role="banner">
                                                <div id="header">
-                                                       <div class="logo svg">
+                                                       <div class="logo">
                                                                <h1 class="hidden-visually">
                                                                        <?php p($theme->getName()); ?>
                                                                </h1>
index b19095dee8ea6f63b16dfe404589d7fb3c9b9fe5..370a6e2bd60644ddf62f46a86f95bfa4e7f8e1b4 100644 (file)
@@ -39,7 +39,7 @@
        <header role="banner"><div id="header">
                        <a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
                                id="owncloud" tabindex="1">
-                               <div class="logo-icon svg">
+                               <div class="logo-icon">
                                        <h1 class="hidden-visually">
                                                <?php p($theme->getName()); ?>
                                        </h1>
                                                }
                                        ?>
                                </h1>
-                               <div class="icon-caret svg"></div>
+                               <div class="icon-caret"></div>
                        </a>
 
                        <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">
                                        <?php if ($_['enableAvatars']): ?>
                                        <div class="avatardiv<?php if ($_['userAvatarSet']) { print_unescaped(' avatardiv-shown'); } else { print_unescaped('" style="display: none'); } ?>">
@@ -73,7 +73,7 @@
                                        </div>
                                        <?php endif; ?>
                                        <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 id="expanddiv">
                                <ul>
                                        <li>
                                                <a href="<?php print_unescaped($entry['href']); ?>"
                                                        <?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']) ?>
                                                </a>
                                        </li>
                                <?php endforeach; ?>
                                        <li>
                                                <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'));?>
                                                </a>
                                        </li>
                                <label for="searchbox" class="hidden-visually">
                                        <?php p($l->t('Search'));?>
                                </label>
-                               <input id="searchbox" class="svg" type="search" name="query"
+                               <input id="searchbox" type="search" name="query"
                                        value="" required
                                        autocomplete="off" tabindex="5">
                        </form>
                </div></header>
 
                <nav role="navigation"><div id="navigation">
-                       <div id="apps" class="svg">
+                       <div id="apps">
                                <ul>
                                <?php foreach($_['navigation'] as $entry): ?>
                                        <li data-id="<?php p($entry['id']); ?>">
                                                <a href="<?php print_unescaped($entry['href']); ?>" tabindex="3"
                                                        <?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>
                                                        <span>
                                                                <?php p($entry['name']); ?>
                                        <li id="apps-management">
                                                <a href="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('settings.AppSettings.viewApps')); ?>" tabindex="4"
                                                        <?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>
                                                        <span>
                                                                <?php p($l->t('Apps')); ?>
index 5b0fd97cfd86d12347f8a3e7fa7cfe3ef9794f02..95c5a423c3ded3c28fc6e8628a6725e08cc869a5 100644 (file)
@@ -53,7 +53,7 @@ script('core', [
                                <?php p($_['user_autofocus'] ? '' : 'autofocus'); ?>
                                autocomplete="on" autocapitalize="off" autocorrect="off" required>
                        <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>
 
                <?php if (!empty($_['invalidpassword']) && !empty($_['canResetPassword'])) { ?>
index 24b2beec6daceee159ad0c672c3a34c4fdb0b3c6..87f93967d910559c62ffcc5941d667b550513693 100644 (file)
@@ -47,7 +47,7 @@
                <p id="update-progress-message-error" class="warning hidden"></p>
                <ul id="update-progress-message-warnings" class="warning hidden"></ul>
                <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>
 </div>
index e0fccbd953990e971ef6f0f4aa5fff1fd0aaa79c..24c1d610794cbd255cc7562fff37363ea40ff3ed 100644 (file)
@@ -117,7 +117,7 @@ var UserList = {
                 * remove action
                 */
                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')
                        });
                        var deleteLink = $('<a class="action delete">')
index 0cdefe1008331d81984d4ab454fc94bc19db50e1..9195e03ff48208bd29efb55885c03df7dd21af5a 100644 (file)
@@ -202,7 +202,7 @@ if ($_['cronErrors']) {
 
        <div class="section" id="shareAPI">
                <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'));?>"
                        href="<?php p(link_to_docs('admin-sharing')); ?>"></a>
                <p id="enable">
@@ -314,7 +314,7 @@ if ($_['cronErrors']) {
                endif; ?>
        </p>
        <?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'));?>"
                href="<?php p(link_to_docs('admin-background-jobs')); ?>"></a>
 
@@ -346,7 +346,7 @@ if ($_['cronErrors']) {
 
 <div class="section" id='encryptionAPI'>
        <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'));?>"
                href="<?php p(link_to_docs('admin-encryption')); ?>"></a>
 
@@ -412,7 +412,7 @@ if ($_['cronErrors']) {
 <div class="section" id="mail_general_settings">
        <form id="mail_general_settings_form" class="mail_settings">
                <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'));?>"
                        href="<?php p(link_to_docs('admin-email')); ?>"></a>
 
index c1ccdcaef952510a1c6e71c266aa574055b151af..16f8dda31ad6191f95f23f1be1e48ac34a8b0afc 100644 (file)
@@ -26,7 +26,7 @@
                                        <?php else: ?>style="visibility:hidden;"
                                        <?php endif; ?>><img alt="<?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')); ?>"/>
                                </td>
                        </tr>
index 5056aad4c10d005b5501b54fe8a3392061536dba..a31cf1ed7b296ec28109f905237857bbd0ca3537 100644 (file)
@@ -39,9 +39,9 @@
                <div class="avatardiv"></div>
                <div class="warning hidden"></div>
                <?php if ($_['avatarChangeSupported']): ?>
-               <label for="uploadavatar" class="inlineblock button icon-upload svg" 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="hidden button icon-delete svg" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div>
+               <label for="uploadavatar" class="inlineblock button icon-upload" id="uploadavatarbutton" title="<?php p($l->t('Upload new')); ?>"></label>
+               <div class="inlineblock button icon-folder" id="selectavatar" title="<?php p($l->t('Select from Files')); ?>"></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">
                <p><em><?php p($l->t('png or jpg, max. 20 MB')); ?></em></p>
                <?php else: ?>
@@ -130,7 +130,7 @@ if($_['passwordChangeSupported']) {
                placeholder="<?php echo $l->t('New password');?>"
                data-typetoggle="#personal-show"
                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');?>" />
        <br/>
        <div class="strengthify-wrapper"></div>
index cd6ac4a1e899a8c8d8cb10efb2f205ac48b8ad81..64c602c364c85be9dbb051d400d813427844765e 100644 (file)
@@ -8,7 +8,7 @@
        <li id="newgroup-form" style="display: none">
                <form>
                        <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>
        </li>
        <!-- Everyone -->
@@ -45,7 +45,7 @@
                                <span class="usercount"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></span>
                                <?php if($_['isAdmin']): ?>
                                <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>
                                <?php endif; ?>
                        </span>
index 697d0f3f1428d9a4ec585ff1334e29a189279276..c7b2ad58c153a743d58513426ddbfdd9de59b080 100644 (file)
                        <td class="avatar"><div class="avatardiv"></div></td>
                <?php endif; ?>
                        <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'))?>"
                                alt="<?php p($l->t("change full name"))?>" title="<?php p($l->t("change full name"))?>"/>
                        </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'))?>"
                                alt="<?php p($l->t("set new password"))?>" title="<?php p($l->t("set new password"))?>"/>
                        </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'))?>"
                                alt="<?php p($l->t('change email address'))?>" title="<?php p($l->t('change email address'))?>"/>
                        </td>