Skip to content

Commit

Permalink
fix: ios html
Browse files Browse the repository at this point in the history
  • Loading branch information
deploy committed Mar 18, 2019
1 parent 0955091 commit 0d05509
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/static/ops.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,13 +640,13 @@ function project_list(p){
for(var i=0,len=h.length; i<len; i++){

if(functype == "online"){
htm.push('<li ><a class="host_list" data-project='+h[i]+'><i class="icon-user"></i>');
htm.push('<li ><a class="host_list" style="cursor:pointer;" data-project='+h[i]+'><i class="icon-user"></i>');
}
if(functype == "project_admin"){
htm.push('<li ><a class="host_list_admin" data-project='+h[i]+'><i class="icon-user"></i>');
htm.push('<li ><a class="host_list_admin" style="cursor:pointer;" data-project='+h[i]+'><i class="icon-user"></i>');
}
if(functype == "online_log"){
htm.push('<li ><a class="online_log_time" data-project='+h[i]+'><i class="icon-user"></i>');
htm.push('<li ><a class="online_log_time" style="cursor:pointer;" data-project='+h[i]+'><i class="icon-user"></i>');
}
htm.push('<p class="text-success">'+h[i]+'</p>');
htm.push('</a></li>');
Expand Down
2 changes: 1 addition & 1 deletion app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
{% block content %}
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" style="overflow-x:scroll;white-space:nowrap;">
<div class="col-sm-3 col-md-2 sidebar" style="overflow-x:scroll;white-space:nowrap;display:block;">

<ul class="nav nav-sidebar">
{% block daohang %} {% endblock %}
Expand Down

0 comments on commit 0d05509

Please sign in to comment.