Revision 91c7b930

b/snf-cyclades-app/synnefo/ui/static/snf/css/main.css
3568 3568
    width: 140px;
3569 3569
}
3570 3570

  
3571
.single .column1 .project-name-cont {
3572
    margin-top: 27px;
3573
    text-align: center;
3574
}
3575

  
3571 3576
.single .column1 .state {
3572 3577
    float: left;
3573 3578
    margin-left: 4px;
......
3672 3677
    line-height: 17px;
3673 3678
    margin: 0 0 10px 5px;
3674 3679
    width: 358px;
3680
    margin-bottom: 80px;
3675 3681
}
3676 3682

  
3677 3683
.single .column2 .machine-labels {
......
3964 3970
    background: transparent;
3965 3971
    margin-bottom: 10px;
3966 3972
    overflow: visible;
3967
    overflow: hidden;
3968 3973
    width: 700px;
3969 3974
    background: #EFF7FA repeat scroll 0 0;
3970 3975
}
......
6906 6911
.collection .empty-list {
6907 6912
  padding: 10px;
6908 6913
  padding-top:6px;
6909
  padding-left: 0;
6914
  padding-left: 10px;
6910 6915
  font-size: 0.8em;
6911 6916
  color: #333;
6912 6917
}
......
7712 7717

  
7713 7718
.project-name-cont {
7714 7719
  cursor: pointer;
7715
  position: absolute;
7716
  top: 40px;
7717 7720
  font-weight: normal;
7718
  right: 5px;
7719
  padding: 3px 6px;
7720 7721
  font-size: 11px;
7721 7722
  color: #222;
7723
  padding: 3px 6px;
7724
}
7725

  
7726
.collection .project-name-cont,
7727
.icon .project-name-cont {
7728
  position: absolute;
7729
  top: 40px;
7730
  right: 5px;
7722 7731
}
7723 7732

  
7724 7733
.icon .machine-data {
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_single_view.js
383 383
            var el = this.vm(vm);
384 384
            if (vm != this.current_vm_instance) { return };
385 385

  
386
            var project = vm.get('project');
387
            if (project) {
388
              el.find(".project-name").text(_.truncate(project.get('name'), 20));
389
            }
386 390
            // truncate name
387 391
            el.find(".machine-detail.name").text(util.truncate(vm.get("name"), 53));
388 392
            el.find(".fqdn").text(vm.get("fqdn") || synnefo.config.no_fqdn_message);
b/snf-cyclades-app/synnefo/ui/templates/partials/machines_single.html
15 15
                        <div class="indicator3"></div>
16 16
                        <div class="indicator4"></div>
17 17
                    </div>
18
                    <div class="project-name-cont">
19
                      <span class="project-name"></span>
20
                    </div>
18 21
                    <div class="action-indicator" style="display:none">empty</div>
19 22
                    <img class="spinner" style="display:none" src="{{ SYNNEFO_IMAGES_URL }}icons/indicators/medium/progress.gif" />
20 23
                    <img class="wave" style="display:none" src="{{ SYNNEFO_IMAGES_URL }}icons/indicators/medium/wave.gif" />

Also available in: Unified diff