Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Dependencies

- ete3 from github (master branch)

```
pip install https://github.com/etetoolkit/ete/archive/master.zip
pip install bottle cherrypy
```

### Demo
- To run the demo:

```
python test_phylotastic.py
```

- open ``demo/webplugin_example.html` in a browser running in the machine as the test script.


218 changes: 107 additions & 111 deletions demo/ete.css
Original file line number Diff line number Diff line change
@@ -1,125 +1,121 @@
#popup
{
font-family: Arial;
font-size: 10pt;
border: 1px solid #777;
margin: 0px;
padding: 0px;
z-index:100;
}

#popup ul
{
margin: 0px;
padding: 0px;
}

#popup li
{
font-size: 10pt;
margin: 0px;
margin-left: 4px;
padding: 0px;
list-style-type: none;
padding-left: 2px;
padding-right: 2px;
border-bottom: 1px solid #ccc;
background-image: none;
}

#popup a
{
color: #565B53;
text-decoration:none;
}

#popup a:hover
{
color: #000000;
text-decoration:none;
}

#ete_popup_header_text
{
margin-right: 10px;
margin-left: 6px;
font-size: 12pt;
color: #565B53;
}

.ete_popup_item
{
color: #565B53;
border-bottom: 1px solid #ccc;
}

#ete_popup_header{
cursor: move;
margin-bottom: 4px;
padding-right: 2px;
padding-left: 2px;
background-color:#EEE;
border-bottom: 1px solid #ccc;
padding: 0px;
font-size: 10pt;
font-weight:bold;
border-bottom:6px solid #565B53;
}

#ete_close_popup{
background-image:url('/TreeViewer/close.png');
width:16px;
height:16px;
cursor:auto;
float:right;
}

#ete_popup_header span{
cursor: auto;
}

#ete_tree_buttons{
#popup {
font-family: Arial;
font-size: 10pt;
border: 1px solid #777;
margin: 0px;
padding: 0px;
z-index: 100;
}

#popup ul {
margin: 0px;
padding: 0px;
}

#popup li {
font-size: 10pt;
margin: 0px;
margin-left: 4px;
padding: 0px;
list-style-type: none;
padding-left: 2px;
padding-right: 2px;
border-bottom: 1px solid #ccc;
background-image: none;
}

#popup a {
color: #565B53;
text-decoration: none;
}

#popup a:hover {
color: #000000;
text-decoration: none;
}

#ete_popup_header_text {
margin-right: 10px;
margin-left: 6px;
font-size: 12pt;
color: #565B53;
}

.ete_popup_item {
color: #565B53;
border-bottom: 1px solid #ccc;
}

#ete_tree_buttons li{
#ete_popup_header {
cursor: move;
margin-bottom: 4px;
padding-right: 2px;
padding-left: 2px;
background-color: #EEE;
border-bottom: 1px solid #ccc;
padding: 0px;
font-size: 10pt;
font-weight: bold;
border-bottom: 6px solid #565B53;
}

#ete_close_popup {
background-image: url('/TreeViewer/close.png');
width: 16px;
height: 16px;
cursor: auto;
float: right;
}

#ete_popup_header span {
cursor: auto;
}

#ete_tree_buttons {
border-bottom: 1px solid #ccc;
}

#ete_tree_buttons li {
display: inline;
}

.tree_box_header{
padding-right:4px;
background-color:#eee;
border-bottom:4px solid #555;
font-weight:bold;
cursor:move;
.tree_box_header {
padding-right: 4px;
background-color: #eee;
border-bottom: 4px solid #555;
font-weight: bold;
cursor: move;
}

.tree_box_header img{
float:right;
cursor: auto;
.tree_box_header img {
float: right;
cursor: auto;
}

#tree_features_box{
display:none;
z-index:100;
border: 1px dotted #555;
text-align:left;
background-color: #fff;
#tree_features_box {
display: none;
z-index: 100;
border: 1px dotted #555;
text-align: left;
background-color: #fff;
}
#search_in_tree_box{
display:none;
z-index:100;
border: 1px dotted #555;
text-align:center;
background-color: #fff;

#search_in_tree_box {
display: none;
z-index: 100;
border: 1px dotted #555;
text-align: center;
background-color: #fff;
}

#highlighter {
position: absolute;
visibility: visible;
z-index:100;
top:0;
left:0;
width: 70px; height: 70px;
border: 1px solid indianred;
}
position: absolute;
visibility: visible;
z-index: -1;
top: 0;
left: 0;
width: 70px;
height: 70px;
border: 1px solid indianred;
background: indianred;
}
Loading