This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 415
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
Showing
7 changed files
with
181 additions
and
1 deletion.
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
141 changes: 141 additions & 0 deletions
141
angular/app/components/ui-timeline/ui-timeline.component.html
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,141 @@ | ||
<section class="content-header"> | ||
<h1> | ||
Timeline | ||
<small>example</small> | ||
</h1> | ||
<ol class="breadcrumb"> | ||
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> | ||
<li><a href="#">UI</a></li> | ||
<li class="active">Timeline</li> | ||
</ol> | ||
</section> | ||
<section class="content"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<ul class="timeline"> | ||
<li class="time-label"> | ||
<span class="bg-red"> | ||
10 Feb. 2014 | ||
</span> | ||
</li> | ||
<li> | ||
<i class="fa fa-envelope bg-blue"></i> | ||
<div class="timeline-item"> | ||
<span class="time"><i class="fa fa-clock-o"></i> 12:05</span> | ||
<h3 class="timeline-header"><a href="#">Support Team</a> sent you an email</h3> | ||
<div class="timeline-body"> | ||
Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles, weebly ning heekya handango imeem plugg dopplr jibjab, movity jajah plickers sifteo edmodo ifttt zimbra. Babblely odeo kaboodle quora plaxo ideeli hulu weebly balihoo... | ||
</div> | ||
<div class="timeline-footer"> | ||
<a class="btn btn-primary btn-xs">Read more</a> | ||
<a class="btn btn-danger btn-xs">Delete</a> | ||
</div> | ||
</div> | ||
</li> | ||
<li> | ||
<i class="fa fa-user bg-aqua"></i> | ||
<div class="timeline-item"> | ||
<span class="time"><i class="fa fa-clock-o"></i> 5 mins ago</span> | ||
<h3 class="timeline-header no-border"><a href="#">Sarah Young</a> accepted your friend request</h3> | ||
</div> | ||
</li> | ||
<li> | ||
<i class="fa fa-comments bg-yellow"></i> | ||
<div class="timeline-item"> | ||
<span class="time"><i class="fa fa-clock-o"></i> 27 mins ago</span> | ||
<h3 class="timeline-header"><a href="#">Jay White</a> commented on your post</h3> | ||
<div class="timeline-body"> | ||
Take me to your leader! Switzerland is small and neutral! We are more like Germany, ambitious and misunderstood! | ||
</div> | ||
<div class="timeline-footer"> | ||
<a class="btn btn-warning btn-flat btn-xs">View comment</a> | ||
</div> | ||
</div> | ||
</li> | ||
<li class="time-label"> | ||
<span class="bg-green"> | ||
3 Jan. 2014 | ||
</span> | ||
</li> | ||
<li> | ||
<i class="fa fa-camera bg-purple"></i> | ||
<div class="timeline-item"> | ||
<span class="time"><i class="fa fa-clock-o"></i> 2 days ago</span> | ||
<h3 class="timeline-header"><a href="#">Mina Lee</a> uploaded new photos</h3> | ||
<div class="timeline-body"> | ||
<img src="http://placehold.it/150x100" alt="..." class="margin"> | ||
<img src="http://placehold.it/150x100" alt="..." class="margin"> | ||
<img src="http://placehold.it/150x100" alt="..." class="margin"> | ||
<img src="http://placehold.it/150x100" alt="..." class="margin"> | ||
</div> | ||
</div> | ||
</li> | ||
<li> | ||
<i class="fa fa-video-camera bg-maroon"></i> | ||
<div class="timeline-item"> | ||
<span class="time"><i class="fa fa-clock-o"></i> 5 days ago</span> | ||
<h3 class="timeline-header"><a href="#">Mr. Doe</a> shared a video</h3> | ||
<div class="timeline-body"> | ||
<div class="embed-responsive embed-responsive-16by9"> | ||
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/tMWkeBIohBs" frameborder="0" allowfullscreen></iframe> | ||
</div> | ||
</div> | ||
<div class="timeline-footer"> | ||
<a href="#" class="btn btn-xs bg-maroon">See comments</a> | ||
</div> | ||
</div> | ||
</li> | ||
<li> | ||
<i class="fa fa-clock-o bg-gray"></i> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="row" style="margin-top: 10px;"> | ||
<div class="col-md-12"> | ||
<div class="box box-primary"> | ||
<div class="box-header"> | ||
<h3 class="box-title"><i class="fa fa-code"></i> Timeline Markup</h3> | ||
</div> | ||
<div class="box-body"> | ||
<pre style="font-weight: 600;"> | ||
<ul class="timeline"> | ||
|
||
<!-- timeline time label --> | ||
<li class="time-label"> | ||
<span class="bg-red"> | ||
10 Feb. 2014 | ||
</span> | ||
</li> | ||
<!-- /.timeline-label --> | ||
|
||
<!-- timeline item --> | ||
<li> | ||
<!-- timeline icon --> | ||
<i class="fa fa-envelope bg-blue"></i> | ||
<div class="timeline-item"> | ||
<span class="time"><i class="fa fa-clock-o"></i> 12:05</span> | ||
|
||
<h3 class="timeline-header"><a href="#">Support Team</a> ...</h3> | ||
|
||
<div class="timeline-body"> | ||
... | ||
Content goes here | ||
</div> | ||
|
||
<div class="timeline-footer"> | ||
<a class="btn btn-primary btn-xs">...</a> | ||
</div> | ||
</div> | ||
</li> | ||
<!-- END timeline item --> | ||
|
||
... | ||
|
||
</ul> | ||
</pre> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> |
16 changes: 16 additions & 0 deletions
16
angular/app/components/ui-timeline/ui-timeline.component.js
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,16 @@ | ||
class UiTimelineController { | ||
constructor () { | ||
'ngInject' | ||
|
||
// | ||
} | ||
|
||
$onInit () {} | ||
} | ||
|
||
export const UiTimelineComponent = { | ||
templateUrl: './views/app/components/ui-timeline/ui-timeline.component.html', | ||
controller: UiTimelineController, | ||
controllerAs: 'vm', | ||
bindings: {} | ||
} |
Empty file.
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
10 changes: 10 additions & 0 deletions
10
tests/angular/app/components/ui-timeline.component.spec.js
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,10 @@ | ||
ngDescribe({ | ||
name: 'Test ui-timeline component', | ||
modules: 'app', | ||
element: '<ui-timeline></ui-timeline>', | ||
tests: function (deps) { | ||
it('basic test', () => { | ||
// | ||
}) | ||
} | ||
}) |