Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pdbfixer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pdbfixer
Commits
ad15664d
Commit
ad15664d
authored
Jun 13, 2014
by
Peter Eastman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additional minor improvements to UI
parent
b69bc988
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
pdbfixer/html/header.html
+0
-1
pdbfixer/ui.py
+8
-3
No files found.
pdbfixer/html/header.html
View file @
ad15664d
...
@@ -58,7 +58,6 @@ select {
...
@@ -58,7 +58,6 @@ select {
}
}
table
{
table
{
border-collapse
:
collapse
;
border-collapse
:
collapse
;
border
:
1pt
solid
black
;
margin
:
7pt
margin
:
7pt
}
}
th
{
th
{
...
...
pdbfixer/ui.py
View file @
ad15664d
...
@@ -20,10 +20,15 @@ def loadHtmlFile(name):
...
@@ -20,10 +20,15 @@ def loadHtmlFile(name):
file
=
os
.
path
.
join
(
htmlPath
,
name
)
file
=
os
.
path
.
join
(
htmlPath
,
name
)
return
open
(
file
)
.
read
()
return
open
(
file
)
.
read
()
cachedImages
=
{}
def
loadImageFile
(
name
):
def
loadImageFile
(
name
):
imagePath
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'images'
)
global
cachedImages
file
=
os
.
path
.
join
(
imagePath
,
name
)
if
name
not
in
cachedImages
:
return
open
(
file
)
.
read
()
imagePath
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'images'
)
file
=
os
.
path
.
join
(
imagePath
,
name
)
cachedImages
[
name
]
=
open
(
file
)
.
read
()
return
cachedImages
[
name
]
def
controlsCallback
(
parameters
,
handler
):
def
controlsCallback
(
parameters
,
handler
):
if
'newfile'
in
parameters
:
if
'newfile'
in
parameters
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment