<table>
<tr>
<th>By:</th>
- <td>{{contributors}}<td>
+ <td ng-text-truncate="contributors" ng-tt-chars-threshold="50" ng-tt-more-label="More" ng-tt-less-label="Less"></td>
</tr>
<tr ng-if="pack.mirrors">
<th>Download:</th>
<table>
<tr>
<th>By:</th>
- <td>{{contributors}}<td>
+ <td ng-text-truncate="contributors" ng-tt-chars-threshold="50" ng-tt-more-label="More" ng-tt-less-label="Less"></td>
</tr>
<tr>
<th>Download:</th>
</tr>
<tr>
<th>Contributors:</th>
- <td>{{contributors}}</td>
+ <td ng-text-truncate="contributors" ng-tt-chars-threshold="100" ng-tt-more-label="More" ng-tt-less-label="Less"></td>
</tr>
<tr><td> </td></tr>
<tr ng-if="pack.size">
--- /dev/null
+.btn-link {
+ color:#428bca;
+ cursor:pointer;
+ border-radius:0;
+}
+
+.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link {
+ background-color:transparent;
+ -webkit-box-shadow:none;
+ box-shadow:none;
+}
+
+.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active {
+ border-color:transparent;
+}
+
+.btn-link:hover,.btn-link:focus {
+ color:#2a6496;
+ text-decoration:underline;
+ background-color:transparent;
+}
+
+.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus {
+ color:#999;
+ text-decoration:none;
+}
+
+.btn-lg,.btn-group-lg>.btn {
+ padding:10px 16px;
+ font-size:18px;
+ line-height:1.33;
+ border-radius:6px;
+}
\ No newline at end of file
a.btn-social:hover {
text-decoration: none;
+}
+
+.btn-link {
+ color: #FFB122;
+ cursor: pointer;
+ font-weight: bold;
+}
+
+.btn-link:hover,.btn-link:focus {
+ text-decoration:underline;
+}
+
+.btn-link.ngTruncateToggleText {
+ margin-left: 5px;
}
\ No newline at end of file
margin-bottom: 10px;
}
-.accordion-toggle{
+.accordion-toggle {
display: inline-block;
width: 100%;
-}
+}
\ No newline at end of file
// Declare app level module which depends on views, and components
angular.module('DivinElegy', [
'ngRoute',
- 'ngAnimate',
- //'DivinElegy.components.hello',
+ 'alv-ch-ng.text-truncate',
'DivinElegy.components.menu',
'DivinElegy.components.userMenu',
'DivinElegy.components.simfiles',
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
<script src="bower_components/ngstorage/ngStorage.min.js"></script>
<script src="bower_components/hello/dist/hello.all.js"></script>
+ <script src="bower_components/alv-ch-ng.text-truncate/dist/alv-ch-ng.textTruncate.js"></script>
<script src="components/config/rockEndpoint-value.js"></script>
<script src="components/hello/hello-service.js"></script>
<script src="components/user/user-service.js"></script>
"hello": "1.2.1",
"angular-animate": "1.3.x",
"angular-bootstrap": "0.12.x",
- "ngstorage": "x.x.x"
+ "ngstorage": "x.x.x",
+ "alv-ch-ng.text-truncate": "0.2.0"
},
"resolutions": {
"angular": "1.3.7"