diff options
author | friendica <info@friendica.com> | 2014-09-29 21:58:35 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-29 21:58:35 -0700 |
commit | 5292e3a100dd8da20865167e59f859a528676df7 (patch) | |
tree | ac5312f1c12f7cfeb0cab14d3dfda85c1f8965f5 /view | |
parent | 7c3b428e670ec3508f821a95568ba1248ce33616 (diff) | |
download | volse-hubzilla-5292e3a100dd8da20865167e59f859a528676df7.tar.gz volse-hubzilla-5292e3a100dd8da20865167e59f859a528676df7.tar.bz2 volse-hubzilla-5292e3a100dd8da20865167e59f859a528676df7.zip |
implement a "powered-by" but leave it turned off until somebody with a good eye for layout can figure out where best to put it.
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 1 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 13 | ||||
-rwxr-xr-x | view/tpl/nav.tpl | 3 |
3 files changed, 17 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index f3b252171..7d036076c 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1069,6 +1069,7 @@ function previewTheme(elm) { } $(document).ready(function() { + jQuery.timeago.settings.strings = { prefixAgo : aStr['t01'], prefixFromNow : aStr['t02'], diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 1d43fe983..9bbf996d5 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -166,6 +166,19 @@ header { filter:alpha(opacity=$nav_percent_min_opacity); } +#powered-by { + font-size: 0.5rem; + position: absolute; + top: 50px; + left: 16px; +} + +#powered-by img { + margin-top: -2px; + height: 10px; + width: 10px; +} + .error-message { color: #FF0000; font-size: 1.1em; diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 2953f3b41..6c461f062 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -166,6 +166,9 @@ <a href="/search" title="{{$nav.search.3}}"><i class="icon-search"></i></a> </li> + {{if $powered_by}} + <div id="powered-by">{{$powered_by}}</div> + {{/if}} {{if $nav.directory}} <li class="{{$sel.directory}}"> <a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}"><i class="icon-sitemap"></i></a> |