-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Amir Tocker
committed
Mar 15, 2016
1 parent
13085bd
commit a09daa1
Showing
4 changed files
with
147 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<html> | ||
<head> | ||
<link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.css"> | ||
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"> | ||
|
||
<!-- Custom CSS --> | ||
<!--<link href="css/logo-nav.css" rel="stylesheet">--> | ||
<script src="../bower_components/lodash/lodash.js" type="text/javascript"></script> | ||
<script src="../bower_components/angular/angular.js" type="text/javascript"></script> | ||
<script src="../bower_components/cloudinary-core/cloudinary-core.js" type="text/javascript"></script> | ||
<script src="../js/angular.cloudinary.js" type="text/javascript"></script> | ||
<script src="config.js" type="text/javascript"></script> | ||
|
||
</head> | ||
|
||
<body ng-app="spec"> | ||
|
||
<div class="container" ng-controller="specController"> | ||
<h1>Bootstrap & Cloudinary Responsive Images</h1> | ||
<hr> | ||
<div class="row"> | ||
<div class="col-xs-12 col-md-10 col-md-offset-1 "> | ||
|
||
<!-- Nav tabs --> | ||
<ul class="nav nav-tabs" role="tablist"> | ||
<li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" | ||
data-toggle="tab">Home</a></li> | ||
<li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab" style="display: block"> | ||
<cl-image responsive id="image1" width="auto" crop="scale" effect="blackwhite" public_id="sample.jpg" /></a></li> | ||
<li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab" style="display: block"> | ||
<cl-image id="image2" width="auto" crop="scale" public_id="sample.png" responsive></cl-image> | ||
</a></li> | ||
<li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a> | ||
</li> | ||
</ul> | ||
|
||
<!-- Tab panes --> | ||
<div class="tab-content row"> | ||
<div role="tabpanel" class="tab-pane active" id="home"> | ||
<a href="#"><cl-image id="tabImage2" width="auto" crop="{{ cropValue || 'scale'}}" public_id="sample.jpg" responsive class="col-xs-12"/> | ||
</a> | ||
<cl-image id="tabImage3" public_id="sample.jpg" width="auto" crop="scale" effect="sepia" responsive class="col-xs-12"/> | ||
</div> | ||
<div role="tabpanel" class="tab-pane" id="profile">...</div> | ||
<div role="tabpanel" class="tab-pane" id="messages">...</div> | ||
<div role="tabpanel" class="tab-pane" id="settings">...</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</body> |