Browse Source

remove link to profile-edit.html from header

readme-update
Simon Grim 6 years ago
parent
commit
01aed4bba7
  1. 4
      css/style.css
  2. 1
      home.html
  3. BIN
      img/profile.png
  4. 1
      js/interface_home.js
  5. 2
      js/twister_network.js
  6. 1
      network.html
  7. 1
      profile-edit.html
  8. 5
      theme_calm/css/style.css

4
css/style.css

@ -310,10 +310,6 @@ button.follow:hover, button.unfollow:hover, .following-own-modal .following-list @@ -310,10 +310,6 @@ button.follow:hover, button.unfollow:hover, .following-own-modal .following-list
font-size: 24px;
}
.userMenu li.userMenu-profile > a {
background: url(../img/profile.png) no-repeat 5px center;
}
.userMenu li.userMenu-config {
float: right;
position: relative;

1
home.html

@ -40,7 +40,6 @@ @@ -40,7 +40,6 @@
<span class="selectable_theme theme_nin menu-news"></span>
</a></li>
<li class="userMenu-network selectable_theme theme_original theme_nin"><a class="label" href="network.html">Network</a></li>
<li class="userMenu-profile selectable_theme theme_original theme_nin"><a class="label" href="profile-edit.html">Profile</a></li>
<li class="userMenu-config">
<a class="userMenu-config-dropdown">
<div class="config-menu dialog-modal">

BIN
img/profile.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

1
js/interface_home.js

@ -49,7 +49,6 @@ var InterfaceFunctions = function() { @@ -49,7 +49,6 @@ var InterfaceFunctions = function() {
//$("span.screen-name").text('@' + user);
var $miniProfile = $(".mini-profile");
if (!defaultScreenName) {
$('.userMenu-profile > a').attr('href', '#/login').text(polyglot.t('Login'));
$(".post-area-new > textarea").attr("placeholder",polyglot.t("You have to log in to post messages."));
getElem('.post-area-new > textarea', true).prop('disabled', true);
$miniProfile.find(".mini-profile-name").text("guest");

2
js/twister_network.js

@ -325,8 +325,6 @@ function initInterfaceNetwork() { @@ -325,8 +325,6 @@ function initInterfaceNetwork() {
initMentionsCount();
initDMsCount();
});
} else {
$('.userMenu-profile > a').attr('href', '#/login').text(polyglot.t('Login'));
}
});
networkUpdate();

1
network.html

@ -34,7 +34,6 @@ @@ -34,7 +34,6 @@
<ul>
<li class="userMenu-home"><a href="home.html"><span class="selectable_theme theme_original label">Home</span></a></li>
<li class="userMenu-network current selectable_theme theme_original theme_nin"><a class="label" href="network.html">Network</a></li>
<li class="userMenu-profile selectable_theme theme_original theme_nin"><a class="label" href="profile-edit.html">Profile</a></li>
<li class="userMenu-config">
<a class="userMenu-config-dropdown">
<div class="config-menu dialog-modal">

1
profile-edit.html

@ -38,7 +38,6 @@ @@ -38,7 +38,6 @@
<span class="selectable_theme theme_nin menu-news"></span>
</a></li>
<li class="userMenu-network selectable_theme theme_original theme_nin"><a class="label" href="network.html">Network</a></li>
<li class="userMenu-profile selectable_theme theme_original theme_nin current"><a class="label" href="profile-edit.html">Profile</a></li>
<li class="userMenu-config">
<a class="userMenu-config-dropdown">
<div class="config-menu dialog-modal">

5
theme_calm/css/style.css

@ -354,11 +354,6 @@ button.unfollow:hover { @@ -354,11 +354,6 @@ button.unfollow:hover {
font-size: 24px;
}
.userMenu li.userMenu-profile > a {
background: url(../img/profile.png) no-repeat 5px center;
padding-left: 35px;
}
.userMenu li.userMenu-config {
float: right;
position: relative;

Loading…
Cancel
Save