Changeset 275
- Timestamp:
- 07/13/11 14:01:05 (10 months ago)
- Location:
- xts/trunk
- Files:
-
- 3 added
- 6 edited
-
.htaccess (added)
-
jsclient/index.html (modified) (1 diff)
-
jsclient/snewts/config.js (modified) (1 diff)
-
jsclient/snewts/ui.js (modified) (1 diff)
-
jsclient/style.css (modified) (1 diff)
-
xtsadmin/django.wsgi (added)
-
xtsadmin/media (added)
-
xtsadmin/settings.py (modified) (4 diffs)
-
xtsadmin/urls.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xts/trunk/jsclient/index.html
r256 r275 82 82 <div id="tabsfunction" class="mode adminonly" onclick="UI.showFunction('tabs', BasketColumns.TAB, event)">TABS</div> 83 83 <div id="reportfunction" class="mode adminonly" onclick="UI.showFunction('report', BasketColumns.EPHEMERAL, event)">REPORT</div> 84 < !--<div id="logfunction" class="mode adminonly" onclick="UI.showFunction('log', BasketColumns.EPHEMERAL, event)">LOG</div>-->84 <div id="logfunction" class="mode adminonly" onclick="UI.showFunction('log', BasketColumns.EPHEMERAL, event)">LOG</div> 85 85 <div id="lockbutton" onclick="UI.toggleAdminMode()"></div> 86 86 <div id="users"> -
xts/trunk/jsclient/snewts/config.js
r242 r275 1 SCREEN_LOCK_PASSWORD = " 1234";1 SCREEN_LOCK_PASSWORD = "7539"; 2 2 3 3 DRINKS_CATEGORIES = "2|4"; 4 FOOD_CATEGORIES = "3 |5";4 FOOD_CATEGORIES = "3"; 5 5 SHOP_CATEGORIES = "6"; 6 6 7 7 var Config = { 8 VERSION: "DEV", 9 AGENT_STRING: "boxoffice:abc" 8 VERSION: "R273 NOTINABOX", 9 AGENT_STRING: "boxoffice:9n2nf92kt04", 10 CAFE_AGENT_STRING: "cafe:ncv02oapwen" 10 11 }; -
xts/trunk/jsclient/snewts/ui.js
r250 r275 89 89 UI.setConsoleMode('cafe', true); 90 90 UI.showFunction('drinks', BasketColumns.EPHEMERAL); 91 Config.AGENT_STRING = Config.CAFE_AGENT_STRING; 91 92 } else if (initmode == "boxoffice+press") { 92 93 UI.boxOfficeModeSwitch.switchon(); -
xts/trunk/jsclient/style.css
r271 r275 63 63 } 64 64 65 65 #xtsconsole.adminmode div.adminonly.old { 66 display: none; 67 } 66 68 67 69 #xtsconsole .boxofficeonly, -
xts/trunk/xtsadmin/settings.py
r220 r275 32 32 ADMINS = ( 33 33 'Alex Macmillan', 'alex@x13n.com', 34 'Ben Hussey', 'ben@blip2.net', 34 35 # ('Your Name', 'your_email@domain.com'), 35 36 ) … … 39 40 DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. 40 41 DATABASE_NAME = 'xts2' # Or path to database file if using sqlite3. 41 DATABASE_USER = ' root' # Not used with sqlite3.42 DATABASE_PASSWORD = ' ' # Not used with sqlite3.42 DATABASE_USER = 'xts2' # Not used with sqlite3. 43 DATABASE_PASSWORD = 'Z2QX8CpqFPPfXSAF' # Not used with sqlite3. 43 44 DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. 44 45 DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. … … 76 77 77 78 # Make this unique, and don't share it with anybody. 78 SECRET_KEY = '%)9bn!l8i pz(h@k^je!kn827^=fev3udz4!5(@-k=+2(h9*l36'79 SECRET_KEY = '%)9bn!l8i22fxFk^je131d27^=Ug9vhwe8gdu2&^$Uf288*l36' 79 80 80 81 # List of callables that know how to import templates from various sources. … … 97 98 # Absolute paths should be used here. 98 99 #'/Users/alex/Dropbox/Bedlam/XTS/xtsadmin/templates' 99 ' templates'100 '/data/xts/xtsadmin/templates' 100 101 ) 101 102 -
xts/trunk/xtsadmin/urls.py
r55 r275 28 28 29 29 from django.conf.urls.defaults import * 30 from django.contrib import admin 30 31 31 from django.contrib import admin32 32 admin.autodiscover() 33 33 … … 39 39 40 40 # Show the administration interface at the root. 41 (r'(.*)', admin.site.root), 41 url(r'^doc/', include('django.contrib.admindocs.urls')), 42 url(r'^', include(admin.site.urls)), 42 43 )
Note: See TracChangeset
for help on using the changeset viewer.
