Browse Source

Merge pull request #30 from iShift/master

fix original theme on all pages exclude options.html
master
iHedgehog 11 years ago
parent
commit
5efa49271c
  1. 45
      following.html
  2. 12
      js/calm.js
  3. 23
      login.html
  4. 46
      network.html
  5. 26
      options.html

45
following.html

@ -24,6 +24,7 @@
<script src="js/twister_actions.js"></script> <script src="js/twister_actions.js"></script>
<script src="js/interface_common.js"></script> <script src="js/interface_common.js"></script>
<script src="jquery-emotions/jquery.emotions.js"></script> <script src="jquery-emotions/jquery.emotions.js"></script>
<script src="js/calm.js"></script>
<script> <script>
$(document).ready(function(){initInterfaceFollowing()}); $(document).ready(function(){initInterfaceFollowing()});
@ -35,7 +36,8 @@
<body> <body>
<!-- MENU SUPERIOR INIT --> <!-- MENU SUPERIOR INIT Calm-->
<div style="display:none" class="calm_menu">
<nav class="userMenu"> <nav class="userMenu">
<ul> <ul>
<li class="userMenu-home"><a href="home.html"></a></li> <li class="userMenu-home"><a href="home.html"></a></li>
@ -51,13 +53,46 @@
</div> </div>
</a> </a>
</li> </li>
<!-- BUSCA --> <!-- BUSCA -->
</ul> </ul>
</nav> </nav>
<!-- MENU SUPERIOR END --> </div>
<!-- MENU SUPERIOR END Calm -->
<!-- MENU SUPERIOR INIT Original-->
<div style="display:none" class="original_menu">
<nav class="userMenu">
<ul>
<li class="userMenu-home"><a href="home.html">Home</a></li>
<li class="userMenu-network"><a href="network.html">Network</a></li>
<li class="userMenu-profile"><a href="profile-edit.html">Profile</a></li>
<li class="userMenu-config current">
<a class="userMenu-config-dropdown" href="#">
<div class="config-menu dialog-modal">
<div class="mini-profile-info">
<div class="mini-profile-photo"><img src="img/grayed_avatar_placeholder_24.png" alt="user-photo"/></div>
<a href="#" class="mini-profile-name">Fulano da Silva</a>
<span class="mini-profile-view">View</span>
</div>
<a class="dropdown-menu-item" href="profile-edit.html">Setup account</a>
<a class="dropdown-menu-item" href="following.html">Following users</a>
<a class="dropdown-menu-item" href="network.html">Network config</a>
<a class="dropdown-menu-item" href="login.html">Change user</a>
<a class="direct-messages" href="#">Direct Messages</a>
</div>
</a>
</li>
<li class="userMenu-connections">
<a href="#">
<span class="messages-qtd" style="display:none;">12</span>
</a>
</li>
<li class="userMenu-messages">
<a href="#">
<span class="messages-qtd" style="display:none;">12</span>
</a>
</li>
</div>
<!-- MENU SUPERIOR END Original -->
<div class="wrapper"> <div class="wrapper">
<!-- LADO ESQUERDO DE MÓDULOS INIT --> <!-- LADO ESQUERDO DE MÓDULOS INIT -->

12
js/calm.js

@ -76,17 +76,17 @@ function mensAutocomplete() {
function changeStyle() { function changeStyle() {
var style, profile, menu; var style, profile, menu;
if(localStorage['theme'] == 'calm') if(localStorage['theme'] == 'original')
{
style = 'css/style.css';
profile = 'css/profile.css';
menu = '.calm_menu';
}else if(localStorage['theme'] == 'original')
{ {
style = 'css/orange/style.css'; style = 'css/orange/style.css';
profile = 'css/orange/profile.css'; profile = 'css/orange/profile.css';
menu = '.original_menu'; menu = '.original_menu';
$(".userMenu-dhtindicator").hide(); $(".userMenu-dhtindicator").hide();
}else
{
style = 'css/style.css';
profile = 'css/profile.css';
menu = '.calm_menu';
} }
$('#stylecss').attr('href', style); $('#stylecss').attr('href', style);
$('#profilecss').attr('href', profile); $('#profilecss').attr('href', profile);

23
login.html

@ -20,6 +20,7 @@
<script src="js/polyglot.min.js"></script> <script src="js/polyglot.min.js"></script>
<script src="js/interface_localization.js"></script> <script src="js/interface_localization.js"></script>
<script src="js/options.js"></script> <script src="js/options.js"></script>
<script src="js/calm.js"></script>
<script> <script>
$(document).ready(function(){initInterfaceLogin()}); $(document).ready(function(){initInterfaceLogin()});
@ -31,7 +32,8 @@
<body> <body>
<!-- MENU SUPERIOR INIT --> <!-- MENU SUPERIOR INIT CALM -->
<div style="display:none" class="calm_menu">
<nav class="userMenu"> <nav class="userMenu">
<ul> <ul>
<li class="userMenu-home"><a href="home.html"></a></li> <li class="userMenu-home"><a href="home.html"></a></li>
@ -52,7 +54,24 @@
</ul> </ul>
</nav> </nav>
<!-- MENU SUPERIOR END --> </div>
<!-- MENU SUPERIOR END CALM-->
<!-- MENU SUPERIOR INIT Original-->
<div style="display:none" class="original_menu">
<nav class="userMenu">
<ul>
<li class="userMenu-home"><a href="home.html">Home</a></li>
<li class="userMenu-network"><a href="network.html">Network</a></li>
<li class="userMenu-profile current"><a href="login.html">Login</a></li>
<li class="userMenu-config">
</li>
</ul>
</nav>
</div>
<!-- MENU SUPERIOR END Original-->
<div class="wrapper"> <div class="wrapper">

46
network.html

@ -33,7 +33,8 @@
<body> <body>
<!-- MENU SUPERIOR INIT --> <!-- MENU SUPERIOR INIT Calm -->
<div style="display:none" class="calm_menu">
<nav class="userMenu"> <nav class="userMenu">
<ul> <ul>
<li class="userMenu-home"><a href="home.html"></a></li> <li class="userMenu-home"><a href="home.html"></a></li>
@ -51,8 +52,51 @@
</li> </li>
</ul> </ul>
</nav> </nav>
</div>
<!-- MENU SUPERIOR END CALM-->
<!-- MENU SUPERIOR INIT -->
<div style="display:none" class="original_menu">
<nav class="userMenu">
<ul>
<li class="userMenu-home"><a href="home.html">Home</a></li>
<li class="userMenu-network current"><a href="network.html">Network</a></li>
<li class="userMenu-profile"><a href="profile-edit.html">Profile</a></li>
<li class="userMenu-config">
<a class="userMenu-config-dropdown" href="#">
<div class="config-menu dialog-modal">
<div class="mini-profile-info">
<div class="mini-profile-photo"><img src="img/grayed_avatar_placeholder_24.png" alt="user-photo"/></div>
<a href="#" class="mini-profile-name">Fulano da Silva</a>
<span class="mini-profile-view">View</span>
</div>
<a class="dropdown-menu-item" href="options.html">Options</a>
<a class="dropdown-menu-item" href="profile-edit.html">Setup account</a>
<a class="dropdown-menu-item" href="following.html">Following users</a>
<a class="dropdown-menu-item" href="network.html">Network config</a>
<a class="dropdown-menu-item" href="login.html">Change user</a>
<a class="direct-messages" href="#">Direct Messages</a>
</div>
</a>
</li>
<li class="userMenu-connections">
<a href="#">
<span class="messages-qtd" style="display:none;">12</span>
</a>
</li>
<li class="userMenu-messages">
<a href="#">
<span class="messages-qtd" style="display:none;">12</span>
</a>
</li>
<li class="userMenu-search">
<input type="text" class="userMenu-search-field" placeholder="search"/>
</li>
</ul>
</nav>
</div>
<!-- MENU SUPERIOR END --> <!-- MENU SUPERIOR END -->
<div class="wrapper"> <div class="wrapper">
<div class="network singleBlock"> <div class="network singleBlock">

26
options.html

@ -29,7 +29,8 @@
<body> <body>
<!-- MENU SUPERIOR INIT --> <!-- MENU SUPERIOR INIT Calm-->
<div style="display:none" class="calm_menu">
<nav class="userMenu"> <nav class="userMenu">
<ul> <ul>
<li class="userMenu-home"><a href="home.html"></a></li> <li class="userMenu-home"><a href="home.html"></a></li>
@ -47,6 +48,29 @@
</li> </li>
</ul> </ul>
</nav> </nav>
</div>
<!-- MENU SUPERIOR END Calm-->
<!-- MENU SUPERIOR INIT Original-->
<div style="display:none" class="original_menu">
<nav class="userMenu">
<ul>
<li class="userMenu-home"><a href="home.html"></a></li>
<li class="userMenu-options current"><a href="options.html">Options</a></li>
<li class="userMenu-config">
<a class="userMenu-config-dropdown" href="#">
<div class="config-menu dialog-modal">
<a class="dropdown-menu-item" href="options.html">Options</a>
<a class="dropdown-menu-item" href="network.html">Network config</a>
<a class="dropdown-menu-item" href="profile-edit.html">Setup account</a>
<a class="dropdown-menu-item" href="following.html">Following users</a>
<a class="dropdown-menu-item" href="login.html">Change user</a>
</div>
</a>
</li>
</ul>
</nav>
</div>
<!-- MENU SUPERIOR END Original-->
<div class="wrapper"> <div class="wrapper">

Loading…
Cancel
Save