From 46ea32582c2d19f6b525f69421eb8f99d96cb433 Mon Sep 17 00:00:00 2001 From: perryharlock Date: Mon, 16 Sep 2013 16:42:53 +0100 Subject: [PATCH] Add markup and stying to add new url form --- public/css/site.css | 2 +- public/js/site.js | 2 +- view/new.html | 71 +++++++++++++++++++++++++-------------------- 3 files changed, 41 insertions(+), 34 deletions(-) diff --git a/public/css/site.css b/public/css/site.css index 86f73af..bdffa9f 100644 --- a/public/css/site.css +++ b/public/css/site.css @@ -243,7 +243,7 @@ ul { } .standards-lists { - height:200px; + height:300px; overflow:hidden; overflow-y:auto; margin-bottom:15px; diff --git a/public/js/site.js b/public/js/site.js index bd5bec4..7a889f8 100644 --- a/public/js/site.js +++ b/public/js/site.js @@ -2,7 +2,7 @@ $(document).ready(function(){ var data = {}; var standardsList = $('[data-role="standards-list"]'); - var standardSelect = $('#selectStandard'); + var standardSelect = $('[data-role="new-task-select"]'); var headingBadges = $('.heading-badges'); var taskListSelector = $('[data-role="task-list"] a'); var toTopLinks = $('[data-role="top"]'); diff --git a/view/new.html b/view/new.html index 50d3ed2..86c1704 100644 --- a/view/new.html +++ b/view/new.html @@ -1,13 +1,11 @@ {{#content "title"}} - Create A Task + Add a new url {{/content}} -« all tasks +
-

Create A Task

- - + Add a new url {{#error}}
@@ -15,40 +13,49 @@
{{/error}} -
-
- +
+
+
+ + +
+
-
-
- +
+
+
+ + +
+
-
- Ignore Rules
+

Ignore these rules (full list of rules here)

+ +
{{#standards}} - {{title}} -
    - {{#rules}} -
  • - -
  • - {{/rules}} -
+
+

{{title}} Rules

+
    + {{#rules}} +
  • + +
  • + {{/rules}} +
+
{{/standards}}
-
- -
+