Commit 8f44b983 authored by Vladislav Rykov's avatar Vladislav Rykov
Browse files

index changed, css added

parent 8c3e6609
.list-group {
list-style: decimal inside;
}
.list-group-item {
display: list-item;
}
......@@ -27,9 +27,9 @@
{% if devs %}
<h3><center>Devices:</center></h3>
<ol class="list-group" style="list-style: decimal inside;">
<ol class="list-group">
{% for dev in devs %}
<a href="/dev?id={{ dev[1] }}"><li class="list-group-item" style="display:list-item;"><strong> {{ dev[0] }} </strong></li></a>
<a href="/dev?id={{ dev[1] }}"><li class="list-group-item"><strong> {{ dev[0] }} </strong></li></a>
{% endfor %}
</ol>
{% else %}
......
......@@ -8,12 +8,17 @@
<div class="col-md-6 col-md-offset-3">
<h2> Welcome, {{session['name']}}! </h2>
{% if session['name'] %}
<br>
<h4> Explore your applications or create a new one. </h4>
<ol>
{% if apps %}
<br>
<ol class="list-group">
{% for app in apps %}
<li><a href="/app?appkey={{ app[1] }}"> {{ app[0] }} </a></li>
<a href="/app?appkey={{ app[1] }}"><li class="list-group-item"><strong> {{ app[0] }} </strong></li></a>
{% endfor %}
</ol>
{% endif %}
<br>
<a href="/new-app"><button class="btn btn-primary" type="submit">New Application</button></a>
{% else %}
<p>Log in, please</p>
......
......@@ -6,6 +6,7 @@
<title> {% block title %} {% endblock %} </title>
<meta name="viewport" content="with-device-width, initial-scale-1"/>
<link rel="stylesheet" type="text/css" media="screen" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="static/custom.css"/>
</head>
<body>
<nav class="navbar navbar-inverse">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment