Changeset 275


Ignore:
Timestamp:
07/13/11 14:01:05 (10 months ago)
Author:
ben
Message:

Update before switch to git

Location:
xts/trunk
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • xts/trunk/jsclient/index.html

    r256 r275  
    8282                <div id="tabsfunction" class="mode adminonly" onclick="UI.showFunction('tabs', BasketColumns.TAB, event)">TABS</div> 
    8383                <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> 
    8585                <div id="lockbutton" onclick="UI.toggleAdminMode()"></div> 
    8686                <div id="users"> 
  • xts/trunk/jsclient/snewts/config.js

    r242 r275  
    1 SCREEN_LOCK_PASSWORD = "1234"; 
     1SCREEN_LOCK_PASSWORD = "7539"; 
    22 
    33DRINKS_CATEGORIES = "2|4"; 
    4 FOOD_CATEGORIES = "3|5"; 
     4FOOD_CATEGORIES = "3"; 
    55SHOP_CATEGORIES = "6"; 
    66 
    77var Config = { 
    8     VERSION: "DEV", 
    9     AGENT_STRING: "boxoffice:abc" 
     8    VERSION: "R273 NOTINABOX", 
     9    AGENT_STRING: "boxoffice:9n2nf92kt04", 
     10    CAFE_AGENT_STRING: "cafe:ncv02oapwen" 
    1011}; 
  • xts/trunk/jsclient/snewts/ui.js

    r250 r275  
    8989            UI.setConsoleMode('cafe', true); 
    9090            UI.showFunction('drinks', BasketColumns.EPHEMERAL); 
     91            Config.AGENT_STRING = Config.CAFE_AGENT_STRING; 
    9192        } else if (initmode == "boxoffice+press") { 
    9293            UI.boxOfficeModeSwitch.switchon(); 
  • xts/trunk/jsclient/style.css

    r271 r275  
    6363} 
    6464 
    65  
     65#xtsconsole.adminmode div.adminonly.old { 
     66    display: none; 
     67} 
    6668 
    6769#xtsconsole .boxofficeonly, 
  • xts/trunk/xtsadmin/settings.py

    r220 r275  
    3232ADMINS = ( 
    3333  'Alex Macmillan', 'alex@x13n.com', 
     34  'Ben Hussey', 'ben@blip2.net', 
    3435    # ('Your Name', 'your_email@domain.com'), 
    3536) 
     
    3940DATABASE_ENGINE = 'mysql'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. 
    4041DATABASE_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. 
     42DATABASE_USER = 'xts2'             # Not used with sqlite3. 
     43DATABASE_PASSWORD = 'Z2QX8CpqFPPfXSAF'         # Not used with sqlite3. 
    4344DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3. 
    4445DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3. 
     
    7677 
    7778# Make this unique, and don't share it with anybody. 
    78 SECRET_KEY = '%)9bn!l8ipz(h@k^je!kn827^=fev3udz4!5(@-k=+2(h9*l36' 
     79SECRET_KEY = '%)9bn!l8i22fxFk^je131d27^=Ug9vhwe8gdu2&^$Uf288*l36' 
    7980 
    8081# List of callables that know how to import templates from various sources. 
     
    9798    # Absolute paths should be used here. 
    9899    #'/Users/alex/Dropbox/Bedlam/XTS/xtsadmin/templates' 
    99     'templates' 
     100    '/data/xts/xtsadmin/templates' 
    100101) 
    101102 
  • xts/trunk/xtsadmin/urls.py

    r55 r275  
    2828 
    2929from django.conf.urls.defaults import * 
     30from django.contrib import admin 
    3031 
    31 from django.contrib import admin 
    3232admin.autodiscover() 
    3333 
     
    3939 
    4040     # 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)), 
    4243) 
Note: See TracChangeset for help on using the changeset viewer.