|
40 | 40 | <script src="lendingbot.js" ></script> |
41 | 41 |
|
42 | 42 | <style> |
43 | | - body { |
44 | | - padding-top: 50px; |
45 | | - } |
46 | | - .inlinediv { |
47 | | - display: inline-block; |
48 | | - padding-right: 5%; |
49 | | - vertical-align: top; |
50 | | - } |
51 | | - .plb-tooltip { |
52 | | - white-space: nowrap; |
53 | | - text-decoration: none; |
54 | | - border-bottom: 1px dotted; |
55 | | - color: black; |
56 | | - } |
57 | | - .plb-tooltip:hover { |
58 | | - text-decoration: none; |
59 | | - } |
| 43 | + .brand-margin{ |
| 44 | + margin-top:4px; |
| 45 | + margin-bottom:4px |
| 46 | + } |
| 47 | + |
| 48 | + .inlinediv { |
| 49 | + display: inline-block; |
| 50 | + padding-right: 5%; |
| 51 | + vertical-align: top; |
| 52 | + } |
| 53 | + .plb-tooltip { |
| 54 | + white-space: nowrap; |
| 55 | + text-decoration: none; |
| 56 | + border-bottom: 1px dotted; |
| 57 | + color: black; |
| 58 | + } |
| 59 | + .plb-tooltip:hover { |
| 60 | + text-decoration: none; |
| 61 | + } |
60 | 62 | </style> |
61 | 63 |
|
62 | 64 | </head> |
|
65 | 67 | <!-- Page Content --> |
66 | 68 | <nav class="navbar navbar-default navbar-fixed-top"> |
67 | 69 | <div class="container"> |
68 | | - <div class="row"> |
69 | | - <div class="col-xs-7"> |
70 | | - <h4> |
71 | | - Poloniex Lending Bot |
72 | | - </h4> |
73 | | - </div> |
74 | | - <div class="col-xs-5" style="text-align:right; margin: 10px auto;" > |
75 | | - <span id="updated">Not updated</span> |
76 | | - <i class="glyphicon glyphicon-cog" data-toggle="modal" data-target="#settings_modal" style="color: orangered; cursor: pointer;"></i> |
| 70 | + |
| 71 | + <!-- Brand and toggle get grouped for better mobile display --> |
| 72 | + <div class="navbar-header" style="margin-left:8px"> |
| 73 | + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> |
| 74 | + <span class="sr-only">Toggle navigation</span> |
| 75 | + <span class="icon-bar"></span> |
| 76 | + <span class="icon-bar"></span> |
| 77 | + <span class="icon-bar"></span> |
| 78 | + </button> |
| 79 | + <img src="images/icon32.png" height="32" width="32" style="margin-top: 8px;margin-right: 8px;margin-left: -15px;vertical-align:top"> |
| 80 | + <div style="display:inline-block"> |
| 81 | + <h4 class="brand-margin">Poloniex Lending Bot</h4> |
| 82 | + <h7 class="brand-margin" id="updated">Not updated</h7> |
77 | 83 | </div> |
78 | 84 | </div> |
| 85 | + |
| 86 | + <!-- Collect the nav links, forms, and other content for toggling --> |
| 87 | + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> |
| 88 | + <ul class="nav navbar-nav navbar-right"> |
| 89 | + <li><a data-toggle="modal" data-target="#settings_modal"> |
| 90 | + <i class="glyphicon glyphicon-cog" style="color: black; cursor: pointer;"></i> |
| 91 | + Settings |
| 92 | + </a></li> |
| 93 | + </ul> |
| 94 | + </div> |
79 | 95 | </div> |
80 | 96 | </nav> |
81 | | - <div class="container"> |
| 97 | + <div class="container" style="padding-top:50px"> |
82 | 98 | <div class="row" style="overflow-x:auto"> |
83 | 99 | <div id="file" style="margin-top:8px;display:none" >Select log file: <input type="file" name="file" style="display:inline-block" onchange="handleLocalFile(this.files[0])" /></div> |
84 | 100 | <table class="table table-responsive"> |
@@ -117,12 +133,12 @@ <h4 class="modal-title">Settings</h4> |
117 | 133 | <div class="modal-body"> |
118 | 134 | <form> |
119 | 135 | <div class="form-group"> |
120 | | - <label for="exampleInputFile">Refresh interval (in seconds)</label> |
| 136 | + <label>Refresh interval (in seconds)</label> |
121 | 137 | <input type="number" class="form-control" id="refresh_interval" placeholder="10"> |
122 | 138 | <p class="help-block">(10-60)</p> |
123 | 139 | </div> |
124 | 140 | <div class="form-group"> |
125 | | - <label for="exampleInputFile">Date ranges to display earnings for</label> |
| 141 | + <label>Date ranges to display earnings for</label> |
126 | 142 |
|
127 | 143 | <div class="checkbox" style="margin-top: 0;"> |
128 | 144 | <label> |
|
0 commit comments