Skip to content

Commit

Permalink
Rev1756, Sidebar button flud fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Nov 24, 2016
1 parent befaa0f commit f083e26
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugins/Sidebar/SidebarPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def sidebarRenderDbOptions(self, body, site):
<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>
Expand Down Expand Up @@ -420,7 +420,7 @@ def sidebarRenderContents(self, body, site):

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>
Expand Down
3 changes: 2 additions & 1 deletion plugins/Sidebar/media/Sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
3 changes: 2 additions & 1 deletion plugins/Sidebar/media/all.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
2 changes: 1 addition & 1 deletion src/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f083e26

Please sign in to comment.