<div>
  <button
    ng-click="openCalage()"
    class="btn btn-default"
    title="{{'rastercalage.openCalage' | translate}}"
  >
    <span class="glyphicon glyphicon-screenshot"></span>
  </button>
</div>

<br />

<div ng-if="project!=null" class="row">
  <div class="col-xs-12">
    <label
      ><translate>layermanager.transparency</translate> -
      <b>{{ layeropacity.value }} %</b></label
    >
    <div
      range-slider
      min="0"
      max="100"
      model-max="layeropacity.value"
      pin-handle="min"
      class="lightslider"
    ></div>
  </div>
</div>
<div style="height:200px;overflow:auto;">
  <div ng-repeat="p in project">
    <label style="font-size:1.2em; font-weight: bold;">{{p.data.name}}</label>
    <div>
      <button type="button" class="btn btn-default" ng-click="viewdb(p.data)">
        <span class="glyphicon glyphicon-eye-open"></span>
      </button>
      <button type="button" class="btn btn-default" ng-click="unviewdb(p.data)">
        <span class="glyphicon glyphicon-eye-close"></span>
      </button>

      <button
        type="button"
        class="btn btn-default"
        ng-hide="currentuser != p.login"
        title="{{'rastercalage.removeAnnotation' | translate}}"
        ng-click="removedb($index,p.data)"
      >
        <span class="glyphicon glyphicon-remove"></span>
      </button>

      <span publish-param ng-hide="currentuser != p.login" param="p"></span>
    </div>
  </div>
</div>
