home.html 1.71 KB
Newer Older
Kálmán Viktor committed
1
{% load i18n %}
2 3 4 5 6 7 8 9
<div class="row">
  <div class="col-md-4">
    <dl>
      <dt>System:</dt>
      <dd><i class="icon-linux"></i> Uhu Binux Optikai Rendszer</dd>
      <dt>Description:</dt>
      <dd><small>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc est libero, hendrerit at posuere sed, molestie congue quam. </small></dd>
    </dl>
Kálmán Viktor committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37

    <div style="font-weight: bold;">{% trans "Tags" %}</div>
    <div id="vm-details-tags" style="margin-bottom: 20px;">
      <div id="vm-details-tags-list">
        {% if instance.tags.all %}
          {% for t in instance.tags.all %}
            <div class="label label-primary label-tag" style="display: inline-block">
              {{ t }}
              <a href="#" class="vm-details-remove-tag"><i class="icon-remove"></i></a>
            </div>
          {% endfor %}
        {% else %}
          <small>No tag added!</small>
        {% endif %}
      </div>
      <form action="" method="POST">
        {% csrf_token %}
        <div class="input-group" id="vm-details-tags-form">
          <input type="text" class="form-control input-sm input-tags" name="new_tag" id="vm-details-tags-input"/>
          <!--<div class="input-group-addon">
            <i class="icon-question"></i>
          </div>-->
          <div class="input-group-btn">
            <input type="submit" class="btn btn-default btn-sm input-tags" value="{% trans "Add tag" %}"/>
          </div>
        </div>
      </form>
    </div><!-- id:vm-details-tags -->
38 39 40 41 42 43 44 45
  </div>
  <div class="col-md-8">
<img src="/static/grafikon.png" style="width:45%"/>
<img src="/static/grafikon.png" style="width:45%"/>
<img src="/static/grafikon.png" style="width:45%"/>
<img src="/static/grafikon.png" style="width:45%"/>
  </div>
</div>