public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Search Repo:
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
Design work on theme admin

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2309 
567b1171-46fb-0310-a4c9-b4bef9110e78
Caged (author)
Tue Oct 03 07:37:02 -0700 2006
commit  f8dffe082db0bd95e6709afd18e33e3b3cc11a17
tree    f0177e000fd0f2e36ae60af0ba7ab8e5f0fe25c1
parent  baf463e5ecab49cf5ef172dfadb46073b6afd48f
...
1
 
2
3
4
5
6
7
8
9
10
 
11
12
13
14
...
 
1
2
 
3
4
5
6
7
8
 
9
10
11
12
13
0
@@ -1,13 +1,12 @@
0
- <li class="theme" id="theme_<%= theme_counter %>">
0
+ <li class="theme<%= ' current' if theme.current? %>" id="theme-<%= theme_counter %>">
0
       <h3>
0
- <%= "<strong>*</strong> " if theme.current? %>
0
         <span title="stored in /<%= theme.current? ? 'current' : "other/#{theme.name}" %>"><%=h theme.title %></span>
0
         <span class="thememeta">
0
           <% unless theme.version.blank? -%>v<%=h theme.version %> |<% end -%>
0
           by <%= theme.linked_author.blank? ? 'unknown' : theme.linked_author %>
0
         </span>
0
       </h3>
0
- <a id="theme_dialog_<%= theme_counter %>" class="theme_dialog">
0
+ <a id="theme-dialog-<%= theme_counter %>" class="theme_dialog">
0
       <img src="<%= url_for(:controller => '/admin/themes', :action => 'preview_for', :id => theme) %>" alt="Theme preview" title="<%=h theme.title %> (v<%=h theme.version %>)" />
0
       </a>
0
     </li>
0
\ No newline at end of file
...
 
 
 
 
 
1
2
3
4
 
 
5
6
7
8
 
 
9
10
11
12
 
 
13
...
1
2
3
4
5
6
7
 
 
8
9
10
11
 
 
12
13
14
 
 
15
16
17
18
0
@@ -1,11 +1,16 @@
0
+<div id="theme-info">
0
+ <h3>
0
+ <%= @theme.title %> (v<%= @theme.version %>)by <% if @theme.author %><a href="<%= @theme.homepage %>"><%= @theme.author %></a><% else %>Unknown<% end %>
0
+ <%= link_to_function 'close', 'Dialog.close()', :id => 'close-dialog' %>
0
+ </h3>
0
 <ul>
0
 <% unless @theme.current? -%>
0
- <li><%= link_to 'Use this theme', :action => 'change_to', :id => @theme %></li>
0
- <li><%= link_to 'Edit', :controller => 'design', :action => 'index', :theme => @theme %></li>
0
+ <li><%= link_to 'Use theme', :action => 'change_to', :id => @theme %></li>
0
+ <li><%= link_to 'Edit theme', :controller => 'design', :action => 'index', :theme => @theme %></li>
0
 <% end -%>
0
   <!--li><a href="#" title="title">Change info</a></li-->
0
- <li><%= link_to 'Export', :action => 'export', :id => @theme %></li>
0
- <li><%= link_to_remote 'Remove', :url => {:action => 'destroy', :id => @theme}, :method => :delete,
0
+ <li><%= link_to 'Download theme', :action => 'export', :id => @theme %></li>
0
+ <li><%= link_to_remote 'Remove theme', :url => {:action => 'destroy', :id => @theme}, :method => :delete,
0
             :confirm => "Are you sure you wish to remove this theme stored at 'others/#{@theme.path.relative_path_from(site.other_themes_path).to_s}'?" %></li>
0
- <li><%= link_to_function 'close', 'Dialog.close()' %></li>
0
-</ul>
0
\ No newline at end of file
0
+</ul>
0
+</div>
0
\ No newline at end of file
...
1487
1488
1489
1490
 
1491
1492
1493
...
1527
1528
1529
1530
 
1531
1532
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1533
1534
1535
...
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
...
1487
1488
1489
 
1490
1491
1492
1493
...
1527
1528
1529
 
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
...
1746
1747
1748
 
 
 
 
 
1749
 
 
 
 
 
 
 
 
1750
1751
1752
0
@@ -1487,7 +1487,7 @@ ul#filefields img {
0
   height: 125px;
0
   background: #fff;
0
   padding: 3px;
0
- border: 2px solid #aaa;
0
+ border: 4px solid #aaa;
0
 }
0
 
0
 .thememeta {
0
@@ -1527,9 +1527,70 @@ ul#filefields img {
0
 
0
 #inuse img {
0
   background: #eff;
0
- border: 2px solid #7bb;
0
+ border: 4px solid #7bb;
0
 }
0
 
0
+li.current img {
0
+ border: 4px solid #6FB4B6 !important;
0
+}
0
+
0
+#theme-info {
0
+ text-align: left;
0
+}
0
+
0
+#theme-info h3 {
0
+ background: url(/images/mephisto/actnav-bg.gif) repeat-x;
0
+ margin: 0 0 20px 0;
0
+ color: #005d60;
0
+ border-bottom: 1px solid #6fb4b6;
0
+ padding: 10px 5px;
0
+ font-size: 100%;
0
+ position: relative;
0
+}
0
+
0
+#theme-info h3 a {
0
+ color: #000;
0
+ border: none;
0
+}
0
+
0
+#dialog {
0
+ background-color: #000;
0
+ opacity: 0.15;
0
+ filter:alpha(opacity=15);
0
+}
0
+
0
+#dialog-box {
0
+ width: 400px;
0
+ background: #eee;
0
+ border: 5px solid #fff;
0
+}
0
+
0
+#dialog-box ul {
0
+ float: right;
0
+ list-style: none;
0
+ width: 150px;
0
+ text-align: left;
0
+}
0
+
0
+#dialog-box ul li a {
0
+ display: block;
0
+ border-bottom: 1px dotted #ccc;
0
+ padding: 5px;
0
+}
0
+
0
+#close-dialog {
0
+ position: absolute;
0
+ right: 0;
0
+ top: 0;
0
+ padding: 10px 5px;
0
+ border-left: 1px solid #6fb4b6 !important;
0
+ font-weight: normal;
0
+ color: #005d60;
0
+}
0
+
0
+#close-dialog:hover {
0
+ background: transparent;
0
+}
0
 
0
 /*------------------------------------------------------------------------
0
  *=MISC
0
@@ -1685,20 +1746,7 @@ ul.nobull li label {
0
   padding: 0;
0
 }
0
 
0
-#dialog {
0
- background-color: #000;
0
- opacity: 0.15;
0
- filter:alpha(opacity=15);
0
-}
0
 
0
-#dialog-box {
0
- width:500px;
0
- padding:30px;
0
- background-color:#fff;
0
- border-style:solid;
0
- border-color:#000;
0
- border-width:5px;
0
-}
0
 
0
 /*
0
  *=ICONS

Comments

    No one has commented yet.