diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-25 11:17:42 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-25 11:17:42 +0200 |
commit | e582c3b84c6090b08f33d599c354968fcd868d14 (patch) | |
tree | b6de1b7b1f708bf9126ccb709d5129e91a67c7d5 /views/projectPost.ejs | |
parent | changed what gets collected (diff) | |
download | Divid-e582c3b84c6090b08f33d599c354968fcd868d14.tar.gz |
moved and renamed files to match the filesetup we want.
havebeen using a dev-setup till now.
Diffstat (limited to 'views/projectPost.ejs')
-rw-r--r-- | views/projectPost.ejs | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/views/projectPost.ejs b/views/projectPost.ejs deleted file mode 100644 index 710726e..0000000 --- a/views/projectPost.ejs +++ /dev/null @@ -1,103 +0,0 @@ -<% include header %> - -</head> -<body> - <% include navbar %> - - <!-- Wrapper - ================================================== --> - <div class="container" id="wrapper"> - <div class="row-fluid"> - - - <form class="form-horizontal" method="post"> - <input type="hidden" name="project" value="<%= project._id %>"> - <fieldset> - - <h1><legend><%= title %></legend></h1> - <div class="control-group"> - <label for="username" class="control-label">Av</label> - <div class="controls"> - <span class="input-medium uneditable-input"><%= req.user.username %></span> - </div> - </div> - <div class="control-group"> - <label for="what" class="control-label">Hva <strong class="text-error">*</strong></label> - <div class="controls"> - <input type="text" name="what" id="what" placeholder="Hva ble kjøpt" required maxlength="40"> - </div> - </div> - <% - // we need to populate the date- and timefield with the current time and date - var d = new Date(); - var n = d.getFullYear() + '-' + ('0' + (d.getMonth()+1)).slice(-2) + '-' + ('0' + d.getDate()).slice(-2); - var t = d.toLocaleTimeString().slice(0, 5); - %> - <!-- <%= d %> --> - <div class="control-group"> - <label for="date" class="control-label">Når</label> - <div class="controls"> - <input type="date" name="date" value="<%= n %>" class="input-medium"> - <input type="time" name="time" value="<%= t %>" class="input-medium"> - </div> - </div> - <div class="control-group"> - <label for="cost" class="control-label">Hvor mye <strong class="text-error">*</strong></label> - <div class="controls"> - <input type="number" name="value" id="value" class="input-small" placeholder="0" required> - </div> - </div> -<!-- <div class="control-group"> - <label for="split_between" class="control-label">Delt på</label> - <div class="controls"> - - <span class="selectAll">Select all</span> - <select name="participants[]" id="participants" multiple="multiple"> - <option value="5180e11b0074a8b029000001" selected="selected">Dennis</option> - <option value="51814b792c94cc5346000001" selected="selected">Kurt</option> - </select> - </div> - </div> - <div class="control-group"> - <label for="file" class="control-label">Kvittering</label> - <div class="controls"> - <input type="file" name="file" id="file"> - </div> - </div>--> - <div class="control-group"> - <label for="comment" class="control-label">Kommentar</label> - <div class="controls"> - <textarea id="comment" name="comment" class="span6"></textarea> - </div> - </div> - - <div class="control-group"> - <div class="form-actions"> - <button type="submit" id="button1id" name="button1id" class="btn btn-primary">Post</button> - <button type="reset" id="button2id" name="button2id" class="btn">Nullstill</button> - </div> - </div> - - </fieldset> - </form> - - - - - - - - </div><!-- /div.row --> - </div><!-- /div.#wrapper --> - - -<% include footer %> -<!-- <script> - $(".selectAll").click(function() { - $('#participants').children().attr('selected','selected'); - //$(this).parent().find('option').attr('selected','selected'); - }); -</script>--> - -</body> -</html> |