Skip to content

Commit

Permalink
optmize ui
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Nov 16, 2017
1 parent bb2f1f3 commit e0bb658
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 8 deletions.
32 changes: 31 additions & 1 deletion assets/css/milligram.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,8 @@ body{
font-size: 8pt;
margin-left: 4px;
margin-bottom: 0;
background: silver ;
color: #000;
}
#folder-list .button.float-right:hover{
background: #eee ;
}

#folder-list{
Expand Down
11 changes: 7 additions & 4 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ <h2>
Welcome to PM2 panel
</h2>
<br />
<br />
<div id="notification">

</div>
<table>
<thead>
<tr>
Expand Down Expand Up @@ -96,17 +98,18 @@ <h2>
<ul id="folder-list">
<li v-for="dir in folders" >
{{dir.name}}

<span v-if="dir.name !== '..'">
<a class="button float-right explore" :href="dir.path+'/'">
<a class="button button-small button-outline float-right explore" :href="dir.path+'/'">
explore
</a>

<a class="button float-right select" :href="dir.path">
<a class="button float-right select button-small button-outline" :href="dir.path">
select
</a>
</span>
<span v-else>
<a class="button float-right" :href="dir.path+'/'" id="back">
<a class="button float-right button-small button-outline" :href="dir.path+'/'" id="back">
explore
</a>
</span>
Expand Down

0 comments on commit e0bb658

Please sign in to comment.