Created
September 11, 2014 17:03
-
-
Save Ugmaxie/1486be1d9e1df3e47371 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
b/public/app/denver/js/controllers.js | |
function navbarController($scope, $location) { | |
{href : '#/restaurants', name: 'Restaurants'}, | |
{href : '#/sessions', name: 'Sessions'}, | |
{href : '#/plans', name: 'Plans'}, | |
+ {href : '#/settings', name: 'Settings'}, | |
{href : '/logout', name: 'Log Out'} | |
]; | |
diff --git a/public/app/denver/partials/restaurants.html b/public/app/denver/partials/restaurants.html | |
index 3dadfdd..429f0d9 100644 | |
--- a/public/app/denver/partials/restaurants.html | |
+++ b/public/app/denver/partials/restaurants.html | |
@@ -288,10 +288,12 @@ | |
</label> | |
<div class="controls" style="float:left; margin-left:0"> | |
- <textarea class="span3" | |
+ <textarea | |
+ ng-required ="true" | |
+ class="span3" | |
rows="4" | |
text-watcher | |
- ng-model="smsPageMessage" | |
+ ng-model="editRestaurant.smsPageMessage" | |
ng-maxLength="160" | |
maxLength="160" | |
notify-channel="sms" | |
@@ -349,7 +351,7 @@ | |
<textarea class="span3" | |
rows="4" | |
text-watcher | |
- ng-model="voicePageMessage" | |
+ ng-model="editRestaurant.voicePageMessage" | |
ng-maxLength="200" | |
maxLength="200" | |
notify-channel="voice"/> | |
+++ b/public/app/denver/partials/restaurants.html | |
@@ -288,10 +288,12 @@ | |
</label> | |
<div class="controls" style="float:left; margin-left:0"> | |
- <textarea class="span3" | |
+ <textarea | |
+ ng-required ="true" | |
+ class="span3" | |
rows="4" | |
text-watcher | |
- ng-model="smsPageMessage" | |
+ ng-model="editRestaurant.smsPageMessage" | |
ng-maxLength="160" | |
maxLength="160" | |
notify-channel="sms" | |
@@ -349,7 +351,7 @@ | |
<textarea class="span3" | |
rows="4" | |
text-watcher | |
- ng-model="voicePageMessage" | |
+ ng-model="editRestaurant.voicePageMessage" | |
ng-maxLength="200" | |
maxLength="200" | |
notify-channel="voice"/> | |
@@ -371,25 +373,25 @@ | |
<div class="controls smscount" style="float:left; margin-left:0; margin-top: -15px"> | |
<div style="float:left; margin-left:0; margin-top: -15px; text-align: center"> | |
- <input type="text" class="smsrestrict" ng-model="editRestaurant.voiceRestrictMonth"/> | |
+ <input type="text" class="smsrestrict" ng-model="editRestaurant.voiceRestrictMonth" required/> | |
<p>Month</p> | |
</div> | |
<div style="float:left; margin-left:0; margin-top: -15px; text-align: center"> | |
- <input type="text" class="smsrestrict" ng-model="editRestaurant.voiceRestrictWeek"/> | |
+ <input type="text" class="smsrestrict" ng-model="editRestaurant.voiceRestrictWeek" required/> | |
<p> Week </p> | |
</div> | |
<div style="float:left; margin-left:0; margin-top: -15px; text-align: center"> | |
- <input type="text" class="smsrestrict" ng-model="editRestaurant.voiceRestrictDay"/> | |
+ <input type="text" class="smsrestrict" ng-model="editRestaurant.voiceRestrictDay" required/> | |
<p>Day</p> | |
</div> | |
<div style="float:left; margin-left:0; margin-top: -15px; text-align: center"> | |
- <input type="text" class="smsrestrict" ng-model="editRestaurant.voiceRestrictHour"/> | |
+ <input type="text" class="smsrestrict" ng-model="editRestaurant.voiceRestrictHour" required/> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment