summaryrefslogtreecommitdiff
path: root/widgets/gitlab_merge_requests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-09-29 10:03:58 +0200
committervarac <varacanero@zeromail.org>2016-09-30 22:00:34 +0200
commitbc95708fe005cd36a49946db22e35ae82da4584b (patch)
treee4dc5ddeb718d1a8911da0dcc0664a2d73bffe7f /widgets/gitlab_merge_requests
parentad19d7f11b10092cdcb1f6be638072ef8d8b9867 (diff)
[wip] gitlab-builds
Diffstat (limited to 'widgets/gitlab_merge_requests')
-rw-r--r--widgets/gitlab_merge_requests/gitlab_merge_requests.coffee9
-rw-r--r--widgets/gitlab_merge_requests/gitlab_merge_requests.html18
-rw-r--r--widgets/gitlab_merge_requests/gitlab_merge_requests.scss67
3 files changed, 0 insertions, 94 deletions
diff --git a/widgets/gitlab_merge_requests/gitlab_merge_requests.coffee b/widgets/gitlab_merge_requests/gitlab_merge_requests.coffee
deleted file mode 100644
index e68c3f6..0000000
--- a/widgets/gitlab_merge_requests/gitlab_merge_requests.coffee
+++ /dev/null
@@ -1,9 +0,0 @@
-class Dashing.GitlabMergeRequests extends Dashing.Widget
-
- ready: ->
- # This is fired when the widget is done being rendered
-
- onData: (data) ->
- # Handle incoming data
- # You can access the html node of this widget with `@node`
- # Example: $(@node).fadeOut().fadeIn() will make the node flash each time data comes in. \ No newline at end of file
diff --git a/widgets/gitlab_merge_requests/gitlab_merge_requests.html b/widgets/gitlab_merge_requests/gitlab_merge_requests.html
deleted file mode 100644
index 396da97..0000000
--- a/widgets/gitlab_merge_requests/gitlab_merge_requests.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<h1 class="header">GitLab</h1>
-<h2 class="sub-header" data-bind="header"></h2>
-
-<ul class="list">
- <li data-foreach-merge="merges" class="merge">
- <div class="merge-title" data-bind="merge.title"></div>
- <div class="merge-info">
- <div data-bind="merge.creator"></div>
- <div>&nbsp;&middot;&nbsp;</div>
- <div data-bind="merge.repo"></div>
- <div>&nbsp;&middot;&nbsp;</div>
- <div data-bind="merge.updated_at"></div>
- </div>
- <div style="clear: both;"></div>
- </li>
-</ul>
-
-<p class="updated-at" data-bind="updatedAtMessage"></p>
diff --git a/widgets/gitlab_merge_requests/gitlab_merge_requests.scss b/widgets/gitlab_merge_requests/gitlab_merge_requests.scss
deleted file mode 100644
index d3c51f5..0000000
--- a/widgets/gitlab_merge_requests/gitlab_merge_requests.scss
+++ /dev/null
@@ -1,67 +0,0 @@
-// ----------------------------------------------------------------------------
-// Sass declarations
-// ----------------------------------------------------------------------------
-$background-color: teal;
-
-$heading-color: rgba(255, 255, 255, 0.7);
-$merge-title-color: rgba(255, 255, 255, 1.0);
-$merge-info-color: rgba(255, 255, 255, 1.0);
-
-// ----------------------------------------------------------------------------
-// Widget-gitlab-merge-requests styles
-// ----------------------------------------------------------------------------
-.widget-gitlab-merge-requests {
-
- background-color: $background-color;
- vertical-align: top !important;
-
- .header {
- margin-bottom: 0;
- font-size: xx-large;
- color: $heading-color;
- }
-
- .sub-header {
- color: $heading-color;
- font-size: large;
- margin-bottom: 1vh;
- }
-
- .merge {
- margin-bottom: 2vh;
- }
-
- .merge-title {
- font-size: medium;
- font-weight: bold;
- color: $merge-title-color;
- }
-
- .merge-info {
- font-size: small;
- font-style: italic;
- color: $merge-info-color;
- }
-
- .merge-info div {
- float:left;
- }
-
- .list {
- list-style: none;
- }
-
- .updated-at {
- color: rgba(0, 0, 0, 0.3);
- }
-
- ol, ul {
- margin: 0 15px;
- text-align: left;
- }
-
- ol {
- list-style-position: inside;
- }
-
-}