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
<div id="timetable" timetable=""> | |
<div class="title"> | |
<h2>{{ mainCtrl.name }}</h2> | |
<button ng-click="<!-- create new function -->" class="button small green">Create New</button> | |
<button ng-click="<!-- enter room now function -->" class="button small">Enter a Room Now</button> | |
</div> | |
<div class="date-bar"> | |
<!-- these buttons should activate/deactivate based on position --> |
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
.input-forms { | |
width: 784px; | |
font-weight: 300; | |
font-family: helvetica, arial, sans-serif; | |
font-size: 14px; | |
} | |
.input-forms .header { | |
font-weight: 400; | |
border-bottom: solid 1px #ccc; | |
margin-bottom: 50px; |
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
<div id="timetable> | |
<div class='title'> | |
<h2>{{ mainCtrl.name }}</h2> | |
<button class='button small green'>Create New</button> | |
<button class='button small'>Enter My Room Now</button> | |
</div> | |
<div class='date-bar'> | |
<button class='first' ng-click='mainCtrl.changeDisplayedDate(mainCtrl.displayed_date, -7)'> | |
<i class='fa fa-angle-double-left'></i> | |
</button> |
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
<!doctype html> | |
<html class="no-js" lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="css/main.css"> | |
</head> |
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
<div id='timetable'> | |
<div class='title'> | |
<h2>{{ mainCtrl.name }}</h2> | |
<div class="actions"> | |
<a meeting-form ng-click="mainCtrl.openModal()">Create New</a> | |
<span>|</span> | |
<a>Enter My Room Now</a> | |
</div> | |
</div> | |
<div class='date-bar'> |
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
.border-radius(@radius) { | |
border-radius: @radius; | |
-moz-border-radius: @radius; | |
-webkit-border-radius: @radius; | |
} | |
#timetable { | |
font-size: 14px; | |
color: #333; | |
font-weight: 400; |
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
function randomArrayElement(array) { | |
var i = Math.floor(Math.random() * array.length); | |
return array[i]; | |
} |
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
var contrast = function (foreground, background) { | |
var hexToRgb = function (hex) { | |
// Expand shorthand form (e.g. '03F') to full form (e.g. '0033FF') | |
var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; | |
hex = hex.replace(shorthandRegex, function(m, r, g, b) { | |
return r + r + g + g + b + b; |
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
import React, { Component } from 'react'; | |
import './App.css'; | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
text: '- asda' | |
}; |
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
import fs from "fs"; | |
import path from "path"; | |
import { fileURLToPath } from "url"; | |
import clipboardy from "clipboardy"; | |
const __filename = fileURLToPath(import.meta.url); | |
const __dirname = path.dirname(__filename); | |
const INPUT_DIR = | |
process.argv[2] || "/Users/jsmith/MyExampleProject"; |