From 4755f6066bff2617988704e18c8c141056f1b4bd Mon Sep 17 00:00:00 2001
From: Phil Hughes <me@iamphill.com>
Date: Tue, 11 Apr 2017 18:50:21 +0100
Subject: Moved NotebookLab assets into repo

Moved all the notebooklab assets into the GitLab repo
---
 app/assets/javascripts/notebook/cells/prompt.vue | 30 ++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 app/assets/javascripts/notebook/cells/prompt.vue

(limited to 'app/assets/javascripts/notebook/cells/prompt.vue')

diff --git a/app/assets/javascripts/notebook/cells/prompt.vue b/app/assets/javascripts/notebook/cells/prompt.vue
new file mode 100644
index 00000000000..4540e4248d8
--- /dev/null
+++ b/app/assets/javascripts/notebook/cells/prompt.vue
@@ -0,0 +1,30 @@
+<template>
+  <div class="prompt">
+    <span v-if="type && count">
+      {{ type }} [{{ count }}]:
+    </span>
+  </div>
+</template>
+
+<script>
+  export default {
+    props: {
+      type: {
+        type: String,
+        required: false,
+      },
+      count: {
+        type: Number,
+        required: false,
+      },
+    },
+  };
+</script>
+
+<style scoped>
+.prompt {
+  padding: 0 10px;
+  min-width: 7em;
+  font-family: monospace;
+}
+</style>
-- 
cgit v1.2.1

