Rev1756, Sidebar button flud fix

This commit is contained in:
shortcutme 2016-11-24 19:50:30 +01:00
parent befaa0ff21
commit f083e26cf0
4 changed files with 7 additions and 5 deletions

View file

@ -304,7 +304,7 @@ class UiWebsocketPlugin(object):
<li>
<label>{_[Database]} <small>({size:.2f}kB, {_[search feeds]}: {_[{feeds} query]})</small></label>
<div class='flex'>
<input type='text' class='text disabled' value="{inner_path}" disabled='disabled' style='width: 180px;'/>
<input type='text' class='text disabled' value="{inner_path}" disabled='disabled'/>
<a href='#Reload' id="button-dbreload" class='button'>{_[Reload]}</a>
<a href='#Rebuild' id="button-dbrebuild" class='button'>{_[Rebuild]}</a>
</div>
@ -420,7 +420,7 @@ class UiWebsocketPlugin(object):
body.append(_(u"""
<div class='flex'>
<input type='text' class='text' value="content.json" id='input-contents' style='width: 201px'/>
<input type='text' class='text' value="content.json" id='input-contents'/>
<a href='#Sign' class='button' id='button-sign'>{_[Sign]}</a>
<a href='#Publish' class='button' id='button-publish'>{_[Publish]}</a>
</div>

View file

@ -20,7 +20,8 @@
.sidebar #button-delete:hover { border: 1px solid #666; color: white }
.sidebar .flex { display: flex }
.sidebar .flex .button { margin-left: 4px }
.sidebar .flex .input.text, .sidebar .flex input.text { width: 100%; }
.sidebar .flex .button { margin-left: 4px; white-space: nowrap; }
/* FIELDS */

View file

@ -74,7 +74,8 @@
.sidebar #button-delete:hover { border: 1px solid #666; color: white }
.sidebar .flex { display: flex }
.sidebar .flex .button { margin-left: 4px }
.sidebar .flex .input.text, .sidebar .flex input.text { width: 100%; }
.sidebar .flex .button { margin-left: 4px; white-space: nowrap; }
/* FIELDS */

View file

@ -9,7 +9,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.5.1"
self.rev = 1755
self.rev = 1756
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"